I don't believe it is no symbols, I believe it is smashing the stack somehow (those are the only two entries in the stack). Can't imagine how strcmp is smashing the stack but I suppose anything is possible. I'll try to attach, but I thought lmtpd forked a child process in the same way httpd does, maybe not though.

Daniel

On Apr 26, 2005, at 9:35 AM, Derrick J Brashear wrote:

On Tue, 26 Apr 2005, Daniel Hazelbaker wrote:

(Quotes regarding how to get the core dumps generated snipped)

Okay. I finally got it to generate core dumps correctly. Unfortunetly it did not help any. Here is the backtrace:
(gdb) where
#0 0x0fb263b0 in strcmp () from /lib/tls/libc.so.6
#1 0x10005228 in ?? ()


Not very helpful. So my only other solution will be to run lmtpd inside of gdb and track it down manually. However I still cannot get lmtpd to run correctly using the -D command. It always complains about the CYRUS_MASTER environment or whatever it is. Anybody know how to properly run lmtpd under gdb so I can step through the functions until I figure out what is wrong?

Why not attach to it after it's running? But if you have no symbols, you have no symbols...


---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html



--- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to