Re: mailfront segfault continues
[email protected] Thu, 18 Aug 2005 22:26:27 -0500
| Newsgroups | gmane.comp.sysutils.bgware |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Aug 18, 2005 at 09:49:24AM -0600, Bruce Guenter wrote: > On Thu, Aug 18, 2005 at 09:40:24AM -0500, [email protected] wrote: > > The problem is now completely simple: whenever I give a > > > > mail from:<> > > > > smtpfront-qmail segfaults. > > > > Does anybody else get this? If not, are you running a 64 bit machine? > > Can you reproduce from the command-line? It would be good if I could > get a backtrace (ie from gdb) to see where it is segfaulting. This > issue has happened before, but I haven't seen it (and I am running > mailfront on at least a couple of 64-bit systems). Well, I just recompiled from sources since the rpm strips the binaries, and here is what I get when running the new binary from gdb # gdb ./smtpfront-qmail GNU gdb Red Hat Linux (6.3.0.0-1.21rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu"...Using host libthread_db l ibrary "/lib64/libthread_db.so.1". (gdb) run Starting program: /usr/src/redhat/SOURCES/mailfront-0.96/smtpfront-qmail 220 unknown mailfront ESMTP mail from: <> smtpfront-qmail[570]: MAIL from: <> Program received signal SIGSEGV, Segmentation fault. 0x0000000000408858 in str_findprev () (gdb) bt #0 0x0000000000408858 in str_findprev () #1 0x0000000000404af6 in backend_validate_sender (sender=0x50df50) at qmail-validate.c:49 #2 0x0000000000401db9 in handle_sender (sender=0x50df50) at std-handle.c:119 #3 0x0000000000402b46 in MAIL () at smtp-commands.c:163 #4 0x0000000000403179 in smtp_dispatch () at smtp-commands.c:339 #5 0x00000000004018a5 in smtp_mainloop () at smtp-mainloop.c:47 #6 0x0000000000401781 in main () at smtpfront-qmail.c:10 (gdb) c Continuing. Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. (gdb) q I have put this freshly compiled directory to http://www.csi.hu/mw/mailfront-0.96.debug.tar.gz Mate -- --- Mate Wierdl | Dept. of Math. Sciences | University of Memphis