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 359614 - crash in Terminal: I pressed Ctrl-Shift-T i...
crash in Terminal: I pressed Ctrl-Shift-T i...
Status: RESOLVED INCOMPLETE
Product: gtk+
Classification: Platform
Component: .General
2.10.x
Other All
: High critical
: ---
Assigned To: gtk-bugs
gtk-bugs
: 361477 364807 381993 391250 395528 404294 416165 479318 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-10-04 14:39 UTC by Peter De Wachter
Modified: 2009-11-07 17:45 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Peter De Wachter 2006-10-04 14:39:25 UTC
Version: 2.16.0

What were you doing when the application crashed?
I pressed Ctrl-Shift-T in gnome-terminal to open a new tab.


Distribution: Debian testing/unstable
Gnome Release: 2.16.0 2006-09-12 (Debian)
BugBuddy Version: 2.16.0

Memory status: size: 148680704 vsize: 148680704 resident: 19046400 share: 11329536 rss: 19046400 rss_rlim: -1
CPU usage: start_time: 1159964311 rtime: 810 utime: 744 stime: 66 cutime:2960 cstime: 775 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/gnome-terminal'

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 47867403417280 (LWP 4377)]
[New Thread 1082132832 (LWP 4381)]
0x00002b88fc09100f in waitpid () from /lib/libpthread.so.0

Thread 1 (Thread 47867403417280 (LWP 4377))

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 ??
  • #2 __PRETTY_FUNCTION__.18445
    from /usr/lib/libgtk-x11-2.0.so.0
  • #3 ??
  • #4 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #5 <signal handler called>
  • #6 IA__gtk_widget_style_get_valist
    at /tmp/g/gtk+2.0-2.10.3/build-tree/gtk+-2.10.3/gtk/gtkwidget.c line 7580
  • #7 IA__gtk_widget_style_get
    at /tmp/g/gtk+2.0-2.10.3/build-tree/gtk+-2.10.3/gtk/gtkwidget.c line 7614
  • #8 gtk_widget_get_draw_rectangle
    at /tmp/g/gtk+2.0-2.10.3/build-tree/gtk+-2.10.3/gtk/gtkwidget.c line 2667
  • #9 widget_add_child_draw_rectangle
    at /tmp/g/gtk+2.0-2.10.3/build-tree/gtk+-2.10.3/gtk/gtkwidget.c line 2653
  • #10 gtk_box_forall
    at /tmp/g/gtk+2.0-2.10.3/build-tree/gtk+-2.10.3/gtk/gtkbox.c line 670
  • #11 gtk_widget_get_draw_rectangle
    at /tmp/g/gtk+2.0-2.10.3/build-tree/gtk+-2.10.3/gtk/gtkwidget.c line 2679
  • #12 gtk_widget_queue_shallow_draw
    at /tmp/g/gtk+2.0-2.10.3/build-tree/gtk+-2.10.3/gtk/gtkwidget.c line 2950
  • #13 IA__gtk_widget_queue_resize
    at /tmp/g/gtk+2.0-2.10.3/build-tree/gtk+-2.10.3/gtk/gtkwidget.c line 2779
  • #14 gtk_widget_set_style_internal
    at /tmp/g/gtk+2.0-2.10.3/build-tree/gtk+-2.10.3/gtk/gtkwidget.c line 5138
  • #15 reset_rc_styles_recurse
    at /tmp/g/gtk+2.0-2.10.3/build-tree/gtk+-2.10.3/gtk/gtkwidget.c line 5338
  • #16 gtk_notebook_forall
    at /tmp/g/gtk+2.0-2.10.3/build-tree/gtk+-2.10.3/gtk/gtknotebook.c line 3793
  • #17 gtk_box_forall
    at /tmp/g/gtk+2.0-2.10.3/build-tree/gtk+-2.10.3/gtk/gtkbox.c line 680
  • #18 gtk_rc_reset_widgets
    at /tmp/g/gtk+2.0-2.10.3/build-tree/gtk+-2.10.3/gtk/gtkrc.c line 1588
  • #19 reset_styles_idle
    at /tmp/g/gtk+2.0-2.10.3/build-tree/gtk+-2.10.3/gtk/gtkicontheme.c line 602
  • #20 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #21 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #22 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #23 IA__gtk_main
    at /tmp/g/gtk+2.0-2.10.3/build-tree/gtk+-2.10.3/gtk/gtkmain.c line 1001
  • #24 ??
  • #25 __libc_start_main
    from /lib/libc.so.6
  • #26 ??
  • #0 waitpid
    from /lib/libpthread.so.0

Comment 1 Peter De Wachter 2006-10-04 14:49:32 UTC
The following appeared in .xsession-errors:

(gnome-terminal:4377): Gtk-CRITICAL **: gtk_style_detach: assertion `GTK_IS_STYLE (style)' failed

(gnome-terminal:4377): GLib-GObject-WARNING **: gsignal.c:2180: invalid object type `

(gnome-terminal:4377): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gnome-terminal:4377): Gtk-CRITICAL **: _gtk_style_peek_property_value: assertion `GTK_IS_STYLE (style)' failed

Comment 2 Karsten Bräckelmann 2006-10-24 20:33:26 UTC
*** Bug 364807 has been marked as a duplicate of this bug. ***
Comment 3 Mariano Suárez-Alvarez 2006-10-26 06:48:05 UTC
FWIW:

This are OK up to the 10th frame, in gtk_box_forall: note that its local ‘child’ is NULL: this is bad. I guess this is why the call to widget_add_child_draw_rectangle is getting 0x3 as a widget...

(The callback argument to gtk_box_forall is here 0x30, which can't be right, but widget_add_child_draw_rectangle does get called, which is fine; probably something went amiss with the stacktrace.)

I'd love to know what box is it that this is happening: we are in the middle of a notebook_forall, so the box is either one of the hboxes we use for the tabs or the hbox which contains the terminal and the scrollbar...

The exact same observations apply to the stack in the dup.
Comment 4 Christian Persch 2007-01-19 13:46:29 UTC
I'd discount |child == 0| in #10 as gdb fuzziness. If it really had been NULL, gtk_box_forall would have crashed right there on a NULL-dereference.

I think the warnings are much more informative: there's a widget in the hierarchy somewhere which has widget->style == NULL, and thus gtk_style_get (widget, "draw-border",...) crashes on this line in gtkwidget.c:gtk_widget_style_get_valist:

      peek_value = _gtk_style_peek_property_value (widget->style,
                                                   G_OBJECT_TYPE (widget),
                                                   pspec,
                                                   (GtkRcPropertyParser) g_param_spec_get_qdata (pspec, quark_property_parser));
    G_VALUE_LCOPY (peek_value, var_args, 0, &error);

|peek_value| will be NULL, and G_VALUE_LCOPY dereferences it.

The other warning:
(gnome-terminal:4377): Gtk-CRITICAL **: gtk_style_detach: assertion
`GTK_IS_STYLE (style)' failed
shows that there's almost certainly a mismatched gtk_style_attach/gtk_style_detach somewhere.
Comment 5 Mariano Suárez-Alvarez 2007-01-19 22:51:07 UTC
*** Bug 361477 has been marked as a duplicate of this bug. ***
Comment 6 Mariano Suárez-Alvarez 2007-02-07 22:02:55 UTC
*** Bug 404294 has been marked as a duplicate of this bug. ***
Comment 7 Teppo Turtiainen 2007-07-16 19:09:26 UTC
*** Bug 381993 has been marked as a duplicate of this bug. ***
Comment 8 Teppo Turtiainen 2007-07-16 19:10:12 UTC
*** Bug 391250 has been marked as a duplicate of this bug. ***
Comment 9 Teppo Turtiainen 2007-07-16 19:10:46 UTC
*** Bug 416165 has been marked as a duplicate of this bug. ***
Comment 10 Teppo Turtiainen 2007-07-16 19:14:22 UTC
*** Bug 395528 has been marked as a duplicate of this bug. ***
Comment 11 Reinout van Schouwen 2007-09-22 21:56:36 UTC
*** Bug 479318 has been marked as a duplicate of this bug. ***
Comment 12 Reinout van Schouwen 2007-09-22 21:57:34 UTC
The latest duplicate happened in Epiphany, moving this to GTK.
Comment 13 André Klapper 2009-07-24 17:20:05 UTC
This crash report was submitted against version 2.9 or 2.10 of GTK.
This version is no longer maintained, which means that it will not receive any
further security or bug fix updates.
The current stable GTK version is 2.16 and include in recent GNOME distributions.

Can you please check again whether this issue still happens in GTK 2.14 or 2.16
and update this report by adding a comment and changing the "Version" field?
Thanks a lot.

Again thank you for reporting this bug and we are sorry it could not be fixed
for the version you originally used here.
Comment 14 André Klapper 2009-11-07 17:45:31 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!