Re: bug report



On Wed, 2006-08-02 at 17:50 +0000, Richard Hirner wrote:
> Hi,
> 
> There is a bug which causes gtranslator to hang up. I can reproduce
> it with gtranslator/1.1.6 (Ubuntu 6.06) as follows:
> 
> 1) Open the rms_rms-rt-rooms.po file (see attachment).
> 2) Click on the untranslated string "Room types & rooms", select all, copy it,
>    insert it into the "translated" field, change it
> 3) Click on the untranslated string "Some rooms...", select all
> 4) Copy => gtranslator hangs
> 
> I compiled gtranslator from the source package and with debug info and
> got a backtrace:
> ------------------------------------------------------
> 
> (gdb) run
> Starting program: /usr/bin/gtranslator
> [Thread debugging using libthread_db enabled]
> [New Thread -1225341248 (LWP 16411)]
> *** glibc detected *** free(): invalid next size (fast): 0x08328cc8 ***
> 
> Program received signal SIGABRT, Aborted.
> [Switching to Thread -1225341248 (LWP 16411)]
> 0xffffe410 in __kernel_vsyscall ()
> 
> (gdb) thread apply all bt
> Thread 1 (Thread -1225341248 (LWP 16411)):
> #0  0xffffe410 in __kernel_vsyscall ()
> #1  0xb73729a1 in raise () from /lib/tls/i686/cmov/libc.so.6
> #2  0xb73742b9 in abort () from /lib/tls/i686/cmov/libc.so.6
> #3  0xb73a687a in __libc_message () from /lib/tls/i686/cmov/libc.so.6
> #4  0xb73acfd4 in _int_free () from /lib/tls/i686/cmov/libc.so.6
> #5  0xb73ad34a in free () from /lib/tls/i686/cmov/libc.so.6
> #6  0xb74b6eec in g_free () from /usr/lib/libglib-2.0.so.0
> #7  0x08056e34 in get_selection_buffer (buffer=0x81391b8) at gui.c:581
> #8  0x08057038 in gtranslator_clipboard_copy (widget=0x8120c08,
> useless=0x0) at gui.c:647
> #9  0xb752b423 in g_cclosure_marshal_VOID__VOID () from
> /usr/lib/libgobject-2.0.so.0
> #10 0xb751f79f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
> #11 0xb752e2ea in g_signal_stop_emission () from
> /usr/lib/libgobject-2.0.so.0
> #12 0xb752fb19 in g_signal_emit_valist () from
> /usr/lib/libgobject-2.0.so.0
> #13 0xb752fe89 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
> #14 0xb79ea288 in closure_accel_activate (closure=0x8122100,
> return_value=0x0, n_param_values=4,
>     param_values=0xbf992a0c, invocation_hint=0xbf9928fc,
> marshal_data=0x0) at gtkwidget.c:3167
> #15 0xb751f79f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
> #16 0xb752e2ea in g_signal_stop_emission () from
> /usr/lib/libgobject-2.0.so.0
> #17 0xb752f886 in g_signal_emit_valist () from
> /usr/lib/libgobject-2.0.so.0
> #18 0xb752fe89 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
> #19 0xb783684b in IA__gtk_accel_group_activate (accel_group=0x809b3a0,
> accel_quark=0, acceleratable=0x80fa008,
>     accel_key=0, accel_mods=0) at gtkaccelgroup.c:766
> #20 0xb783709b in IA__gtk_accel_groups_activate (object=0x80fa008,
> accel_key=99, accel_mods=GDK_CONTROL_MASK)
>     at gtkaccelgroup.c:804
> #21 0xb79fe6af in IA__gtk_window_activate_key (window=0x80fa008,
> event=0x831f9e8) at gtkwindow.c:7506
> #22 0xb79fe709 in gtk_window_key_press_event (widget=0x80fa008,
> event=0x831f9e8) at gtkwindow.c:4543
> #23 0xb79088f0 in _gtk_marshal_BOOLEAN__BOXED (closure=0x80e2130,
> return_value=0xbf992eb0, n_param_values=2,
>     param_values=0xbf992fac, invocation_hint=0xbf992e9c,
> marshal_data=0xb79fe6e3) at gtkmarshalers.c:83
> #24 0xb751f16f in g_cclosure_new_swap () from
> /usr/lib/libgobject-2.0.so.0
> #25 0xb751f79f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
> #26 0xb752e9ce in g_signal_stop_emission () from
> /usr/lib/libgobject-2.0.so.0
> #27 0xb752f886 in g_signal_emit_valist () from
> /usr/lib/libgobject-2.0.so.0
> #28 0xb752fe89 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
> #29 0xb79eadbf in gtk_widget_event_internal (widget=0x80fa008,
> event=0x831f9e8) at gtkwidget.c:3751
> #30 0xb7907179 in IA__gtk_propagate_event (widget=0x80fa008,
> event=0x831f9e8) at gtkmain.c:2192
> #31 0xb790747b in IA__gtk_main_do_event (event=0x831f9e8) at
> gtkmain.c:1447
> #32 0xb77aadec in gdk_event_dispatch (source=0x0, callback=0,
> user_data=0x0) at gdkevents-x11.c:2291
> #33 0xb74af8d6 in g_main_context_dispatch () from
> /usr/lib/libglib-2.0.so.0
> #34 0xb74b2996 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
> #35 0xb74b2cb8 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
> #36 0xb7906775 in IA__gtk_main () at gtkmain.c:1026
> #37 0x0805c2d5 in main (argc=1, argv=0xbf993514) at main.c:527

That's very useful. I will attempt to reproduce this and patch it as
soon as possible. Thanks for the stacktrace.

The best place for bug reports and stacktraces is bugzilla. Please could
you open a bug report for this?

http://bugzilla.gnome.org/

I will try to look into it as soon as I can. I have pencilled in a
couple of days in the next week or two to do as much triaging of old 1.1
bugs as I can and see about making a minor release to buy a little more
time while preparing for v2 :) I have neglected gtranslator maintenance
for quite long enough now.

Thanks,

--
Ross




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]