On Sun, 2010-02-07 at 10:30 +0100, Svante Signell wrote:
> On Sun, 2010-02-07 at 07:23 +0100, Raphael Geissert wrote:
> > On 6 February 2010 10:11, Svante Signell <s...@kth.se> wrote:
> > > Downgrading libenchant1c2a to the previous version, 1.4.2-3.4, makes the
> > > crashes go away. Since 1.4.2-3.x are from the same version is there a
> > > miscompilation going on here?
> > 
> > Don't think so. I built the package on a clear environment and I'm
> > unable to reproduce any crash on my system. I use KDE's spell checking
> > functionality, which also uses enchant.
...
> > The only change I made to the package was add a missing dependency to
> > the -dev package.
> 
> Strange, since the 1.4.2-3.4 works and 1.4.2-3.5 don't.

I built the package myself and it crashes too!
gcc (Debian 4.4.3-2) 4.4.3
g++ (Debian 4.4.3-2) 4.4.3

gdb backtrace when crashing gedit in the attached file.
As you can see I'm not the only one having this problem, see bugs:
567961, 568078, 568129
(gdb) run evo_bugreport.txt 
Starting program: /usr/bin/gedit evo_bugreport.txt
[Thread debugging using libthread_db enabled]
[New Thread 0xb6198b70 (LWP 19628)]
[New Thread 0xb5769b70 (LWP 19629)]
[Thread 0xb6198b70 (LWP 19628) exited]
terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::assign
Program received signal SIGABRT, Aborted.
0xb7fe1424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb75e28e0 in raise () from /lib/i686/cmov/libc.so.6
#2  0xb75e5e15 in abort () from /lib/i686/cmov/libc.so.6
#3  0xb6fa2a7f in __gnu_cxx::__verbose_terminate_handler() ()
   from /usr/lib/libstdc++.so.6
#4  0xb6fa09b5 in ?? () from /usr/lib/libstdc++.so.6
#5  0xb6fa09f2 in std::terminate() () from /usr/lib/libstdc++.so.6
#6  0xb6fa0b31 in __cxa_throw () from /usr/lib/libstdc++.so.6
#7  0xb6f3af2f in std::__throw_length_error(char const*) ()
   from /usr/lib/libstdc++.so.6
#8  0xb6f7ef55 in std::string::assign(char const*, unsigned int) ()
   from /usr/lib/libstdc++.so.6
#9  0xb5983695 in ISpellChecker::setDictionaryEncoding(char const*, char 
const*) () from /usr/lib/enchant/libenchant_ispell.so
#10 0xb5983feb in ISpellChecker::loadDictionaryForLanguage(char const*) ()
   from /usr/lib/enchant/libenchant_ispell.so
#11 0xb598402c in ISpellChecker::requestDictionary(char const*) ()
   from /usr/lib/enchant/libenchant_ispell.so
#12 0xb598420e in ?? () from /usr/lib/enchant/libenchant_ispell.so
#13 0xb6333255 in ?? () from /usr/lib/libenchant.so.1
#14 0xb63334cd in enchant_broker_request_dict () from /usr/lib/libenchant.so.1
#15 0xb61f075e in ?? () from /usr/lib/gedit-2/plugins/libspell.so
#16 0xb61f0eea in gedit_spell_checker_check_word ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/gedit-2/plugins/libspell.so
#17 0xb61ef79b in ?? () from /usr/lib/gedit-2/plugins/libspell.so
#18 0xb61efad9 in ?? () from /usr/lib/gedit-2/plugins/libspell.so
#19 0xb782b91c in IA__g_cclosure_marshal_VOID__VOID (closure=0x819f838, 
    return_value=0x0, n_param_values=1, param_values=0x82d7518, 
    invocation_hint=0xbfffe7a0, marshal_data=0x82d7500)
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gmarshal.c:77
#20 0xb781df62 in IA__g_closure_invoke (closure=0x82306b0, return_value=0x0, 
    n_param_values=1, param_values=0x82d7518, invocation_hint=0xbfffe7a0)
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gclosure.c:767
#21 0xb78323a8 in signal_emit_unlocked_R (node=<value optimized out>, 
    detail=<value optimized out>, instance=0x819df08, emission_return=0x0, 
    instance_and_params=0x82d7518)
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gsignal.c:3247
#22 0xb783372d in IA__g_signal_emit_valist (instance=0x819df08, signal_id=177, 
    detail=0, 
    var_args=0xbfffe95c "d4\257\267 
\361\021\b\210\363\026\b\210\351\377\277\344\331\344\267\b\337\031\bHy\021\b\230\351\377\277]>\257\267\b\337\031\b\270p\021\b\250\351\377\277\312\260\275\267\230\366\204\267\020\222\275\267\330\351\377\277\034\271\202\267\b\337\031\b\270p\021\b\350\351\377\277\230\366\204\267`l0\bHy\021\b\330\351\377\277\334\003\204\267`l0\bHy\021\b\b\352\377\277\230\366\204\267`l0\bHy\021\b\b\352\377\277\351\305\201\267Hy\021\b")
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gsignal.c:2980
#23 0xb7833ba6 in IA__g_signal_emit (instance=0x819df08, signal_id=177, 
    detail=0)
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gsignal.c:3037
#24 0xb7af1e75 in _gtk_action_emit_activate (action=0x819df08)
    at 
/build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtkaction.c:727
#25 0xb7af3e5d in IA__gtk_action_activate (action=0x819df08)
    at 
/build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtkaction.c:757
#26 0xb782b91c in IA__g_cclosure_marshal_VOID__VOID (closure=0x8117948, 
    return_value=0x0, n_param_values=1, param_values=0x8306c60, 
    invocation_hint=0xbfffeb20, marshal_data=0xb7bd9210)
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gmarshal.c:77
#27 0xb781c5e9 in g_type_class_meta_marshal (closure=0x8117948, 
    return_value=0x0, n_param_values=1, param_values=0x8306c60, 
    invocation_hint=0xbfffeb20, marshal_data=0x1c0)
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gclosure.c:878
#28 0xb781df62 in IA__g_closure_invoke (closure=0x8117948, return_value=0x0, 
    n_param_values=1, param_values=0x8306c60, invocation_hint=0xbfffeb20)
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gclosure.c:767
#29 0xb7831cb0 in signal_emit_unlocked_R (node=<value optimized out>, 
    detail=<value optimized out>, instance=0x828e0f8, emission_return=0x0, 
    instance_and_params=0x8306c60)
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gsignal.c:3177
#30 0xb783372d in IA__g_signal_emit_valist (instance=0x828e0f8, signal_id=94, 
    detail=0, var_args=0xbfffecdc "\026\033\244\267P:\017\b")
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gsignal.c:2980
#31 0xb7833ba6 in IA__g_signal_emit (instance=0x828e0f8, signal_id=94, 
    detail=0)
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gsignal.c:3037
#32 0xb7cef045 in IA__gtk_widget_activate (widget=0x828e0f8)
    at 
/build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtkwidget.c:4798
#33 0xb7bdb2c0 in IA__gtk_menu_shell_activate_item (menu_shell=0x81c3a38, 
    menu_item=0x828e0f8, force_deactivate=1)
    at 
/build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtkmenushell.c:1139
#34 0xb7bdccaf in gtk_menu_shell_button_release (widget=0x81c3a38, 
    event=0x82eb940)
    at 
/build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtkmenushell.c:678
#35 0xb7bd2994 in gtk_menu_button_release (widget=0x81c3a38, event=0x82eb940)
    at 
/build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtkmenu.c:2983
#36 0xb7bcc1a4 in _gtk_marshal_BOOLEAN__BOXED (closure=0x8108c00, 
    return_value=0xbfffef84, n_param_values=2, param_values=0x8282d90, 
    invocation_hint=0xbfffef70, marshal_data=0xb7bd28e0)
    at 
/build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtkmarshalers.c:84
#37 0xb781c5e9 in g_type_class_meta_marshal (closure=0x8108c00, 
    return_value=0xbfffef84, n_param_values=2, param_values=0x8282d90, 
    invocation_hint=0xbfffef70, marshal_data=0xb4)
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gclosure.c:878
#38 0xb781df62 in IA__g_closure_invoke (closure=0x8108c00, 
    return_value=0xbfffef84, n_param_values=2, param_values=0x8282d90, 
    invocation_hint=0xbfffef70)
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gclosure.c:767
#39 0xb783209e in signal_emit_unlocked_R (node=<value optimized out>, 
    detail=<value optimized out>, instance=0x81c3a38, 
    emission_return=0xbffff0cc, instance_and_params=0x8282d90)
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gsignal.c:3285
#40 0xb78335b8 in IA__g_signal_emit_valist (instance=0x81c3a38, signal_id=34, 
    detail=0, 
    var_args=0xbffff130 
"l\361\377\277\204\241}\267\250\361\377\277\230\366\204\267\370\340(\b\370\340(\b\210\361\377\277\a")
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gsignal.c:2990
#41 0xb7833ba6 in IA__g_signal_emit (instance=0x81c3a38, signal_id=34, 
    detail=0)
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gsignal.c:3037
#42 0xb7ce847e in gtk_widget_event_internal (widget=<value optimized out>, 
    event=0x82eb940)
    at 
/build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtkwidget.c:4767
#43 0xb7bc4950 in IA__gtk_propagate_event (widget=0x81c3a38, event=0x82eb940)
    at 
/build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtkmain.c:2417
#44 0xb7bc5bd9 in IA__gtk_main_do_event (event=0x82eb940)
    at 
/build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtkmain.c:1622
#45 0xb7a4f53a in gdk_event_dispatch (source=0x8106e68, callback=0, 
    user_data=0x0)
    at 
/build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gdk/x11/gdkevents-x11.c:2372
#46 0xb775eb38 in g_main_dispatch (context=0x8106eb0)
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c:1960
#47 IA__g_main_context_dispatch (context=0x8106eb0)
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c:2513
#48 0xb77623d0 in g_main_context_iterate (context=0x8106eb0, 
    block=<value optimized out>, dispatch=1, self=0x80e6850)
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c:2591
#49 0xb776283f in IA__g_main_loop_run (loop=0x812b5a8)
    at 
/build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c:2799
#50 0xb7bc6149 in IA__gtk_main ()
    at 
/build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtkmain.c:1218
#51 0x0806ab00 in main ()
(gdb) 

Reply via email to