GNOME Bugzilla – Bug 357920
On gtk2 2.4, I get no group or article search boxes
Last modified: 2007-01-25 04:27:28 UTC
I just compiled 0.113 from scratch, on my linux intel box. I have GTK-2.4.0 > rpm -q gtk2 gtk2-2.4.0-1 Pan configured and compiled without a complain, but when I start it: > pan/gui/pan& (pan:15849): Gtk-CRITICAL **: file gtktoolbar.c: line 2591 (gtk_toolbar_get_item_index): assertion `GTK_IS_TOOLBAR (toolbar)' failed (pan:15849): Gtk-CRITICAL **: file gtktoolbar.c: line 2559 (gtk_toolbar_insert): assertion `GTK_IS_TOOLBAR (toolbar)' failed (pan:15849): Gtk-CRITICAL **: file gtktoolbar.c: line 2591 (gtk_toolbar_get_item_index): assertion `GTK_IS_TOOLBAR (toolbar)' failed (pan:15849): Gtk-CRITICAL **: file gtktoolbar.c: line 2559 (gtk_toolbar_insert): assertion `GTK_IS_TOOLBAR (toolbar)' failed And the window fails to have any search boxes, either for groups or articles. Duncan suggested filing a bug against this, but I'd feel that an equally valid solution would be to increase the GTK-2 version required by configure up to whatever version works.
I no longer have gtk 2.4 to test against. :) Could you do a little digging to see where these error messages are coming from? % gdb pan/gui/pan (gdb) break main (gdb) run breakpoint 1 reached (gdb) break g_log (gdb) continue breakpoint 2 reached (gdb) bt and add the output of `bt' as a comment to this ticket...
Sorry to be slow; was travelling. Notice how the gdb session doesn't print the GTK-Critical warnings. Perhaps that was intended? anyways: On a just now built 0.116. ----------- (gdb) break main Breakpoint 1 at 0x80b89a3: file pan.cc, line 182. (gdb) un Ambiguous command "un": undisplay, unset, until. (gdb) run Starting program: /dev/shm/pan-0.116/pan/gui/pan Error while mapping shared library sections: : Success. Error while reading shared library symbols: : No such file or directory. [Thread debugging using libthread_db enabled] [New Thread -1208438656 (LWP 32767)] Error while reading shared library symbols: : No such file or directory. Error while reading shared library symbols: : No such file or directory.
+ Trace 75741
Thread NaN (LWP 32767)
(pan:322): Gtk-CRITICAL **: file gtktoolbar.c: line 2591 (gtk_toolbar_get_item_index): assertion `GTK_IS_TOOLBAR (toolbar)' failed (pan:322): Gtk-CRITICAL **: file gtktoolbar.c: line 2559 (gtk_toolbar_insert): assertion `GTK_IS_TOOLBAR (toolbar)' failed (pan:322): Gtk-CRITICAL **: file gtktoolbar.c: line 2591 (gtk_toolbar_get_item_index): assertion `GTK_IS_TOOLBAR (toolbar)' failed (pan:322): Gtk-CRITICAL **: file gtktoolbar.c: line 2559 (gtk_toolbar_insert): assertion `GTK_IS_TOOLBAR (toolbar)' failed shalmanser(9): rgv=0xbfffce74) at pan.cc:294
Sorry to be so slow. I wasn't traveling either; I have no excuse. :) What happens if you change this line in pan/gui/pan.ui.h: % cvs diff -u pan.ui.h Index: pan.ui.h =================================================================== RCS file: /cvs/gnome/pan2/pan/gui/pan.ui.h,v retrieving revision 1.2 diff -u -r1.2 pan.ui.h --- pan.ui.h 10 Oct 2006 20:33:15 -0000 1.2 +++ pan.ui.h 31 Oct 2006 00:21:32 -0000 @@ -150,7 +150,7 @@ " <toolitem action='get-new-headers-in-subscribed-groups'/>\n" " <toolitem action='get-new-headers-in-selected-groups'/>\n" " <separator />\n" -" <separator name='group-pane-filter'/>\n" +" <placeholder name='group-pane-filter'/>\n" " <separator />\n" " <toolitem action='post'/>\n" " <toolitem action='followup-to'/>\n" (18:14:22)(charles xyzzy)(/tmp/pan2/pan/gui):
A make clean; make after the modification you suggested, on 0.116, yielded the same results: shalmanser(16): ./pan/gui/pan (pan:3502): Gtk-CRITICAL **: file gtktoolbar.c: line 2591 (gtk_toolbar_get_item_index): assertion `GTK_IS_TOOLBAR (toolbar)' failed (pan:3502): Gtk-CRITICAL **: file gtktoolbar.c: line 2559 (gtk_toolbar_insert): assertion `GTK_IS_TOOLBAR (toolbar)' failed (pan:3502): Gtk-CRITICAL **: file gtktoolbar.c: line 2591 (gtk_toolbar_get_item_index): assertion `GTK_IS_TOOLBAR (toolbar)' failed (pan:3502): Gtk-CRITICAL **: file gtktoolbar.c: line 2559 (gtk_toolbar_insert): assertion `GTK_IS_TOOLBAR (toolbar)' failed and no search widgets. I'll try again on 0.117 tomorrow.
Johan: ping
Alas; I got fed up with fedora, and installed ubuntu instead, with up-to-date gnome, so I am no longer able to replicate this. fwiw, before blowing away fedora, I did recompile a fairly recent version (1.118ish, tho it could have been 1.117) and the problems persisted. But, feel free to close this as unreproducable.