<?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/10080" />

	<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>2005-08-17T05:34:12-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Galadhrim]]></name></author>
		<updated>2005-08-17T05:34:12-04:00</updated>

		<published>2005-08-17T05:34:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54378#p54378</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54378#p54378"/>
		<title type="html"><![CDATA[bot went bezerk after a stoned server msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54378#p54378"><![CDATA[
Thanks, it found some errors in TLS and TCL.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"> So far none in my module. But will test it more, it might just be a small annoying bug.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2999">Galadhrim</a> — Wed Aug 17, 2005 5:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2005-08-14T23:23:07-04:00</updated>

		<published>2005-08-14T23:23:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54264#p54264</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54264#p54264"/>
		<title type="html"><![CDATA[bot went bezerk after a stoned server msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54264#p54264"><![CDATA[
I am guessing this is a problem with your module. If it is something you wrote and you want some insight on where the problem is in the module, try installing valgrind (google) and run the bot with ./valgrind ./eggdrop eggdrop.conf. valgrid will spit memory errors it finds out to the console (it can also log to a file).<br><br>Hope this helps,<br>Will<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Sun Aug 14, 2005 11:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Galadhrim]]></name></author>
		<updated>2005-08-03T16:05:01-04:00</updated>

		<published>2005-08-03T16:05:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53685#p53685</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53685#p53685"/>
		<title type="html"><![CDATA[bot went bezerk after a stoned server msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53685#p53685"><![CDATA[
well that was a short try. it wont join irc when i compile without threads. waited 10 mins. tried 3 times. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_neutral.gif" width="15" height="15" alt=":|" title="Neutral"><br><br>Can't make a static compile as I'm including mysql header and lib files.<br><br>We'll have to continue with blinds on then. <br><br>tnx anyway.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2999">Galadhrim</a> — Wed Aug 03, 2005 4:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Galadhrim]]></name></author>
		<updated>2005-08-03T15:53:28-04:00</updated>

		<published>2005-08-03T15:53:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53684#p53684</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53684#p53684"/>
		<title type="html"><![CDATA[bot went bezerk after a stoned server msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53684#p53684"><![CDATA[
I know how to code things <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>Will try no threads and static debug. As normal debug only provides debug stuff for eggdrop core and not modules. That is as far as the previous debugging messages showed me...<br><br>Thanks for the hints.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2999">Galadhrim</a> — Wed Aug 03, 2005 3:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-08-01T13:50:40-04:00</updated>

		<published>2005-08-01T13:50:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53607#p53607</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53607#p53607"/>
		<title type="html"><![CDATA[bot went bezerk after a stoned server msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53607#p53607"><![CDATA[
it is your responsibility to deal with NULL pointers passed to your code - you could complain only if the pointer passed to you is not NULL but points to invalid/corrupt data<br><br>give a Tcl lib w/o threads a try anyway - compile from source<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Aug 01, 2005 1:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Galadhrim]]></name></author>
		<updated>2005-08-01T11:32:47-04:00</updated>

		<published>2005-08-01T11:32:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53602#p53602</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53602#p53602"/>
		<title type="html"><![CDATA[bot went bezerk after a stoned server msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53602#p53602"><![CDATA[
Linux 2.6.12.3 // Debian 3.0 Testing.<br><br>I didn't compile anything. I just use the apt-get tool to install software that Debian packaged for me.<br><br>And the silly thing is. The eggdrop boots perfectly once in a while so i'm guessing that thanks to the add_hook the function that checks the topic of a channel crashes because the channel isnt joined yet when the bot crashes. Could make some sort of failsafe for that but it shouldnt make the bot crash just cause it cant return a channel struct should it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2999">Galadhrim</a> — Mon Aug 01, 2005 11:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-31T16:13:20-04:00</updated>

		<published>2005-07-31T16:13:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53576#p53576</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53576#p53576"/>
		<title type="html"><![CDATA[bot went bezerk after a stoned server msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53576#p53576"><![CDATA[
/lib/tls? what's your OS?<br><br>recompile Tcl without thread support<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Jul 31, 2005 4:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Galadhrim]]></name></author>
		<updated>2005-07-31T16:04:56-04:00</updated>

		<published>2005-07-31T16:04:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53575#p53575</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53575#p53575"/>
		<title type="html"><![CDATA[bot went bezerk after a stoned server msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53575#p53575"><![CDATA[
and today a different error. I'm thinking this is my module but i havent changed it in months...<br><div class="codebox"><p>Code: </p><pre><code>Reading symbols from /usr/lib/libtcl8.4.so.0...done.Loaded symbols for /usr/lib/libtcl8.4.so.0Reading symbols from /lib/tls/i686/cmov/libm.so.6...done.Loaded symbols for /lib/tls/i686/cmov/libm.so.6Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...done.Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done.Loaded symbols for /lib/tls/i686/cmov/libdl.so.2Reading symbols from /lib/tls/i686/cmov/libnsl.so.1...done.Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1Reading symbols from /lib/tls/i686/cmov/libc.so.6...done.Loaded symbols for /lib/tls/i686/cmov/libc.so.6Reading symbols from /lib/ld-linux.so.2...done.Loaded symbols for /lib/ld-linux.so.2Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...done.Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2Reading symbols from /home/ukr/irc/eggdrop-galadriel/blowfish.so...done.Loaded symbols for /home/ukr/irc/eggdrop-galadriel/modules/blowfish.soReading symbols from /home/ukr/irc/eggdrop-galadriel/dns.so...done.Loaded symbols for /home/ukr/irc/eggdrop-galadriel/modules/dns.soReading symbols from /lib/tls/i686/cmov/libresolv.so.2...done.Loaded symbols for /lib/tls/i686/cmov/libresolv.so.2Reading symbols from /home/ukr/irc/eggdrop-galadriel/channels.so...done.Loaded symbols for /home/ukr/irc/eggdrop-galadriel/modules/channels.soReading symbols from /home/ukr/irc/eggdrop-galadriel/server.so...done.Loaded symbols for /home/ukr/irc/eggdrop-galadriel/modules/server.soReading symbols from /home/ukr/irc/eggdrop-galadriel/ctcp.so...done.Loaded symbols for /home/ukr/irc/eggdrop-galadriel/modules/ctcp.soReading symbols from /home/ukr/irc/eggdrop-galadriel/irc.so...done.Loaded symbols for /home/ukr/irc/eggdrop-galadriel/modules/irc.soReading symbols from /home/ukr/irc/eggdrop-galadriel/console.so...done.Loaded symbols for /home/ukr/irc/eggdrop-galadriel/modules/console.soReading symbols from /home/ukr/irc/eggdrop-galadriel/warmanager.so...done.Loaded symbols for /home/ukr/irc/eggdrop-galadriel/modules/warmanager.soReading symbols from /usr/lib/libmysqlclient.so.12...done.Loaded symbols for /usr/lib/libmysqlclient.so.12Reading symbols from /usr/lib/libz.so.1...done.Loaded symbols for /usr/lib/libz.so.1Reading symbols from /lib/tls/i686/cmov/libcrypt.so.1...done.Loaded symbols for /lib/tls/i686/cmov/libcrypt.so.1#0  0xffffe410 in __kernel_vsyscall ()</code></pre></div>The backtrace:<div class="codebox"><p>Code: </p><pre><code>(gdb) backtrace#0  0xffffe410 in __kernel_vsyscall ()#1  0xb7dce751 in select () from /lib/tls/i686/cmov/libc.so.6#2  0xb7f11ec9 in Tcl_WaitForEvent () from /usr/lib/libtcl8.4.so.0#3  0xb7e4dca3 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0#4  0xb7dd4f5a in clone () from /lib/tls/i686/cmov/libc.so.6</code></pre></div>Anyone? I'm confused as to why it would say it crashed on a select function... It already joined 2 channels so where could it be crashing...<br>Could it have anything to do with an add_hook that is added at starttime for a channel that isnt joined before the bot crash?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2999">Galadhrim</a> — Sun Jul 31, 2005 4:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Galadhrim]]></name></author>
		<updated>2005-07-30T11:40:49-04:00</updated>

		<published>2005-07-30T11:40:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53537#p53537</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53537#p53537"/>
		<title type="html"><![CDATA[bot went bezerk after a stoned server msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53537#p53537"><![CDATA[
Same deal again! This time it crashed right after the "WaitForTCL..." command at "clone". I cleaned it, installed a new kernel (2.6.12.3) and tried again. It works now. I will try to remember to post a full bug report here if it happens again. I have a feeling it was a kernel bug tho...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2999">Galadhrim</a> — Sat Jul 30, 2005 11:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Galadhrim]]></name></author>
		<updated>2005-07-19T17:06:59-04:00</updated>

		<published>2005-07-19T17:06:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52890#p52890</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52890#p52890"/>
		<title type="html"><![CDATA[bot went bezerk after a stoned server msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52890#p52890"><![CDATA[
I already removed all the cores and started from scratch. It's all good now.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2999">Galadhrim</a> — Tue Jul 19, 2005 5:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-19T12:04:17-04:00</updated>

		<published>2005-07-19T12:04:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52868#p52868</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52868#p52868"/>
		<title type="html"><![CDATA[bot went bezerk after a stoned server msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52868#p52868"><![CDATA[
I'd guess your module somehow corrupts some global mem struct in nonobvious way, resulting in crash on a particular set of circumstances - a nasty bug, but it happens<br><br>proceed as usual, gdb the core, post a backtrace<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Tue Jul 19, 2005 12:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Galadhrim]]></name></author>
		<updated>2005-07-19T09:20:41-04:00</updated>

		<published>2005-07-19T09:20:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52855#p52855</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52855#p52855"/>
		<title type="html"><![CDATA[bot went bezerk after a stoned server msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52855#p52855"><![CDATA[
right i just got a clean set of files from eggheads and my module and its working now. just wondering how a bot just cant stay live out of nothing<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2999">Galadhrim</a> — Tue Jul 19, 2005 9:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Galadhrim]]></name></author>
		<updated>2005-07-19T09:00:30-04:00</updated>

		<published>2005-07-19T09:00:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52854#p52854</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52854#p52854"/>
		<title type="html"><![CDATA[bot went bezerk after a stoned server msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52854#p52854"><![CDATA[
I've had alot of sudden crashes and reboots with eggdrop in the past but this top it all.<br><br>I woke up and found that the bot has been rebooting from 4am till 11am every 5 mins. (which is my eggdrop boot script). I haven't changed a thing in my server setup in months except for the mysql server. Which I changed sunday and the errors came up today (tuesday). The everything worked like a charm then so I have no idea why it just started off like this.<br><br>The bot seems to have problems getting mysql results but I made the module myself and has been running for months without reboots.<br><br>The core file says:<div class="codebox"><p>Code: </p><pre><code>Loaded symbols for /home/ukr/irc/eggdrop1.6.17/modules/warmanager.soReading symbols from /usr/lib/libmysqlclient.so.12...done.Loaded symbols for /usr/lib/libmysqlclient.so.12Reading symbols from /usr/lib/libz.so.1...done.Loaded symbols for /usr/lib/libz.so.1Reading symbols from /lib/tls/i686/cmov/libcrypt.so.1...done.Loaded symbols for /lib/tls/i686/cmov/libcrypt.so.1Reading symbols from /home/ukr/irc/eggdrop1.6.17/blowfish.so...done.Loaded symbols for /home/ukr/irc/eggdrop1.6.17/modules/blowfish.so#0  0xffffe410 in __kernel_vsyscall ()</code></pre></div>And the log entry I found before it started to reboot constantly is:<div class="codebox"><p>Code: </p><pre><code>[04:05] Server got stoned; going for munchies...[04:05] Trying server freddyshouse.uk.quakenet.org:6668[04:05] Connected to freddyshouse.uk.quakenet.org</code></pre></div>I've tried to boot the bot without any scripts or module and that works fine. Then I tried to add my module and it just crashes in the first minute.<br><br>I downgraded the mysql server from 4.1 to 4.0 together with all related stuff and recompile the bot like 100 times and rebooted it but without any result. The core dumps always point to the blowfish .so so I can't see what is wrong.<br><br>Could the stoned message do andything that would influence the bot in later boots?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2999">Galadhrim</a> — Tue Jul 19, 2005 9:00 am</p><hr />
]]></content>
	</entry>
	</feed>
