On Tue, Nov 11, 2008 at 03:40:33PM +0100, Lars Ebeling wrote:

> Nov 11 14:22:23 leopg2.no-ip.org postfix/master[17846]: warning:
>       process /usr/libexec/postfix/smtp pid 17858 killed by signal 11
> Nov 11 14:22:23 leopg2.no-ip.org postfix/master[17846]: warning:
>       /usr/libexec/postfix/smtp: bad command startup -- throttling
> 
> # /opt/csw/bin/gdb /usr/libexec/postfix/smtp /var/spool/postfix/core
> GNU gdb 6.6
> Reading symbols from /usr/local/lib/libsasl2.so.2...done.
> Loaded symbols for /usr/local/lib/libsasl2.so.2
> Reading symbols from /lib/libdl.so.1...done.
> Loaded symbols for /lib/libdl.so.1
> Reading symbols from /usr/local/lib/libpcre.so.0...done.
> Loaded symbols for /usr/local/lib/libpcre.so.0
> Reading symbols from /lib/libresolv.so.2...done.
> Loaded symbols for /lib/libresolv.so.2
> Reading symbols from /lib/libsocket.so.1...done.
> Loaded symbols for /lib/libsocket.so.1
> Reading symbols from /lib/libnsl.so.1...done.
> Loaded symbols for /lib/libnsl.so.1
> Reading symbols from /lib/libc.so.1...done.
> Loaded symbols for /lib/libc.so.1
> Reading symbols from /usr/sfw/lib/libgcc_s.so.1...done.
> Loaded symbols for /usr/sfw/lib/libgcc_s.so.1
> Reading symbols from /lib/ld.so.1...done.
> Loaded symbols for /lib/ld.so.1
> Core was generated by `smtp -n relay -t unix -u'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x081409f5 in _init ()
> (gdb) bt
> #0  0x081409f5 in _init ()
> #1  0x0807983b in _start ()
> (gdb) q
> 

The code dies before entering main(). The _start() function is the entry
point of the executable, it arranges for loading of dynamic libraries
and initialization of the C runtime. THe _init() function initializes
the state of one of the shared libraries and is called as the library
is loaded. When smtp(8) dies this early, there is something quite wrong
with your build or run-time environment.

Try building without PCRE and SASL, if that fixes it, figure out what's
wrong with the SASL and PCRE libraries. If the executable still crashes,
try Sun's compilers. Perhaps your GCC install is not quite robust.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[EMAIL PROTECTED]>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to