Hi,

sorry but doesn't fit the problem:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffcabfd700 (LWP 28877)]
0x000000000044b8a4 in Host::get_ip (this=0x0) at /home/deri/rpmbuild/BUILD/ntopng-2.0.150729/include/Host.h:97 97 /home/deri/rpmbuild/BUILD/ntopng-2.0.150729/include/Host.h: Datei oder Verzeichnis nicht gefunden.
        in /home/deri/rpmbuild/BUILD/ntopng-2.0.150729/include/Host.h
Missing separate debuginfos, use: debuginfo-install ntopng-2.0.150729-295.x86_64
(gdb) up
#1 0x000000000044b415 in DB::dumpFlow (this=0x1424730, when=0, f=0x7fffc00bc820, json=0x7fffa4b12ec0 "null") at src/DB.cpp:136

Segfault after reaching -x and -X limit.

Thanks,
Heiko

Am 27.07.2015 um 09:13 schrieb Arianna Avanzini:
Hi,

On Mon, Jul 27, 2015 at 8:17 AM, Heiko Boch | DeltaPeak GmbH <[email protected] <mailto:[email protected]>> wrote:

    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?


I might have pushed a fix for this to the dev branch of the git repo. Could you try compiling from dev source or with tomorrow's nightly build?

Also, this is the best place to file a ntopng-related issue: https://github.com/ntop/ntopng/issues

Thanks,
Arianna


--
/*
 * Arianna Avanzini
 * [email protected] <mailto:[email protected]>
 * http://ava.webhop.me <http://ava.webhop.me/>
 */


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

--
DeltaPeak GmbH
Hainstrasse 15
08451 Crimmitschau
mail: [email protected]

tel: +49 3762 9369 000
fax: +49 3762 9369 009

Sitz der Gesellschaft: Crimmitschau
Amtsgericht Chemnitz HRB 26791
Geschäftsführer: Mathias Eisenblätter

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

Reply via email to