On Wed, Aug 22, 2001 at 11:39:58AM +0200, Olivier Courtois wrote:
> Greetings!
>
> I'm running the latest CVS snapshot
> (midgard-lib-1.4_CVS200108220202.tar.bz2 ) on my
> system. I'm trying to export a host I've built . However,
> Repligard keeps segfaulting on export, as root user.
>
> Herunder is the backtrace output
>
>
> (gdb) run -c /usr/local/etc/repligard.conf -e export-AKTOR3.xml.gz
> Starting program: /usr/local/bin/repligard -c
> /usr/local/etc/repligard.conf -e export-AKTOR3.xml.gz
> warning: Unable to find dynamic linker breakpoint function.
> GDB will be unable to debug shared library initializers
> and track explicitly loaded dynamic code.
> Message: Reading config file /usr/local/etc/repligard.conf
> Message: Exporting to export-AKTOR3.xml.gz
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x804e6d6 in rpd_write_object_tree (value=0x8065108, user_data=0xbffff980)
> at export.c:526
> 526 if (entryinfo->replicated) return;
> (gdb) backtrace
> #0 0x804e6d6 in rpd_write_object_tree (value=0x8065108,
> user_data=0xbffff980) at export.c:526
> #1 0x400d470c in g_list_foreach () from /usr/lib/libglib-1.2.so.0
> #2 0x56572cec in ?? ()
> Cannot access memory at address 0x83e58955
> (gdb)
Could you repeat this test inserting the following line (A) before
if (entryinfo->replicated) return;
in export.c (it is line 526 according your gdb but line 545 on mine CVS
copy)
Line (A):
fprintf(stderr, "guid label is '%s', entryinfo is '%p'\n",
guid, entryinfo);
--
/ Alexander Bokovoy
$ cat /proc/identity >~/.signature
`Senior software developer and analyst for SaM-Solutions Ltd.`
---
Out of the mouths of babes does often come cereal.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]