Alexander wrote:

> Hm... It means that entry->type does not exist in schema resulting in
> object_type equal to NULL. What does 'bt full' say in gdb? Not 'backtrace'
> but 'bt full' and also what does 'print entry->type' says?


Okei, here's the result from "bt full":


(gdb) bt full
#0  0x804e9bd in rpd_write_object_tree (value=0x807cb50,
user_data=0xbffff8d0) at export.c:505
        exp_data = (WExport *) 0xbffff8d0
        res = (midgard_res *) 0x8076bc0
        pool = (midgard_pool *) 0x807cb60
        link_hash = (GHashTable *) 0x0
        object_type = (RSchemaType *) 0x0
        id = 134704064
        tree = (int *) 0x0
        cycle = (int *) 0x807cb60
        table = (gchar *) 0x0
        entryinfo = (WGuidCacheEntry *) 0x0
        guid = (gchar *) 0x0
#1  0x8050579 in g_list_foreach ()
No symbol table info available.
#2  0x804f28d in repligard_export_xml (mgd=0x80765e0,
schemacfg=0x8059bf8, guid_hash=0x805b708, filename=0x807c280
"/tmp/test.xmlgz") at export.c:855
        mgd = (midgard *) 0x0
        schemacfg = (RSchemaCfg *) 0xbffff8d0
        guid_hash = (GHashTable *) 0x805b708
        filename = (gchar *) 0x0
        fd = (gzFile *) 0x805b778
        exp_data = {fd = 0x805b778, guid_hash = 0x805b708, schema = 0x8076bc0,
schemacfg = 0x8059bf8, mgd = 0x80765e0, dependencies = 0x807c378,
expandtree = 1}
#3  0x804fc59 in main (argc=6, argv=0xbffff9b4) at main.c:385
        argc = 2
        argv = (char **) 0x8059bf8
        schemacfg = (RSchemaCfg *) 0x8059bf8
        guid_hash = (GHashTable *) 0x805b708
        filename = (gchar *) 0x807c280 "/tmp/test.xmlgz"
        realuserid = 134592264
        suiduserid = 100
        c = 0
        state = R_EXPORT
        result = 134592264
        res = (midgard_res *) 0x0
#4  0x40103b65 in __libc_start_main (main=0x804f7c8 <main>, argc=6,
ubp_av=0xbffff9b4, init=0x804992c <_init>, fini=0x80508bc <_fini>, 
    rtld_fini=0x4000df24 <_dl_fini>, stack_end=0xbffff9ac) at
../sysdeps/generic/libc-start.c:111
        ubp_av = (char **) 0xbffff9b4
        fini = (void (*)()) 0
        rtld_fini = (void (*)()) 0xffffffff
        ubp_ev = (char **) 0xbffff9d0


...And here's the "print entry->type":

(gdb) print entry->type
No symbol "entry" in current context.


Hope this helps...


-- 
Henri Kaukola                           [EMAIL PROTECTED]
Consultant Trainee                      Tel: +358-40-8268 934
Nemein Solutions Oy                     http://www.nemein.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to