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 116436 - I have never gotten gnome-panel to work. In command line it simply hangs without displaying anything
I have never gotten gnome-panel to work. In command line it simply hangs with...
Status: RESOLVED DUPLICATE of bug 109374
Product: gnome-panel
Classification: Other
Component: panel
unspecified
Other Linux
: Normal critical
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-07-01 03:46 UTC by K. Pili
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description K. Pili 2003-07-01 03:46:10 UTC
Description of Problem: 
Gnome-panel never works- nothing is ever displayed. 
 
Steps to reproduce the problem: 
1. Start Gnome2  
2. Type gnome-panel in a terminal 
3.  
 
Actual Results: 
Program will hang until Ctrl-C is used 
 
Expected Results: 
Display of a panel 
 
How often does this happen?  
Always 
 
Additional Information: 
using Gnome2.3 (self-compiled) on s SuSE 8.1 system
Comment 1 Arvind S N 2003-07-01 10:35:27 UTC
Pili: follow the steps below in the terminal 

1) gdb ./gnome-panel
2) after it loads the libraries, do a "run"
3) it would hang in your case. do a ctrl-c and do a "where" at the 
   gdb prompt.
4) Cut and paste the stack trace here.

Hope this helps.
Comment 2 Mark McLoughlin 2003-07-01 10:54:12 UTC
Pili: the issue here is that you panel-default-setup.entries is not
getting installed using gconftool-2 --load
panel-default-setup.entries. Have a look at
gnome-panel/gnome-panel/Makefile.am

Could you try and figure out why this isn't working for you?
Comment 3 Mark McLoughlin 2003-07-02 08:55:36 UTC
See my comments in #109374

*** This bug has been marked as a duplicate of 109374 ***
Comment 4 K. Pili 2003-07-02 23:55:35 UTC
You are right! The problem had something to do with the installation of the gconf 
schemas. I reinstalled them and at last I can see the panel. It is mostly empty, 
but at least I can logout without using Ctrl+Alt+BkSpc. That's a lot for your tips. 
 
Here is the stack trace: 
-------------------- 
Program received signal SIGINT, Interrupt. 
[Switching to Thread 1024 (LWP 1715)] 
0x40ee5cca in __poll (fds=0x818ccd8, nfds=11, timeout=-1) 
    at ../sysdeps/unix/sysv/linux/poll.c:63 
63      ../sysdeps/unix/sysv/linux/poll.c: No such file or directory. 
        in ../sysdeps/unix/sysv/linux/poll.c 
(gdb) where 
  • #0 __poll
    at ../sysdeps/unix/sysv/linux/poll.c line 63
  • #1 g_main_context_poll
    from /usr/lib/libglib-2.0.so.0
  • #2 g_main_context_iterate
    from /usr/lib/libglib-2.0.so.0
  • #3 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #4 gtk_dialog_run
    from /usr/lib/libgtk-x11-2.0.so.0
  • #5 panel_applet_frame_loading_failed
  • #6 panel_applet_frame_construct
  • #7 panel_applet_frame_new
  • #8 panel_applet_frame_load
  • #9 panel_applet_frame_load_from_gconf
  • #10 panel_applet_load_idle_handler
  • #11 g_idle_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #12 g_main_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #13 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #14 g_main_context_iterate
    from /usr/lib/libglib-2.0.so.0
  • #15 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #16 gtk_dialog_run
    from /usr/lib/libgtk-x11-2.0.so.0
  • #17 panel_applet_frame_loading_failed
  • #18 panel_applet_frame_construct
  • #19 panel_applet_frame_new
  • #20 panel_applet_frame_load
  • #21 panel_applet_frame_load_from_gconf
  • #22 panel_applet_load_idle_handler
  • #23 g_idle_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #24 g_main_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #25 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #26 g_main_context_iterate
    from /usr/lib/libglib-2.0.so.0
  • #27 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #28 gtk_dialog_run
    from /usr/lib/libgtk-x11-2.0.so.0
  • #29 panel_applet_frame_loading_failed
  • #30 panel_applet_frame_construct
  • #31 panel_applet_frame_new
  • #32 panel_applet_frame_load
  • #33 panel_applet_frame_load_from_gconf
  • #34 panel_applet_load_idle_handler
  • #35 g_idle_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #36 g_main_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #37 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #38 g_main_context_iterate
    from /usr/lib/libglib-2.0.so.0
  • #39 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #40 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #41 main
  • #42 __libc_start_main
    at ../sysdeps/generic/libc-start.c line 129
 
Comment 5 K. Pili 2003-07-05 01:04:04 UTC
I thought that the problem was solved, but now gnome-panel is back to its old  
tricks. The program just hangs. Using gdb, I get the following stack:  
  
  • #0 __poll
    at ../sysdeps/unix/sysv/linux/poll.c line 63
  • #1 g_main_context_poll
    from /usr/lib/libglib-2.0.so.0
  • #2 g_main_context_iterate
    from /usr/lib/libglib-2.0.so.0
  • #3 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #4 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #5 main
  • #6 __libc_start_main
    at ../sysdeps/generic/libc-start.c line 129
  
I've tried re-compiling and reinstalling it to no avail. I wonder if it will ever work?  
  
Pili  
  
Comment 6 Kjartan Maraas 2003-07-05 20:37:06 UTC
How do you compile? What flags are you using with gcc and what distro
are you using?
Comment 7 K. Pili 2003-07-05 21:40:58 UTC
I use the RPM spec file to compile the program. My settings in hte build phase  
are: 
----------------------------------------------------------------------------- 
autoupdate 
libtoolize --force 
aclocal -I /opt/gnome2/share/aclocal/gnome2-macros 
autoconf 
automake -a -f 
 
CFLAGS="$RPM_OPT_FLAGS -I/opt/gnome2/include/ " \ 
  ./configure \ 
    --prefix=%prefix \ 
    --libdir=%prefix/%_lib \ 
    --sysconfdir=%sysconfdir \ 
    --datadir=%prefix/share \ 
    --localstatedir=/var/%_lib \ 
    --with-kde-datadir=/opt/kde3/share \ 
    --enable-platform-gnome2 
make 
------------------------------------------------------------------------------- 
where %prefix = /opt/gnome2 and %sysconfdir = /etc/%prefix. 
I have a patched version of SuSE 8.1. 
 
Pili 
 
 
 
Comment 8 K. Pili 2003-07-22 01:51:36 UTC
Ok, I have given up with Gnome2. I cannot get the panel to work no matter what I 
try. 
Comment 9 Kjartan Maraas 2003-07-27 17:32:05 UTC
What do you mean by a patched version of SuSe? Do you use any special
optimizations or other patches that could be involved in this crash?
Comment 10 K. Pili 2003-07-27 18:42:06 UTC
My SuSE is v8.1. It evolved over time from v6.2 through v7.3 and now v8.1. 
Each time I compiled and installed the new version over the old one, without 
cleaning out the old. That is why I describe it as a patched version. 
 
I don't use any special falgs when compiling gnone-panel. In fact the only 
additional flag I use is "-I/opt/gnome2/include/". It compiles successfully.My 
suspicion is that the problem has something to do with the way gnome-panel 
and gconf interact.