Skip to content

Bug Report #202

@Arkadietz

Description

@Arkadietz

Hello,

This is what DEBUG.txt says:

Debug (eggdrop v1.8.0+infiniteinfo) written Mon Jan 26 09:39:00 2015
Full Patch List:  CVS 1412277709 infiniteinfo
Tcl library: /usr/share/tcltk/tcl8.5
Tcl version: 8.5.11 (header version 8.5.11)
Tcl is threaded
Compiled with IPv6 support
Compiled with TLS support
Configure flags:  '--with-handlen=9'
Compile flags: gcc -g -O2 -pipe -Wall -I.. -I..  -DHAVE_CONFIG_H -g3 -DDEBUG -DDEBUG_ASSERT -DDEBUG_MEM -DDEBUG_DNS  
Link flags: gcc
Strip flags: touch
Context: tclhash.c/742, []
         tclhash.c/727, []
         tclhash.c/731, [Tcl proc: *raw:KICK, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/742, []
         tclhash.c/727, []
         tclhash.c/731, [Tcl proc: *raw:irc:kick, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/742, []
         tclhash.c/727, []
         tclhash.c/731, [Tcl proc: *raw:KICK, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/742, []
         tclhash.c/727, []
         tclhash.c/731, [Tcl proc: *raw:irc:mode, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/742, []
         tclhash.c/727, []
         tclhash.c/731, [Tcl proc: *raw:MODE, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/742 []

IDX ADDR                                     + PORT NICK      TYPE  INFO
---

3   31.13.219.146                             20024 (users)   lstn  20024
4   31.13.219.146                             20025 (bots)    lstn  20025
9   79.98.104.32                             + 6697 (server)  serv  (lag: 0)
10  85.217.128.122                            37057 sex       bot   flags: pUCosgwliA
5   212.73.138.38                                 0 (dns)     dns   (ready)
11  79.98.108.67                              38138 Jenny     bot   flags: pUCosgwliA

File 'language.c' accounted for 21057/21057 (ok)
File 'chanprog.c' accounted for 111/111 (ok)
File 'misc.c    ' accounted for 11349/11349 (ok)
File 'userrec.c ' accounted for 15737/15737 (ok)
File 'net.c     ' accounted for 0/0 (ok)
File 'dccutil.c ' accounted for 9792/9792 (ok)
File 'botnet.c  ' accounted for 2264/2264 (ok)
File 'tcl.c     ' accounted for 1708/1708 (ok)
File 'tclhash.c ' accounted for 22325/22325 (ok)
File 'tclmisc.c ' accounted for 27/27 (ok)
File 'modules.c ' accounted for 1127/1127 (ok)
File 'tcldcc.c  ' accounted for 24/24 (ok)
File 'dns.c     ' accounted for 0/0 (ok)
File 'tls.c     ' accounted for 272/272 (ok)
Module 'assoc     ' accounted for 0/0 (ok)
Module 'console   ' accounted for 0/0 (ok)
Module 'notes     ' accounted for 0/0 (ok)
Module 'compress  ' accounted for 0/0 (ok)
Module 'share     ' accounted for 48/48 (ok)
Module 'transfer  ' accounted for 0/0 (ok)
Module 'irc       ' accounted for 0/0 (ok)
Module 'ctcp      ' accounted for 0/0 (ok)
Module 'server    ' accounted for 97/730 (debug follows:)
   server.c  /896 :(0020) server.c  /896 :(00B3) server.c  /877 :(000C)
   server.c  /896 :(00B3) server.c  /877 :(000C) server.c  /877 :(000C)
   server.c  /896 :(0032) server.c  /877 :(000C) server.c  /896 :(0028)
   server.c  /896 :(0020) server.c  /877 :(000C) server.c  /877 :(000C)
   servmsg.c /309 :(000C) servmsg.c /304 :(000C) server.c  /968 :(0018)
   server.c  /978 :(000C) server.c  /968 :(0018) server.c  /978 :(000D)
   server.c  /896 :(0025) server.c  /877 :(000C)
Module 'channels  ' accounted for 60554/60549 (debug follows:)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) tclchan.c /2046:(0718)
   tclchan.c /1922:(0001) tclchan.c /1938:(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   irc.c     /305 :(0018) chan.c    /47  :(0188) udefchan.c/115 :(0014)
   udefchan.c/116 :(000A) udefchan.c/87  :(000C) udefchan.c/88  :(0005)
   chan.c    /47  :(0188) irc.c     /307 :(001A) chan.c    /47  :(0188)
   chan.c    /47  :(0188) userchan.c/274 :(0018) chan.c    /47  :(0188)
   chan.c    /1545:(0040) chan.c    /47  :(0188) chan.c    /47  :(0188)
   irc.c     /300 :(0010) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   irc.c     /302 :(0001) tclchan.c /1952:(0010) tclchan.c /1922:(0001)
   tclchan.c /1956:(0010) irc.c     /447 :(0001) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) irc.c     /300 :(0010)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) irc.c     /300 :(0010) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) irc.c     /305 :(0018)
   chan.c    /47  :(0188) irc.c     /307 :(001A) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) chan.c    /47  :(0188) chan.c    /47  :(0188)
   chan.c    /47  :(0188) mode.c    /321 :(0006)
Module 'dns       ' accounted for 225/225 (ok)
Module 'uptime    ' accounted for 0/0 (ok)
Module 'encryption' accounted for 12552/12552 (ok)
Module 'eggdrop   ' accounted for 0/0 (ok)
--- End of debug memory list.
Open sockets: 3 (listen), 4 (listen), 5 (passed on), 10, 9 (TLS), 11, 12 (file), done.

This is what core file says:


# 0  newmask (m=0x0, s=s@entry=0x7ffc793fb638 "_!_@BGchat.html.chat", who=who@entry=0x7ffc793fac80 "Alice!Alice@Resident.Evil") at .././irc.mod/irc.c:295
# 1  0x00007fde8e5fe928 in got_ban (chan=0x7f7df0, nick=0x823e90 "Alice", from=0x823e96 "Alice@Resident.Evil", who=0x7ffc793fb638 "_!_@BGchat.html.chat", ch=0x7ffc793fb630 "#XXL", u=0x7efec0) at .././irc.mod/mode.c:765
# 2  0x00007fde8e60144e in gotmode (from=0x823e96 "Alice@Resident.Evil", origmsg=0x7ffc793fb638 "_!_@BGchat.html.chat") at .././irc.mod/mode.c:1291
# 3  0x00007fde8ea11779 in server_raw (cd=0x7fde8e5ff930 <gotmode>, irp=0x77e920, argc=<optimized out>, argv=0x782d80) at .././server.mod/server.c:1150
# 4  0x00007fde9105e694 in TclInvokeStringCommand () from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
# 5  0x00007fde91060a87 in TclNRRunCallbacks () from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
# 6  0x00007fde910617bb in ?? () from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
# 7  0x00007fde91061093 in Tcl_EvalEx () from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
# 8  0x00007fde910622a5 in Tcl_Eval () from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
# 9  0x00007fde910632c6 in Tcl_VarEvalVA () from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
# 10 0x00007fde91063399 in Tcl_VarEval () from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
# 11 0x0000000000439383 in trigger_bind (mask=0x7f9310 "MODE", param=0x7fde8ea19a59 " $_raw1 $_raw2 $_raw3", proc=0x7ff890 "*raw:irc:mode") at tclhash.c:739
# 12 check_tcl_bind (tl=0x7f8fe0, match=0x7ffc793fbe5b "MODE", atr=0x0, param=0x7fde8ea19a59 " $_raw1 $_raw2 $_raw3", match_type=161) at tclhash.c:873
# 13 0x00007fde8ea10cda in check_tcl_raw (msg=0x7ffc793fbe60 "#XXL +b _!_@BGchat.html.chat", code=0x7ffc793fbe5b "MODE", from=0x7ffc793fbe41 "Alice!Alice@Resident.Evil") at .././server.mod/servmsg.c:180
# 14 server_activity (idx=<optimized out>, msg=0x7ffc793fbe60 "#XXL +b _!_@BGchat.html.chat", len=<optimized out>) at .././server.mod/servmsg.c:1066
# 15 0x000000000042a5e7 in mainloop (toplevel=toplevel@entry=1) at ./main.c:812
# 16 0x0000000000405642 in main (arg_c=<optimized out>, arg_v=<optimized out>) at ./main.c:1196

# 0  newmask (m=0x0, s=s@entry=0x7ffc793fb638 "_!_@BGchat.html.chat", who=who@entry=0x7ffc793fac80 "Alice!Alice@Resident.Evil") at .././irc.mod/irc.c:295
No locals.
# 1  0x00007fde8e5fe928 in got_ban (chan=0x7f7df0, nick=0x823e90 "Alice", from=0x823e96 "Alice@Resident.Evil", who=0x7ffc793fb638 "_!_@BGchat.html.chat", ch=0x7ffc793fb630 "#XXL", u=0x7efec0) at .././irc.mod/mode.c:765
    me = "Alice!Alice@Resident.Evil\000\177\000\000\000\000\000\364\002\000\000\000\000\000\000\332\063`\216\336\177\000\000`E*\220\336\177\000\000v\322\372\217\336\177\000\000k\255?y\374\177\000\000\b\000\000\000\000\000\000\000\070~\177\000\000\000\000\000\344\313B\000\000\000\000\000\v\000\000\000\000\000\000\000\340\253?y\374\177\000\000k\255?y\374\177\000\000`\255?y\374\177\000\000\274!\372V\000\000\000\000\060\000\000\000\060\000\000\000X\261?y\374\177\000\000`\260?y\374\177\000\000[09:33:32] \000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000x\254\062\060\061\066\000\000"...
    s = "Alice!Alice@Resident.Evil\000B\000\000\000\000\000\v", '\000' <repeats 15 times>, "{\256?y\374\177\000\000p\256?y\374\177\000\000\274!\372V\000\000\000\000\060\000\000\000\060\000\000\000h\262?y\374\177\000\000p\261?y\374\177\000\000[09:33:32] \000\000\000\000\000\177\255?y\374\177\000\000\300\256?y\374\177\000\000\300\256?y\374\177\000\000\377\377\377\377\001\000\000\000.29Mar2016\000y\374\177\000\000~\255?y\374\177\000\000ۮ?y\374\177\000\000\354\256?y\374\177\000\000\200\255?y\374\177\000\000\300\256?y\374\177\000\000\225"...
    s1 = "\214\257?y\374\177\000\000 \256?y\374\177\000\000`\257?y\374\177\000\000\225\207B", '\000' <repeats 13 times>, "\020\256?y\374\177\000\000\001", '\000' <repeats 15 times>, "IRC.INDEX.BG!*\000*\000\063.HSD1.\205\062C\000\000\000\000\000\000\206\177\000\000\000\000\000`\256?y\374\177\000\000\360}\177\000\000\000\000\000\206\035A\000\000\000\000\000\006\000\000\000\000\000\000\000f\256?y\374\177\000\000Alice\000Alice@Resident.Evil", '\000' <repeats 154 times>
    m = <optimized out>
    targ = <optimized out>
# 2  0x00007fde8e60144e in gotmode (from=0x823e96 "Alice@Resident.Evil", origmsg=0x7ffc793fb638 "_!_@BGchat.html.chat") at .././irc.mod/mode.c:1291
    todo = 2034218552
    nick = 0x823e90 "Alice"
    op = 0x7ffc793fb638 "*!*@BGchat.html.chat"
    chg = 0x7ffc793fb636 "b"
    msg = 0x7ffc793fb64c ""
    s = "p\264?y\374\177\000\000=E\231\220\336\177\000\000P\263?y\374\177\000\000q.\242\220\336\177\000\000P\263?y\374\177\000\000\250.\242\220\336\177\000\000\260\265?y\374\177\000\000P\263?y\374\177\000\000P\263?y\374\177\000\000\277rn\220\336\177\000\000\r\000\000\000\364\377\377\377\377\377\377\377\310\377\377\377\020\267?y\374\177\000\000m\000\000\000\000\000\000\000\070ˎ\000\000\000\000\000s\001\000\000\a\000\000\000\200\263?y\374\177\000\000\220\274\231\220\336\177\000\000@\000\000\000\b\000\000\000p\264?y\374\177\000\000\020fn\220\336\177\000\000\006\000\000\000\070\000\000\000\001\000\000\000\001\000\000\000@\000\000\000\000\000\000\000\024\000\000\000\000\000\000\000\024"...
    buf = "#XXL\000+b\000*!*@BGchat.html.chat", '\000' <repeats 482 times>
    ms2 = "+b"
    chan = 0x7f7df0
# 3  0x00007fde8ea11779 in server_raw (cd=0x7fde8e5ff930 <gotmode>, irp=0x77e920, argc=<optimized out>, argv=0x782d80) at .././server.mod/server.c:1150
    F = <optimized out>
# 4  0x00007fde9105e694 in TclInvokeStringCommand () from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
No symbol table info available.
# 5  0x00007fde91060a87 in TclNRRunCallbacks () from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
No symbol table info available.
# 6  0x00007fde910617bb in ?? () from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
No symbol table info available.
# 7  0x00007fde91061093 in Tcl_EvalEx () from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
No symbol table info available.
# 8  0x00007fde910622a5 in Tcl_Eval () from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
No symbol table info available.
# 9  0x00007fde910632c6 in Tcl_VarEvalVA () from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
No symbol table info available.
# 10 0x00007fde91063399 in Tcl_VarEval () from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
No symbol table info available.
# 11 0x0000000000439383 in trigger_bind (mask=0x7f9310 "MODE", param=0x7fde8ea19a59 " $_raw1 $_raw2 $_raw3", proc=0x7ff890 "*raw:irc:mode") at tclhash.c:739
    x = <optimized out>
    msg = 0x44fbfa "Tcl proc: %s, param: %s"
    buf = 0x8ec7e0 ""
# 12 check_tcl_bind (tl=0x7f8fe0, match=0x7ffc793fbe5b "MODE", atr=0x0, param=0x7fde8ea19a59 " $_raw1 $_raw2 $_raw3", match_type=161) at tclhash.c:873
    result = 0
    cnt = <optimized out>
    proc = <optimized out>
    mask = <optimized out>
    tm = 0x7f92e0
    tm_last = 0x7ff4c0
    tm_p = 0x7ff4c0
    tc = <optimized out>
    htc = 0x0
# 13 0x00007fde8ea10cda in check_tcl_raw (msg=0x7ffc793fbe60 "#XXL +b _!_@BGchat.html.chat", code=0x7ffc793fbe5b "MODE", from=0x7ffc793fbe41 "Alice!Alice@Resident.Evil") at .././server.mod/servmsg.c:180
No locals.
# 14 server_activity (idx=<optimized out>, msg=0x7ffc793fbe60 "#XXL +b _!_@BGchat.html.chat", len=<optimized out>) at .././server.mod/servmsg.c:1066
    from = 0x7ffc793fbe41 "Alice!Alice@Resident.Evil"
    code = 0x7ffc793fbe5b "MODE"
# 15 0x000000000042a5e7 in mainloop (toplevel=toplevel@entry=1) at ./main.c:812
    idx = <optimized out>
    socket_cleanup = 2
    xx = <optimized out>
    i = 60
    eggbusy = 1
    tclbusy = 0
    buf = ":Alice!Alice@Resident.Evil\000MODE\000#XXL +b *!*@BGchat.html.chat\000\000nned\000\000nel\000\000ash IRC Client\000\000 \345, \354, \372, \355, \345, \376, \361\000\000\356\357\350\370\340, \344\363\347\357\340, \356\357\350\370\340, \350\347\357\356\344, \340\363\344\350\356, \364\363\344\346\350, \350\347\347\340\344\000\000 \340\352\342\340\360\350\363\354, \361\363\360\342\340\352\340\360, \340\342\340\360\361\352\350\000\000y Scout +S"...
# 16 0x0000000000405642 in main (arg_c=<optimized out>, arg_v=<optimized out>) at ./main.c:1196
    i = <optimized out>
    xx = <optimized out>
    s = "Tue Mar 29 2016\000:01 2016"
    f = <optimized out>
    sv = {__sigaction_handler = {sa_handler = 0x429ce0 <got_alarm>, sa_sigaction = 0x429ce0 <got_alarm>}, sa_mask = {__val = {0 <repeats 16 times>}}, sa_flags = 0, sa_restorer = 0x7ffc793fc250}
    chan = <optimized out>
    cdlim = {rlim_cur = 18446744073709551615, rlim_max = 18446744073709551615}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions