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 342708 - (Juanen) gedit crash in ubuntu dapper
(Juanen)
gedit crash in ubuntu dapper
Status: RESOLVED DUPLICATE of bug 344826
Product: gedit
Classification: Applications
Component: general
2.14.x
Other other
: High critical
: ---
Assigned To: Gedit maintainers
Gedit maintainers
: 343898 345421 392007 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-05-23 15:44 UTC by jecarb
Modified: 2007-01-02 21:38 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description jecarb 2006-05-23 15:44:36 UTC
Distribution: Ubuntu 6.06LTS (dapper)
Package: gedit
Severity: Normal
Version: GNOME2.14.1 2.14.2
Gnome-Distributor: Ubuntu
Synopsis: gedit crash in ubuntu dapper
Bugzilla-Product: gedit
Bugzilla-Component: general
Bugzilla-Version: 2.14.2
BugBuddy-GnomeVersion: 2.0 (2.14.1)
Description:
Description of the crash:
I want copy a text from other place using the third button mouse. When i
click twice, gedit crash. Really a use a two button mouse, clicking
left-right button at the same time.

Steps to reproduce the crash:
1. Select text from another application.
2. Left-right button click (two button mouse) at the same time.
3. The first time don't paste the text.
4. Then i click left-right button again.
5. Gedit crashes.

Expected Results:
Gedit crash and all files open are lost

How often does this happen?
Always

Additional Information:
Distro ubuntu dapper


Debugging Information:

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

(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 16384 (LWP 6813)]
(no debugging symbols found)
0xb71947f8 in waitpid () from /lib/libpthread.so.0

Thread 1 (Thread 16384 (LWP 6813))

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 ??
    from /usr/lib/libgnomeui-2.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 __pthread_sighandler
    from /lib/libpthread.so.0
  • #4 <signal handler called>
  • #5 kill
    from /lib/libc.so.6
  • #6 pthread_kill
    from /lib/libpthread.so.0
  • #7 raise
    from /lib/libpthread.so.0
  • #8 raise
    from /lib/libc.so.6
  • #9 abort
    from /lib/libc.so.6
  • #10 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #11 g_log
    from /usr/lib/libglib-2.0.so.0
  • #12 g_assert_warning
    from /usr/lib/libglib-2.0.so.0
  • #13 gtk_text_view_starts_display_line
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 gtk_text_view_starts_display_line
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 gtk_source_view_get_marker_pixbuf
    from /usr/lib/libgtksourceview-1.0.so.0
  • #16 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #17 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #22 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 _gdk_events_queue
    from /usr/lib/libgdk-x11-2.0.so.0
  • #26 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #27 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #28 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #29 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #30 main
  • #0 waitpid
    from /lib/libpthread.so.0




------- Bug created by bug-buddy at 2006-05-23 15:44 -------


Unknown version 2.14.2 in product gedit.  Setting version to "2.14.x".

Comment 1 Markus Johnsson 2006-05-24 11:40:04 UTC
I can confirm this, also on dapper. 
Comment 2 Steve Frécinaux 2006-05-24 11:47:27 UTC
works fine here (on dapper, but using gedit CVS). Can someone reproduce it from another distro ? Otherwise, maybe you should report it into launchpad.
Comment 3 Paolo Borelli 2006-05-24 11:53:14 UTC
dapper here too and I cannot reproduce. Looking at the stack trace it looks like a  assertion fails inside gtk.

Can you guys launch gedit from the terminal and post any warnings printed there?
Comment 4 Paolo Borelli 2006-05-24 12:04:47 UTC
other usefuk info is the exact set of config you are using and which plugins are loaded.
Comment 5 jecarb 2006-05-24 12:29:05 UTC
Warning from terminal

Gtk-ERROR **: file gtktextview.c: line 5670 (gtk_text_view_start_selection_drag) : assertion failed: (text_view->selection_drag_handler == 0)
aborting...

Comment 6 jessevdk@gmail.com 2006-05-24 15:48:33 UTC
I can confirm this. I noticed it a while ago, but failed to file a report. I can reproduce this with CVS too. It's kind of hard, you need to select/click some times with all buttons and eventually it happens.

I tried this with just a gtktextview and I couldn't reproduce.
Comment 7 Paolo Borelli 2006-05-24 19:03:15 UTC
jesse: what about gtksourceview test widget?
Comment 8 jessevdk@gmail.com 2006-05-24 21:54:38 UTC
No, can't seem to trigger it with the gtksourceview test widget.
Comment 9 Paolo Borelli 2006-06-05 11:49:48 UTC
*** Bug 343898 has been marked as a duplicate of this bug. ***
Comment 10 Kevin Kubasik 2006-06-05 11:58:56 UTC
Ok, the bugs sound pretty similar, although the backtraces are quite different, I've included mine below for reference, but check the last thread, it seems to be where the issue was, and we can get a reasonable ballpark for our issue, lemme try the cvs of gtksourceview and see if this still happens.

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

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1225418528 (LWP 31546)]
[New Thread -1292444752 (LWP 31949)]
[New Thread -1240351824 (LWP 31550)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1225418528 (LWP 31546))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #6 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #7 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #8 g_log
    from /usr/lib/libglib-2.0.so.0
  • #9 g_assert_warning
    from /usr/lib/libglib-2.0.so.0
  • #10 gtk_text_view_starts_display_line
    from /usr/lib/libgtk-x11-2.0.so.0
  • #11 gtk_text_view_starts_display_line
    from /usr/lib/libgtk-x11-2.0.so.0
  • #12 gtk_source_view_get_marker_pixbuf
    from /usr/lib/libgtksourceview-1.0.so.0
  • #13 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #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 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #20 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #21 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 _gdk_events_queue
    from /usr/lib/libgdk-x11-2.0.so.0
  • #23 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #24 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #25 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #26 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #27 main
    at gedit.c line 570
  • #0 __kernel_vsyscall

Comment 11 Elijah Newren 2006-06-20 14:13:34 UTC
*** Bug 345421 has been marked as a duplicate of this bug. ***
Comment 12 Paolo Maggi 2006-06-20 14:24:43 UTC
I can reproduce this crash on Dapper.
I cannot reproduce it with tomboy or leafpad so it may be due to gtksourceview
or gedit itself.

I cannot reproduce it with gtk+/gedit from CVS HEAD.
Comment 13 Paolo Maggi 2006-06-20 14:25:25 UTC

*** This bug has been marked as a duplicate of 344826 ***
Comment 14 Jonathon Jongsma 2007-01-02 21:38:33 UTC
*** Bug 392007 has been marked as a duplicate of this bug. ***