GNOME Bugzilla – Bug 604391
Gtk-CRITICAL **: gtk_widget_is_ancestor: assertion `ancestor != NULL' when switching between tab
Last modified: 2010-07-19 13:31:13 UTC
each time I switch to a tab, the following warning is displayed: Gtk-CRITICAL **: gtk_widget_is_ancestor: assertion `ancestor != NULL' when switching between tab. Tried in evince properties windows, nautilus tab & gtk+ master.
Can you get a backtrace from the warning?
sure, Gtk-CRITICAL **: gtk_widget_is_ancestor: assertion `ancestor != NULL' failed aborting... Program received signal SIGTRAP, Trace/breakpoint trap. IA__g_logv (log_domain=<value optimized out>, log_level=G_LOG_LEVEL_CRITICAL, format=0x6b77e5 "%s: assertion `%s' failed", args1=0xbfffe6ac "\306\364;\001)\373:\001\300_#") at gmessages.c:555 555 g_private_set (g_log_depth, GUINT_TO_POINTER (depth)); (gdb) thread apply all bt
+ Trace 219579
Thread 1 (Thread 0xb7fdb970 (LWP 31353))
I get this warning too. It only happens when switching tabs with the mouse wheel, not if I click on the tabs directly.
Created attachment 156866 [details] [review] proposed patch
Still valid in GTK+ 2.20
*** Bug 617549 has been marked as a duplicate of this bug. ***
Created attachment 165319 [details] [review] Fix critical warnings on scroll events Bug #604391.
Comment on attachment 165319 [details] [review] Fix critical warnings on scroll events Please commit to gtk-2-22 as well, thanks.
Comment on attachment 165319 [details] [review] Fix critical warnings on scroll events master: commit 1af1362a369bb79deaeec8d5bf580c97df6c0c87 gtk-2-22: 8f42a13ce79232fa17f1caf2a75fab4947e439af