Hi,
I have this somewhat unusual crash that happens occasionally in nfacctd:
# gdb /usr/local/sbin/nfacctd core.1059
GNU gdb (Gentoo 7.5.1 p2) 7.5.1
Copyright (C) 2012 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-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/local/sbin/nfacctd...done.
warning: exec file is newer than core file.
[New LWP 1059]
Core was generated by `nfacctd: IMT Plugin -- serving client
[whk_as_path] '.
Program terminated with signal 11, Segmentation fault.
#0 0x000000000045a54d in parse_shared_object (fname=0x21 <Address 0x21
out of bounds>, css=0x0) at classifier.c:422
422 return 0;
(gdb) bt
#0 0x000000000045a54d in parse_shared_object (fname=0x21 <Address 0x21
out of bounds>, css=0x0) at classifier.c:422
#1 0x0000000000000000 in ?? ()
(gdb) bt full
#0 0x000000000045a54d in parse_shared_object (fname=0x21 <Address 0x21
out of bounds>, css=0x0) at classifier.c:422
ret = 0
init = 0x0
proto = 0x21 <Address 0x21 out of bounds>
err = 0x0
type = 0x0
handler = 0x0
#1 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)
This seems to happen with only one particular plugin (one with a lot of
entries) and (as you see) happens in the specific phase where pmacct is
connecting and receiving data.
Any ideas? I'm on pmacct 1.5.0rc1.
-Adam
_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists