Hi Ed,

Please re-compile the package with --enable-debug so that the gdb
backtrace is a bit more rich of information. If output gets too
long, consider sending it privately and then we will wrap up the
issue on list. Which architecture you run NetBSD on? Which pmacct
version are you trying to build?

Cheers,
Paolo


On Wed, Jun 30, 2010 at 07:29:35PM -0400, Ed Ravin wrote:
> I'm trying to build pmacct on NetBSD 5.
> 
> Both the pmacct and pmacctd commands immediately dump core.  pmacct
> doesn't waste any time:
> 
>  19285      1 pmacct   execve("/usr/local/bin/pmacct", 0xbfbfed34,
> 0xbfbfed3c) JUSTRETURN
>  19285      1 pmacct   mmap(0, 0x8000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) =
> 0xbbbe9000
>  19285      1 pmacct   open("/usr/libexec/ld.elf_so", 0, 0) = 3
>  19285      1 pmacct   read(0x3, 0xbfbfec24, 0x80) = 85
> 
> "libm.so.0\tmachdep.fpu_present\t1:libm387.so.0,libm.so.0\n/usr/local/"
>  19285      1 pmacct   close(0x3)                  = 0
>  19285      1 pmacct   open("/etc/ld.so.conf", 0, 0) Err#2 ENOENT
>  19285      1 pmacct   open("/usr/local/lib/libc.so.12", 0, 0) Err#2 ENOENT
>  19285      1 pmacct   open("/usr/X11R6/lib/libc.so.12", 0, 0) = 3
>  19285      1 pmacct   __fstat30(0x3, 0xbfbfe540)  = 0
>  19285      1 pmacct   mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbbbe8000
>  19285      1 pmacct   munmap(0xbbbe8000, 0x1000)  = 0
>  19285      1 pmacct   mmap(0, 0xf0000, 0x5, 0x2, 0x3, 0, 0, 0) =
> 0xbbaf9000
>  19285      1 pmacct   mmap(0xbbbd1000, 0x8000, 0x3, 0x12, 0x3, 0, 0xd7000,
> 0) = 0xbbbd1000
>  19285      1 pmacct   mmap(0xbbbd9000, 0x10000, 0x3, 0x1012, 0xffffffff,
> 0, 0, 0) = 0xbbbd9000
>  19285      1 pmacct   close(0x3)                  = 0
>  19285      1 pmacct   __sysctl(0xbfbfec68, 0x2, 0xbbbe78a0, 0xbfbfec70, 0,
> 0) = 0
>  19285      1 pmacct   SIGSEGV SIG_DFL
> 
> pmacctd at least tries to do some sniffing:
> 
> Core was generated by `pmacctd'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x00000000 in ?? ()
> (gdb) bt
> #0  0x00000000 in ?? ()
> #1  0x08076821 in pcap_loop ()
> #2  0x0805634a in main ()
> 
> 
> I used just these flags when building:
> 
>     --enable-ipv6 \
>     --enable-64bit  \
>     --disable-threads \
> 
> 
> Any ideas?
> 
> Thanks,
> 
>       -- Ed
> 
> _______________________________________________
> pmacct-discussion mailing list
> http://www.pmacct.net/#mailinglists

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

Reply via email to