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 351081 - gtranslator : crash or freeze when selecting text
gtranslator : crash or freeze when selecting text
Status: RESOLVED DUPLICATE of bug 379112
Product: gtranslator
Classification: Other
Component: Interface
1.1.x
Other other
: Normal normal
: 1.1.8
Assigned To: Ross Golder
Fatih Demir
Depends on:
Blocks:
 
 
Reported: 2006-08-12 19:31 UTC by Christophe Combelles
Modified: 2006-11-28 00:38 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Christophe Combelles 2006-08-12 19:31:13 UTC
Distribution: Debian testing/unstable
Package: gtranslator
Severity: critical
Version: GNOME2.14.3 1.1.x
Gnome-Distributor: Debian
Synopsis: crash or freeze when selecting text
Bugzilla-Product: gtranslator
Bugzilla-Component: Interface
Bugzilla-Version: 1.1.x
BugBuddy-GnomeVersion: 2.0 (2.14.1)
Description:
Description of the crash:

I got many freezes and one crash by just selecting some text in the
msgstr area
This is not reproduceable, but occurs very often (10 times in 10
minutes)

During one of the freeze, I get this message from the terminal  :
*** glibc detected *** free(): invalid pointer: 0x081246a0 ***

I don't know if this can help, but I'm joining the PO file I was working
on.
The crash does not occur on every string, but I could almost reproduce
it 100% by working on the string located at line 2153 in the PO file.


Debugging Information:

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

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1494632768 (LWP 7149)]
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1494632768 (LWP 7149))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 pango_item_new
    from /usr/lib/libpango-1.0.so.0
  • #5 pango_layout_iter_get_char_extents
    from /usr/lib/libpango-1.0.so.0
  • #6 pango_layout_iter_get_char_extents
    from /usr/lib/libpango-1.0.so.0
  • #7 pango_layout_iter_get_char_extents
    from /usr/lib/libpango-1.0.so.0
  • #8 gtk_text_layout_get_line_display
    from /usr/lib/libgtk-x11-2.0.so.0
  • #9 gtk_text_layout_get_cursor_locations
    from /usr/lib/libgtk-x11-2.0.so.0
  • #10 gtk_text_view_buffer_to_window_coords
    from /usr/lib/libgtk-x11-2.0.so.0
  • #11 g_source_get_current_time
    from /usr/lib/libglib-2.0.so.0
  • #12 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #13 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #14 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #15 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 main
  • #0 __kernel_vsyscall




------- Bug created by bug-buddy at 2006-08-12 19:31 -------

Comment 1 Phlinux 2006-09-02 10:34:28 UTC
Get the same bug with ubuntu 6.06, GNOME 2.14.3, gtranslator 1.1.16
It seems happening only when cut an past some part of text from the untranslated to trnalated window.
Happens very often and easy to reproduce in my case.
Unfortunately my bin is without symbols.
Comment 2 Ross Golder 2006-10-13 20:58:08 UTC
I think you forgot to attach the PO file you were working with :)
Comment 3 Christophe Combelles 2006-10-13 21:11:40 UTC
No need to attach a po file, the freeze occurs with any po file, on any msgid.
Comment 4 Christophe Combelles 2006-10-13 21:17:45 UTC
I've found how to reproduce it exactly :

- select some text with the mouse in the msgid
- hit Ctrl-C
- select some text in the msgstr
- select some text in the msgid
- hit Ctrl-C
- select some text in the msgstr
=> freeze.

100% reproduceable.

(gtranslator 1.1.6 on debian Sid.)

Comment 5 Phlinux 2006-10-14 06:58:57 UTC
Right, it happens with any po file for me too.
Comment 6 Ross Golder 2006-11-28 00:38:32 UTC

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