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 463270 - [2.11.6] Assertion failure in gtk_widget_ensure_style() with several applications
[2.11.6] Assertion failure in gtk_widget_ensure_style() with several applicat...
Status: RESOLVED NOTGNOME
Product: gtk+
Classification: Platform
Component: Widget: Other
2.11.x
Other Linux
: Normal major
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-08-03 21:54 UTC by Sebastian Dröge (slomo)
Modified: 2007-08-04 07:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2007-08-03 21:54:37 UTC
Hi,
since gtk 2.11.6 several applications segfault after an assertion failure in gtk_widget_ensure_style:

(audacity:27621): Gtk-CRITICAL **: gtk_widget_ensure_style: assertion `GTK_IS_WIDGET (widget)' failed

The backtrace is:

  • #0 ??
    from /usr/lib/libwx_gtk2u_core-2.6.so.0
  • #1 wxSystemSettingsNative::GetColour
    from /usr/lib/libwx_gtk2u_core-2.6.so.0
  • #2 ??
  • #3 ??
  • #4 wxAppConsole::CallOnInit
  • #5 wxEntry
    from /usr/lib/libwx_baseu-2.6.so.0
  • #6 wxEntry
    from /usr/lib/libwx_baseu-2.6.so.0
  • #7 ??
  • #8 __libc_start_main
    from /lib/tls/i686/cmov/libc.so.6
  • #9 ??

Downgrading to gtk 2.11.5 makes it work without problems again.

This problem also happens with acroread for example, see http://www.adobeforums.com/cgi-bin/webx?128@@.3bc4895e

If you need a better backtrace I can try to get one with debugging symbols tomorrow.

Bye
Comment 1 Sebastian Dröge (slomo) 2007-08-04 06:04:51 UTC
The assertion failure itself yields the following backtrace:

  • #0 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #1 g_log
    from /usr/lib/libglib-2.0.so.0
  • #2 g_return_if_fail_warning
    from /usr/lib/libglib-2.0.so.0
  • #3 IA__gtk_widget_ensure_style
    at /build/buildd/gtk+2.0-2.11.6/gtk/gtkwidget.c line 5604
  • #4 ??
    from /usr/lib/libwx_gtk2u_core-2.6.so.0
  • #5 wxSystemSettingsNative::GetColour
    from /usr/lib/libwx_gtk2u_core-2.6.so.0
  • #6 ??
  • #7 ??
  • #8 wxAppConsole::CallOnInit
  • #9 wxEntry
    from /usr/lib/libwx_baseu-2.6.so.0
  • #10 wxEntry
    from /usr/lib/libwx_baseu-2.6.so.0
  • #11 ??
  • #12 __libc_start_main
    from /lib/tls/i686/cmov/libc.so.6
  • #13 ??


Not sure how I can get debug symbols for wxgtk on Ubuntu unfortunately, the debug package doesn't do it for some reason.
Comment 2 Sebastian Dröge (slomo) 2007-08-04 07:46:21 UTC
Ah, this comes from revision 18418: GtkTooltips->tip_window is used in wxgtk for some reason (although it's marked private) and in that revision it's use in Gtk was stopped and tip_window is always NULL.

Not a Gtk bug then I guess... unless you care for users of private fields?