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

	<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>2009-09-28T19:12:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[pzYsTorM]]></name></author>
		<updated>2009-09-28T19:12:38-04:00</updated>

		<published>2009-09-28T19:12:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90389#p90389</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90389#p90389"/>
		<title type="html"><![CDATA[eggdrop segfaults when connecting to ssl server on AMD64]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90389#p90389"><![CDATA[
Arrrrr....<br><br><br>just patch the eggdrop with<br><a href="http://www.egghelp.org/files/patches/eggdrop-1.6.19-ssl_and_md5_and_thread-durex.patch.gz" class="postlink">http://www.egghelp.org/files/patches/eg ... x.patch.gz</a><br><br>and everything is good.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10866">pzYsTorM</a> — Mon Sep 28, 2009 7:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pzYsTorM]]></name></author>
		<updated>2009-09-26T12:23:47-04:00</updated>

		<published>2009-09-26T12:23:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90344#p90344</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90344#p90344"/>
		<title type="html"><![CDATA[eggdrop segfaults when connecting to ssl server on AMD64]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90344#p90344"><![CDATA[
Still getting this bug <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>Ive compiled a brand new eggdrop without any patches from the website. The error is the same.<br><div class="codebox"><p>Code: </p><pre><code>(gdb) thread apply all btThread 1 (Thread 0x7fb1e5a626e0 (LWP 24116)):#0  0x00007fb1e4932d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0#1  0x00007fb1e561712b in Tcl_ConditionWait () from /usr/lib/libtcl8.5.so.0#2  0x00007fb1e5617fbf in Tcl_WaitForEvent () from /usr/lib/libtcl8.5.so.0#3  0x00007fb1e55e2c4e in Tcl_DoOneEvent () from /usr/lib/libtcl8.5.so.0#4  0x00000000004275b2 in ?? ()#5  0x00007fb1e4b621a6 in __libc_start_main () from /lib/libc.so.6#6  0x00000000004032d9 in ?? ()#7  0x00007fffeda6f378 in ?? ()#8  0x000000000000001c in ?? ()#9  0x0000000000000001 in ?? ()#10 0x00007fffeda6faba in ?? ()#11 0x0000000000000000 in ?? ()#0  0x00007fb1e4932d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0</code></pre></div><div class="codebox"><p>Code: </p><pre><code>$ strace -p 24116Process 24116 attached - interrupt to quitfutex(0x6c29b4, FUTEX_WAIT_PRIVATE, 1, NULL^C &lt;unfinished ...&gt;Process 24116 detached</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10866">pzYsTorM</a> — Sat Sep 26, 2009 12:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pzYsTorM]]></name></author>
		<updated>2009-09-17T09:25:07-04:00</updated>

		<published>2009-09-17T09:25:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90269#p90269</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90269#p90269"/>
		<title type="html"><![CDATA[eggdrop segfaults when connecting to ssl server on AMD64]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90269#p90269"><![CDATA[
The problem seems not fixed yet.<br><br>Eggdrop 1.6.19 with ctcpfix and ssl patch.<br><div class="codebox"><p>Code: </p><pre><code>$ strace ./eggdrop -nt...fstat(9, {st_mode=S_IFREG|0644, st_size=7630, ...}) = 0mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4fd8139000read(9, "%{help=help}%{-}\nDCC commands for"..., 4096) = 4096read(9, "s a language from the language li"..., 4096) = 3534read(9, ""..., 4096)                    = 0close(9)                                = 0munmap(0x7f4fd8139000, 4096)            = 0stat("help/set/core.help", 0x7fffe02f5ee0) = -1 ENOENT (No such file or directory)stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0write(4, "\0"..., 1)                    = 1futex(0x67dc30, FUTEX_WAKE_PRIVATE, 1)  = 1futex(0xf4c510, FUTEX_WAKE_PRIVATE, 1)  = 1futex(0xf4c514, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable)futex(0x67dc30, FUTEX_WAKE_PRIVATE, 1)  = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0write(1, "[14:33] Trying server xx.xx.xx."..., 41[14:33] Trying server xx.xx.xx.xx:6670) = 41futex(0x7f4fd6f6a000, FUTEX_WAKE_PRIVATE, 2147483647) = 0socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 9setsockopt(9, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0setsockopt(9, SOL_SOCKET, SO_LINGER, [0], 4) = -1 EINVAL (Invalid argument)fcntl(9, F_SETFL, O_RDONLY|O_NONBLOCK)  = 0bind(9, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("yy.yy.yy.yy")}, 16) = 0connect(9, {sa_family=AF_INET, sin_port=htons(6670), sin_addr=inet_addr("xx.xx.xx.xx")}, 16) = -1 EINPROGRESS (Operation now in progress)stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0write(9, "\200t\1\3\1\0K\0\0\0 \0\0009\0\0008\0\0005\0\0\26\0\0\23\0\0\n\7\0\300\0"..., 118) = -1 EAGAIN (Resource temporarily unavailable)nanosleep({0, 1000000}, NULL)           = 0--- SIGSEGV (Segmentation fault) @ 0 (0) ---futex(0x7f4fd6f679e0, FUTEX_WAIT_PRIVATE, 2, NULL</code></pre></div>Any ideas?<br><br>Tcl8.4... Tcl8.5... there is no difference.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10866">pzYsTorM</a> — Thu Sep 17, 2009 9:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dbali]]></name></author>
		<updated>2009-01-20T17:15:21-04:00</updated>

		<published>2009-01-20T17:15:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87033#p87033</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87033#p87033"/>
		<title type="html"><![CDATA[eggdrop segfaults when connecting to ssl server on AMD64]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87033#p87033"><![CDATA[
thx, it's works <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10392">dbali</a> — Tue Jan 20, 2009 5:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dupondje]]></name></author>
		<updated>2009-01-17T07:49:05-04:00</updated>

		<published>2009-01-17T07:49:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86962#p86962</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86962#p86962"/>
		<title type="html"><![CDATA[eggdrop segfaults when connecting to ssl server on AMD64]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86962#p86962"><![CDATA[
Tryout the new patch on egghelp <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> It should solve ssl problems on 64bit systems!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10425">dupondje</a> — Sat Jan 17, 2009 7:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dustoff]]></name></author>
		<updated>2009-01-16T05:51:11-04:00</updated>

		<published>2009-01-16T05:51:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86951#p86951</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86951#p86951"/>
		<title type="html"><![CDATA[eggdrop segfaults when connecting to ssl server on AMD64]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86951#p86951"><![CDATA[
I'm having the exact same problem. Debian lenny/testing amd-64, and I'm going to attach a list of ssl libs installed on this host.<br><br>package       version<br>libssl-dev      0.9.8g-15<br>libssl0.9.7     0.9.7k-3.1etch2<br>libssl0.9.8     0.9.8g-15<br>openssl        0.9.8g-15<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10422">dustoff</a> — Fri Jan 16, 2009 5:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2009-01-03T07:55:10-04:00</updated>

		<published>2009-01-03T07:55:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86699#p86699</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86699#p86699"/>
		<title type="html"><![CDATA[eggdrop segfaults when connecting to ssl server on AMD64]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86699#p86699"><![CDATA[
None at the moment, I'm afraid :/<br><br>One workaround might be to use 6tunnel?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Jan 03, 2009 7:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dbali]]></name></author>
		<updated>2009-01-01T17:13:10-04:00</updated>

		<published>2009-01-01T17:13:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86650#p86650</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86650#p86650"/>
		<title type="html"><![CDATA[eggdrop segfaults when connecting to ssl server on AMD64]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86650#p86650"><![CDATA[
no, it's only 64bit build. I try with the original, apt-installed version openssl, and few own  compiled versions (to my home dir), but doesn't work. On 3 debian lenny AMD64 servers have i this error...<br><br>started with strace: <div class="codebox"><p>Code: </p><pre><code>....write(1, "[22:07] DNS resolved irc.*.*"..., 51[22:07] DNS resolved irc.*.* to *.*.*.*) = 51socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 8setsockopt(8, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0setsockopt(8, SOL_SOCKET, SO_LINGER, [0], 4) = -1 EINVAL (Invalid argument)fcntl(8, F_SETFL, O_RDONLY|O_NONBLOCK)  = 0bind(8, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0connect(8, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("*.*.*.*")}, 16) = -1 EINPROGRESS (Operation now in progress)stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2407, ...}) = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2407, ...}) = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2407, ...}) = 0write(1, "[22:07] net_switch_to_ssl()\n"..., 28[22:07] net_switch_to_ssl()) = 28brk(0x191b000)                          = 0x191b000write(8, "\200t\1\3\1\0K\0\0\0 \0\0009\0\0008\0\0005\0\0\26\0\0\23\0\0\n\7\0\300\0"..., 118) = -1 EAGAIN (Resource temporarily unavailable)nanosleep({0, 1000000}, NULL)           = 0--- SIGSEGV (Segmentation fault) @ 0 (0) ---futex(0x7fec531589e0, FUTEX_WAIT_PRIVATE, 2, NULL</code></pre></div>and don't make anything else..<br>With irssi, this servers working with ssl, but eggdrop don't. When 1 delete from the eggdrop.conf the "set use-ssl 1" it's work fine, but i must connect with ssl..<br><br>any ideas?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10392">dbali</a> — Thu Jan 01, 2009 5:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-12-29T06:30:53-04:00</updated>

		<published>2008-12-29T06:30:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86575#p86575</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86575#p86575"/>
		<title type="html"><![CDATA[eggdrop segfaults when connecting to ssl server on AMD64]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86575#p86575"><![CDATA[
Could you double-check that the ssl-libraries are linked as 64bit libraries?<br>Smells like a mixed 32/64bit build.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Dec 29, 2008 6:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dbali]]></name></author>
		<updated>2008-12-24T21:01:08-04:00</updated>

		<published>2008-12-24T21:01:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86506#p86506</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86506#p86506"/>
		<title type="html"><![CDATA[eggdrop segfaults when connecting to ssl server on AMD64]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86506#p86506"><![CDATA[
Hi<br>I have same problem. I try some other openssl and eggdrop versions, but the problem don't leave.<br>Can anybody help?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10392">dbali</a> — Wed Dec 24, 2008 9:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[paef]]></name></author>
		<updated>2008-09-27T21:42:49-04:00</updated>

		<published>2008-09-27T21:42:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85310#p85310</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85310#p85310"/>
		<title type="html"><![CDATA[eggdrop segfaults when connecting to ssl server on AMD64]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85310#p85310"><![CDATA[
Hello. just installed eggdrop1.6.19 on a computer with an amd64 processor and debian 64bit (lenny) installed on it. The egg is patched with the ssl path for 1.6.19.<br><br>On build i got a few warnings but it compiled.<br><br>When trying to start it just hangs. when doing running it with -n flag i get:<div class="codebox"><p>Code: </p><pre><code>STARTING BOT IN USERFILE CREATION MODE.Telnet to the bot and enter 'NEW' as your nickname.OR go to IRC and type:  /msg Pierre helloThis will make the bot recognize you as the master.[05:33] === velo: 0 channels, 0 users.[05:33] main: entering loop[05:33] Trying server my.ssl.server.com:27015[05:33] DNS resolved my.ssl.server.com to xx.xxx.xx.xx[05:33] net_switch_to_ssl()</code></pre></div>And there it halts.<br><br>If i do a strace on the whole thing i get this output:<div class="codebox"><p>Code: </p><pre><code>write(1, "[05:35] main: entering loop\n"..., 28[05:35] main: entering loop) = 28write(4, "\0"..., 1)                    = 1futex(0x1cafe30, FUTEX_WAKE_PRIVATE, 1) = 1futex(0x1d00790, FUTEX_WAKE_PRIVATE, 1) = 1futex(0x1d00794, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable)futex(0x1cafe30, FUTEX_WAKE_PRIVATE, 1) = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0write(1, "[05:35] Trying server my.ssl.server.com"..., 41[05:35] Trying server my.ssl.server.com:7000) = 41stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=23, ...}) = 0sendto(6, "\267\35\1\0\0\1\0\0\0\0\0\0\3irc\5ldftw\2nu\0\0\1\0\1"..., 30, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.0.1")}, 16) = 30getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0select(1024, [5 6], NULL, NULL, {1, 0}) = 1 (in [6], left {0, 792000})recvfrom(6, "\267\35\201\200\0\1\0\1\0\5\0\5\3irc\5ldftw\2nu\0\0\1\0\1\300\f\0"..., 512, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.0.1")}, [16]) = 225futex(0x7fc9c6329000, FUTEX_WAKE_PRIVATE, 2147483647) = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0write(1, "[05:35] DNS resolved my.ssl.server.com"..., 50[05:35] DNS resolved my.ssl.server.com to xx.xx.xx.xx) = 50socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 9setsockopt(9, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0setsockopt(9, SOL_SOCKET, SO_LINGER, [0], 4) = -1 EINVAL (Invalid argument)fcntl(9, F_SETFL, O_RDONLY|O_NONBLOCK)  = 0bind(9, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0connect(9, {sa_family=AF_INET, sin_port=htons(27015), sin_addr=inet_addr("xx.xx.xx.xx")}, 16) = -1 EINPROGRESS (Operation now in progress)stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0write(1, "[05:35] net_switch_to_ssl()\n"..., 28[05:35] net_switch_to_ssl()) = 28brk(0x1d84000)                          = 0x1d84000write(9, "\200t\1\3\1\0K\0\0\0 \0\0009\0\0008\0\0005\0\0\26\0\0\23\0\0\n\7\0\300\0"..., 118) = -1 EAGAIN (Resource temporarily unavailable)nanosleep({0, 1000000}, NULL)           = 0--- SIGSEGV (Segmentation fault) @ 0 (0) ---</code></pre></div>And after that strace exits... <br><br>Works fine without the ssl patch. But realy need to be able to connect to ssl secured servers. Think that it is the debian x64 platform vs the ssl patch that don't work that well together but haven't been able to confirm anything.<br><br>Been trying everything i can think off, even tried the debian package for eggdrop, but no built in ssl support there from what i could see.<br>So wondering if anyone got any ideas.. any at all.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10237">paef</a> — Sat Sep 27, 2008 9:42 pm</p><hr />
]]></content>
	</entry>
	</feed>
