I'm running ntopng-1.1_6932 built from source on Linux. Every few hours it segfaults in the same place (in ntop_get_interface_host_info running from a callback minute.lua).

It's not clear to me how to submit a bug report, but as a start here is what gdb says.


#0  advanceToNextSetBit (this=<synthetic pointer>)
    at third-party/EWAHBoolArray/headers/ewah.h:657
#1  operator++ (this=<synthetic pointer>)
    at third-party/EWAHBoolArray/headers/ewah.h:590
#2 ActivityStats::getJSONObject (this=0x7fffcdac64b8) at ActivityStats.cpp:181
#3  0x0000000000414211 in Host::serialize (this=this@entry=0x7fffcdac6460)
    at Host.cpp:484
#4  0x0000000000414798 in Host::lua (this=0x7fffcdac6460, vm=0x40000378,
    host_details=<optimized out>, verbose=true, returnHost=true)
    at Host.cpp:272
#5 0x00000000004244f5 in NetworkInterface::getHostInfo (this=<optimized out>,
    vm=0x40000378, host_ip=<optimized out>, vlan_id=<optimized out>)
    at NetworkInterface.cpp:814
#6  0x0000000000421978 in ntop_get_interface_host_info (vm=0x40000378)
    at Lua.cpp:522
#7  ntop_get_interface_host_info (vm=0x40000378) at Lua.cpp:504
#8  0x000000000046c56b in lj_BC_FUNCC ()
#9  0x000000000045c2b0 in lua_pcall ()
#10 0x00000000004224d1 in Lua::run_script (this=0x7fffeca763b0,
script_path=0x7ffff21fad80 "/home/km/ntopng-1.1_6932/scripts/callbacks/minute.lua", ifname=0x0) at Lua.cpp:1458

...
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to