[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: signal 11




----- Original Message -----
From: "Matti Aarnio" <mea@nic.funet.fi>
To: "Kirill Sysoeff" <iam@vmb-service.ru>
Cc: <zmailer@nic.funet.fi>
Sent: Thursday, March 22, 2001 3:17 PM
Subject: Re: signal 11


> On Thu, Mar 22, 2001 at 02:57:00PM +0300, Kirill Sysoeff wrote:
> > Hallo Everybody!
> >
> > I've just made new mail server and everything seems to be OK, but....
> >
> > when I said    '" mailq -s "
> > I saw the next strange thing:
> >
> > local/client@service.net:
> >         R/96373-9505: (2 tries, expires in 2d21h) [signal 11]
> >         V/96403-9504: (2 tries, expires in 2d21h) [signal 11]
> >         Y/96406-9505: (2 tries, expires in 2d21h) [signal 11]
> >
> > So the recipient recieved his mail, but it wasn't removed from
> > POSTOFFICE/queue and POSTOFFICE/transport.
> >
> > Does anybody had the same problem?
> > Any suggestions?
>
> You will, perhaps, see 'core' files at your $POSTOFFICE/transport/
> (If not, you need to restart the scheduler with environment
> "ulimit -c unlimited" setting.)
>
> It sounds like something I have seen recently too, but at
> different transport agent (smtp, in fact).
> I do think that that got cured at 2.99.55.
>
> But no, I can't remember what was the reason, nor I see it logged
> anywhere obvious.
>
> Getting a post-mortem backtrace from the core-file would help.
>
> # file $POSTOFFICE/transport/core
> (core of 'mailbox' ?)
> # gdb $MAILBIN/ta/mailbox $POSTOFFICE/transport/core
> (gdb) where
> ... (the interesting report is here) ...
>
> All that assuming you have installed the binaries with debug symbols
> in them..  Helps doing backtracks, and doesn't need all that much of
> diskspace anyway.
>
> > I run Linux 2.4.2
> > Zmailer 2.99.54
> >
> > Thanks
> > Kirill
>
> --
> /Matti Aarnio <mea@nic.funet.fi>
>
>



############################################################################
##########

root@ns2:/var/spool/postoffice# gdb /usr/local/zmailer/bin/ta/mailbox
transport/core
GNU gdb 5.0
Copyright 2000 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 "i386-slackware-linux"...

warning: core file may not match specified executable file.
Core was generated by `deliver -e -m lena51@vmb-service.ru -- lena51'.
Program terminated with signal 11, Segmentation fault.
#0  0x40094c00 in ?? ()
(gdb) where
#0  0x40094c00 in ?? ()
#1  0x40094a9b in ?? ()
#2  0x804e243 in mkhashpath ()
#3  0x804cf42 in putmail ()
#4  0x8049f91 in dotlock ()
#5  0x8049d47 in getcwd ()
#6  0x40055577 in ?? ()
(gdb)
#0  0x40094c00 in ?? ()
#1  0x40094a9b in ?? ()
#2  0x804e243 in mkhashpath ()
#3  0x804cf42 in putmail ()
#4  0x8049f91 in dotlock ()
#5  0x8049d47 in getcwd ()
#6  0x40055577 in ?? ()
(gdb) exit
Undefined command: "exit".  Try "help".
(gdb) quit



####################################33
#######
Doing the same with cyrus/bin/deliver
#######
#######################################

root@ns2:/var/spool/postoffice# gdb /usr/local/cyrus/bin/deliver
transport/core
GNU gdb 5.0
Copyright 2000 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 "i386-slackware-linux"...
Core was generated by `deliver -e -m lena51@vmb-service.ru -- lena51'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libsasl.so.7...done.
Loaded symbols for /usr/local/lib/libsasl.so.7
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libcom_err.so.2...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libdb.so.3...done.
Loaded symbols for /lib/libdb.so.3
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
#0  0x40094c00 in free () from /lib/libc.so.6
(gdb) where
#0  0x40094c00 in free () from /lib/libc.so.6
#1  0x40094a9b in free () from /lib/libc.so.6
#2  0x804e243 in prot_free ()
#3  0x804cf42 in lmtp_disconnect ()
#4  0x8049f91 in deliver_msg ()
#5  0x8049d47 in main ()
#6  0x40055577 in __libc_start_main () from /lib/libc.so.6
(gdb)


######################################
#######################################


So it seems that the problem with Cyrus, May be :)

Thanks
Kirill