cflowd2-1-b1 crashing

From: Kevin Stewart (kevins@netgate.net.nz)
Date: Wed Mar 28 2001 - 21:32:51 PST

  • Next message: Ralf Kalwa: "Re: cflowd2-1-b1 crashing"

    I am having problems keeping cflowd running

    it keeps core dumping :(

    I am running it on a PIII using Solaris7 for intel cflowd2-1-b1 and
    arts++-1-1-a8

    my GDB and C++ are very rusty but

    #0 0xdfe7bde5 in strlen ()
    #1 0xdfead636 in _doprnt ()
    #2 0xdfeaf2a7 in vsnprintf ()
    #3 0xdfea0227 in vsyslog ()
    #4 0xdfe9fdeb in _syslog ()
    #5 0x8089785 in CflowdCisco::ClearTableData (this=<incomplete type>) at
    CflowdCisco.cc:717
    #6 0x807ba7b in HandleCollectorClient () at cflowd.cc:358
    #7 0x807ca19 in MainLoop () at cflowd.cc:795
    #8 0x807cc1f in main (argc=1, argv=0x8047d4c) at cflowd.cc:893

    It looks like CflowdCisco::ClearTableData is calling syslog with incorrect
    prams
    which is causing strlen to die.

    On my E250 Solaris8 cflowd2-1-b1 and arts++-1-1-a8

    #0 0xff132e5c in strlen () from /usr/lib/libc.so.1
    #1 0xff181890 in _doprnt () from /usr/lib/libc.so.1
    #2 0xff183a04 in vsnprintf () from /usr/lib/libc.so.1
    #3 0xff14fcb4 in vsyslog () from /usr/lib/libc.so.1
    #4 0xff14f800 in syslog () from /usr/lib/libc.so.1
    #5 0x4d5f0 in CflowdPortMatrix::write (this=0xbc878, fd=6)
        at ../include/CflowdUint64TrafficCounter.hh:223
    #6 0x3a360 in CflowdCisco::write (this=0xbc618, fd=6) at CflowdCisco.cc:649
    #7 0x3f9bc in CflowdCiscoMap::Write (this=0xb1514, fd=6)
        at CflowdCiscoMap.cc:167
    #8 0x2d98c in HandleCollectorClient () at cflowd.cc:387
    #9 0x2e79c in MainLoop () at cflowd.cc:795
    #10 0x2e9d0 in main (argc=0, argv=0xffbefd50) at cflowd.cc:893

    same thing with a call to syslog but from CflowdPortMatrix::write

    Anyone got a fix or do I just coment the calls to syslog out?

    Skavin

    --
    cflowd mailing list
    cflowd@caida.org
    



    This archive was generated by hypermail 2b29 : Wed Mar 28 2001 - 22:11:01 PST