bug report



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

-- 
Greetings,
Richard <richard hirner at>
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-08-02 16:50+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL ADDRESS>\n"
"Language-Team: LANGUAGE <LL li org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: /hhg/www/html/hhg/rms/rms-rt-rooms.php:12
msgid "Room Management System"
msgstr ""

#: /hhg/www/html/hhg/rms/rms-rt-rooms.php:112
msgid "Room types &amp; rooms"
msgstr ""

#: /hhg/www/html/hhg/rms/rms-rt-rooms.php:12
msgid "Roomtypes &amp; rooms"
msgstr ""

#: /hhg/www/html/hhg/rms/rms-rt-rooms.php:98
msgid ""
"Some rooms can not been removed because there are\n"
"\t\t\t\tpending reservations. You may <a href=\"rms-close.php\">close these "
"rooms</a> and delete them\n"
"\t\t\t\tafter departure."
msgstr ""


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