Hello DALnet coders, bahamut 1.8.6 always core in 64bits platform. %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"... warning: exec file is newer than core file. 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 /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 get_clones (cptr=Variable "cptr" is not available. ) at clones.c:100 100 *++s = '*'; (gdb) bt #0 get_clones (cptr=Variable "cptr" is not available. ) at clones.c:100 #1 0x0000000000416f3a in clones_add (cptr=0x80188d570) at clones.c:262 #2 0x000000000044d71a in register_user (cptr=0x801a04000, sptr=0x80188d570, nick=0x80188d5eb "TS_", username=Variable "username" is not available. ) at s_user.c:1038 #3 0x000000000041f9cf in m_nick (cptr=0x801a04000, sptr=0x80188d570, parc=11, parv=0x6d25c0) at m_nick.c:465 #4 0x000000000042f47e in dopacket (cptr=0x801a04000, buffer=Variable "buffer" is not available. ) at packet.c:121 #5 0x000000000043b1d3 in read_packet (cptr=0x801a04000) at s_bsd.c:1404 #6 0x000000000043bd9e in readwrite_client (cptr=0x801a04000, isread=1, iswrite=Variable "iswrite" is not available. ) at s_bsd.c:1593 #7 0x000000000045b78b in engine_read_message (delay=5) at socketengine_kqueue.c:267 #8 0x000000000041b428 in main (argc=29327424, argv=0x4b635e73) at ircd.c:1127 (gdb) bt full #0 get_clones (cptr=Variable "cptr" is not available. ) at clones.c:100 ip24 = "212134359738470" #1 0x0000000000416f3a in clones_add (cptr=0x80188d570) at clones.c:262 ceip = Variable "ceip" is not available. Another core. %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 10, Bus error. 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 /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 check_userbanned (cptr=0x801a04a70, yflags=672, nflags=0) at userban.c:286 286 if((bl->ban->flags & UBAN_TEMPORARY) && bl->ban->timeset + bl->ban->duration <= NOW) (gdb) bt #0 check_userbanned (cptr=0x801a04a70, yflags=672, nflags=0) at userban.c:286 #1 0x000000000043baa0 in add_connection (lptr=0x800e08840, fd=18) at s_bsd.c:1255 #2 0x000000000043c79a in accept_connection (lptr=0x800e08840) at s_bsd.c:1535 #3 0x000000000045b6fc in engine_read_message (delay=1) at socketengine_kqueue.c:258 #4 0x000000000041b3e8 in main (argc=29327424, argv=0x4b697a6f) at ircd.c:1127 (gdb) bt full #0 check_userbanned (cptr=0x801a04a70, yflags=672, nflags=0) at userban.c:286 iptmp = "66352646907168." bl = (uBanEnt *) 0x30312e3836313730 #1 0x000000000043baa0 in add_connection (lptr=0x800e08840, fd=18) at s_bsd.c:1255 lin = {next = 0x0, value = {cptr = 0x2, chptr = 0x2, aconn = 0x2, banptr = 0x2, wptr = 0x2, cp = 0x2 <Address 0x2 out of bounds>}, flags = 1} acptr = (aClient *) 0x801a04a70 s = Variable "s" is not available. Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/
Greetings Abdullah - we believe we have the issue addressed in the current git revision which we'll be releasing soon. We are aware of the 64bit issues. If you would like, you can test the current git version (it is stable, we're just putting the final touches on it) and let us know if the issues persist. -epiphani On Wed, Feb 3, 2010 at 10:54 AM, Abdullah Ibn Hamad Al-Marri <wearabnet@yahoo.ca> wrote:
Hello DALnet coders,
bahamut 1.8.6 always core in 64bits platform.
%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"...
warning: exec file is newer than core file. 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 /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 get_clones (cptr=Variable "cptr" is not available. ) at clones.c:100 100 *++s = '*'; (gdb) bt #0 get_clones (cptr=Variable "cptr" is not available. ) at clones.c:100 #1 0x0000000000416f3a in clones_add (cptr=0x80188d570) at clones.c:262 #2 0x000000000044d71a in register_user (cptr=0x801a04000, sptr=0x80188d570, nick=0x80188d5eb "TS_", username=Variable "username" is not available. ) at s_user.c:1038 #3 0x000000000041f9cf in m_nick (cptr=0x801a04000, sptr=0x80188d570, parc=11, parv=0x6d25c0) at m_nick.c:465 #4 0x000000000042f47e in dopacket (cptr=0x801a04000, buffer=Variable "buffer" is not available. ) at packet.c:121 #5 0x000000000043b1d3 in read_packet (cptr=0x801a04000) at s_bsd.c:1404 #6 0x000000000043bd9e in readwrite_client (cptr=0x801a04000, isread=1, iswrite=Variable "iswrite" is not available. ) at s_bsd.c:1593 #7 0x000000000045b78b in engine_read_message (delay=5) at socketengine_kqueue.c:267 #8 0x000000000041b428 in main (argc=29327424, argv=0x4b635e73) at ircd.c:1127 (gdb) bt full #0 get_clones (cptr=Variable "cptr" is not available. ) at clones.c:100 ip24 = "212134359738470" #1 0x0000000000416f3a in clones_add (cptr=0x80188d570) at clones.c:262 ceip = Variable "ceip" is not available.
Another core.
%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 10, Bus error. 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 /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 check_userbanned (cptr=0x801a04a70, yflags=672, nflags=0) at userban.c:286 286 if((bl->ban->flags & UBAN_TEMPORARY) && bl->ban->timeset + bl->ban->duration <= NOW) (gdb) bt #0 check_userbanned (cptr=0x801a04a70, yflags=672, nflags=0) at userban.c:286 #1 0x000000000043baa0 in add_connection (lptr=0x800e08840, fd=18) at s_bsd.c:1255 #2 0x000000000043c79a in accept_connection (lptr=0x800e08840) at s_bsd.c:1535 #3 0x000000000045b6fc in engine_read_message (delay=1) at socketengine_kqueue.c:258 #4 0x000000000041b3e8 in main (argc=29327424, argv=0x4b697a6f) at ircd.c:1127 (gdb) bt full #0 check_userbanned (cptr=0x801a04a70, yflags=672, nflags=0) at userban.c:286 iptmp = "66352646907168." bl = (uBanEnt *) 0x30312e3836313730 #1 0x000000000043baa0 in add_connection (lptr=0x800e08840, fd=18) at s_bsd.c:1255 lin = {next = 0x0, value = {cptr = 0x2, chptr = 0x2, aconn = 0x2, banptr = 0x2, wptr = 0x2, cp = 0x2 <Address 0x2 out of bounds>}, flags = 1} acptr = (aClient *) 0x801a04a70 s = Variable "s" is not available.
Regards,
-Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/
_______________________________________________ DALnet-src mailing list DALnet-src@lists.dal.net https://lists.dal.net/mailman/listinfo/dalnet-src
Hello Aaron, Thanks for your reply. I can't browse the code in http://code.dal.net/bahamut.git/ Do you know where can I get latest stable from git repo and browse it? 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 7:45:25 PM Subject: Re: [DALnet-src] 1.8.6 always cores in FreeBSD AMD64
Greetings Abdullah - we believe we have the issue addressed in the current git revision which we'll be releasing soon. We are aware of the 64bit issues.
If you would like, you can test the current git version (it is stable, we're just putting the final touches on it) and let us know if the issues persist.
-epiphani
On Wed, Feb 3, 2010 at 10:54 AM, Abdullah Ibn Hamad Al-Marri wrote:
Hello DALnet coders,
bahamut 1.8.6 always core in 64bits platform.
%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"...
warning: exec file is newer than core file. 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 /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 get_clones (cptr=Variable "cptr" is not available. ) at clones.c:100 100 *++s = '*'; (gdb) bt #0 get_clones (cptr=Variable "cptr" is not available. ) at clones.c:100 #1 0x0000000000416f3a in clones_add (cptr=0x80188d570) at clones.c:262 #2 0x000000000044d71a in register_user (cptr=0x801a04000, sptr=0x80188d570, nick=0x80188d5eb "TS_", username=Variable "username" is not available. ) at s_user.c:1038 #3 0x000000000041f9cf in m_nick (cptr=0x801a04000, sptr=0x80188d570, parc=11, parv=0x6d25c0) at m_nick.c:465 #4 0x000000000042f47e in dopacket (cptr=0x801a04000, buffer=Variable "buffer" is not available. ) at packet.c:121 #5 0x000000000043b1d3 in read_packet (cptr=0x801a04000) at s_bsd.c:1404 #6 0x000000000043bd9e in readwrite_client (cptr=0x801a04000, isread=1, iswrite=Variable "iswrite" is not available. ) at s_bsd.c:1593 #7 0x000000000045b78b in engine_read_message (delay=5) at socketengine_kqueue.c:267 #8 0x000000000041b428 in main (argc=29327424, argv=0x4b635e73) at ircd.c:1127 (gdb) bt full #0 get_clones (cptr=Variable "cptr" is not available. ) at clones.c:100 ip24 = "212134359738470" #1 0x0000000000416f3a in clones_add (cptr=0x80188d570) at clones.c:262 ceip = Variable "ceip" is not available.
Another core.
%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 10, Bus error. 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 /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 check_userbanned (cptr=0x801a04a70, yflags=672, nflags=0) at userban.c:286 286 if((bl->ban->flags & UBAN_TEMPORARY) && bl->ban->timeset + bl->ban->duration <= NOW) (gdb) bt #0 check_userbanned (cptr=0x801a04a70, yflags=672, nflags=0) at userban.c:286 #1 0x000000000043baa0 in add_connection (lptr=0x800e08840, fd=18) at s_bsd.c:1255 #2 0x000000000043c79a in accept_connection (lptr=0x800e08840) at s_bsd.c:1535 #3 0x000000000045b6fc in engine_read_message (delay=1) at socketengine_kqueue.c:258 #4 0x000000000041b3e8 in main (argc=29327424, argv=0x4b697a6f) at ircd.c:1127 (gdb) bt full #0 check_userbanned (cptr=0x801a04a70, yflags=672, nflags=0) at userban.c:286 iptmp = "66352646907168." bl = (uBanEnt *) 0x30312e3836313730 #1 0x000000000043baa0 in add_connection (lptr=0x800e08840, fd=18) at s_bsd.c:1255 lin = {next = 0x0, value = {cptr = 0x2, chptr = 0x2, aconn = 0x2, banptr = 0x2, wptr = 0x2, cp = 0x2 }, flags = 1} acptr = (aClient *) 0x801a04a70 s = Variable "s" is not available.
Regards,
-Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/
_______________________________________________ DALnet-src mailing list DALnet-src@lists.dal.net https://lists.dal.net/mailman/listinfo/dalnet-src
Using git, you can 'git clone http://code.dal.net/bahamut.git/' to pull down the tree. -Aaron On Wed, Feb 3, 2010 at 12:07 PM, Abdullah Ibn Hamad Al-Marri <wearabnet@yahoo.ca> wrote:
Hello Aaron,
Thanks for your reply.
I can't browse the code in http://code.dal.net/bahamut.git/
Do you know where can I get latest stable from git repo and browse it?
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 7:45:25 PM Subject: Re: [DALnet-src] 1.8.6 always cores in FreeBSD AMD64
Greetings Abdullah - we believe we have the issue addressed in the current git revision which we'll be releasing soon. We are aware of the 64bit issues.
If you would like, you can test the current git version (it is stable, we're just putting the final touches on it) and let us know if the issues persist.
-epiphani
On Wed, Feb 3, 2010 at 10:54 AM, Abdullah Ibn Hamad Al-Marri wrote:
Hello DALnet coders,
bahamut 1.8.6 always core in 64bits platform.
%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"...
warning: exec file is newer than core file. 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 /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 get_clones (cptr=Variable "cptr" is not available. ) at clones.c:100 100 *++s = '*'; (gdb) bt #0 get_clones (cptr=Variable "cptr" is not available. ) at clones.c:100 #1 0x0000000000416f3a in clones_add (cptr=0x80188d570) at clones.c:262 #2 0x000000000044d71a in register_user (cptr=0x801a04000, sptr=0x80188d570, nick=0x80188d5eb "TS_", username=Variable "username" is not available. ) at s_user.c:1038 #3 0x000000000041f9cf in m_nick (cptr=0x801a04000, sptr=0x80188d570, parc=11, parv=0x6d25c0) at m_nick.c:465 #4 0x000000000042f47e in dopacket (cptr=0x801a04000, buffer=Variable "buffer" is not available. ) at packet.c:121 #5 0x000000000043b1d3 in read_packet (cptr=0x801a04000) at s_bsd.c:1404 #6 0x000000000043bd9e in readwrite_client (cptr=0x801a04000, isread=1, iswrite=Variable "iswrite" is not available. ) at s_bsd.c:1593 #7 0x000000000045b78b in engine_read_message (delay=5) at socketengine_kqueue.c:267 #8 0x000000000041b428 in main (argc=29327424, argv=0x4b635e73) at ircd.c:1127 (gdb) bt full #0 get_clones (cptr=Variable "cptr" is not available. ) at clones.c:100 ip24 = "212134359738470" #1 0x0000000000416f3a in clones_add (cptr=0x80188d570) at clones.c:262 ceip = Variable "ceip" is not available.
Another core.
%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 10, Bus error. 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 /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 check_userbanned (cptr=0x801a04a70, yflags=672, nflags=0) at userban.c:286 286 if((bl->ban->flags & UBAN_TEMPORARY) && bl->ban->timeset + bl->ban->duration <= NOW) (gdb) bt #0 check_userbanned (cptr=0x801a04a70, yflags=672, nflags=0) at userban.c:286 #1 0x000000000043baa0 in add_connection (lptr=0x800e08840, fd=18) at s_bsd.c:1255 #2 0x000000000043c79a in accept_connection (lptr=0x800e08840) at s_bsd.c:1535 #3 0x000000000045b6fc in engine_read_message (delay=1) at socketengine_kqueue.c:258 #4 0x000000000041b3e8 in main (argc=29327424, argv=0x4b697a6f) at ircd.c:1127 (gdb) bt full #0 check_userbanned (cptr=0x801a04a70, yflags=672, nflags=0) at userban.c:286 iptmp = "66352646907168." bl = (uBanEnt *) 0x30312e3836313730 #1 0x000000000043baa0 in add_connection (lptr=0x800e08840, fd=18) at s_bsd.c:1255 lin = {next = 0x0, value = {cptr = 0x2, chptr = 0x2, aconn = 0x2, banptr = 0x2, wptr = 0x2, cp = 0x2 }, flags = 1} acptr = (aClient *) 0x801a04a70 s = Variable "s" is not available.
Regards,
-Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/
_______________________________________________ DALnet-src mailing list DALnet-src@lists.dal.net https://lists.dal.net/mailman/listinfo/dalnet-src
%make install Building src /bin/sh ./version.c.SH Extracting IRC/src/version.c... gcc -g -O2 -Wall -fno-strict-aliasing -I../include -c version.c gcc -o ircd blalloc.o bsd.o channel.o clientlist.o clones.o confparse.o fdlist.o fds.o hash.o hide.o inet_addr.o ircd.o klines.o list.o m_nick.o m_rwho.o m_server.o m_services.o m_stats.o m_who.o match.o memcount.o modules.o packet.o parse.o pcre.o probability.o res.o s_auth.o s_bsd.o s_conf.o s_debug.o s_err.o s_misc.o s_numeric.o s_serv.o s_user.o sbuf.o scache.o send.o struct.o support.o throttle.o userban.o whowas.o zlink.o ssl.o socketengine_kqueue.o rc4.o dh.o version.o -lz -lcrypt -lcrypto -Wl,-export-dynamic -lssl mv version.c version.c.last Building doc Building tools ****************************************************************************** * For help with bahamut, please refer to http://bahamut.dal.net/ * * If you encouter serious security related bugs, please mail coders@dal.net * * For other bug reports and inquiries, please mail dalnet-src@dal.net * * Thank you for choosing Bahamut! - The DALnet coding team * ****************************************************************************** /bin/mv /home/ircd/ircd/ircd /home/ircd/ircd/ircd.old /usr/bin/install -c ircd /home/ircd/ircd /usr/bin/install -c ircd /home/ircd/ircd /bin/mv /home/ircd/ircd/opers.txt /home/ircd/ircd/opers.txt.old /usr/bin/install -c -m 644 opers.txt /home/ircd/ircd /bin/mv /home/ircd/ircd/reference.conf /home/ircd/ircd/reference.conf.old /usr/bin/install -c -m 644 reference.conf /home/ircd/ircd /bin/mv /home/ircd/ircd/template.conf /home/ircd/ircd/template.conf.old /usr/bin/install -c -m 644 template.conf /home/ircd/ircd /bin/mv /home/ircd/ircd/mkpasswd /home/ircd/ircd/mkpasswd.old /usr/bin/install -c mkpasswd /home/ircd/ircd /bin/mv /home/ircd/ircd/convert_conf /home/ircd/ircd/convert_conf.old /usr/bin/install -c convert_conf /home/ircd/ircd /bin/cp make-cert.tmpl make-cert.sh /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 Stop in /usr/home/ircd/ircd/bahamut. 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 8:23:26 PM Subject: Re: [DALnet-src] 1.8.6 always cores in FreeBSD AMD64
Using git, you can 'git clone http://code.dal.net/bahamut.git/' to pull down the tree.
-Aaron
On Wed, Feb 3, 2010 at 12:07 PM, Abdullah Ibn Hamad Al-Marri wrote:
Hello Aaron,
Thanks for your reply.
I can't browse the code in http://code.dal.net/bahamut.git/
Do you know where can I get latest stable from git repo and browse it?
Regards,
-Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/
----- Original Message ----
From: Aaron Wiebe To: Abdullah Ibn Hamad Al-Marri Cc: dalnet-src@lists.dal.net Sent: Wed, February 3, 2010 7:45:25 PM Subject: Re: [DALnet-src] 1.8.6 always cores in FreeBSD AMD64
Greetings Abdullah - we believe we have the issue addressed in the current git revision which we'll be releasing soon. We are aware of the 64bit issues.
If you would like, you can test the current git version (it is stable, we're just putting the final touches on it) and let us know if the issues persist.
-epiphani
On Wed, Feb 3, 2010 at 10:54 AM, Abdullah Ibn Hamad Al-Marri wrote:
Hello DALnet coders,
bahamut 1.8.6 always core in 64bits platform.
%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"...
warning: exec file is newer than core file. 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 /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 get_clones (cptr=Variable "cptr" is not available. ) at clones.c:100 100 *++s = '*'; (gdb) bt #0 get_clones (cptr=Variable "cptr" is not available. ) at clones.c:100 #1 0x0000000000416f3a in clones_add (cptr=0x80188d570) at clones.c:262 #2 0x000000000044d71a in register_user (cptr=0x801a04000, sptr=0x80188d570, nick=0x80188d5eb "TS_", username=Variable "username" is not available. ) at s_user.c:1038 #3 0x000000000041f9cf in m_nick (cptr=0x801a04000, sptr=0x80188d570, parc=11, parv=0x6d25c0) at m_nick.c:465 #4 0x000000000042f47e in dopacket (cptr=0x801a04000, buffer=Variable "buffer" is not available. ) at packet.c:121 #5 0x000000000043b1d3 in read_packet (cptr=0x801a04000) at s_bsd.c:1404 #6 0x000000000043bd9e in readwrite_client (cptr=0x801a04000, isread=1, iswrite=Variable "iswrite" is not available. ) at s_bsd.c:1593 #7 0x000000000045b78b in engine_read_message (delay=5) at socketengine_kqueue.c:267 #8 0x000000000041b428 in main (argc=29327424, argv=0x4b635e73) at ircd.c:1127 (gdb) bt full #0 get_clones (cptr=Variable "cptr" is not available. ) at clones.c:100 ip24 = "212134359738470" #1 0x0000000000416f3a in clones_add (cptr=0x80188d570) at clones.c:262 ceip = Variable "ceip" is not available.
Another core.
%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 10, Bus error. 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 /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 check_userbanned (cptr=0x801a04a70, yflags=672, nflags=0) at userban.c:286 286 if((bl->ban->flags & UBAN_TEMPORARY) && bl->ban->timeset + bl->ban->duration <= NOW) (gdb) bt #0 check_userbanned (cptr=0x801a04a70, yflags=672, nflags=0) at userban.c:286 #1 0x000000000043baa0 in add_connection (lptr=0x800e08840, fd=18) at s_bsd.c:1255 #2 0x000000000043c79a in accept_connection (lptr=0x800e08840) at s_bsd.c:1535 #3 0x000000000045b6fc in engine_read_message (delay=1) at socketengine_kqueue.c:258 #4 0x000000000041b3e8 in main (argc=29327424, argv=0x4b697a6f) at ircd.c:1127 (gdb) bt full #0 check_userbanned (cptr=0x801a04a70, yflags=672, nflags=0) at userban.c:286 iptmp = "66352646907168." bl = (uBanEnt *) 0x30312e3836313730 #1 0x000000000043baa0 in add_connection (lptr=0x800e08840, fd=18) at s_bsd.c:1255 lin = {next = 0x0, value = {cptr = 0x2, chptr = 0x2, aconn = 0x2, banptr = 0x2, wptr = 0x2, cp = 0x2 }, flags = 1} acptr = (aClient *) 0x801a04a70 s = Variable "s" is not available.
Regards,
-Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/
_______________________________________________ DALnet-src mailing list DALnet-src@lists.dal.net https://lists.dal.net/mailman/listinfo/dalnet-src
On Wed, Feb 3, 2010 at 1:11 PM, Abdullah Ibn Hamad Al-Marri <wearabnet@yahoo.ca> 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
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
participants (2)
-
Aaron Wiebe -
Abdullah Ibn Hamad Al-Marri