After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 321310 - constant crash using SCIM-ANTHY (japanese text)
constant crash using SCIM-ANTHY (japanese text)
Status: RESOLVED FIXED
Product: GtkHtml
Classification: Other
Component: Editing
3.8.x
Other other
: High major
: 2.5
Assigned To: gtkhtml-maintainers
Evolution QA team
: 321376 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-11-12 19:50 UTC by ykh
Modified: 2006-04-24 06:35 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
test im module (283.22 KB, application/x-gzip)
2005-12-14 03:37 UTC, Hiroyuki Ikezoe
  Details
simple patch (957 bytes, patch)
2005-12-14 07:32 UTC, Hiroyuki Ikezoe
none Details | Review

Description ykh 2005-11-12 19:50:26 UTC
Distribution: Fedora Core release 4 (Stentz)
Package: Evolution
Severity: normal
Version: GNOME2.10.0 unspecified
Gnome-Distributor: Red Hat, Inc
Synopsis: constant crash using SCIM-ANTHY (japanese text)
Bugzilla-Product: Evolution
Bugzilla-Component: Mailer
Bugzilla-Version: unspecified
BugBuddy-GnomeVersion: 2.0 (2.10.0)
Description:
Description of the crash:

every time I create an email, which contains japanese text, as I am
typing the email, at some point, evolution crashes.

I cannot finish any email. boohoo.


Steps to reproduce the crash:
1. run scim , on gnome , fedora core 4 
2. run evolution
3. create new email message, and enter japanese text with the scim
input

Expected Results:


How often does this happen?
all the time, every message with more than 2 lines.

Additional Information:



Debugging Information:

Backtrace was generated from '/usr/bin/evolution'

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208678720 (LWP 13126)]
[New Thread -1263940688 (LWP 13185)]
[New Thread -1275032656 (LWP 13184)]
[New Thread -1252205648 (LWP 13145)]
[New Thread -1241715792 (LWP 13144)]
[New Thread -1212236880 (LWP 13142)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0x003d9402 in ?? ()

Thread 1 (Thread -1208678720 (LWP 13126))

  • #0 ??
  • #1 __waitpid_nocancel
    from /lib/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 es_menu_hook_get_type
  • #4 <signal handler called>
  • #5 ??
  • #6 html_object_cursor_backward
    from /usr/lib/libgtkhtml-3.6.so.18
  • #7 html_cursor_home
    from /usr/lib/libgtkhtml-3.6.so.18
  • #8 html_cursor_jump_to_position
    from /usr/lib/libgtkhtml-3.6.so.18
  • #9 html_cursor_jump_to_position_no_spell
    from /usr/lib/libgtkhtml-3.6.so.18
  • #10 gtk_html_im_reset
    from /usr/lib/libgtkhtml-3.6.so.18
  • #11 g_cclosure_marshal_VOID__STRING
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #16 gtk_im_multicontext_new
    from /usr/lib/libgtk-x11-2.0.so.0
  • #17 g_cclosure_marshal_VOID__STRING
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #22 gtk_im_context_scim_new
    from /usr/lib/gtk-2.0/immodules/im-scim.so
  • #23 scim::FunctionSlot2<void, scim::IMEngineInstanceBase*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&>::call
    from /usr/lib/gtk-2.0/immodules/im-scim.so
  • #24 scim::IMEngineInstanceBase::commit_string
    from /usr/lib/libscim-1.0.so.8
  • #25 scim::SocketInstance::do_transaction
    from /usr/lib/scim-1.0/1.4.0/IMEngine/socket.so
  • #26 scim::SocketInstance::commit_transaction
    from /usr/lib/scim-1.0/1.4.0/IMEngine/socket.so
  • #27 scim::SocketInstance::process_key_event
    from /usr/lib/scim-1.0/1.4.0/IMEngine/socket.so
  • #28 gtk_im_context_scim_new
    from /usr/lib/gtk-2.0/immodules/im-scim.so
  • #29 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #30 gdk_screen_get_setting
    from /usr/lib/libgdk-x11-2.0.so.0
  • #31 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #32 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #33 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #34 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #35 main




------- Bug moved to this database by unknown@gnome.bugs 2005-11-12 19:50 UTC -------


The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here, unknown@gnome.bugs.
   Previous reporter was ykh@servermasters.com.

Comment 1 André Klapper 2005-11-13 12:33:49 UTC
gtkhtml bug, reassigning. adding version number and keyword.
Comment 2 André Klapper 2005-11-13 22:08:33 UTC
also see bug 321376
Comment 3 Hiroyuki Ikezoe 2005-12-14 03:28:50 UTC
I think this is the same issue of #321376.

I made a im module for testing for single byte users.
It's im module to just input characters in preeedit string and commit the
characters after hitting enter key.

I attach the test im module.
Comment 4 Hiroyuki Ikezoe 2005-12-14 03:35:39 UTC
Oops, my mistake. I attached the test im modules in BUG #321376.
I reattach in here.
Comment 5 Hiroyuki Ikezoe 2005-12-14 03:37:17 UTC
Created attachment 55972 [details]
test im module

* How to use

$ ./configure 
$ make 

$ sh test-evolution.sh
then launch evolution with test im.

* Steps to reproduce the crash
1. create a new mail
2. focus to mail content area
3. type some keys
4. type enter 

then evolution crashes.

$ sh test-gedit.sh
then launch gedit.
 There is no crash.
Comment 6 Hiroyuki Ikezoe 2005-12-14 07:32:09 UTC
Created attachment 55974 [details] [review]
simple patch
Comment 7 Florian Rivoal 2006-01-27 18:13:38 UTC
I have been having the exact same bug for quite a while. inputing japanese text with scim-anthy will always end up killing evolution if I type enough text.

Maybe the patch above is enough, but I didn't have time to test it. Just it case it isn't, I just got a back trace on a version more recent than the original poster, so here it is, with some the info. 

Distribution: Gentoo GNU / linux
Gnome Version: 2.12.2
Evolution version: 2.4.2.1
gtkhtml version: 3.8.2
scim version: 1.4.2
scim-anthy version: 0.7.1
all that compiled by: gcc 3.4.4
CFAGS used for compilation: -Os -march=pentium4

backtrace obtained from gdb:

Thread 1 (Thread -1229756096 (LWP 9563))

  • #0 html_object_cursor_forward
    from /usr/lib/libgtkhtml-3.8.so.15
  • #1 html_cursor_normalize
    from /usr/lib/libgtkhtml-3.8.so.15
  • #2 html_cursor_jump_to_position
    from /usr/lib/libgtkhtml-3.8.so.15
  • #3 html_cursor_jump_to_position_no_spell
    from /usr/lib/libgtkhtml-3.8.so.15
  • #4 gtk_html_im_reset
    from /usr/lib/libgtkhtml-3.8.so.15
  • #5 g_cclosure_marshal_VOID__STRING
    from /usr/lib/libgobject-2.0.so.0
  • #6 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #7 g_signal_has_handler_pending
    from /usr/lib/libgobject-2.0.so.0
  • #8 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #10 gtk_im_multicontext_new
    from /usr/lib/libgtk-x11-2.0.so.0
  • #11 g_cclosure_marshal_VOID__STRING
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_has_handler_pending
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #16 gtk_im_context_scim_register_type
    from /usr/lib/gtk-2.0/immodules/im-scim.so
  • #17 scim::FunctionSlot2<void, scim::IMEngineInstanceBase*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&>::call
    from /usr/lib/gtk-2.0/immodules/im-scim.so
  • #18 scim::IMEngineInstanceBase::commit_string
    from /usr/lib/libscim-1.0.so.8
  • #19 scim::SocketInstance::do_transaction
    from /usr/lib/scim-1.0/1.4.0/IMEngine/socket.so
  • #20 scim::SocketInstance::commit_transaction
    from /usr/lib/scim-1.0/1.4.0/IMEngine/socket.so
  • #21 scim::SocketInstance::process_key_event
    from /usr/lib/scim-1.0/1.4.0/IMEngine/socket.so
  • #22 gtk_im_context_scim_shutdown
    from /usr/lib/gtk-2.0/immodules/im-scim.so
  • #23 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 gdk_event_get_graphics_expose
    from /usr/lib/libgdk-x11-2.0.so.0
  • #25 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #26 g_main_context_acquire
    from /usr/lib/libglib-2.0.so.0
  • #27 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #28 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #29 main

I hope that can help somehow.
Comment 8 Karsten Bräckelmann 2006-01-27 18:17:57 UTC
Confirming as per comment 7.
Comment 9 Karsten Bräckelmann 2006-01-27 18:20:23 UTC
Hmm, we got a patch. Raising awareness. :)

Upping Priority, setting Target Milestone, assigning. Please review the patch ASAP.
Comment 10 André Klapper 2006-02-18 12:29:47 UTC
*** Bug 321376 has been marked as a duplicate of this bug. ***
Comment 11 André Klapper 2006-02-18 12:30:00 UTC
hiroyuki ikezoe also posted a test im module with an explicit howto at bug 321376 comment 2.
Comment 12 Sebastien Bacher 2006-03-22 10:18:48 UTC
Ubuntu bug about that: https://launchpad.net/distros/ubuntu/+source/gtkhtml3.8/+bug/31733

Any reason to not review that trivial patch? That's a crasher and would be nice to get it fixed ...
Comment 13 Sebastien Bacher 2006-03-22 10:19:07 UTC
bug #313713 has a similar backtrace
Comment 14 Sebastien Bacher 2006-03-23 09:47:40 UTC
Distribution comment:

"I'm using Dapper and gtkhtml3.8_3.10.0-0ubuntu1.
I built packages with that patch, and I confirmed that this issue is fixed with them."
Comment 15 Sebastien Bacher 2006-04-08 12:38:22 UTC
Other Ubuntu bug about that: https://launchpad.net/distros/ubuntu/+source/gtkhtml3.8/+bug/38596

That's a crasher with a patch confirmed to work by a bug submitter, any reason to not use it?
Comment 16 Harish Krishnaswamy 2006-04-10 11:40:29 UTC
Committed to the stable branch.
Comment 17 Harish Krishnaswamy 2006-04-24 06:35:00 UTC
Committed to the trunk.