This should be fixed by now

Luca

On Sep 11, 2013, at 3:04 PM, Steve Clark <[email protected]> wrote:

> Hi Luca,
> 
> Got this crash with 6756 - am now syncing with repo will start testing
> r6758.
> 
> (gdb) r -l -U ntop -i eth0 -d/var/lib/ntop -w 3000 -n 1 -m 
> 192.168.0.0/16,10.0.0.0/8 -p /var/lib/ntop/protos.txt
> Starting program: /var/lib/pgsql/ntopng/ntopng -l -U ntop -i eth0 
> -d/var/lib/ntop -w 3000 -n 1 -m 192.168.0.0/16,10.0.0.0/8 -p 
> /var/lib/ntop/protos.txt
> [Thread debugging using libthread_db enabled]
> 10/Sep/2013 07:02:38 [Redis.cpp:54] Succesfully connected to Redis 32 bit 
> v.2.4.10
> 10/Sep/2013 07:02:38 [Ntop.cpp:423] Setting local networks to 
> 192.168.0.0/16,10.0.0.0/8
> [NDPI] addDefaultPort(): found duplicate for port 1494
> [NDPI] addDefaultPort(): found duplicate for port 2598
> 10/Sep/2013 07:02:38 [PF_RINGInterface.cpp:42] Reading packets from PF_RING 
> v.5.6.1 interface eth0...
> 10/Sep/2013 07:02:38 [Ntop.cpp:472] Registered interface eth0 [id: 0]
> 10/Sep/2013 07:02:38 [Utils.cpp:235] User changed to ntop
> 10/Sep/2013 07:02:38 [main.cpp:160] PID stored in file /var/tmp/ntopng.pid
> [New Thread 0xb77e6b70 (LWP 28402)]
> [New Thread 0xb6de5b70 (LWP 28403)]
> [New Thread 0xb61ffb70 (LWP 28404)]
> [New Thread 0xb55ffb70 (LWP 28405)]
> [New Thread 0xb49ffb70 (LWP 28406)]
> [New Thread 0xb3dffb70 (LWP 28407)]
> 10/Sep/2013 07:02:38 [HTTPserver.cpp:336] HTTP server listening on port 3000 
> [/var/lib/pgsql/ntopng/httpdocs][/var/lib/pgsql/ntopng/scripts]
> 10/Sep/2013 07:02:38 [main.cpp:192] Using RRD version 1.4.7
> 10/Sep/2013 07:02:38 [main.cpp:201] Working directory: /var/lib/ntop
> 10/Sep/2013 07:02:38 [main.cpp:203] Scripts/HTML pages directory: 
> /var/lib/pgsql/ntopng
> 10/Sep/2013 07:02:38 [Ntop.cpp:149] Welcome to ntopng i686 v.1.0.1 (r6756) - 
> (C) 1998-13 ntop.org
> 10/Sep/2013 07:02:38 [PeriodicActivities.cpp:53] Started periodic activities 
> loop...
> [New Thread 0xb2fffb70 (LWP 28408)]
> [New Thread 0xb25feb70 (LWP 28410)]
> [New Thread 0xb1bfdb70 (LWP 28411)]
> [New Thread 0xb11fcb70 (LWP 28412)]
> [New Thread 0xb07fbb70 (LWP 28413)]
> [New Thread 0xafdfab70 (LWP 28414)]
> 10/Sep/2013 07:02:38 [NetworkInterface.cpp:514] Started packet polling on 
> interface eth0...
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xb25feb70 (LWP 28410)]
> 0x08052d96 in EWAHBoolArraySetBitForwardIterator<unsigned 
> int>::advanceToNextSetBit (this=0xb25fdf3c)
>     at third-party/EWAHBoolArray/headers/ewah.h:579
> 579                                     + indexoflitword] >> tinwordpointer);
> Missing separate debuginfos, use: debuginfo-install 
> GeoIP-1.4.8-1.1.el6.art.i686 glibc-2.12-1.107.el6_4.4.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  0x08052d96 in EWAHBoolArraySetBitForwardIterator<unsigned 
> int>::advanceToNextSetBit (this=0xb25fdf3c)
>     at third-party/EWAHBoolArray/headers/ewah.h:579
> #1  0x080521fc in EWAHBoolArraySetBitForwardIterator<unsigned 
> int>::operator++ (this=0xb25fdf3c)
>     at third-party/EWAHBoolArray/headers/ewah.h:512
> #2  0x08051b15 in ActivityStats::getJSONObject (this=0xb31085f8) at 
> ActivityStats.cpp:95
> #3  0x0805f02d in Host::serialize (this=0xb31085b8) at Host.cpp:468
> #4  0x0805e200 in Host::lua (this=0xb31085b8, vm=0xb63c51c0, 
> host_details=true, verbose=true, returnHost=true)
>     at Host.cpp:256
> #5  0x08074ddd in NetworkInterface::getHostInfo (this=0x817a6b8, 
> vm=0xb63c51c0, 
>     host_ip=0xb63a52d8 "192.168.198.101", vlan_id=0) at 
> NetworkInterface.cpp:734
> #6  0x0806df7e in ntop_get_interface_host_info (vm=0xb63c51c0) at Lua.cpp:473
> #7  0x080d360f in lj_BC_FUNCC ()
> #8  0x080c1f4d in lua_pcall ()
> #9  0xb63c51c0 in ?? ()
> #10 0x0807a09a in PeriodicActivities::runScript (this=0x8178460, 
>     path=0xb25fe24c "/var/lib/pgsql/ntopng/scripts/callbacks/minute.lua") at 
> PeriodicActivities.cpp:80
> #11 0x0807a205 in PeriodicActivities::minuteActivitiesLoop (this=0x8178460) 
> at PeriodicActivities.cpp:109
> #12 0x08079dae in minuteStartLoop (ptr=0x8178460) at PeriodicActivities.cpp:44
> #13 0x008e8a49 in start_thread () from /lib/libpthread.so.0
> #14 0x007f8aae in clone () from /lib/libc.so.6
> (gdb)
> 
> On 09/09/2013 04:48 PM, [email protected] wrote:
>> Author: deri
>> Date: 2013-09-09 22:48:27 +0200 (Mon, 09 Sep 2013)
>> New Revision: 6756
>> 
>> Modified:
>>    trunk/ntopng/ActivityStats.cpp
>>    trunk/ntopng/ActivityStats.h
>>    trunk/ntopng/HTTPserver.cpp
>> Log:
>> Changes for fixing crashes with bitmaps
>> 
>> 
>> 
>> _______________________________________________
>> Ntop-dev mailing list
>> [email protected]
>> http://listgateway.unipi.it/mailman/listinfo/ntop-dev
>> 
> 
> 
> -- 
> 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

Reply via email to