Eggdev: [Bug 459] New: Segment violation after "msg" bind

bugzilla-daemon at tsss.org bugzilla-daemon at tsss.org
Sun Jan 28 04:29:16 CST 2007


http://www.eggheads.org/bugzilla/show_bug.cgi?id=459

           Summary: Segment violation after "msg" bind
           Product: Eggdrop 1.6
           Version: 1.6.18
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: core
        AssignedTo: eggdev at eggheads.org
        ReportedBy: chpock at gmail.com


Environment:
Linux 2.6.19
TCL 8.5a4
Eggdrop 1.6.18
(not reproduce: tcl8.4.12/eggdrop1.6.17, tcl8.4.11/eggdrop1.6.18)

loaded script: http://chpock.anarxi.st/bug.tcl.bz2, no any other scripts.
after start bot, partyline log:
--------
<hbot> *** Chpock joined the party line.
[msg(hbot)] xxx
<hbot> [11:55] 1
<Chpock> .xxx
<hbot> [11:55] * Last context: tclhash.c/684 [Tcl proc: _dbug, param:  $_dcc1 
$_dcc2 $_dcc3]
<hbot> [11:55] * Please REPORT this BUG!
<hbot> [11:55] * Check doc/BUG-REPORT on how to do so.
<hbot> [11:55] * Wrote DEBUG
<hbot> [11:55] * SEGMENT VIOLATION -- CRASHING!
--------

DEBUG file:
--------
Debug (eggdrop v1.6.18) written Sun Jan 28 11:55:40 2007
Full Patch List: 
Tcl library: /usr/local/lib/tcl8.5
Tcl version: 8.5a4 (header version 8.5a4)
Compile flags: gcc -pipe -g -Wall -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H  
Link flags: gcc -pipe
Strip flags: touch
Context: tclhash.c/684, [Tcl proc: <null>, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/695, []
         tclhash.c/680, []
         tclhash.c/684, [Tcl proc: *raw:irc:352, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/695, []
         tclhash.c/680, []
         tclhash.c/684, [Tcl proc: <null>, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/695, []
         tclhash.c/680, []
         tclhash.c/684, [Tcl proc: *raw:irc:315, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/695, []
         tclhash.c/680, []
         tclhash.c/684, [Tcl proc: <null>, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/695, []
         tclhash.c/680, []
         tclhash.c/684 [Tcl proc: _dbug, param:  $_dcc1 $_dcc2 $_dcc3]

SOCK ADDR     PORT  NICK      HOST              TYPE
---- -------- ----- --------- ----------------- ----
5    0A000001 33333 (telnet)  *                 lstn  33333
6    00000000     0 (dns)                       dns   (ready)
7    52CF4F85 28100 veni      82.207.79.133     bot   flags: pucosgwliA
9    7F000001  6667 (server)  127.0.0.1         serv  (lag: 0)
10   7F000001  3763 Chpock    lhost.localdomain chat  flags: cPtEp/0

Compiled without extensive memory debugging (sorry).
Open sockets: 5 (listen), 6 (passed on), 7, 9, 10, 11 (file), done.
--------

--------
$ gdb /usr/bin/eggdrop -c core.1019
Failed to read a valid object file image from memory.
Core was generated by `eggdrop ./hbot.conf -n'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7faf410 in ?? ()
(gdb) bt
#0  0xb7faf410 in ?? ()
#1  0xb7cf8478 in ?? ()
#2  0xb7cf8358 in ?? ()
#3  0xb7cf83d8 in ?? ()
#4  0xb7e07321 in select () from /lib/tls/i686/cmov/libc.so.6
#5  0xb7f7db5e in Tcl_WaitForEvent () from /usr/local/lib/libtcl8.5.so
#6  0xb7d33504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb7e0e51e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb) quit
--------

My comment: Very possible that is only tcl-related bug. I try make bug-script 
as small as possible, and I confused by that if to clean some comments from 
script - bug is not reproduce.



------- 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