OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: /usr/lib/postfix/smtpd killed by signal 11 when doing smtp auth

From: Alexander Skwar (listenalexander.skwar.name)
Date: Wed Jun 20 2007 - 10:18:31 CDT


Am Mittwoch, 20. Juni 2007 16.48:57 schrieb Alexander Skwar:

> Hm. How would I use ltrace? In my main.cf, I've got now:
>
> debugger_command = PATH=/bin:/usr/bin:/usr/local/bin; export PATH; ltrace -p $process_id -o $config_directory/$process_name.$process_id.ltrace.txt -i

When I add a "& sleep 5" to the end of the debugger_command line, I get
some more output in the ltrace file - but still nothing helpful, I fear...

,----[ smtpd.18013.ltrace.txt ]
| 18013 [0xffffe410] --- SIGSTOP (Stopped (signal)) ---
| 18013 [0xffffe410] --- SIGSTOP (Stopped (signal)) ---
| 18013 [0xffffe410] --- SIGCHLD (Child exited) ---
| 18013 [0xb777c783] --- SIGSEGV (Segmentation fault) ---
| 18013 [0xffffffff] +++ killed by SIGSEGV +++
`----

I also tried to make use of strace:

debugger_command =                                                                                                
       PATH=/bin:/usr/bin:/usr/local/bin; export PATH; strace -f -r -p $process_id -o $config_directory/$process_name.$process_id.strace.txt -i & sleep 5

The created file is attached. You can find an uncompressed version of
it at <http://askwar.pastebin.ca/579163>. Is there anything of interest
in the file?

It ends with:

,----[ end of strace output ]
| [...]
| 17803      0.000051 [ffffe410] read(19, "cpu  1761468 12212 522541 834784"..., 1024) = 664
| 17803      0.000102 [ffffe410] read(19, "", 1024) = 0
| 17803      0.000035 [ffffe410] close(19) = 0
| 17803      0.000035 [ffffe410] munmap(0xb77c4000, 4096) = 0
| 17803      0.000085 [b7764783] --- SIGSEGV (Segmentation fault) 0 (0) ---
`----

(Those outputs of strace and ltrace are from different runs.)

Best regards,

Alexander Skwar