I'm still getting segfaults on the latest ntopng 8924, anyone else?  It
happens as soon as I try and access the web interface.

root@nbox1:~# ntopng -V
v.1.2.2 (r8924)

root@nbox1:~# gdb ntopng
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ntopng...done.
(gdb)  r -m "192.168.0.0/16" -G /var/run/ntopng/ntopng.pid -A 2 -i eth1 -i
eth2 -F -v
Starting program: /usr/local/bin/ntopng -m "192.168.0.0/16" -G
/var/run/ntopng/ntopng.pid -A 2 -i eth1 -i eth2 -F -v
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
08/Feb/2015 13:59:01 [Prefs.cpp:600] WARNING: Discarding -F -v: value out
of range
08/Feb/2015 13:59:01 [Ntop.cpp:736] Setting local networks to 192.168.0.0/16
08/Feb/2015 13:59:01 [Redis.cpp:93] Successfully connected to Redis
127.0.0.1:6379@0
08/Feb/2015 13:59:01 [PF_RINGInterface.cpp:50] Reading packets from PF_RING
v.6.0.3 interface eth1...
08/Feb/2015 13:59:01 [Ntop.cpp:984] Registered interface view eth1 [id: 0]
08/Feb/2015 13:59:01 [Ntop.cpp:954] Registered interface eth1 [id: 0]
08/Feb/2015 13:59:01 [PF_RINGInterface.cpp:50] Reading packets from PF_RING
v.6.0.3 interface eth2...
08/Feb/2015 13:59:01 [Ntop.cpp:984] Registered interface view eth2 [id: 1]
08/Feb/2015 13:59:01 [Ntop.cpp:954] Registered interface eth2 [id: 1]
08/Feb/2015 13:59:02 [Utils.cpp:265] User changed to nobody
08/Feb/2015 13:59:02 [main.cpp:200] ERROR: Unable to store PID in file
/var/run/ntopng/ntopng.pid
08/Feb/2015 13:59:02 [HTTPserver.cpp:413] HTTPS Disabled: missing SSL
certificate /usr/share/ntopng/httpdocs/ssl/ntopng-cert.pem
08/Feb/2015 13:59:02 [HTTPserver.cpp:415] Please read
https://svn.ntop.org/svn/ntop/trunk/ntopng/README.SSL if you want to enable
SSL.
[New Thread 0x7fffefe32700 (LWP 11401)]
[New Thread 0x7fffef631700 (LWP 11402)]
[New Thread 0x7fffeee30700 (LWP 11403)]
[New Thread 0x7fffee62f700 (LWP 11404)]
[New Thread 0x7fffede2e700 (LWP 11405)]
[New Thread 0x7fffed62d700 (LWP 11406)]
08/Feb/2015 13:59:02 [HTTPserver.cpp:460] Web server dirs
[/usr/share/ntopng/httpdocs][/usr/share/ntopng/scripts]
08/Feb/2015 13:59:02 [HTTPserver.cpp:463] HTTP server listening on port 3000
08/Feb/2015 13:59:02 [main.cpp:245] Working directory: /var/tmp/ntopng
08/Feb/2015 13:59:02 [main.cpp:247] Scripts/HTML pages directory:
/usr/share/ntopng
08/Feb/2015 13:59:02 [Ntop.cpp:228] Welcome to ntopng x86_64 v.1.2.2
(r8924) - (C) 1998-15 ntop.org
08/Feb/2015 13:59:02 [PeriodicActivities.cpp:53] Started periodic
activities loop...
[New Thread 0x7fffece2c700 (LWP 11407)]
[New Thread 0x7fffdffff700 (LWP 11408)]
[New Thread 0x7fffdf7fe700 (LWP 11409)]
[New Thread 0x7fffdeffd700 (LWP 11410)]
08/Feb/2015 13:59:02 [RuntimePrefs.cpp:32] Dumping alerts into syslog
[New Thread 0x7fffde7fc700 (LWP 11411)]
08/Feb/2015 13:59:02 [NetworkInterface.cpp:932] Started packet polling on
interface eth1 [id: 0]...
[New Thread 0x7fffddffb700 (LWP 11412)]
08/Feb/2015 13:59:02 [NetworkInterface.cpp:932] Started packet polling on
interface eth2 [id: 1]...
[New Thread 0x7fffdd7fa700 (LWP 11413)]
[New Thread 0x7fffdcff9700 (LWP 11414)]

Program received signal SIGSEGV, Segmentation fault.
0x0000000000435534 in HTTPStats::updateStats (this=0x3035240a0d544500,
tv=0x7fffffffe240) at HTTPStats.cpp:250
250     HTTPStats.cpp: No such file or directory.
(gdb) bt
#0  0x0000000000435534 in HTTPStats::updateStats (this=0x3035240a0d544500,
tv=0x7fffffffe240) at HTTPStats.cpp:250
#1  0x0000000000424213 in Host::updateStats (this=0x7fffcc0b37b0,
tv=0x7fffffffe240) at Host.cpp:852
#2  0x000000000044de11 in update_hosts_stats (node=0x7fffcc0b37b0,
user_data=0x7fffffffe240) at NetworkInterface.cpp:1026
#3  0x000000000041bdd0 in GenericHash::walk (this=0x2913620,
walker=0x44ddde <update_hosts_stats(GenericHashEntry*, void*)>,
    user_data=0x7fffffffe240) at GenericHash.cpp:152
#4  0x000000000044de89 in NetworkInterface::updateHostStats
(this=0x1c12c10) at NetworkInterface.cpp:1045
#5  0x000000000044f27a in NetworkInterface::runHousekeepingTasks
(this=0x1c12c10) at NetworkInterface.cpp:1533
#6  0x0000000000457df2 in Ntop::runHousekeepingTasks (this=0x800730) at
Ntop.cpp:1000
#7  0x00000000004554f4 in Ntop::start (this=0x800730) at Ntop.cpp:254
#8  0x000000000044962b in main (argc=13, argv=0x7fffffffe608) at
main.cpp:261
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to