Steve It looks to me (as I pointed out yesterday to Dani) that this JSON library has some bugs. However from the crash line it seems you have not the most updated version (svn 6695). Please update first as I have addresses a bug in JSON yesterday then let me know if it works
Luca On Aug 23, 2013, at 1:58 PM, Steve Clark <[email protected]> wrote: > (gdb) r -l -s -i eth3 -d/var/tmp -w 3000 -n 0 -m > 172.16.0.0/12,10.0.0.0/8,192.168.0.0/16 > Starting program: /var/lib/pgsql/ntopng/ntopng -l -s -i eth3 -d/var/tmp -w > 3000 -n 0 -m 172.16.0.0/12,10.0.0.0/8,192.168.0.0/16 > [Thread debugging using libthread_db enabled] > 22/Aug/2013 12:27:33 [Redis.cpp:54] Succesfully connected to Redis 32 bit > v.2.6.14 > 22/Aug/2013 12:27:33 [Ntop.cpp:429] Setting local networks to > 172.16.0.0/12,10.0.0.0/8,192.168.0.0/16 > 22/Aug/2013 12:27:33 [Ntop.cpp:429] Setting local networks to > 0.0.0.0/32,192.168.0.0/16,172.16.0.0/12,10.0.0.0/8,224.0.0.0/8,239.0.0.0/8,255.255.255.255/32 > 22/Aug/2013 12:27:33 [Prefs.cpp:513] WARNING: Config file > /var/tmp/ntopng-users.conf not found (it will be created) > 22/Aug/2013 12:27:33 [PF_RINGInterface.cpp:42] Reading packets from PF_RING > v.5.6.1 interface eth3... > 22/Aug/2013 12:27:33 [Ntop.cpp:478] Registered interface eth3 [id: 0] > [New Thread 0xb5fe6b70 (LWP 18462)] > [New Thread 0xb55e5b70 (LWP 18463)] > [New Thread 0xb49ffb70 (LWP 18464)] > [New Thread 0xb3dffb70 (LWP 18465)] > [New Thread 0xb2fffb70 (LWP 18466)] > [New Thread 0xb25feb70 (LWP 18467)] > 22/Aug/2013 12:27:33 [HTTPserver.cpp:308] HTTP server listening on port 3000 > [/var/lib/pgsql/ntopng/httpdocs][/var/lib/pgsql/ntopng/scripts] > 22/Aug/2013 12:27:33 [main.cpp:188] Using RRD version 1.4.7 > 22/Aug/2013 12:27:33 [main.cpp:197] Working directory: /var/tmp > 22/Aug/2013 12:27:33 [main.cpp:199] Scripts/HTML pages directory: > /var/lib/pgsql/ntopng > 22/Aug/2013 12:27:33 [Ntop.cpp:156] Welcome to ntopng i686 v.1.0.1 > ($Revision: 6688 $) - (C) 1998-13 ntop.org > 22/Aug/2013 12:27:33 [PeriodicActivities.cpp:51] Started periodic activities > loop... > [New Thread 0xb19ffb70 (LWP 18468)] > [New Thread 0xb0ffeb70 (LWP 18469)] > [New Thread 0xb03ffb70 (LWP 18470)] > [New Thread 0xaf9feb70 (LWP 18471)] > [New Thread 0xaeffdb70 (LWP 18472)] > [New Thread 0xae5fcb70 (LWP 18473)] > 22/Aug/2013 12:27:33 [NetworkInterface.cpp:497] Started packet polling on > interface eth3... > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0xae5fcb70 (LWP 18473)] > 0x00000000 in ?? () > Missing separate debuginfos, use: debuginfo-install > GeoIP-1.4.8-1.1.el6.art.i686 glibc-2.12-1.47.el6_2.12.i686 > libgcc-4.4.7-3.el6.i686 libpcap-1.0.0-6.20091201git117cb5.el6.i686 > libstdc++-4.4.7-3.el6.i686 libxml2-2.7.6-12.el6_4.1.i686 > zlib-1.2.3-27.el6.i686 > (gdb) bt > #0 0x00000000 in ?? () > #1 0x08136f04 in json_object_put (jso=0xaca258c0) at json_object.c:161 > #2 0x08069e6c in NdpiStats::serialize (this=0xac2de610, iface=0x816c948) at > NdpiStats.cpp:159 > #3 0x08069eae in NdpiStats::getJSONObject (this=0xac2de610, iface=0x816c948) > at NdpiStats.cpp:211 > #4 0x080586fb in Host::serialize (this=0xad48df00) at Host.cpp:450 > #5 0x0805a1ad in Host::~Host (this=0xad48df00, __in_chrg=<value optimized > out>) at Host.cpp:75 > #6 0x0805a392 in Host::~Host (this=0xad48df00, __in_chrg=<value optimized > out>) at Host.cpp:88 > #7 0x08056ee3 in GenericHash::purgeIdle (this=0x816c7d0) at > GenericHash.cpp:168 > #8 0x0806aa2c in NetworkInterface::purgeIdleHosts (this=0x816c948) at > NetworkInterface.cpp:786 > #9 0x0806c41b in NetworkInterface::packet_dissector (this=0x816c948, > h=0xae5fc29c, > packet=0xb6e920e0 "`s\\i\217\361\374\231G\214d") at > NetworkInterface.cpp:484 > #10 0x0807723d in pfring_loop () > #11 0x0806ffeb in packetPollLoop (ptr=0x816c948) at PF_RINGInterface.cpp:75 > #12 0x007cda09 in start_thread () from /lib/libpthread.so.0 > #13 0x006df43e in clone () from /lib/libc.so.6 > (gdb) > > -- > Stephen Clark > NetWolves > Director of Technology > Phone: 813-579-3200 > Fax: 813-882-0209 > Email: [email protected] > http://www.netwolves.com > _______________________________________________ > Ntop-dev mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
