| View previous topic :: View next topic |
| Author |
Message |
seiko Voice
Joined: 14 Aug 2012 Posts: 14
|
Posted: Fri Oct 19, 2012 7:49 am Post subject: SEGMENT VIOLATION -- CRASHING! |
|
|
Everything work well until
| Code: |
[14:23:02] * Last context: tclhash.c/721 []
[14:23:02] * Please REPORT this BUG!
[14:23:02] * Check doc/BUG-REPORT on how to do so.
[14:23:02] * Wrote DEBUG
[14:23:02] * SEGMENT VIOLATION -- CRASHING!
Connection closed by foreign host.
|
And this is the code
| Code: |
/* Set the lastbind variable before evaluating the proc so that the name
* of the command that triggered the bind will be available to the proc.
* This feature is used by scripts such as userinfo.tcl
*/
Tcl_SetVar(interp, "lastbind", (char *) mask, TCL_GLOBAL_ONLY);
x = Tcl_VarEval(interp, proc, param, NULL);
Context; //721!
if (x == TCL_ERROR) {
/* FIXME: we really should be able to log longer errors */
putlog(LOG_MISC, "*", "Tcl error [%s]: %.*s", proc, 400, tcl_resultstring());
return BIND_EXECUTED;
}
|
Why is this happening?
Solutions tried:
1. http://cvs.eggheads.org/viewvc/eggdrop1.8/src/tclhash.c?r1=1.3.2.3&r2=1.3.2.4&diff_format=l
2. export MALLOC_CHECK_=4
But none did not solved my problem.
To point that is happening more frequently when more people play trivia.
And i just love this bot and trivia. Awesome work! |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri Oct 19, 2012 1:19 pm Post subject: |
|
|
Unfortunately, this post contains no information relevant for tracking down the issue.
Please follow the instructions in the error message for a proper bug report (aka read doc/BUG-REPORT).
As for the tclhash.c/721 context; that just means this was the last Context; marker reached before the crash. Most likely, the bug is NOT related to trigger_bind, but that context is merely reported since various bindings are triggered rather often... _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
|
|
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
|
|