["carl m. trotto jr." <ctrotto trotto com>] Re: gconfd ?




Hi,

Anyone seen this before?

Havoc



Here's the backtrace and the out from the window with gconf-2.
=======================================Window 1
root@trotto >gdb gconfd-2
GNU gdb 2002-04-01-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...
(gdb) r
Starting program: /gnome/head/INSTALL/bin/gconfd-2
[New Thread 1024 (LWP 23924)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 23924)]
0x40070276 in ORBit_adaptor_find (orb=0x51, objkey=0x805e2a8) at
orbit-adaptor.c:50
50              if (adaptorId < 0 || adaptorId >= orb->adaptors->len)
(gdb) bt full
#0  0x40070276 in ORBit_adaptor_find (orb=0x51, objkey=0x805e2a8) at
orbit-adaptor.c:50
        orb = 0x51
        objkey = (ORBit_ObjectKey *) 0x51
        adaptor = 0x51
#1  0x400702c8 in ORBit_handle_request (orb=0x51, recv_buffer=0x805e290) at
orbit-adaptor.c:69
        orb = 0x51
        adaptor = 0x51
        objkey = (ORBit_ObjectKey *) 0x805e2a8
#2  0x4005bfce in giop_connection_handle_input (lcnx=0x805e168) at
giop-recv-buffer.c:1110
        cnx = (GIOPConnection *) 0x805e168
        buf = (GIOPRecvBuffer *) 0x805e290
        warned = 0
#3  0x400bf539 in linc_connection_io_handler (gioc=0x0, condition=G_IO_IN,
data=0x805e168)
    at linc-connection.c:841
        cnx = (LINCConnection *) 0x805e168
        klass = (LINCConnectionClass *) 0x805e110
        rv = 134603024
        n = 1023768651
        n_size = 4
#4  0x400c0efc in linc_source_dispatch (source=0x805e210,
    callback=0x400bf4d0 <linc_connection_io_handler>, user_data=0x805e168) at
linc-source.c:54
        source = (GSource *) 0x805e210
        callback = 0x400bf4d0 <linc_connection_io_handler>
#5  0x40135a29 in g_main_dispatch (context=0x805b048) at gmain.c:1617
        was_in_call = 0
        user_data = 0x805e168
        callback = 0x400bf4d0 <linc_connection_io_handler>
        cb_funcs = (GSourceCallbackFuncs *) 0x40179378
        cb_data = 0x805e260
        need_destroy = 1075743395
        dispatch = (gboolean (*)()) 0x400c0eb4 <linc_source_dispatch>
        source = (GSource *) 0x805e210
        i = 0
#6  0x40136847 in g_main_context_dispatch (context=0x805b048) at gmain.c:2161
        context = (GMainContext *) 0x805b048
#7  0x40136c23 in g_main_context_iterate (context=0x805b048, block=1, dispatch=1,
self=0x805b9a0)
    at gmain.c:2242
        max_priority = 2147483647
        timeout = 117802
        some_ready = 0
        nfds = 2
        allocated_nfds = 2
        fds = (GPollFD *) 0x805e278
#8  0x401372ff in g_main_loop_run (loop=0x805d738) at gmain.c:2462
        loop = (GMainLoop *) 0x805d738
        self = (GThread *) 0x805b9a0
#9  0x0804ec96 in gconf_main () at gconfd.c:750
        loop = (GMainLoop *) 0x805d738
#10 0x0804ea9a in main (argc=1, argv=0xbffffca4) at gconfd.c:643
        argc = -1073743080
        argv = (char **) 0x51
        act = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1},
sa_mask = {__val = {
      0 <repeats 32 times>}}, sa_flags = 0, sa_restorer = 0xbffffc58}
        empty_mask = {__val = {0 <repeats 32 times>}}
        ev = {_id = 0x0, _major = 0, _any = {_type = 0x0, _value = 0x0, _release =
0 '\0'}}
        orb = 0x805b4b0
        logname = (gchar *) 0xbffffc34 ""
        username = (gchar *) 0x805b4b0 "/root/.gconfd/lock"
        len = 3221224216
        ior = (gchar *) 0xbffffb18 ""
        exit_code = 0
        err = (GError *) 0x0
        lock_dir = 0x805b4b0 "/root/.gconfd/lock"
        gconfd_dir = 0xbffffb18 ""
        dev_null_fd = -1073743080
        write_byte_fd = -1

=======================================Window 2
root@trotto > gconf-sanity-check-2

** (process:23925): WARNING **: ORB: a total of 1 refs to 1 ORB objects were
leaked


Regards,
Carl Trotto

Havoc Pennington wrote:

> "carl m. trotto jr." <ctrotto@trotto.com> writes:
> >
> > You'll have to give me some information.  gconf-2 starts gconfd-2.  I assume
> > I can start gconfd-2 standalone and when gconf-2 is started it "looks" for
> > gconfd-2.  Is this correct.  If no how do I get to gconfd-2.  With this
> > information I'll do the back trace 7/10 in the evening CST.  Is there any
> > debug flags I need for the "make" to generate the symbols in the executable.
> > Also what parameters do I need for gdb eg. "gdb source executable".
> > Then I assume its:
> > gdb> run
> > gdb> backtrace <== what's this command
> >
>
> Yes you can run gconfd-2 standalone (though it's also started
> implicitly if needed). So you would just "gdb gconfd-2" and as you say
> "run" then the command is simply "backtrace" or "bt" (or to get more
> info, you could do "bt full").
>
> If you build from tarballs you will have debug symbols by default.
>
> Havoc




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