This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

1.6.13 - segmentation fault

Old posts that have not been replied to for several years.
Locked
F
Fukiku

1.6.13 - segmentation fault

Post by Fukiku »

i'm trying to run an eggdrop 1.6.13 on a debian box with 2.4.18 kernel and tcl 8.4.0.. but it won't start..

it only does this..

Code: Select all

[22:19] --- Loading eggdrop v1.6.13 (Thu Jan  9 2003)
[22:19] Listening at telnet port 3334 (all)
[22:19] MSG210
[22:19] MSG210
[22:19] MSG210
[22:19] MSG210
[22:19] MSG210
[22:19] LANG: No lang files found for section transfer.
[22:19] MSG20F
[22:19] LANG: No lang files found for section filesys.
[22:19] MSG20F
[22:19] LANG: No lang files found for section notes.
[22:19] MSG20F
[22:19] LANG: No lang files found for section console.
[22:19] MSG20F
[22:19] MSG210
[22:19] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[22:19] use '.help userinfo' for commands.
[22:19] bseen1.4.2c:  -- Bass's SEEN loaded --
[22:19]      Loading seen database...
[22:19]      Done loading 4000 seen records.
[22:19] Nick Identify Script Has Been Loaded make by Blue ... Repaired By Xenoge
ar
[22:19]  -=[ chilla's IMDB info version 20030014 loaded ]=- lastupdate 22-08-02
[22:19] Discworld Quotes 1.0 by Dibbler loaded ...
[22:19] NotePod: loading scripts/notepod_config.tcl
[22:19] NotePod: sorting
[22:19] NotePod 3.03 by Amadeus loaded. Primary:0 Target: RuunSerw
[22:19] * Last context: tclhash.c/240 []
[22:19] * Please REPORT this BUG!
[22:19] * Check doc/BUG-REPORT on how to do so.
[22:19] * Wrote DEBUG
[22:19] * SEGMENT VIOLATION -- CRASHING!
Segmentation fault
RuunSerw@urg:~/ruunbot$
i'll paste the DEBUG file also..

Code: Select all

Debug (eggdrop v1.6.13) written Thu Jan  9 22:19:05 2003
Full Patch List:
Tcl library: /usr/lib/tcl8.4
Tcl version: 8.4.0 (header version 8.4.0)
Compile flags: gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H
Link flags: gcc -pipe
Strip flags: strip
Context: main.c/712, []
         main.c/712, []
         main.c/712, []
         main.c/712, []
         main.c/712, []
         main.c/712, []
         main.c/712, []
         main.c/712, []
         main.c/712, []
         main.c/712, []
         main.c/712, []
         main.c/712, []
         main.c/712, []
         main.c/712, []
         tclhash.c/218, []
         tclhash.c/240 []

SOCK ADDR     PORT  NICK      HOST              TYPE
---- -------- ----- --------- ----------------- ----
3    C0A80001  3334 (telnet)  *                 lstn  3334
4    00000000     0 (dns)                       dns   (ready)

Compiled without extensive memory debugging (sorry).
Open sockets: 3 (listen), 4 (passed on), 6 (file), done.
i looked through the forums here.. but noone seemed to have this kind of problem.. and i'm not an expert when dealing with eggdrops.. so i hoped that maybe someone can help me here to get it running..

btw.. 1.6.10 installed from .deb runs perfect on the same box.. but there is no newer version available as a .deb
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

First thing to check, have you done upto and including
./configure
make inconfig or make config
make make install
Have you tried unloading some of teh Tcl script, to see which one is causing the error.
F
Fukiku

Post by Fukiku »

well.. i commented all tcl loading lines from the config.. now it just skips the script loading messages and still crashes..

oh.. and i forgot to mention.. at first it said something about uptime.c instead of tclhash.c as it says now.. so i thought it was a bug in the uptime module and recompiled the whole bot without uptime module and also took the loadmodule line out of the config for the uptime module..
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

The only serious thing I can sugest, is to compile Tcl again, then compile eggdrop to use this new version.

Other than that, you could refer your issue to the eggheads, by following the BUG-REPORT document, or step 9 in genral on this page
P
Photon
Op
Posts: 170
Joined: Wed Aug 28, 2002 8:00 am
Location: Liverpool, England

Post by Photon »

Ok ... I run this eggy on debian no probs, so I reckon its something you've done :) (IMHO)

Looking through the code, the next thing that happens is the tcl subsytem gets set up, but as far as I can tell, the langauge ALSO gets set up before the next Context() call (which would show up as last context and in your debug file)

Do me a favour and either copy the language directory to the same dir you run the eggy from or symlink it there - make sure you arent getting any language complaints and then see if it still crashes.... (also because I cant be arsed to trace every single other message number through the system)
Locked