Re: Panel Segfaults



just joined the list for this.. *grin* i've been banging my head against
this for a week, and it seems i now have the same problem as Mr. Gleef; my
panel segfaults on startup. the problem seems to live in ORBit somewhere
(see debugging nonsense below). Also, i don't know if this is related, but
when compiling test-poa, i get the following error:

../../src/IIOP/.libs/libIIOP.a(connection.o): In function
`iiop_connection_server_unix':
/extra/gnome/ORBit/src/IIOP/connection.c:445: undefined reference to
`SUN_LEN'

if any more information is needed (or maybe this is too much and you just
want to ask me to be a little less verbose with my posts.. *grin*), i'd be
happy to oblige.

hope this helps,
-will woods

debugging info from panel:

XXGDB comes with ABSOLUTELY NO WARRANTY.
GNU gdb 4.17
[snip]
This GDB was configured as "i586-slackware-linux"...
(xxgdb) run
message: Initializing CORBA for panel


Program received signal SIGSEGV, Segmentation fault.
iiop_connection_server () at connection.c:392
(xxgdb) bt
#0  iiop_connection_server () at connection.c:392
#1  0x4002b519 in CORBA_ORB_init (argc=0xbfffe8f8, argv=0xbfffe8f4,
orb_identifier=0x80757db "mico-local-orb", ev=0x807a0a8) at orb.c:192
#2  0x8063e4d in panel_corba_gtk_init () at orbit-glue.c:573
#3  0x804e501 in main (argc=1, argv=0xbffffa5c) at main.c:183
#4  0x804e1ee in _start ()
(xxgdb) print server_cnx
$1 = (IIOPConnection *) 0x809ee48
(xxgdb) print *server_cnx
$2 = {
  giop_connection = {
    connection_type = GIOP_CONNECTION_IIOP, 
    destroy_func = 0x4003d77c <iiop_connection_destroy>, 
    get_fd_func = 0x4003d7e4 <iiop_get_fd>, 
    refcount = 0, 
    is_valid = 0, 
    connection_class = GIOP_CONNECTION_SERVER, 
    last_event = EV_READ, 
    orb_data = 0x0, 
    user_data = 0x0
  }, 
  fd = 6, 
  hostname = 0x0, 
  location = {
    sin_family = 2, 
    sin_port = 5418, 
    sin_addr = {
      s_addr = 0
    }, 
    __pad = "\000\000\000\000\000\000\000"
  }, 
  sockpath = {
    sun_family = 0, 
    sun_path = '\000' <repeats 107 times>
  }, 
  is_serversock = 1
}
(xxgdb) print hent
$3 = (struct hostent *) 0x0
(xxgdb) print *hent
Cannot access memory at address 0x0.
(xxgdb) 



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