
Ok, it cores too. %gdb ./ircd ircd.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Core was generated by `ircd'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libz.so.5...done. Loaded symbols for /lib/libz.so.5 Reading symbols from /lib/libcrypt.so.5...done. Loaded symbols for /lib/libcrypt.so.5 Reading symbols from /lib/libcrypto.so.6...done. Loaded symbols for /lib/libcrypto.so.6 Reading symbols from /usr/lib/libssl.so.6...done. Loaded symbols for /usr/lib/libssl.so.6 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0000000800dba59b in strlen () from /lib/libc.so.7 (gdb) bt #0 0x0000000800dba59b in strlen () from /lib/libc.so.7 #1 0x0000000800db3212 in open () from /lib/libc.so.7 #2 0x0000000800da3cfa in vsprintf () from /lib/libc.so.7 #3 0x000000000044f6be in vsendto_one (to=0x801c04548, pattern=Variable "pattern" is not available. ) at send.c:459 #4 0x000000000044fd1f in vsendto_realops (pattern=0x46c2e8 "%s (%s!%s@%s) is now operator (%c)", vl=0x7fffffffdf70) at send.c:1611 #5 0x000000000044ff4b in sendto_ops (pattern=Variable "pattern" is not available. ) at send.c:1225 #6 0x0000000000448bc0 in m_oper (cptr=0x801c04fd8, sptr=0x801c04fd8, parc=Variable "parc" is not available. ) at s_user.c:2724 #7 0x000000000042d202 in client_dopacket (cptr=0x801c04fd8, buffer=Variable "buffer" is not available. ) at packet.c:234 #8 0x0000000000439021 in do_client_queue (cptr=0x801c04fd8) at s_bsd.c:1396 #9 0x000000000043a1ba in readwrite_client (cptr=0x801c04fd8, isread=1, iswrite=0) at s_bsd.c:1678 #10 0x000000000045989b in engine_read_message (delay=2) at socketengine_kqueue.c:267 #11 0x000000000041b678 in main (argc=31309888, argv=0x4b69cf7e) at ircd.c:1140 (gdb) bt full #0 0x0000000800dba59b in strlen () from /lib/libc.so.7 No symbol table info available. #1 0x0000000800db3212 in open () from /lib/libc.so.7 No symbol table info available. #2 0x0000000800da3cfa in vsprintf () from /lib/libc.so.7 No symbol table info available. #3 0x000000000044f6be in vsendto_one (to=0x801c04548, pattern=Variable "pattern" is not available. ) at send.c:459 len = Variable "len" is not available. Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ----- Original Message ----
From: Aaron Wiebe <epiphani@gmail.com> To: Abdullah Ibn Hamad Al-Marri <wearabnet@yahoo.ca> Cc: dalnet-src@lists.dal.net Sent: Wed, February 3, 2010 9:24:57 PM Subject: Re: [DALnet-src] 1.8.6 always cores in FreeBSD AMD64
On Wed, Feb 3, 2010 at 1:11 PM, Abdullah Ibn Hamad Al-Marri wrote:
/usr/bin/sed -i s:@@@DPATH@@@:/home/ircd/ircd:g make-cert.sh sed: 1: "make-cert.sh": invalid command code m *** Error code 1
Stop in /usr/home/ircd/ircd/bahamut/tools. *** Error code 1
Seems that sed format is not as portable as I thought. Hop into tools/ and edit make-cert.sh to use a sed format that works - probably:
-i s/'@@@DPATH@@@'/'/home/ircd/ircd'/g
-Aaron