egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Crash on .status

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Luminous
Op


Joined: 12 Feb 2010
Posts: 146

PostPosted: Thu Jul 08, 2010 1:26 pm    Post subject: Crash on .status Reply with quote

Any idea what could cause this? i have a hunch that it is the ssl+thread support patch, as the last bot I compiled did not have the patch or this issue:
Quote:

#me# status
* Last context: tclhash.c/684 [Tcl proc: *dcc:status, param: $_dcc1 $_dcc2 $_dcc3]
* Please REPORT this BUG!
* Check doc/BUG-REPORT on how to do so.
* Wrote DEBUG
* SEGMENT VIOLATION -- CRASHING!

And yeah, I will report it...
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Jul 13, 2010 10:14 am    Post subject: Reply with quote

Unfortunately, this limited information doesn't shed much light on the issue/bug. There are a few IPv6-patches out there with known bugs causing segment violations, though most ssl-patches are "clean".

The content of the DEBUG file as well as a complete backtrace (see BUG-REPORT for further details) might help pinning down the issue.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Luminous
Op


Joined: 12 Feb 2010
Posts: 146

PostPosted: Wed Jul 14, 2010 11:12 am    Post subject: Reply with quote

I didn't see the DEBUG file before, its below. What do you mean by "complete backtrace"? I looked in BUG-REPORT and its just a guideline for bug reports, but I don't see anything about that.
Quote:

debug (eggdrop v1.6.19+ctcpfix) written Thu Jul 8 12:57:43 2010
Full Patch List: SSL ctcpfix
Tcl library: /usr/share/tcltk/tcl8.5
Tcl version: 8.5.8 (header version 8.5.Cool
Tcl is threaded
Compile flags: gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H
Link flags: gcc -pipe
Strip flags: touch
Context: tclhash.c/684, [Tcl proc: *raw:PRIVMSG, param: $_raw1 $_raw2 $_raw3]
tclhash.c/695, []
tclhash.c/680, []
tclhash.c/684, [Tcl proc: *raw:irc:msg, param: $_raw1 $_raw2 $_raw3]
tclhash.c/695, []
tclhash.c/680, []
tclhash.c/684, [Tcl proc: *raw:PRIVMSG, param: $_raw1 $_raw2 $_raw3]
tclhash.c/695, []
tclhash.c/680, []
tclhash.c/684, [Tcl proc: *dcc:console, param: $_dcc1 $_dcc2 $_dcc3]
tclhash.c/695, []
tclhash.c/680, []
tclhash.c/684, [Tcl proc: *dcc:console, param: $_dcc1 $_dcc2 $_dcc3]
tclhash.c/695, []
tclhash.c/680, []
tclhash.c/684 [Tcl proc: *dcc:status, param: $_dcc1 $_dcc2 $_dcc3]

SOCK ADDR PORT NICK HOST TYPE
---- -------- ----- --------- ----------------- ----
7 D049D96B 64955 (telnet) * lstn 64955
8 D8A5BF34 6667 (server) irc.freenode.net serv (lag: 0)
10 CFC0476B 54425 Nebulae bnc1.shellium.org chat flags: cpTEp/0
26 47FFB591 54001 jack .east.verizon.net chat flags: cPtep/0

Compiled without extensive memory debugging (sorry).
Open sockets: 7 (listen), 8, 10, 26, 9 (file), done.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Jul 15, 2010 12:17 pm    Post subject: Reply with quote

Quote:
4.8 ) If the bot dumped a 'core' file when it crashed, it would be *very* useful if you could paste gdb's output during the following steps:
First call gdb
Code:
$ gdb eggdrop -c core

and then enter 'bt' on gdb's command line:
Code:
(gdb) bt

Keep your core file for at least one week, so that the dev team can ask for further information if needed. However, don't send us the core file unless we ask for it.

NOTE: If this is a bug you can reproduce, please compile with make debug and follow the above step. It can greatly help find and fix the bug.


I suppose I should've mentioned that "bt" is an acronym for "backtrace". Sorry for that.

If your system has disabled "coredumping" by default, try this before starting your eggdrop:
Code:
ulimit -c 10000

The syntax for ulimit may vary with different shells and systems, "if in doubt - check the manpages".
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber