Hello Marvin,

it took me also a little time to rearrange the original setting, but
here finally is the backtrace with debugging symbols and no optimisation
in gcc:

(gdb) run --update .
Starting program: /root/syrep/syrep --update .
Failed to read a valid object file image from memory.

Program received signal SIGSEGV, Segmentation fault.
0xb7d63e14 in memmove () from /lib/tls/libc.so.6
(gdb) bt full
#0  0xb7d63e14 in memmove () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb7ea9c4c in __db_ditem () from /usr/lib/libdb-4.3.so
No symbol table info available.
#2  0xb7e477be in __bam_ditem () from /usr/lib/libdb-4.3.so
No symbol table info available.
#3  0xb7e47b50 in __bam_dpages () from /usr/lib/libdb-4.3.so
No symbol table info available.
#4  0xb7e467e4 in __bam_c_init () from /usr/lib/libdb-4.3.so
No symbol table info available.
#5  0xb7e47057 in __bam_c_init () from /usr/lib/libdb-4.3.so
No symbol table info available.
#6  0xb7ea4f71 in __db_c_close () from /usr/lib/libdb-4.3.so
No symbol table info available.
#7  0xb7ea5328 in __db_c_close () from /usr/lib/libdb-4.3.so
No symbol table info available.
#8  0xb7ea588d in __db_c_get () from /usr/lib/libdb-4.3.so
No symbol table info available.
#9  0xb7eabf66 in __db_c_get_pp () from /usr/lib/libdb-4.3.so
No symbol table info available.
#10 0x0804a19b in md_cache_vacuum (c=0x8077160) at cache.c:242
        r = -1
        ret = 0
        cursor = (DBC *) 0x80796f0
        key = {data = 0x807dc20, size = 28, ulen = 0, dlen = 0, doff =
0, flags = 0}
        data = {data = 0x807dc40, size = 20, ulen = 0, dlen = 0, doff =
0, flags = 0}
        ndel = 43
        ntotal = 9172
        __PRETTY_FUNCTION__ = "md_cache_vacuum"
#11 0x0804ddb4 in do_update () at syrep.c:402
        path = 0x8066028 "./.syrep/current.syrep"
        r = 1
        i = 0
        c = (struct syrep_db_context *) 0x8066048
        cache = (struct syrep_md_cache *) 0x8077160
        saved_cwd =
"/mnt/backup-sbw-c/backup/laplace1-backup-zebru-snapshot-home-pkd-audio/snapshot/test",
'\0' <repeats 4011 times>
#12 0x0804e443 in main (argc=3, argv=0xbf8c4344) at syrep.c:686
        bn = 0xbf8c5b8f "syrep"


Daniel

Marvin Stark schrieb:
> Hi Daniel,
>
> sorry for this late answer. But could you please try to rebuild syrep with 
> debugging symbols? This gdb output is not useful atm.
>
> The easiest way to add more debugging information is to add "-ggdb" or "-g" 
> to 
> the CFLAGS.
>
> Thanks,
>   



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to