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 357920 - On gtk2 2.4, I get no group or article search boxes
On gtk2 2.4, I get no group or article search boxes
Status: RESOLVED INCOMPLETE
Product: Pan
Classification: Other
Component: general
pre-1.0 betas
Other Linux
: Normal normal
: ---
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2006-09-27 05:00 UTC by Johan
Modified: 2007-01-25 04:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Johan 2006-09-27 05:00:54 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.
Comment 1 Charles Kerr 2006-10-06 17:09:58 UTC
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...
Comment 2 Johan 2006-10-11 05:09:19 UTC
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.

Thread NaN (LWP 32767)

  • #0 g_log
    from /usr/lib/libglib-2.0.so.0
  • #1 gtk_toolbar_get_item_index
    from /usr/lib/libgtk-x11-2.0.so.0
  • #2 GUI
    at gui.cc line 186
  • #3 (anonymous namespace)::run_pan_in_window
    at pan.cc line 129
  • #4 main

(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
Comment 3 Charles Kerr 2006-10-31 00:22:42 UTC
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):
Comment 4 Johan 2006-11-01 06:16:44 UTC
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.
Comment 5 Charles Kerr 2007-01-24 16:41:33 UTC
Johan: ping
Comment 6 Johan 2007-01-24 18:55:29 UTC
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.