Steve This. Work on EWH is not completed at all and I am now abroad for some days. I will. Continue working next week. So. Either you go back in release or wait until I am back and finish it
Luca Sent from my iPad (sorry for typos) On 06/set/2013, at 12:50, Steve Clark <[email protected]> wrote: > Hi Luca, > > I know this version is a work in progress, but I got this crash - this is > second one I have > gotten - I wasn't running gdb when the first happened > > (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] > 05/Sep/2013 09:51:56 [Redis.cpp:54] Succesfully connected to Redis 32 bit > v.2.4.10 > 05/Sep/2013 09:51:56 [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 > 05/Sep/2013 09:51:56 [PF_RINGInterface.cpp:42] Reading packets from PF_RING > v.5.6.1 interface eth0... > 05/Sep/2013 09:51:56 [Ntop.cpp:472] Registered interface eth0 [id: 0] > 05/Sep/2013 09:51:56 [Utils.cpp:235] User changed to ntop > 05/Sep/2013 09:51:56 [main.cpp:160] PID stored in file /var/tmp/ntopng.pid > [New Thread 0xb77e6b70 (LWP 615)] > [New Thread 0xb6de5b70 (LWP 616)] > [New Thread 0xb5fffb70 (LWP 617)] > [New Thread 0xb55feb70 (LWP 618)] > [New Thread 0xb4bfdb70 (LWP 619)] > [New Thread 0xb3ffcb70 (LWP 620)] > 05/Sep/2013 09:51:56 [HTTPserver.cpp:336] HTTP server listening on port 3000 > [/var/lib/pgsql/ntopng/httpdocs][/var/lib/pgsql/ntopng/scripts] > 05/Sep/2013 09:51:56 [main.cpp:192] Using RRD version 1.4.7 > 05/Sep/2013 09:51:56 [main.cpp:201] Working directory: /var/lib/ntop > 05/Sep/2013 09:51:56 [main.cpp:203] Scripts/HTML pages directory: > /var/lib/pgsql/ntopng > 05/Sep/2013 09:51:56 [Ntop.cpp:149] Welcome to ntopng i686 v.1.0.1 (r6754) - > (C) 1998-13 ntop.org > 05/Sep/2013 09:51:56 [PeriodicActivities.cpp:53] Started periodic activities > loop... > [New Thread 0xb31ffb70 (LWP 621)] > [New Thread 0xb27feb70 (LWP 622)] > [New Thread 0xb1dfdb70 (LWP 623)] > [New Thread 0xb13fcb70 (LWP 625)] > [New Thread 0xb09fbb70 (LWP 626)] > [New Thread 0xafffab70 (LWP 627)] > 05/Sep/2013 09:51:56 [NetworkInterface.cpp:514] Started packet polling on > interface eth0... > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0xb27feb70 (LWP 622)] > 0x08052ce6 in EWAHBoolArraySetBitForwardIterator<unsigned > int>::advanceToNextSetBit (this=0xb27fdf3c) > 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 0x08052ce6 in EWAHBoolArraySetBitForwardIterator<unsigned > int>::advanceToNextSetBit (this=0xb27fdf3c) > at third-party/EWAHBoolArray/headers/ewah.h:579 > #1 0x0805214c in EWAHBoolArraySetBitForwardIterator<unsigned > int>::operator++ (this=0xb27fdf3c) > at third-party/EWAHBoolArray/headers/ewah.h:512 > #2 0x08051a83 in ActivityStats::getJSONObject (this=0xb330acc0) at > ActivityStats.cpp:87 > #3 0x0805ef6f in Host::serialize (this=0xb330ac80) at Host.cpp:468 > #4 0x0805e144 in Host::lua (this=0xb330ac80, vm=0xb63c51c0, > host_details=true, verbose=true, returnHost=true) > at Host.cpp:256 > #5 0x08074d1d in NetworkInterface::getHostInfo (this=0x817a6b8, > vm=0xb63c51c0, > host_ip=0xb41733b0 "00:90:0B:23:A4:B8", vlan_id=0) at > NetworkInterface.cpp:734 > #6 0x0806debe in ntop_get_interface_host_info (vm=0xb63c51c0) at Lua.cpp:473 > #7 0x080d354f in lj_BC_FUNCC () > #8 0x080c1e8d in lua_pcall () > #9 0xb63c51c0 in ?? () > #10 0x08079fda in PeriodicActivities::runScript (this=0x8178460, > path=0xb27fe24c "/var/lib/pgsql/ntopng/scripts/callbacks/minute.lua") at > PeriodicActivities.cpp:80 > #11 0x0807a145 in PeriodicActivities::minuteActivitiesLoop (this=0x8178460) > at PeriodicActivities.cpp:109 > #12 0x08079cee 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) > (gdb) f 0 > #0 0x08052ce6 in EWAHBoolArraySetBitForwardIterator<unsigned > int>::advanceToNextSetBit (this=0xb27fdf3c) > at third-party/EWAHBoolArray/headers/ewah.h:579 > 579 + indexoflitword] >> tinwordpointer); > (gdb) info locals > tinwordpointer = 0 > modcurrentword = 0 > indexoflitword = 251 > (gdb) p *this > $1 = {buffer = std::vector of length 10, capacity 2048 = {1179648, > 1108378656, 277094664, 2216757314, 554189328, > 138547332, 1108378657, 277094664, 2216757314, 16912}, mpointer = 1703864, > offsetofpreviousrun = 128908800, > currentrunoffset = 57920, rlw = {mydata = 149556270}} > (gdb) l > 574 static_cast<uint32_t> ((currentrunoffset > 575 - rlw.getRunningLength() * wordinbits) > 576 % wordinbits); > 577 const uword modcurrentword = > 578 static_cast<uword> (buffer[mpointer + 1 > 579 + indexoflitword] >> tinwordpointer); > 580 if (modcurrentword != 0) { > 581 currentrunoffset > 582 += static_cast<size_t> > (numberOfTrailingZeros( > 583 modcurrentword)); > (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
