Tom Allison wrote: > > On May 3, 2007, at 10:48 PM, Aaron Stone wrote: > >> I have nearly identical hardware, albeit running Gentoo. Same kernel, to >> a T, on both my dom0 and domU... never has segfaulted except for the >> known issue in bug #517. >> >> Could you attach gdb to one of your dbmail processes and get a backtrace >> from the segfault? >> >> Aaron > > OK, but I'm going to have to figure out how to do that one. ;) > > It would probably be a good idea for me to learn how to do this, makes > me a better "participant".
You'll have to build dbmail with debugging symbols (CFLAGS+=-g) You also better build dbmail static (./configure --enable-shared=no --enable-static=yes) After that you can create a txt file containing a sequence of imap commands: cat >> imapcmd.txt << EOF 1 login testuser1 test 2 select INBOX 3 fetch 1:* (UID ALL) 4 logout EOF run the imap commands through a gdb wrapped dbmail-imapd: gdb ./dbmail-imapd gdb> run -n -f /etc/dbmail/dbmail-test.conf < imapcmd.txt *segfault* gdb> bt the test-scripts directory in the tarball contains a number of imap command sequences I use the test stuff. -- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
