Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#87 Route Replies

closed
nobody
None
5
2010-04-26
2010-04-02
Anonymous
No

Apr 1 14:11:43 server1 kernel: znc[10112]: segfault at 0 ip b7289039 sp bfe2ea30 error 4 in route_replies.so[b7285000+9000]
Apr 2 03:49:41 server1 kernel: znc[20163]: segfault at 0 ip b72ee039 sp bfe06400 error 4 in route_replies.so[b72ea000+9000]

Discussion


  • Anonymous
    2010-04-02

    Recompling znc with enable debug at latest svn-build to reproduce error.

     

  • Anonymous
    2010-04-02

    IRC::Aerialman == Timeout()
    (Aerialman) ZNC -> IRC [QUIT :IRC ruined my life]

    Program received signal SIGPIPE, Broken pipe.
    0xf57fe416 in __kernel_vsyscall ()
    (gdb) bt full
    #0 0xf57fe416 in __kernel_vsyscall ()
    No symbol table info available.
    #1 0xb743a933 in __write_nocancel () from /lib/libc.so.6
    No symbol table info available.
    #2 0x0813347f in Csock::Write (this=0x8850138,
    data=0x885964c "QUIT :IRC ruined my life\r\n", len=26) at Csocket.cpp:1484
    iBytesToSend = 26
    bytes = -1081546559
    #3 0x0812e702 in Csock::Write (this=0x8850138, sData=@0xbf88e908)
    at Csocket.cpp:1515
    No locals.
    #4 0x0818d3db in CIRCSock::PutIRC (this=0x8850138, sLine=@0xbf88e938)
    at IRCSock.cpp:854
    No locals.
    #5 0x0819308d in CIRCSock::Quit (this=0x8850138) at IRCSock.cpp:67
    No locals.
    #6 0x0819d034 in ~CIRCSock (this=0x8850138) at IRCSock.cpp:60
    No locals.
    #7 0x081559e4 in CS_Delete<CZNCSock> (p=@0xbf88ea0c) at Csocket.h:277
    No locals.
    #8 0x0816c23b in TSocketManager<CZNCSock>::DelSock (this=0x877758c, iPos=7)
    at Csocket.h:1797
    pSock = (CZNCSock *) 0x8850138
    ---Type <return> to continue, or q <return> to quit---
    #9 0x0815dd99 in TSocketManager<CZNCSock>::DelSockByAddr (this=0x877758c,
    pcSock=0x8850138) at Csocket.h:1768
    a = 7
    #10 0x0816fc22 in TSocketManager<CZNCSock>::Loop (this=0x877758c)
    at Csocket.h:1538
    iLen = 4096
    cBuff = {
    m_pBuffer = 0x8859950 "\200´K·\200´K·H\231\205\bH\231\205\b:Milais42\r\nNICK fdffsd\r\nUSER fesfr fesfr server1.tiltshellz.org :fewf\r\n"}
    bytes = -4
    pcSock = (CZNCSock *) 0x8850138
    iErrno = TSocketManager<CZNCSock>::SUCCESS
    itSock = {<__gnu_debug::_Safe_iterator_base> = {
    _M_sequence = 0xbf88eadc, _M_version = 1, _M_prior = 0x0, _M_next = 0x0},
    _M_current = {_M_node = 0x88596a8}}
    mpeSocks = {<__gnu_norm::map<CZNCSock*,TSocketManager<CZNCSock>::EMessages,std::less<CZNCSock*>,std::allocator<std::pair<CZNCSock* const, TSocketManager<CZNCSock>::EMessages> > >> = {_M_t = {
    _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<CZNCSock* const, TSocketManager<CZNCSock>::EMessages> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<CZNCSock* const, TSocketManager<CZNCSock>::EMessages> > >> = {<No data fields>}, <No data fields>},
    _M_key_compare = {<std::binary_function<CZNCSock*,CZNCSock*,bool>> = {<N---Type <return> to continue, or q <return> to quit---
    o data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red,
    _M_parent = 0x88596a8, _M_left = 0x88596a8, _M_right = 0x88596a8},
    _M_node_count = 1}}}, <__gnu_debug::_Safe_sequence<__gnu_debug_def::map<CZNCSock*, TSocketManager<CZNCSock>::EMessages, std::less<CZNCSock*>, std::allocator<std::pair<CZNCSock* const, TSocketManager<CZNCSock>::EMessages> > > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0xbf88eaec,
    _M_const_iterators = 0x0,
    _M_version = 1}, <No data fields>}, <No data fields>}
    iMilliNow = 613051674642087936
    #11 0x0816d9a0 in TSocketManager<CZNCSock>::DynamicSelectLoop (this=0x877758c,
    iLowerBounds=500000, iUpperBounds=600000000, iMaxResolution=3600)
    at Csocket.h:1614
    No locals.
    #12 0x0815435f in CZNC::Loop (this=0x8777520) at znc.cpp:258
    sError = {<std::basic_string<char,std::char_traits<char>,std::allocator<char> >> = {static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x8292908 ""}}, <No data fields>}
    #13 0x081182bb in main (argc=1, argv=0xbf88ee74) at main.cpp:284
    sConfig = {<std::basic_string<char,std::char_traits<char>,std::allocator<char> >> = {static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x8292908 ""}}, <No data fields>}
    ---Type <return> to continue, or q <return> to quit---
    sDataDir = {<std::basic_string<char,std::char_traits<char>,std::allocator<char> >> = {static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x8292908 ""}}, <No data fields>}
    iArg = -1
    iOptIndex = -1
    bMakeConf = false
    bMakePass = false
    bAllowRoot = false
    bForeground = true
    bMakePem = false
    pZNC = (CZNC *) 0x8777520
    sa = {__sigaction_handler = {sa_handler = 0x81186d2 <die>,
    sa_sigaction = 0x81186d2 <die>}, sa_mask = {__val = {
    0 <repeats 32 times>}}, sa_flags = -2147483648, sa_restorer = 0x8077faf}
    iRet = 0

     

  • Anonymous
    2010-04-02

    I is there anyway for me to get around that to debug the route_replies module?

     
  • To ignore SIGPIPE in gdb (znc ignores it too):

    handle SIGPIPE nostop

     

  • Anonymous
    2010-04-02

    Thanks next time the server needs to be restarted I will re-enable the module and try to produce an error for you. I am sure I can.

     
  • Psychon
    Psychon
    2010-04-11

    • status: open --> pending
     
    • status: pending --> closed
     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).