[Mimedefang] (no subject)

Philip Prindeville philipp_subx at redfish-solutions.com
Sun Nov 19 15:01:08 EST 2006


Two things:  first, you might need to tell gdb where to look
for the symbol file, with the "file" command or with an extra
argument from the shell when you start it up.  second: your
stack is corrupt.

>From #1 onwards, all of these are dumps are pointing into
text...  Not stack.

If you decode the hex, you'll find that it is either string table
or symbol table.  Picking a random entry, like #23, we get:

ROLOC_SL

which came out of your string table I'm guessing.  How big
was this process before it died?

I just looked at mimedefang-debuginfo-2.57-1.x86_64.rpm
on my system, and it was empty.  Odd.  No files.  David?


-Philip


mimedefang at jameswcurtis.com wrote:

>-- on Tue 11/14/2006 7:00 PM Kenneth Porter wrote:
>
> [snip]
>
>Still don't know how to compile with debugging.  When I build the RPM, it makes
>a mimedefang-2.58.1.x86_64.rpm and a mimedefang-debuginfo-2.58.1.x86_64.rpm
>file.  I install them both, but still only get what is listed below.
>
>[root at mg2950 ~]# /usr/bin/mimedefang -P /var/spool/MIMEDefang/mimedefang.pid -m
>/var/spool/MIMEDefang/mimedefang-multiplexor.sock -R -1 -U defang -q -p
>/var/spool/MIMEDefang/mimedefang.sock
>Segmentation fault (core dumped)
>[root at mg2950 ~]# ls
>anaconda-ks.cfg       Desktop             Mail-SpamAssassin-3.1.7.tar.gz
>clamav-0.88.6.tar.gz  install.log         mimedefang-2.58.tar.gz
>core.21429            install.log.syslog
>[root at mg2950 ~]# gdb mimedefang core.21429
>GNU gdb Red Hat Linux (6.5-13.fc6rh)
>Copyright (C) 2006 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"...
>(no debugging symbols found)
>Using host libthread_db library "/lib64/libthread_db.so.1".
>
>[snip]
>
>Core was generated by `/usr/bin/mimedefang -P
>/var/spool/MIMEDefang/mimedefang.pid -m /var/spool/MIMED'.
>Program terminated with signal 11, Segmentation fault.
>#0  0x0000000000407806 in ?? ()
>(gdb) bt
>#0  0x0000000000407806 in ?? ()
>#1  0x4d2f6c6f6f70732f in ?? ()
>[snip]
>#23 0x524f4c4f435f534c in ?? ()
>[snip]



More information about the MIMEDefang mailing list