On Thu, 2007-06-21 at 01:25 +0300, Timo Sirainen wrote:
gdb dovecot r -n bt full
(gdb) r -n Starting program: /usr/local/sbin/dovecot -n # 1.0.1: /usr/local/etc/dovecot.conf
Program received signal SIGSEGV, Segmentation fault. 0xf7e1f51c in strcmp () from /lib/libc.so.6 (gdb) bt full #0 0xf7e1f51c in strcmp () from /lib/libc.so.6 No symbol table info available. #1 0x000190b4 in settings_dump (def=0x65766500, sets=0x2d980, set_names=0x1010101, count=2155905152, nondefaults=false, indent=1869873152) at master-settings.c:1531 same = /build/buildd/gdb-6.4.90.dfsg/gdb/regcache.c:175: internal-error: register_size: Assertion `regnum >= 0 && regnum < (NUM_REGS + NUM_PSEUDO_REGS)' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) y
/build/buildd/gdb-6.4.90.dfsg/gdb/regcache.c:175: internal-error: register_size: Assertion `regnum >= 0 && regnum < (NUM_REGS + NUM_PSEUDO_REGS)' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Create a core file of GDB? (y or n) y Aborted
Do you need a gdb run with unstripped dovecot?
ciao
Luca