! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
segfault when line numbers are enabled with gtk 2.10.7
Status:
RESOLVED: INVALID
Product:
Mousepad
Component:
General

Comments

Description Bj 2007-01-06 21:59:44 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1.1) Gecko/20061223 Epiphany/2.16
Build Identifier: 

after updating to gtk 2.10.7 when i check "line numbers" in mousepad, it segfaults.
when line numbers are already enabled, mousepad segfaults on startup.
with 2.10.6 it worked fine

Reproducible: Always

Steps to Reproduce:
1.open mousepad
2.check "options/line numbers"

Actual Results:  
mousepad segfaults

Expected Results:  
line numbers should be enabled, mousepad should continue running

backtrace from gdb:

Program received signal SIGSEGV, Segmentation fault.
---Type <return> to continue, or q <return> to quit---
[Switching to Thread -1218557376 (LWP 9058)]
0xb7b82c4f in gdk_drawable_get_screen () from /usr/lib/libgdk-x11-2.0.so.0
(gdb) bt
#0  0xb7b82c4f in gdk_drawable_get_screen () from /usr/lib/libgdk-x11-2.0.so.0
#1  0xb7bc5a48 in gdk_window_new () from /usr/lib/libgdk-x11-2.0.so.0
#2  0xb7de0cc0 in text_window_realize () from /usr/lib/libgtk-x11-2.0.so.0
#3  0xb7de0f73 in set_window_width () from /usr/lib/libgtk-x11-2.0.so.0
#4  0x0805581b in show_line_numbers ()
#5  0xb7d10b98 in gtk_item_factory_callback_marshal ()
   from /usr/lib/libgtk-x11-2.0.so.0
#6  0xb7a5340b in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#7  0xb7a4607b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#8  0xb7a564e9 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#9  0xb7a579a9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#10 0xb7a57b59 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#11 0xb7e43922 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#12 0xb7d3abd2 in gtk_menu_shell_activate_item ()
   from /usr/lib/libgtk-x11-2.0.so.0
#13 0xb7d3c1e0 in gtk_menu_shell_button_release ()
   from /usr/lib/libgtk-x11-2.0.so.0
#14 0xb7d33d35 in gtk_menu_button_release () from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb7d2de42 in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#16 0xb7a44639 in g_type_class_meta_marshal ()
   from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#17 0xb7a4607b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#18 0xb7a56b1d in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#19 0xb7a57788 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#20 0xb7a57b59 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#21 0xb7e3f594 in gtk_widget_event_internal ()
   from /usr/lib/libgtk-x11-2.0.so.0
#22 0xb7d271a3 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xb7d28387 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#24 0xb7baeb4a in gdk_event_dispatch () from /usr/lib/libgdk-x11-2.0.so.0
#25 0xb79cf761 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb79d27bf in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#27 0xb79d2b77 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#28 0xb7d28801 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#29 0x0804e069 in main ()
Comment 1 Erik Harrison 2007-01-06 23:27:40 CET
*** Bug 2717 has been marked as a duplicate of this bug. ***
Comment 2 Erik Harrison 2007-01-06 23:28:29 CET
I'll take a look ASAP. 
Comment 3 Erik Harrison 2007-01-08 21:31:08 CET
I'm fairly certain this is a bug in Gtk+.

http://bugzilla.gnome.org/show_bug.cgi?id=394406

I'll leave open for tracking purposes until someone smarter than me in the Gtk+ team confirms.
Comment 4 Erik Harrison 2007-01-08 21:38:42 CET
Fixed in Gtk+ svn.

Bug #2718

Reported by:
Bj
Reported on: 2007-01-06
Last modified on: 2007-01-08
Duplicates (1):
  • 2717 Mousepad segfaults with GTK+ 2.10.7

People

Assignee:
Erik Harrison
CC List:
1 user

Version

Version:
0.2.11svn

Attachments

Additional information