Eggdev: [Bug 458] New: Segment Violation in __strtol_internal

bugzilla-daemon at bugzilla-daemon at
Sat Jan 6 19:22:04 CST 2007

           Summary: Segment Violation in __strtol_internal
           Product: Eggdrop 1.6
           Version: 1.6.18
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: core
        AssignedTo: eggdev at
        ReportedBy: DeKus at

Debug (eggdrop v1.6.18) written Sat Jan  6 10:08:09 2007
Full Patch List:
Tcl library: /usr/local/lib/tcl8.4
Tcl version: 8.4.13 (header version 8.4.13)
Compile flags: gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -march=athlon-xp
 -mfpmath=sse -DSTATIC
Link flags: gcc -pipe
Strip flags: touch
Context: tclhash.c/680, []
         tclhash.c/684, [Tcl proc: anti:lamer, param:  $_pubm1 $_pubm2 $_pubm3 $
_pubm4 $_pubm5]
         tclhash.c/695, []
         tclhash.c/680, []
         tclhash.c/684, [Tcl proc: rp_pubmsg, param:  $_pubm1 $_pubm2 $_pubm3 $_
pubm4 $_pubm5]
         tclhash.c/695, []
         tclhash.c/680, []
         tclhash.c/684, [Tcl proc: *pubm:stat, param:  $_pubm1 $_pubm2 $_pubm3 $
_pubm4 $_pubm5]
         tclhash.c/695, []
         tclhash.c/695, []
         tclhash.c/680, []

Backtrace: (Core file will be kept until I'll notice it be unncessarry in a few
months ^-^)
#0  0xb7db562a in __strtol_internal () from /lib/tls/
#1  0x0810da5d in do_miscstats (idx=5, channel=0x83263e0 "P¼,\b\020ç/\b\001")
    at stdlib.h:317
#2  0x081099a7 in send_livestats (idx=5, buf=0xbfee6031 "") at livestats.c:801
#3  0x08108794 in livestats_activity (idx=5, buf=0xbfee6033 "HTTP/1.1", len=27)
    at livestats.c:184
#4  0x0806e5fd in main (argc=2, argv=0xbfee62d4) at main.c:991

actual linking:
        /lib/ => /lib/ (0xb7fd8000) => /usr/local/lib/ (0xb7f2a000) => /lib/tls/ (0xb7f02000) => /lib/tls/ (0xb7eff000) => /lib/tls/ (0xb7eeb000) => /usr/lib/ (0xb7ed9000) => /lib/tls/ (0xb7ec7000) => /lib/tls/ (0xb7d92000)
        /lib/ => /lib/ (0xb7fdc000)

botnetop (v1.1), stats (v1.3), uptime (v1.2), encryption (v2.1), gseen (v1.1),
console (v1.1), notes (v2.1), compress (v1.1), share (v2.3), transfer (v2.3),
irc (v1.3), ctcp (v1.0), server (v1.2), channels (v1.0), dns (v1.0)

just slightly increased memtable size to 60k (for stats and gseen)

alltools.tcl, dekustools.tcl, egghttp2.tcl, action.fix.tcl, cmd_resolve.tcl,
repeat1.1.tcl, antilamer.tcl, sentinel.tcl, topiclock.tcl, wordkick.tcl,
banmanager.tcl, limit-v1.1.tcl, whois.tcl, autorejoin.tcl, help.phoenix.tcl,
SaveG-LineError.tcl, queryspam.tcl, random.tcl, nojoinandad.tcl, extrasaves.tcl,
extendednickflood.tcl, timezones.tcl

Linux 2.6.16-test-ovz (Debian, virtual Server)

I have no idea about the reasons. The channel was quiet, the bot online and last
log entry before the crash was 2 minutes ago and probably a connect to stats.mod:
[10:06:46] net: connect! sock 6
But since the module doesn't support connection keep alive, I wonder what it did
in that time. I didn't have that problem with my 1.7.0 compiling with an older
TCL. Strangely a bot running with the same binary on the same shell hasn't
crashed yet and this one did the 2nd time (I wonder if I forgot to post the
other, or if it was deleted). Crash cannot be reproduced by requesting the
casual misc stats.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the Eggdev mailing list