<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/19137" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2012-10-19T13:19:57-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/19137</id>

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2012-10-19T13:19:57-04:00</updated>

		<published>2012-10-19T13:19:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100153#p100153</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100153#p100153"/>
		<title type="html"><![CDATA[SEGMENT VIOLATION -- CRASHING!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100153#p100153"><![CDATA[
Unfortunately, this post contains no information relevant for tracking down the issue.<br>Please follow the instructions in the error message for a proper bug report (aka read doc/BUG-REPORT).<br><br>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...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri Oct 19, 2012 1:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[seiko]]></name></author>
		<updated>2012-10-19T07:49:08-04:00</updated>

		<published>2012-10-19T07:49:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100151#p100151</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100151#p100151"/>
		<title type="html"><![CDATA[SEGMENT VIOLATION -- CRASHING!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100151#p100151"><![CDATA[
Everything work well until<div class="codebox"><p>Code: </p><pre><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.</code></pre></div>And this is the code<div class="codebox"><p>Code: </p><pre><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;}</code></pre></div>Why is this happening?<br>Solutions tried: <br>1. <a href="http://cvs.eggheads.org/viewvc/eggdrop1.8/src/tclhash.c?r1=1.3.2.3&amp;r2=1.3.2.4&amp;diff_format=l" class="postlink">http://cvs.eggheads.org/viewvc/eggdrop1 ... f_format=l</a><br>2. export MALLOC_CHECK_=4<br><br>But none did not solved my problem. <br>To point that is happening more frequently when more people play trivia.<br><br>And i just love this bot and trivia. Awesome work!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12057">seiko</a> — Fri Oct 19, 2012 7:49 am</p><hr />
]]></content>
	</entry>
	</feed>
