0 Members and 1 Guest are viewing this topic.
Hello, I'm not sure if this is the right place to post this query.I downloaded the bot and have compiled with gcc 4.5.0 and I saw some things during the compilation. You can see the console log while compilation are running: http://www.soldat.com.ar/personal/consolelog.txt And if you wanna see the compilation log: http://www.soldat.com.ar/personal/compilelog.txtBut equally I could run. Everything perfect until you start a gather of 3vs3, when changing the first map and the bot says who won the map in the IRC, it fails.I run the bot with Code: [Select]$ strace -odebuglog.txt ./gatherbot and here is displayed when the bot crashes: http://www.soldat.com.ar/personal/debuglog.txtMaybe this is related with the "Warnings" at compile time.
$ strace -odebuglog.txt ./gatherbot
Program received signal SIGSEGV, Segmentation fault.[Switching to Thread 0xb79bdb90 (LWP 12543)]soldatadmin::loop (this=0x0) at ./cpp_stuff/text/string.h:120120 if(data_B == NULL)(gdb) bt#0 soldatadmin::loop (this=0x0) at ./cpp_stuff/text/string.h:120#1 0x00000000 in ?? ()(gdb) step[Thread 0xb394bb90 (LWP 12551) exited][Thread 0xb414cb90 (LWP 12550) exited][Thread 0xb494db90 (LWP 12549) exited][Thread 0xb5183b90 (LWP 12548) exited][Thread 0xb5984b90 (LWP 12547) exited][Thread 0xb6185b90 (LWP 12546) exited][Thread 0xb6986b90 (LWP 12545) exited][Thread 0xb71bcb90 (LWP 12544) exited][Thread 0xb79bdb90 (LWP 12543) exited]Program terminated with signal SIGSEGV, Segmentation fault.The program no longer exists.(gdb)
Thank you zakath, I'll gonna try with this bot probably fixed.The version that I'm using is 2.6.5 (one server provided by NAsoldat)From: July 05, 2010, 09:33:50 amZakath, I cant try this time because the bot not respond to the commands (!commands, !overkill, etc). He connect to soldat server and irc server and joins the channel, but not response to commands.
Program received signal SIGSEGV, Segmentation fault.[Switching to Thread 0xb7b0bb70 (LWP 1834)]0x0808ae96 in soldatadmin::loop() ()(gdb) bt#0 0x0808ae96 in soldatadmin::loop() ()#1 0x6f74616e in ?? ()#2 0x00000072 in ?? ()#3 0x00000000 in ?? ()(gdb) stepSingle stepping until exit from function _ZN11soldatadmin4loopEv, which has no line number information.[Thread 0xb4aedb70 (LWP 1840) exited][Thread 0xb52eeb70 (LWP 1839) exited][Thread 0xb5aefb70 (LWP 1838) exited][Thread 0xb6308b70 (LWP 1837) exited][Thread 0xb6b09b70 (LWP 1836) exited][Thread 0xb730ab70 (LWP 1835) exited][Thread 0xb7b0bb70 (LWP 1834) exited]Program terminated with signal SIGSEGV, Segmentation fault.The program no longer exists.(gdb)
13:31 Connected to 206.217.128.58:3050113:31 Connected to 206.217.128.58:3050213:31 Connected to 206.217.128.58:30333[New Thread 0xafae3b70 (LWP 1744)][New Thread 0xaf2e2b70 (LWP 1745)][New Thread 0xaeae1b70 (LWP 1746)]Program received signal SIGSEGV, Segmentation fault.[Switching to Thread 0xb7b0bb70 (LWP 1728)]0x0808aed6 in soldatadmin::loop() ()(gdb) bt#0 0x0808aed6 in soldatadmin::loop() ()#1 0x614d206b in ?? ()#2 0x2e61626d in ?? ()#3 0x00000000 in ?? ()(gdb) stepSingle stepping until exit from function _ZN11soldatadmin4loopEv, which has no line number information.Host: 206.217.128.58 Port: 30333 failed to receive refresh 1610[Thread 0xaeae1b70 (LWP 1746) exited][Thread 0xaf2e2b70 (LWP 1745) exited][Thread 0xafae3b70 (LWP 1744) exited][Thread 0xb02fcb70 (LWP 1743) exited][Thread 0xb0afdb70 (LWP 1742) exited][Thread 0xb12feb70 (LWP 1741) exited][Thread 0xb1affb70 (LWP 1740) exited][Thread 0xb2300b70 (LWP 1739) exited][Thread 0xb2b01b70 (LWP 1738) exited][Thread 0xb3302b70 (LWP 1737) exited][Thread 0xb3b03b70 (LWP 1736) exited][Thread 0xb4304b70 (LWP 1735) exited][Thread 0xb4b05b70 (LWP 1734) exited][Thread 0xb5306b70 (LWP 1733) exited][Thread 0xb5b07b70 (LWP 1732) exited][Thread 0xb6308b70 (LWP 1731) exited][Thread 0xb6b09b70 (LWP 1730) exited][Thread 0xb730ab70 (LWP 1729) exited][Thread 0xb7b0bb70 (LWP 1728) exited]Program terminated with signal SIGSEGV, Segmentation fault.The program no longer exists.(gdb)
Well... the error appears again...Code: [Select]13:31 Connected to 206.217.128.58:3050113:31 Connected to 206.217.128.58:3050213:31 Connected to 206.217.128.58:30333[New Thread 0xafae3b70 (LWP 1744)][New Thread 0xaf2e2b70 (LWP 1745)][New Thread 0xaeae1b70 (LWP 1746)]Program received signal SIGSEGV, Segmentation fault.[Switching to Thread 0xb7b0bb70 (LWP 1728)]0x0808aed6 in soldatadmin::loop() ()(gdb) bt#0 0x0808aed6 in soldatadmin::loop() ()#1 0x614d206b in ?? ()#2 0x2e61626d in ?? ()#3 0x00000000 in ?? ()(gdb) stepSingle stepping until exit from function _ZN11soldatadmin4loopEv, which has no line number information.Host: 206.217.128.58 Port: 30333 failed to receive refresh 1610[Thread 0xaeae1b70 (LWP 1746) exited][Thread 0xaf2e2b70 (LWP 1745) exited][Thread 0xafae3b70 (LWP 1744) exited][Thread 0xb02fcb70 (LWP 1743) exited][Thread 0xb0afdb70 (LWP 1742) exited][Thread 0xb12feb70 (LWP 1741) exited][Thread 0xb1affb70 (LWP 1740) exited][Thread 0xb2300b70 (LWP 1739) exited][Thread 0xb2b01b70 (LWP 1738) exited][Thread 0xb3302b70 (LWP 1737) exited][Thread 0xb3b03b70 (LWP 1736) exited][Thread 0xb4304b70 (LWP 1735) exited][Thread 0xb4b05b70 (LWP 1734) exited][Thread 0xb5306b70 (LWP 1733) exited][Thread 0xb5b07b70 (LWP 1732) exited][Thread 0xb6308b70 (LWP 1731) exited][Thread 0xb6b09b70 (LWP 1730) exited][Thread 0xb730ab70 (LWP 1729) exited][Thread 0xb7b0bb70 (LWP 1728) exited]Program terminated with signal SIGSEGV, Segmentation fault.The program no longer exists.(gdb) Only ocurred when the bot informs who has won the first map :Sif u want, I can try to create an ssh access to my computer so that you can see for yourself :S
how to install apt-get install libmysqlclient-dev via yum or manual ?
yum install mysql-dev
No package mysql-dev available.
yum install mysql-devel
17:21 Trying to Connect to 193.104.68.48:27047:017:21 Failed to look up host(NULL) 193.104.68.48:27047Lookup: : Success17:21 Trying to Connect to 193.104.68.55:27047:017:21 Failed to look up host(NULL) 193.104.68.55:27047Lookup: : Success17:21 Trying to Connect to 193.104.68.48:27044:017:21 Failed to look up host(NULL) 193.104.68.48:27044Lookup: : Success17:21 Trying to Connect to 193.104.68.48:27047:017:21 Failed to look up host(NULL) 193.104.68.48:27047Lookup: : Success17:22 Trying to Connect to 193.104.68.55:27047:017:22 Failed to look up host(NULL) 193.104.68.55:27047Lookup: : Success17:22 Trying to Connect to 193.104.68.48:27044:017:22 Failed to look up host(NULL) 193.104.68.48:27044Lookup: : Success17:22 Trying to Connect to 193.104.68.48:27047:017:22 Failed to look up host(NULL) 193.104.68.48:27047Lookup: : Success
SERVER 193.104.68.48 27044 XXXX SERVER 193.104.68.48 27047 XXXXSERVER 193.104.68.55 27047 XXXX