On Sun, Jan 20, 2008 at 04:30:24PM +0100, Martin Michlmayr wrote: > * Colin Watson <[EMAIL PROTECTED]> [2008-01-13 22:41]: > > > Any other information you from me? > > > > Could you run mandb with the --debug option and send me the output? (It > > may be quite large; if so, please compress it.) > > In this case it segfaults: > > [EMAIL PROTECTED]:~/chroot/sid/home/tbm/src/man-db-2.5.0$ sudo ./src/mandb > --debug > ~/debug1 2>&1 > Segmentation fault > [EMAIL PROTECTED]:~/chroot/sid/home/tbm/src/man-db-2.5.0$ > > The log is attached. > > > Could you build man-db with DEB_BUILD_OPTIONS=noopt, run 'sudo env > > MALLOC_CHECK_=3 gdb --args src/mandb --debug', and get me a backtrace? > > I compiled with noopt but still didn't get any interesting results:
Hmm, argh. As you note, the results are not terribly illuminating. If I could take a little more of your time, is it possible that you could run src/mandb --debug under valgrind? Unfortunately there is quite a lot of memory management being done at the point indicated by the debug dump, and gdb isn't being helpful about providing the stack frame; I've tried to figure it out from the addresses shown but have so far failed. With any luck, valgrind should clear this up. Thanks, -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

