Linkin Park Posted August 25, 2012 Group: Members Topic Count: 42 Topics Per Day: 0.01 Content Count: 227 Reputation: 11 Joined: 11/16/11 Last Seen: November 7, 2015 Share Posted August 25, 2012 Hi, I've installed gdb in my host, compiled the server with --enable-debug=gdb, started the server through ./athena-start start command in putty, however at random time, the map-server crashes and it doesn't generate any crash dumps / core dumps. Quote Link to comment Share on other sites More sharing options...
Asura Posted August 25, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 707 Reputation: 168 Joined: 01/26/12 Last Seen: February 7, 2014 Share Posted August 25, 2012 Hi RaGERO, You still need to do the following... File: /etc/security/limits.conf Change... #* soft core 0 To... * soft core unlimited File: /etc/profile Change... # No core files by default #ulimit -S -c 0 > /dev/null 2>&1 To... # No core files by default ulimit -S -c 0 > /dev/null 2>&1 Type this in SSH/Terminal... ulimit -c unlimited Proceed to reboot your server, and then re-compile with --enable-debug=gdb once more. Now you may proceed to start your Athena server and it should generate the .core dump. 2 Quote Link to comment Share on other sites More sharing options...
Linkin Park Posted August 26, 2012 Group: Members Topic Count: 42 Topics Per Day: 0.01 Content Count: 227 Reputation: 11 Joined: 11/16/11 Last Seen: November 7, 2015 Author Share Posted August 26, 2012 Followed what you said and still it doesn't generate core file Quote Link to comment Share on other sites More sharing options...
Asura Posted August 26, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 707 Reputation: 168 Joined: 01/26/12 Last Seen: February 7, 2014 Share Posted August 26, 2012 Followed what you said and still it doesn't generate core file Hi RaGERO, Did the server crash already? It's suppose to generate the core file within the trunk folder once it has crashed. You may also search for the .core file by using the following commands via Terminal. updatedb locate *.core Quote Link to comment Share on other sites More sharing options...
Brynner Posted July 6, 2013 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 1960 Reputation: 202 Joined: 01/08/12 Last Seen: 16 hours ago Share Posted July 6, 2013 (edited) Followed what you said and still it doesn't generate core file Hi RaGERO,Did the server crash already? It's suppose to generate the core file within the trunk folder once it has crashed. You may also search for the .core file by using the following commands via Terminal. updatedb locate *.core how can i read the *core* crash data for asura? Edited July 6, 2013 by Brynner Quote Link to comment Share on other sites More sharing options...
ccjosh Posted July 18, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 66 Reputation: 6 Joined: 11/13/12 Last Seen: November 17, 2014 Share Posted July 18, 2013 cd /path/to/rathena/ ls -lhart #there should be a core file here, usually its the last file after the map server crashes. gdb map-server_sql <core file> #without the < > bt full Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted August 13, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted August 13, 2013 cd /path/to/rathena/ ls -lhart #there should be a core file here, usually its the last file after the map server crashes. gdb map-server_sql <core file> #without the < > bt full i try this. but only no stack ? Quote Link to comment Share on other sites More sharing options...
ccjosh Posted August 13, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 66 Reputation: 6 Joined: 11/13/12 Last Seen: November 17, 2014 Share Posted August 13, 2013 Have you tried, bt full <core file> Make sure there was a generated core file do a ls -lhrt to see the latest updated file, usually the core file is the last one after a server crash Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted August 13, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted August 13, 2013 Have you tried, bt full <core file> Make sure there was a generated core file do a ls -lhrt to see the latest updated file, usually the core file is the last one after a server crash my map-server is not crash, but cannot start due to hpm plugins. sory im using hercules. if i disable the plugin, it works fine. really weird. Quote Link to comment Share on other sites More sharing options...
Asura Posted August 13, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 707 Reputation: 168 Joined: 01/26/12 Last Seen: February 7, 2014 Share Posted August 13, 2013 Have you tried, bt full <core file> Make sure there was a generated core file do a ls -lhrt to see the latest updated file, usually the core file is the last one after a server crash my map-server is not crash, but cannot start due to hpm plugins. sory im using hercules. if i disable the plugin, it works fine. really weird. Hi mrlongshen, You should probably contact the plugin developer then, or the Hercules community; maybe the plugin was not compiled correctly? Quote Link to comment Share on other sites More sharing options...
Question
Linkin Park
Hi,
I've installed gdb in my host, compiled the server with --enable-debug=gdb, started the server through ./athena-start start command in putty,
however at random time, the map-server crashes and it doesn't generate any crash dumps / core dumps.
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.