On Thu, Apr 06, 2006 at 01:12:45PM +0200, Marc Haber wrote:
> I have inn2 segfaulting every other day at 03:08, a few minutes after
> cron issues a ctlinnd reload incoming.conf "flush cach". I was finally
> able to reproduce this on an straced innd by issueing the ctlinnd
> command from the command line.

This is running inn with gdb:

$ pstree -ap | grep innd
  ??innd,23422 -p\0403,4
    ?               ??grep,23457 innd
    [10/[EMAIL PROTECTED]:~$ sudo gdb -p 23422
    GNU gdb 6.3-debian
    Copyright 2004 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-linux".
Attaching to process 23422
Using host libthread_db library "/lib/tls/libthread_db.so.1".

warning: could not load vsyscall page because no executable was
specified

warning: try using the "file" command first
Reading symbols from /mnt/usr/usr/lib/news/bin/innd...done.
Reading symbols from /mnt/usr/usr/lib/libdb-4.3.so...done.
Loaded symbols for /usr/lib/libdb-4.3.so
Reading symbols from /mnt/usr/usr/lib/libperl.so.5.8...done.
Loaded symbols for /usr/lib/libperl.so.5.8
Reading symbols from /lib/tls/libdl.so.2...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/tls/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread -1212757664 (LWP 23422)]
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/tls/libcrypt.so.1...done.
Loaded symbols for /lib/tls/libcrypt.so.1
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/tls/libnss_files.so.2...done.
Loaded symbols for /lib/tls/libnss_files.so.2
Reading symbols from /lib/tls/libnss_dns.so.2...done.
Loaded symbols for /lib/tls/libnss_dns.so.2
Reading symbols from /lib/tls/libresolv.so.2...done.
Loaded symbols for /lib/tls/libresolv.so.2
Reading symbols from
/mnt/usr/usr/lib/perl/5.8.4/auto/Digest/MD5/MD5.so...done.
Loaded symbols for /usr/lib/perl/5.8/auto/Digest/MD5/MD5.so
Reading symbols from
/mnt/usr/usr/lib/perl/5.8.4/auto/Data/Dumper/Dumper.so...done.
Loaded symbols for /usr/lib/perl/5.8/auto/Data/Dumper/Dumper.so
0xb7c3e9f8 in select () from /lib/tls/libc.so.6
(gdb) c
Continuing.
<now invoke ctlinnd reload incoming.conf from another shell>
Program received signal SIGSEGV, Segmentation fault.
0x08052644 in ARTparseheader (cp=0xb7976044, size=39) at art.c:604
604     art.c: No such file or directory. in art.c
(gdb) quit

As soon as I find out how to run innd under valgrind, I'll do so.
inn's startup sequence is incredibly byzantine to me. Hints appreciated.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to