Hi Johannes,

On Mon, 13 Apr 2009, Johannes Formann wrote:

>>> Apr 13 15:27:15 server kernel: pmacctd[1341]: segfault at f7002991 ip 
>>> 00000000f7bfa9ca sp 00000000ffb88334 error 4 in 
>>> libpthread-2.3.6.so[f7bf2000+e000]
>>
> I think I got it (using a written coredump):

Yes, that's it, thanks. I'm afraid it doesn't mean much to me, but I hope 
it will help Paolo. What exact version of pmacct are you using?

> (gdb) bt
> #0  0xf7ba29ca in pthread_getspecific () from
> /lib/tls/i686/cmov/libpthread.so.0
> #1  0xf7c8bf85 in inet_ntoa () from /lib/tls/i686/cmov/libc.so.6

Paolo, this looks weird to me. pthread_getspecific() should not crash, 
that makes me think that the heap has been trashed (stack looks generally 
OK as the backtrace is OK). Perhaps a Valgrind is in order? Any static 
or fixed-size buffers in the mysql plugin that might be busted?

Cheers, Chris.
-- 
Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.


_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to