Hi George-Cristian,

Thanks for reporting the issue. I did manage to reproduce it and it's
now fixed in the CVS code. It was related to a mispelling in a piece of
code recently committed to the CVS itself. Log of the fix:

http://www.mail-archive.com/[email protected]/msg00717.html

Cheers,
Paolo

On Mon, Apr 29, 2013 at 01:31:31PM +0300, George-Cristian Bîrzan wrote:
> On Sun, Apr 28, 2013 at 3:53 PM, Paolo Lucente <[email protected]> wrote:
> 
> > If this is all correct you can get latest code from the
> > CVS where you have availability of newly introduced timestamp_start and
> > timestamp_end primitives precisely for this purpose.
> >
> 
>  I've compiled that and it segfaults when I use a network list file
> (doesn't seem to matter what's inside):
> 
> # nfacctd  -n /etc/pmacct/networks.lst
> WARN ( cmdline ): No plugin has been activated; defaulting to in-memory
> table.
> WARN ( default/memory ): defaulting to SRC HOST aggregation.
> Segmentation fault
> 
> # cat /etc/pmacct/networks.lst
> 123,10.0.0.0/8
> 
> This is the (most) relevant part of catchsegv:
> 
> Backtrace:
> nfacctd: IMT Plugin [default](load_networks6+0x852)[0x438132]
> nfacctd: IMT Plugin [default](imt_plugin+0x190)[0x426930]
> nfacctd: IMT Plugin [default](load_plugins+0x306)[0x422796]
> nfacctd: IMT Plugin [default](main+0xee8)[0x41d928]
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7ffd17b8aeff]
> nfacctd: IMT Plugin [default][0x418679]
> 
> 
> -- 
> George-Cristian Bîrzan

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

Reply via email to