postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: postscreen segfault

Re: postscreen segfault

From: Victor Duchovni <Victor.Duchovni_at_nospam>
Date: Wed Oct 06 2010 - 17:22:55 GMT
To: postfix-users@postfix.org

On Wed, Oct 06, 2010 at 12:15:36PM -0500, Vernon A. Fort wrote:

> On Mon, 2010-10-04 at 17:30 -0400, Victor Duchovni wrote:
> > On Mon, Oct 04, 2010 at 03:43:44PM -0500, Vernon A. Fort wrote:
> >
> > > I've noticed this:
> > >
> > > mail.log.1:Oct 3 03:32:43 ns postfix/master[3672]: warning:
> > > process //usr/lib/postfix/postscreen pid 19122 killed by signal 11
> > >
> > > and
> > >
> > > [457795.641083] postscreen[19122]: segfault at 1f ip 0804c463 sp
> > > bfcf5e50 error 4 in postscreen[8048000+29000]
> >
> > Enable "core" file generation and report a backtrace.
> >
>
> I have a core and backtrace file. I tar.gz but i keep getting message
> 4000 chars. how do i get this info to the list?

We don't yet need the whole core file, just run:

        gdb /usr/sbin/postscreen /path/to/core
        ... copious output ...
        gdb) bt

The "bt" command generates a back-trace (stack trace), that should show
where the segfault occurred. Ideally, your postscreen is compiled with
"-g" or "-g -O", i.e. with symbols and line numbers, ...

-- Viktor.