Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dspam problem



I tried this now on NetBSD/i386 5.0_RC3...

ROOT pc:/usr/pkgsrc/mail/dspam/work/dspam-3.8.0/src> ./dspam --daemon &

ROOT pc:/usr/pkgsrc/mail/dspam/work/dspam-3.8.0/src> gdb attach 6434
...
Program received signal SIGSEGV, Segmentation fault.
0xbb6f6367 in _lwp_park () from /usr/lib/libc.so.12
(gdb) bt
#0  0xbb6f6367 in _lwp_park () from /usr/lib/libc.so.12
#1  0xbb7c982d in pthread_mutex_trylock () from /usr/lib/libpthread.so.0
#2  0x00000041 in ?? ()
#3  0xbb7a9a22 in _C_tolower_ () from /usr/lib/libc.so.12
#4  0xbb51c78b in ?? ()
#5  0x00000018 in ?? ()
#6  0x00000006 in ?? ()
#7  0xbb53dc40 in ?? ()
#8  0xa0dff9ac in ?? ()
#9  0x0805406e in process_connection (ptr=0x0) at daemon.c:708
#10 0x00000000 in ?? ()
(gdb) list daemon.c:708
703             pthread_rwlock_rdlock(&TTX->DTX->connections[i]->rwlock);
704           } else {
705             pthread_rwlock_wrlock(&TTX->DTX->connections[i]->rwlock);
706           }
707         } else {
708           pthread_mutex_lock(&TTX->DTX->connections[i]->lock);
709         }
710         LOGDEBUG("handle locked");
711         ATX->dbh = TTX->DTX->connections[i]->dbh;
712         locked = i;


I'm unable to print any variables, what should I try?

Martti


Home | Main Index | Thread Index | Old Index