Jamie/Zachary
this looks like a crash in the IAX nDPI module.

If you are able to reproduce it using a pcap file, I can try to debug it

Regards Luca

On 27 Nov 2013, at 16:00, Jamie Gwatkin <[email protected]> wrote:

> I had the same issue, turned out I didn't have Redis installed.
> 
> Make sure that's running I guess.
> 
> 
> On Tue, Nov 26, 2013 at 4:44 PM, Zachary McGibbon 
> <[email protected]> wrote:
> I'm getting a segfault on the latest build:
> 
> root@ubuntu-nbox:/etc# gdb ntopng
> GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
> Copyright (C) 2012 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 "x86_64-linux-gnu".
> For bug reporting instructions, please see:
> <http://bugs.launchpad.net/gdb-linaro/>...
> Reading symbols from /usr/local/bin/ntopng...(no debugging symbols 
> found)...done.
> (gdb) run -m "132.206.0.0/16,132.216.0.0/16,142.157.0.0/16" -G 
> var/run/ntopng.pid -A 2 -i eth1
> Starting program: /usr/local/bin/ntopng -m 
> "132.206.0.0/16,132.216.0.0/16,142.157.0.0/16" -G var/run/ntopng.pid -A 2 -i 
> eth1
> warning: no loadable sections found in added symbol-file system-supplied DSO 
> at 0x7ffff7ffa000
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> 26/Nov/2013 16:42:34 [Ntop.cpp:457] Setting local networks to 
> 132.206.0.0/16,132.216.0.0/16,142.157.0.0/16
> 26/Nov/2013 16:42:34 [PcapInterface.cpp:54] Reading packets from interface 
> eth1...
> 26/Nov/2013 16:42:34 [Ntop.cpp:564] Registered interface eth1 [id: 0]
> 26/Nov/2013 16:42:34 [Utils.cpp:238] User changed to nobody
> 26/Nov/2013 16:42:34 [main.cpp:149] ERROR: Unable to store PID in file 
> var/run/ntopng.pid
> [New Thread 0x7ffff59fe700 (LWP 2155)]
> [New Thread 0x7ffff51fd700 (LWP 2156)]
> [New Thread 0x7ffff49fc700 (LWP 2157)]
> [New Thread 0x7fffeffff700 (LWP 2158)]
> [New Thread 0x7fffef7fe700 (LWP 2159)]
> [New Thread 0x7fffeeffd700 (LWP 2160)]
> 26/Nov/2013 16:42:34 [HTTPserver.cpp:343] HTTP server listening on port 3000 
> [/usr/local/share/ntopng/httpdocs][/usr/local/share/ntopng/scripts]
> 26/Nov/2013 16:42:34 [main.cpp:179] Using RRD version 1.4.7
> 26/Nov/2013 16:42:34 [main.cpp:188] Working directory: /var/tmp/ntopng
> 26/Nov/2013 16:42:34 [main.cpp:190] Scripts/HTML pages directory: 
> /usr/local/share/ntopng
> 26/Nov/2013 16:42:34 [Ntop.cpp:161] Welcome to ntopng x86_64 v.1.1.1 (r7031) 
> - (C) 1998-13 ntop.org
> 26/Nov/2013 16:42:34 [Redis.cpp:42] Successfully connected to Redis 
> 127.0.0.1:6379
> 26/Nov/2013 16:42:34 [PeriodicActivities.cpp:53] Started periodic activities 
> loop...
> [New Thread 0x7fffee7fc700 (LWP 2161)]
> [New Thread 0x7fffedffb700 (LWP 2162)]
> [New Thread 0x7fffed7fa700 (LWP 2163)]
> [New Thread 0x7fffecff9700 (LWP 2164)]
> [New Thread 0x7fffd3fff700 (LWP 2165)]
> 26/Nov/2013 16:42:34 [NetworkInterface.cpp:629] Started packet polling on 
> interface eth1...
> [New Thread 0x7fffd37fe700 (LWP 2166)]
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7fffd3fff700 (LWP 2165)]
> 0x000000000045cdf7 in ndpi_search_iax ()
> 
> root@ubuntu-nbox:/etc# uname -a
> Linux ubuntu-nbox 3.8.0-33-generic #48~precise1-Ubuntu SMP Thu Oct 24 
> 16:28:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
> 
> 
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop
> 
> 
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop

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

Reply via email to