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 350277 - copy/paste crash
copy/paste crash
Status: RESOLVED DUPLICATE of bug 379112
Product: gtranslator
Classification: Other
Component: Generally bug'd
1.1.x
Other All
: Normal critical
: 2.0
Assigned To: Ross Golder
Fatih Demir
Depends on:
Blocks:
 
 
Reported: 2006-08-07 14:09 UTC by rhi
Modified: 2006-11-28 00:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description rhi 2006-08-07 14:09:11 UTC
Steps to reproduce:
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

Stack trace:
(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 __kernel_vsyscall
  • #1 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #2 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #3 __libc_message
    from /lib/tls/i686/cmov/libc.so.6
  • #4 _int_free
    from /lib/tls/i686/cmov/libc.so.6
  • #5 free
    from /lib/tls/i686/cmov/libc.so.6
  • #6 g_free
    from /usr/lib/libglib-2.0.so.0
  • #7 get_selection_buffer
    at gui.c line 581
  • #8 gtranslator_clipboard_copy
    at gui.c line 647
  • #9 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #14 closure_accel_activate
    at gtkwidget.c line 3167
  • #15 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #19 IA__gtk_accel_group_activate
    at gtkaccelgroup.c line 766
  • #20 IA__gtk_accel_groups_activate
    at gtkaccelgroup.c line 804
  • #21 IA__gtk_window_activate_key
    at gtkwindow.c line 7506
  • #22 gtk_window_key_press_event
    at gtkwindow.c line 4543
  • #23 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #24 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #25 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #29 gtk_widget_event_internal
    at gtkwidget.c line 3751
  • #30 IA__gtk_propagate_event
    at gtkmain.c line 2192
  • #31 IA__gtk_main_do_event
    at gtkmain.c line 1447
  • #32 gdk_event_dispatch
    at gdkevents-x11.c line 2291
  • #33 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #34 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #35 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #36 IA__gtk_main
    at gtkmain.c line 1026
  • #37 main
    at main.c line 527

Other information:
This is a bug which causes gtranslator to hang up. I can reproduce
it with gtranslator/1.1.6 (Ubuntu 6.06).

This is the mentioned .po file:
-------------------------------------
# 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 ""
Comment 1 Ross Golder 2006-11-28 00:35:38 UTC

*** This bug has been marked as a duplicate of 379112 ***