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

	<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-03-15T11:48:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Zer0Dvide]]></name></author>
		<updated>2005-03-15T11:48:05-04:00</updated>

		<published>2005-03-15T11:48:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47700#p47700</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47700#p47700"/>
		<title type="html"><![CDATA[Keep getting segment violation]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47700#p47700"><![CDATA[
i would like to thank you all for your help. i found the problem to be a faulty megahal module. it broke somehow and caused the entire bot to halt. the thing that confused me was the fact that it kept giving different error msgs and since i am not a programmar, i didn't understand what was going on.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6074">Zer0Dvide</a> — Tue Mar 15, 2005 11:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-03-15T11:23:32-04:00</updated>

		<published>2005-03-15T11:23:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47698#p47698</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47698#p47698"/>
		<title type="html"><![CDATA[Keep getting segment violation]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47698#p47698"><![CDATA[
To me it looks like it's crashing when trying to interpet one of the tcl scripts.<br>Try removing all of them, and then readd them one by one, to find the one causing the problems.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Tue Mar 15, 2005 11:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zer0Dvide]]></name></author>
		<updated>2005-03-15T06:19:59-04:00</updated>

		<published>2005-03-15T06:19:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47688#p47688</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47688#p47688"/>
		<title type="html"><![CDATA[Keep getting segment violation]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47688#p47688"><![CDATA[
I also got this output when i disabled the stats and the gseen module:<br><br>Eggdrop v1.6.17 (C) 1997 Robey Pointer (C) 2004 Eggheads<br>[07:08] --- Loading eggdrop v1.6.17 (Tue Mar 15 2005)<br>[07:08] Listening at telnet port 33333 (all).<br>[07:08] Module loaded: dns<br>[07:08] Module loaded: channels<br>[07:08] Module loaded: server<br>[07:08] Module loaded: ctcp<br>[07:08] Module loaded: irc<br>[07:08] Module loaded: transfer         (with lang support)<br>[07:08] Module loaded: share<br>[07:08] Module loaded: compress<br>[07:08] Module loaded: filesys          (with lang support)<br>[07:08] Module loaded: notes            (with lang support)<br>[07:08] Module loaded: console          (with lang support)<br>[07:08] Module loaded: blowfish<br>[07:08] Module loaded: assoc            (with lang support)<br>[07:08] * Last context: tclhash.c/238 []<br>[07:08] * Please REPORT this BUG!<br>[07:08] * Check doc/BUG-REPORT on how to do so.<br>[07:08] * Wrote DEBUG<br>[07:08] * SEGMENT VIOLATION -- CRASHING!<br><br>As you can see, it is a different segfault altogether. this time it's in tclhash.c/238. check the DEBUG file reveals:<br><br>Debug (eggdrop v1.6.17) written Tue Mar 15 07:10:01 2005<br>Full Patch List:<br>Tcl library: /usr/lib/tcl8.4<br>Tcl version: 8.4.6 (header version 8.4.6)<br>Compile flags: gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H<br>Link flags: gcc -pipe<br>Strip flags: touch<br>Context: main.c/731, []<br>         main.c/731, []<br>         main.c/731, []<br>         main.c/731, []<br>         main.c/731, []<br>         main.c/731, []<br>         main.c/731, []<br>         main.c/731, []<br>         main.c/731, []<br>         main.c/731, []<br>         main.c/731, []<br>         main.c/731, []<br>         main.c/731, []<br>         main.c/731, []<br>         tclhash.c/216, []<br>         tclhash.c/238 []<br><br>SOCK ADDR     PORT  NICK      HOST              TYPE<br>---- -------- ----- --------- ----------------- ----<br>3    C0A80102 33333 (telnet)  *                 lstn  33333<br>4    00000000     0 (dns)                       dns   (ready)<br><br>Compiled without extensive memory debugging (sorry).<br>Open sockets: 3 (listen), 4 (passed on), 7 (file), done.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6074">Zer0Dvide</a> — Tue Mar 15, 2005 6:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zer0Dvide]]></name></author>
		<updated>2005-03-15T06:12:03-04:00</updated>

		<published>2005-03-15T06:12:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47687#p47687</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47687#p47687"/>
		<title type="html"><![CDATA[Keep getting segment violation]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47687#p47687"><![CDATA[
I have to say that neither the stats nor the gseen module are the problem for that matter because i have disabled both modules in the conf file and the bot still won't start. i've recompiled many times and that didn't solve anything either. i just have the feeling that a component of the linux box is broken somehow. can someone tell me which system libs the bot uses, which system utilities and which tcl version, which components tcl relies on etc. i've been trying different stuff since last night and i honestly can't make sense of it any more.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6074">Zer0Dvide</a> — Tue Mar 15, 2005 6:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2005-03-15T02:15:27-04:00</updated>

		<published>2005-03-15T02:15:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47678#p47678</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47678#p47678"/>
		<title type="html"><![CDATA[Keep getting segment violation]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47678#p47678"><![CDATA[
Installation Instructions for gseen/stats.mod:<br>Put gseen.mod.1.1.0.tar.gz in ~/eggdrop1.6.17/src/mod/,<br>and unpack it (tar xfz gseen.mod.1.1.1.tar.gz). Change directory<br>back to ~/eggdrop1.6.17/.<br>Now just do what you've done when you compiled your bot:<br>"./configure"<br>"make config" (you can skip this command on eggdrop 1.4)<br>"make"<br>"make install"<br>don't forget to edit gseen.conf completely, and copy all the language files!<br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"> happy seen'ing<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Tue Mar 15, 2005 2:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-03-15T01:15:06-04:00</updated>

		<published>2005-03-15T01:15:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47677#p47677</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47677#p47677"/>
		<title type="html"><![CDATA[Keep getting segment violation]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47677#p47677"><![CDATA[
recompile eggdrop<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Tue Mar 15, 2005 1:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zer0Dvide]]></name></author>
		<updated>2005-03-15T00:29:38-04:00</updated>

		<published>2005-03-15T00:29:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47676#p47676</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47676#p47676"/>
		<title type="html"><![CDATA[Keep getting segment violation]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47676#p47676"><![CDATA[
Hi there,<br><br>I keep getting this segment violation and i have the feeling i broke something. I am running Slackware Linux and i was trying to upgrade TCL to version 8.4.6 using the package management system.  When i went into the bot and tried to load a module, the bot crashed. An attempt to restart the bot failed with this as the result:<br><br>[00:59] Now listening for livestats connections on port 8033<br>[00:59] * Last context: stats:tclstats.c/66 []<br>[00:59] * Please REPORT this BUG!<br>[00:59] * Check doc/BUG-REPORT on how to do so.<br>[00:59] * Wrote DEBUG<br>[00:59] * SEGMENT VIOLATION -- CRASHING!<br><br>I tried disabling the stats module, but that only lead to something else crashing the bot, this was the result of disabling the stats mod:<br><br>[01:23] Module loaded: gseen<br>[01:23] Loading language "nl" from language/gseen.nl.lang...<br>[01:23] * Last context: gseen:tclcmds.c/33 []<br>[01:23] * Please REPORT this BUG!<br>[01:23] * Check doc/BUG-REPORT on how to do so.<br>[01:23] * Wrote DEBUG<br>[01:23] * SEGMENT VIOLATION -- CRASHING!<br><br>So that didn't work.  I took a look at the DEBUG file and this is what i came across:<br><br>Debug (eggdrop v1.6.17) written Tue Mar 15 01:00:01 2005<br>Full Patch List:<br>Tcl library: /usr/lib/tcl8.4<br>Tcl version: 8.4.6 (header version 8.4.6)<br>Compile flags: gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H<br>Link flags: gcc -pipe<br>Strip flags: touch<br>Context: stats:slang.c/264, []<br>         stats:slang.c/526, []<br>         stats:slang.c/264, []<br>         stats:slang.c/526, []<br>         stats:slang.c/264, []<br>         stats:slang.c/526, []<br>         stats:slang.c/264, []<br>         stats:slang.c/526, []<br>         stats:slang.c/264, []<br>         stats:slang.c/526, []<br>         stats:slang.c/264, []<br>         stats:slang.c/526, []<br>         stats:slang.c/264, []<br>         stats:slang.c/526, []<br>         stats:slang.c/255, []<br>         stats:tclstats.c/66 []<br><br>SOCK ADDR     PORT  NICK      HOST              TYPE<br>---- -------- ----- --------- ----------------- ----<br>3    C0A80102 33333 (telnet)  *                 lstn  33333<br>4    00000000     0 (dns)                       dns   (ready)<br>5    DEADF00D  8033 livestats *                 lstn port<br><br>Compiled without extensive memory debugging (sorry).<br>Open sockets: 3 (listen), 4 (passed on), 5 (listen), 8 (file), done.<br><br>Does this make sense to anyone out there? i am completely stupified.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6074">Zer0Dvide</a> — Tue Mar 15, 2005 12:29 am</p><hr />
]]></content>
	</entry>
	</feed>
