It happened again! Finally. I think this time, we have debugging symbols
and no optimization for libmilter.

This is the gdb session:

root@eroski:/var/cores# gdb /usr/sbin/spamass-milter
core.spamass-milter.1486.eroski.1380741102
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/spamass-milter...done.
[New Thread 1486]
[New Thread 25851]
[New Thread 9345]
[New Thread 1488]

warning: Can't read pathname for load map: Eingabe-/Ausgabefehler.
Reading symbols from /usr/lib/libmilter.so.1.0.1...done.
Loaded symbols for /usr/lib/libmilter.so.1.0.1
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libpthread.so.0...(no debugging symbols
found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Core was generated by `/usr/sbin/spamass-milter -P
/var/run/spamass/spamass.pid -f -p /var/run/spamass'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fc2a3faef96 in mi_pool_controller (arg=0x0) at worker.c:367
367                             SM_TAILQ_FOREACH(ctx, &WRK_CTX_HEAD,
ctx_link)
(gdb) thread apply all where

Thread 5 (Thread 1488):
#0  0x00007fc2a35e8d37 in do_sigwait () from /lib/libpthread.so.0
#1  0x00007fc2a35e8db7 in sigwait () from /lib/libpthread.so.0
#2  0x00007fc2a3fac636 in mi_signal_thread (name=0x234f210) at signal.c:110
#3  0x00007fc2a35e08ca in start_thread () from /lib/libpthread.so.0
#4  0x00007fc2a3347b6d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently c".

Thread 4 (Thread 9345):
#0  0x00007fc2a35e5569 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#1  0x00007fc2a3faf7ca in mi_worker (arg=0x7fc29c0028d0) at worker.c:739
#2  0x00007fc2a35e08ca in start_thread () from /lib/libpthread.so.0
#3  0x00007fc2a3347b6d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 25851):
#0  0x00007fc2a35e5569 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#1  0x00007fc2a3faf7ca in mi_worker (arg=0x7fc29c0011a0) at worker.c:739
#2  0x00007fc2a35e08ca in start_thread () from /lib/libpthread.so.0
#3  0x00007fc2a3347b6d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 1486):
#0  0x00007fc2a333cc13 in poll () from /lib/libc.so.6
#1  0x00007fc2a3fab7d9 in mi_listener (conn=0x234f150
"/var/run/spamass/spamass.sock", dbg=0, smfi=0x234f180, timeout=7210,
    backlog=128) at listener.c:766
#2  0x00007fc2a3fac499 in smfi_main () at main.c:241
#3  0x0000000000403894 in main (argc=13, argv=0x7fff11661e38) at
spamass-milter.cpp:357

Thread 1 (Thread 1489):
#0  0x00007fc2a3faef96 in mi_pool_controller (arg=0x0) at worker.c:367
#1  0x00007fc2a35e08ca in start_thread () from /lib/libpthread.so.0
#2  0x00007fc2a3347b6d in clone () from /lib/libc.so.6
#3  0x0000000000000000 in ?? ()
(gdb) bt
#0  0x00007fc2a3faef96 in mi_pool_controller (arg=0x0) at worker.c:367
(gdb)
#2  0x00007fc2a3347b6d in clone () from /lib/libc.so.6
#3  0x0000000000000000 in ?? ()
(gdb)


Please let me know if I can provide additional information.

Moritz


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to