Panel/Orbit Segfault



Panel now is segfaulting on startup.  I am on a RedHat 5.1 system, with
egcs and the glibc-2.0.7-29 RPM.  This is with glib and gtk+ versions
1.1.11, ORBit FOR_PANEL from anonymous CVS yesterday and today, and
gnome-libs and gnome_core GNOME_STABLE from yesterday.

Here's the errors/debug session:

$ panel

** ERROR **: Unknown error on directory creation of /tmp/orbit-gleef
(Success)

aborting...
Aborted (core dumped)

$ gdb panel
[disclaimer & copyright snipped]
GDB 4.16 (i386-redhat-linux), 
(gdb) run
Starting program: /opt/gnome/bin/panel 

** ERROR **: Unknown error on directory creation of /tmp/orbit-gleef
(Success)

aborting...

Program received signal SIGABRT, Aborted.
0x4051b811 in __kill ()
(gdb) bt
#0  0x4051b811 in __kill ()
#1  0x4051b63f in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x4051c84f in abort () at ../sysdeps/generic/abort.c:83
#3  0x400b60db in g_logv (log_domain=0x0, 
    log_level=G_LOG_LEVEL_ERROR, 
    format=0x4008cba0 "Unknown error on directory creation of %s (%s)\n",
    args1=0xbffff778) at gmessages.c:363
#4  0x400b61f6 in g_log (log_domain=0x0, 
    log_level=G_LOG_LEVEL_ERROR, 
    format=0x4008cba0 "Unknown error on directory creation of %s (%s)\n")
    at gmessages.c:380
#5  0x40046a52 in ORBit_ORB_make_usock_connection () at orb.c:192
#6  0x400472d2 in CORBA_ORB_init (argc=0xbffffb00, 
    argv=0xbffffb14, orb_identifier=0x400f0e7f "orbit-local-orb", 
    ev=0xbffffae8) at orb.c:359
#7  0x400eee7e in gnome_CORBA_init_with_popt_table (
    app_id=0x807dbb6 "panel", app_version=0x807dbaf "0.99.1", 
    argc=0xbffffb00, argv=0xbffffb14, options=0x8083384, 
    popt_flags=0, return_ctx=0x0, 
    gnorba_flags=GNORBA_INIT_SERVER_FUNC, ev=0xbffffae8)
    at orbitgtk.c:187
#8  0x8051d8c in main (argc=1, argv=0xbffffb14) at main.c:135
(gdb) break orb.c:174
Breakpoint 1 at 0x400469a8: file orb.c, line 174.
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /opt/gnome/bin/panel 
Cannot insert breakpoint 1:
Temporarily disabling shared library breakpoints:
1 

Breakpoint 1, ORBit_ORB_make_usock_connection () at orb.c:174
174             if(mkdir(tmpstr->str, 0700) != 0) {
(gdb) print tmpstr->str
$1 = (gchar *) 0x8095938 "/tmp/orbit-gleef"
(gdb) print mkdir(tmpstr->str, 0700)
$2 = -1
(gdb) step
175                     int e = errno;
(gdb) step
177                     switch (e) {
(gdb) print e
$3 = 0
(gdb) print EEXIST 
No symbol "EEXIST" in current context.
(gdb)

Looks like whatever orb.c counts on to set EEXIST isn't doing so with
glibc 2.0.7.  

Thanks,
-Gleef



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]