We get a segmentation fault with latest stable and nightly builds using the -F db / sqlite option with -x/-X value. By reaching the -x/-X limits ntopng crashes with this messages (gdb outputs).

Stable build:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffcb5fe700 (LWP 13233)]
0x0000000000422d2e in GenericHashEntry::getInterface() ()
Missing separate debuginfos, use: debuginfo-install ntopng-2.0.150531-164.x86_64
(gdb) up
#1  0x000000000041e6cf in Flow::dumpFlow(bool) ()

Nightly build:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffcabfd700 (LWP 23488)]
0x0000000000454892 in GenericHashEntry::getInterface (this=0x0) at /home/deri/rpmbuild/BUILD/ntopng-2.0.150725/include/GenericHashEntry.h:93 93 /home/deri/rpmbuild/BUILD/ntopng-2.0.150725/include/GenericHashEntry.h: Datei oder Verzeichnis nicht gefunden. in /home/deri/rpmbuild/BUILD/ntopng-2.0.150725/include/GenericHashEntry.h Missing separate debuginfos, use: debuginfo-install ntopng-2.0.150725-275.x86_64
(gdb) up
#1 0x000000000044ffa3 in Flow::dumpFlow (this=0x7fffa6f76b90, partial_dump=true) at src/Flow.cpp:731
731     src/Flow.cpp: Datei oder Verzeichnis nicht gefunden.
        in src/Flow.cpp


We changed the max value off -x/-X but ntopng crashes on reaching the limit.
Is there any chance to run ntopng with -x/-X and get historical data?
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to