Hi Luca,

It does not appear my crash dumps for ntopng made it to the list so I am 
resending them here.

Two more segment violations - one using pf_ring the other
using libpcap. I won't send anymore unless asked.

Thanks,
Steve


$ sudo gdb ./ntopng
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-50.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /var/lib/pgsql/ntopng/ntopng...done.
(gdb) r -s -i eth3 -d./data -w 3000 -n 0 -m 172.16.0.0/16,10.254.0.0/16
Starting program: /var/lib/pgsql/ntopng/ntopng -s -i eth3 -d./data -w 3000 -n 0 
-m 172.16.0.0/16,10.254.0.0/16
[Thread debugging using libthread_db enabled]
29/May/2013 10:42:42 [Ntop.cpp:33] Welcome to ntopng i686 v.0.1 (r6320) - (C) 
1998-13 ntop.org
29/May/2013 10:42:42 [Redis.cpp:39] Succesfully connected to Redis 32 bit 
v.2.6.13
29/May/2013 10:42:42 [PF_RINGInterface.cpp:41] Reading packets from interface 
eth3...
[New Thread 0xb77e6b70 (LWP 25540)]
[New Thread 0xb6de5b70 (LWP 25541)]
29/May/2013 10:42:42 [HTTPserver.cpp:217] HTTP server listening on port 3000 
[./httpdocs][./scripts/lua]
29/May/2013 10:42:42 [main.cpp:212] Using RRD version 1.4.7
29/May/2013 10:42:42 [PeriodicActivities.cpp:51] Started periodic activities 
loop...
[New Thread 0xb63e4b70 (LWP 25542)]
[New Thread 0xb59e3b70 (LWP 25543)]
[New Thread 0xb4dffb70 (LWP 25544)]
[New Thread 0xb43feb70 (LWP 25545)]
[New Thread 0xb39fdb70 (LWP 25546)]
[New Thread 0xb2ffcb70 (LWP 25547)]
29/May/2013 10:42:42 [NetworkInterface.cpp:381] Started packet polling...
29/May/2013 10:43:05 [NetworkInterface.cpp:687] WARNING: findHostByMac() NOT 
IMPLEMENTED
29/May/2013 10:43:33 [NetworkInterface.cpp:370] Purged 32726/42 idle flows
29/May/2013 10:43:34 [NetworkInterface.cpp:370] Purged 1/11429 idle flows
29/May/2013 10:43:34 [NetworkInterface.cpp:196] WARNING: IPv4 fragments are not 
handled yet
29/May/2013 10:43:40 [NetworkInterface.cpp:370] Purged 1/31579 idle flows
29/May/2013 10:43:58 [NetworkInterface.cpp:374] Purged 14/132 idle hosts
29/May/2013 10:44:03 [NetworkInterface.cpp:370] Purged 11387/21381 idle flows
29/May/2013 10:44:03 [NetworkInterface.cpp:374] Purged 7/137 idle hosts
29/May/2013 10:44:09 [NetworkInterface.cpp:370] Purged 10105/22663 idle flows
29/May/2013 10:44:09 [NetworkInterface.cpp:374] Purged 9/142 idle hosts
29/May/2013 10:44:15 [NetworkInterface.cpp:370] Purged 10043/22725 idle flows
29/May/2013 10:44:15 [NetworkInterface.cpp:374] Purged 5/147 idle hosts
29/May/2013 10:44:19 [NetworkInterface.cpp:370] Purged 1191/31577 idle flows
29/May/2013 10:44:19 [NetworkInterface.cpp:374] Purged 4/151 idle hosts
29/May/2013 10:44:23 [NetworkInterface.cpp:370] Purged 1/32767 idle flows
29/May/2013 10:44:23 [NetworkInterface.cpp:374] Purged 5/151 idle hosts
29/May/2013 10:44:29 [NetworkInterface.cpp:374] Purged 6/150 idle hosts
29/May/2013 10:44:39 [NetworkInterface.cpp:370] Purged 11387/21381 idle flows
29/May/2013 10:44:39 [NetworkInterface.cpp:374] Purged 13/148 idle hosts
29/May/2013 10:44:42 [NetworkInterface.cpp:370] Purged 10103/20879 idle flows
29/May/2013 10:44:42 [NetworkInterface.cpp:374] Purged 4/147 idle hosts
29/May/2013 10:44:43 [NetworkInterface.cpp:370] Purged 10044/16345 idle flows
29/May/2013 10:44:43 [NetworkInterface.cpp:374] Purged 6/144 idle hosts
29/May/2013 10:44:48 [NetworkInterface.cpp:370] Purged 1191/25991 idle flows
29/May/2013 10:44:48 [NetworkInterface.cpp:374] Purged 6/140 idle hosts
29/May/2013 10:45:00 [NetworkInterface.cpp:370] Purged 2/32766 idle flows
29/May/2013 10:45:00 [NetworkInterface.cpp:374] Purged 8/139 idle hosts
29/May/2013 10:45:06 [NetworkInterface.cpp:370] Purged 1/32767 idle flows
29/May/2013 10:45:06 [NetworkInterface.cpp:374] Purged 9/131 idle hosts
29/May/2013 10:45:09 [NetworkInterface.cpp:370] Purged 2/32766 idle flows
29/May/2013 10:45:09 [NetworkInterface.cpp:374] Purged 13/123 idle hosts
29/May/2013 10:45:13 [NetworkInterface.cpp:370] Purged 9601/23167 idle flows
29/May/2013 10:45:13 [NetworkInterface.cpp:374] Purged 12/113 idle hosts
29/May/2013 10:45:17 [NetworkInterface.cpp:370] Purged 5510/23971 idle flows
29/May/2013 10:45:17 [NetworkInterface.cpp:374] Purged 13/104 idle hosts
29/May/2013 10:45:22 [NetworkInterface.cpp:370] Purged 10836/20781 idle flows
29/May/2013 10:45:22 [NetworkInterface.cpp:374] Purged 5/103 idle hosts
29/May/2013 10:45:28 [NetworkInterface.cpp:370] Purged 6779/21370 idle flows
29/May/2013 10:45:28 [NetworkInterface.cpp:374] Purged 5/99 idle hosts
29/May/2013 10:45:35 [NetworkInterface.cpp:370] Purged 2/28813 idle flows
29/May/2013 10:45:35 [NetworkInterface.cpp:374] Purged 5/100 idle hosts
29/May/2013 10:45:43 [NetworkInterface.cpp:370] Purged 4/32764 idle flows
29/May/2013 10:45:43 [NetworkInterface.cpp:374] Purged 4/100 idle hosts
29/May/2013 10:45:48 [NetworkInterface.cpp:370] Purged 3/32765 idle flows
29/May/2013 10:45:48 [NetworkInterface.cpp:374] Purged 5/97 idle hosts
29/May/2013 10:45:54 [NetworkInterface.cpp:370] Purged 6313/26455 idle flows
29/May/2013 10:45:54 [NetworkInterface.cpp:374] Purged 1/99 idle hosts
29/May/2013 10:45:59 [NetworkInterface.cpp:370] Purged 7647/24446 idle flows
29/May/2013 10:45:59 [NetworkInterface.cpp:374] Purged 7/99 idle hosts
29/May/2013 10:46:06 [NetworkInterface.cpp:370] Purged 7368/23408 idle flows
29/May/2013 10:46:06 [NetworkInterface.cpp:374] Purged 7/99 idle hosts
29/May/2013 10:46:10 [NetworkInterface.cpp:370] Purged 7447/23665 idle flows
29/May/2013 10:46:10 [NetworkInterface.cpp:374] Purged 1/100 idle hosts
29/May/2013 10:46:14 [NetworkInterface.cpp:370] Purged 3957/27129 idle flows
29/May/2013 10:46:14 [NetworkInterface.cpp:374] Purged 5/100 idle hosts
29/May/2013 10:46:17 [NetworkInterface.cpp:370] Purged 4/32764 idle flows

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb2ffcb70 (LWP 25547)]
0x00675818 in free () from /lib/libc.so.6
Missing separate debuginfos, use: debuginfo-install 
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  0x00675818 in free () from /lib/libc.so.6
#1  0x08056b57 in Host::~Host (this=0xa9a13518, __in_chrg=<value optimized 
out>) at Host.cpp:51
#2  0x08056bd9 in Host::~Host (this=0xa9a13518, __in_chrg=<value optimized 
out>) at Host.cpp:56
#3  0x080564cf in GenericHash::purgeIdle (this=0x824e290) at GenericHash.cpp:162
#4  0x0805e2d4 in NetworkInterface::purgeIdleHosts (this=0x81961d8) at 
NetworkInterface.cpp:610
#5  0x0805daaf in NetworkInterface::packet_dissector (this=0x81961d8, 
h=0xb2ffc28c,
    packet=0xb7b2ab30 "`s\\i\217\361\374\231G\214d") at NetworkInterface.cpp:373
#6  0x080614d9 in pfring_packet_callback (h=0xb2ffc28c, p=0xb7b2ab30 
"`s\\i\217\361\374\231G\214d",
    user_bytes=0x81961d8 "(\313\026\b\360C\031\b\275\222\a") at 
PF_RINGInterface.cpp:63
#7  0x0806698d in pfring_loop ()
#8  0x08061512 in packetPollLoop (ptr=0x81961d8) at PF_RINGInterface.cpp:71
#9  0x007cda09 in start_thread () from /lib/libpthread.so.0
#10 0x006df43e in clone () from /lib/libc.so.6


$ sudo gdb ./ntopng
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-50.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /var/lib/pgsql/ntopng/ntopng...done.
(gdb) r -s -i eth3 -d./data -w 3000 -n 0 -m 172.16.0.0/16,10.254.0.0/16
Starting program: /var/lib/pgsql/ntopng/ntopng -s -i eth3 -d./data -w 3000 -n 0 
-m 172.16.0.0/16,10.254.0.0/16
[Thread debugging using libthread_db enabled]
29/May/2013 11:15:59 [Ntop.cpp:33] Welcome to ntopng i686 v.0.1 (r6320) - (C) 
1998-13 ntop.org
29/May/2013 11:15:59 [Redis.cpp:39] Succesfully connected to Redis 32 bit 
v.2.6.13
29/May/2013 11:15:59 [PcapInterface.cpp:45] Reading packets from interface 
eth3...
[New Thread 0xb7d43b70 (LWP 31529)]
[New Thread 0xb7342b70 (LWP 31530)]
29/May/2013 11:15:59 [HTTPserver.cpp:217] HTTP server listening on port 3000 
[./httpdocs][./scripts/lua]
29/May/2013 11:15:59 [main.cpp:212] Using RRD version 1.4.7
29/May/2013 11:15:59 [PeriodicActivities.cpp:51] Started periodic activities 
loop...
[New Thread 0xb6941b70 (LWP 31531)]
[New Thread 0xb5f40b70 (LWP 31532)]
[New Thread 0xb53ffb70 (LWP 31533)]
[New Thread 0xb49feb70 (LWP 31534)]
[New Thread 0xb3ffdb70 (LWP 31535)]
[New Thread 0xb35fcb70 (LWP 31536)]
29/May/2013 11:15:59 [NetworkInterface.cpp:381] Started packet polling...
29/May/2013 11:16:01 [NetworkInterface.cpp:687] WARNING: findHostByMac() NOT 
IMPLEMENTED
29/May/2013 11:16:11 [NetworkInterface.cpp:196] WARNING: IPv4 fragments are not 
handled yet
29/May/2013 11:16:11 [NetworkInterface.cpp:196] WARNING: IPv4 fragments are not 
handled yet
29/May/2013 11:16:17 [NetworkInterface.cpp:196] WARNING: IPv4 fragments are not 
handled yet
29/May/2013 11:16:34 [NetworkInterface.cpp:370] Purged 25046/7722 idle flows
29/May/2013 11:16:39 [NetworkInterface.cpp:370] Purged 7718/18881 idle flows
29/May/2013 11:16:49 [NetworkInterface.cpp:370] Purged 2/32766 idle flows
29/May/2013 11:16:59 [NetworkInterface.cpp:196] WARNING: IPv4 fragments are not 
handled yet
29/May/2013 11:17:04 [NetworkInterface.cpp:374] Purged 12/146 idle hosts
29/May/2013 11:17:09 [NetworkInterface.cpp:370] Purged 18875/13893 idle flows
29/May/2013 11:17:09 [NetworkInterface.cpp:374] Purged 7/143 idle hosts
29/May/2013 11:17:14 [NetworkInterface.cpp:370] Purged 13888/18880 idle flows
29/May/2013 11:17:14 [NetworkInterface.cpp:374] Purged 11/136 idle hosts
29/May/2013 11:17:19 [NetworkInterface.cpp:370] Purged 1/32767 idle flows
29/May/2013 11:17:19 [NetworkInterface.cpp:374] Purged 9/135 idle hosts
29/May/2013 11:17:24 [NetworkInterface.cpp:370] Purged 2/32766 idle flows
29/May/2013 11:17:24 [NetworkInterface.cpp:374] Purged 11/129 idle hosts
29/May/2013 11:17:29 [NetworkInterface.cpp:374] Purged 7/132 idle hosts
29/May/2013 11:17:34 [NetworkInterface.cpp:374] Purged 9/126 idle hosts
29/May/2013 11:17:39 [NetworkInterface.cpp:374] Purged 2/136 idle hosts
29/May/2013 11:17:44 [NetworkInterface.cpp:370] Purged 18873/13895 idle flows
29/May/2013 11:17:44 [NetworkInterface.cpp:374] Purged 9/133 idle hosts
29/May/2013 11:17:49 [NetworkInterface.cpp:370] Purged 13889/18879 idle flows
29/May/2013 11:17:49 [NetworkInterface.cpp:374] Purged 8/130 idle hosts
29/May/2013 11:17:54 [NetworkInterface.cpp:370] Purged 1/32767 idle flows
29/May/2013 11:17:54 [NetworkInterface.cpp:374] Purged 7/128 idle hosts
29/May/2013 11:17:59 [NetworkInterface.cpp:370] Purged 3/32765 idle flows
29/May/2013 11:17:59 [NetworkInterface.cpp:374] Purged 5/130 idle hosts
29/May/2013 11:18:04 [NetworkInterface.cpp:370] Purged 1/32767 idle flows
29/May/2013 11:18:04 [NetworkInterface.cpp:374] Purged 6/137 idle hosts
29/May/2013 11:18:09 [NetworkInterface.cpp:374] Purged 3/143 idle hosts

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7d43b70 (LWP 31529)]
0x00680376 in __strlen_sse2 () from /lib/libc.so.6
Missing separate debuginfos, use: debuginfo-install 
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  0x00680376 in __strlen_sse2 () from /lib/libc.so.6
#1  0x080b0368 in lua_pushstring (L=0xb55061c0, str=0xa <Address 0xa out of 
bounds>) at lj_api.c:599
#2  0x0805ac80 in lua_push_str_table_entry (L=0xb55061c0, key=0x816ae9f "country", 
value=0xa <Address 0xa out of bounds>)
    at Lua.cpp:483
#3  0x0805709c in Host::lua (this=0xac317fb8, vm=0xb55061c0, host_details=true, 
returnHost=false) at Host.cpp:125
#4  0x0805de35 in hosts_get_list_details (h=0xac317fb8, user_data=0xb55061c0) 
at NetworkInterface.cpp:467
#5  0x08056364 in GenericHash::walk (this=0x83d82f8, walker=0x805de07 
<hosts_get_list_details(GenericHashEntry*, void*)>,
    user_data=0xb55061c0) at GenericHash.cpp:126
#6  0x0805de8a in NetworkInterface::getActiveHostsList (this=0x81961d8, 
vm=0xb55061c0, host_details=true)
    at NetworkInterface.cpp:475
#7  0x08059a5a in ntop_get_interface_hosts_info (vm=0xb55061c0) at Lua.cpp:156
#8  0x080cc32f in lj_BC_FUNCC ()
#9  0x080b207c in lua_call (L=0xb55061c0, nargs=0, nresults=-1) at lj_api.c:1034
#10 0x08116a2b in lj_cf_dofile (L=0xb55061c0) at lib_base.c:435
#11 0x080cc32f in lj_BC_FUNCC ()
#12 0x080b2114 in lua_pcall (L=0xb55061c0, nargs=0, nresults=-1, errfunc=0) at 
lj_api.c:1052
#13 0x0805bac5 in Lua::handle_script_request (this=0xb1f005b8, script_path=0xb7d42f21 
"./scripts/lua/index.lua",
    cls=0x816b030, connection=0xb1f00c20, url=0xb5538004 "/", method=0xb5538000 "GET", 
version=0xb5538006 "HTTP/1.1",
    upload_data=0x0, upload_data_size=0xb7d430dc, ptr=0xb1f00c3c) at Lua.cpp:923
#14 0x08058114 in handle_http_request (cls=0x816b030, connection=0xb1f00c20, url=0xb5538004 
"/", method=0xb5538000 "GET",
    version=0xb5538006 "HTTP/1.1", upload_data=0x0, 
upload_data_size=0xb7d430dc, ptr=0xb1f00c3c) at HTTPserver.cpp:148
#15 0x080a2e20 in call_connection_handler (connection=0xb1f00c20) at 
connection.c:1391
#16 0x080a3da7 in MHD_connection_handle_idle (connection=0xb1f00c20) at 
connection.c:2304
#17 0x080a6c66 in MHD_select (daemon=<value optimized out>, may_block=1) at 
daemon.c:1441
#18 0x080a6e34 in MHD_select_thread (cls=0x84abff0) at daemon.c:1685
#19 0x007cda09 in start_thread () from /lib/libpthread.so.0
#20 0x006df43e in clone () from /lib/libc.so.6
(gdb)




On 05/30/2013 03:55 AM, Luca Deri wrote:
Joaquin
next week we will introduce ntopng. The release is stable, rock stable, but it 
will not be feature complete although all the basic pieces will be present. We 
have rewritten everything from scratch, and thus some features will be added 
later on. We plan to have a follow-up release in the summer timeframe and in 
autumn we're working at moving ntopng onto new fields (think about the 
microcloud and network security just to name a few). We will publish a detailed 
roadmap.

The idea of ntopng is to have something modern and open where people can really 
contribute. ntop "classic" being it coded in C and spaghetti code due to the 
many changes we made, was not exactly like that. For ntopng we want to build a community 
where people can contribute and benefit.

Yes we plan to offer commercial support as well community support. We're open to 
several options we are discussing with our partner Endian.com 
<http://Endian.com> that has already experience on this and that can assist. If 
you have some specific request or suggestion, please let us know.

Regards Luca

On May 30, 2013, at 7:47 AM, Joaquin Fernandez <[email protected] 
<mailto:[email protected]>> wrote:

Hi,

I'm interested in the implementation of ntopng, I would like to know if the 
release of it is still on track and will be available next week.
This first release is going to be an final release or an alpha/beta/RC ?

A part from the new release, I would like to know what options are available 
for commercial support. Like subscription, per ticket etc.

Best Regards,

Joaquín Fernández Llamas

Senior Infrastructure Engineer

<image001.jpg>
*BRED I.T. (Thailand) Ltd.*
19 ^th  Floor Thai Wah Tower 1, No. 21/55 -- 21/58 South Sathorn Road, Sathorn 
District, Bangkok 10120, Thailand
T:(66) 2 679 1070 Ext.107 | M: +66 (0) 85 485 9225 |F:(66) 2 679 1074 |
@: [email protected] <mailto:[email protected]>  | Gtalk: 
[email protected] <mailto:[email protected]>




_______________________________________________
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