DEsMOn Posted May 11, 2022 Group: Members Topic Count: 63 Topics Per Day: 0.04 Content Count: 172 Reputation: 1 Joined: 11/16/20 Last Seen: November 4, 2023 Share Posted May 11, 2022 Hellow Scripters Why i'm getting this in CMD? [Error]: Server received crash signal! Attempting to save all online characters! Segmentation fault because of this Map server crashes... Can any 1 guide to fix this? Quote Link to comment Share on other sites More sharing options...
0 cook1e Posted May 11, 2022 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 172 Reputation: 68 Joined: 10/25/20 Last Seen: 5 hours ago Share Posted May 11, 2022 Something is crashing the map-server, run your server with gdb and once it crashes upload the output here. https://github.com/rathena/rathena/wiki/GDB Quote Link to comment Share on other sites More sharing options...
0 DEsMOn Posted May 11, 2022 Group: Members Topic Count: 63 Topics Per Day: 0.04 Content Count: 172 Reputation: 1 Joined: 11/16/20 Last Seen: November 4, 2023 Author Share Posted May 11, 2022 19 minutes ago, cook1e said: Something is crashing the map-server, run your server with gdb and once it crashes upload the output here. https://github.com/rathena/rathena/wiki/GDB Okay, But i noticed twice. when i did @reloadmobdb server crashes with same error in cmd. But the problem is this happened before also when i didn't event use @reloadmobdb. So confused why its happening... Quote Link to comment Share on other sites More sharing options...
0 Tokei Posted May 12, 2022 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 696 Reputation: 722 Joined: 11/12/12 Last Seen: 18 hours ago Share Posted May 12, 2022 7 hours ago, DEsMOn said: Okay, But i noticed twice. when i did @reloadmobdb server crashes with same error in cmd. But the problem is this happened before also when i didn't event use @reloadmobdb. So confused why its happening... The error you received, "Server received crash signal! Attempting to save all online characters!", is a generic error that means absolutely nothing besides "your server crashed". You will always get this same error. You most likely have two unrelated crashes there. As cook1e said above, you want to run your server with gdb (there is a link provided in his post that explains how to use it). Gdb is a debugging tool that will give you a stack trace. You will get the crash reason, followed by the line in your source code that crashed the server, followed by the functions that called your code step by step. To print the stack trace, you will want to use "bt full" after the crash. You should also always run your server with gdb as you can't predict when a crash will happen. Once you have the stack trace, you can share it here and people can tell you how to fix your code. Or they'll ask you to provide the code surrouding the crash. Or, if the error is obvious, you might be able to fix it yourself. But either way, we can't help you without a gdb stack trace. Goodluck! 1 Quote Link to comment Share on other sites More sharing options...
0 DEsMOn Posted May 12, 2022 Group: Members Topic Count: 63 Topics Per Day: 0.04 Content Count: 172 Reputation: 1 Joined: 11/16/20 Last Seen: November 4, 2023 Author Share Posted May 12, 2022 4 hours ago, Tokei said: The error you received, "Server received crash signal! Attempting to save all online characters!", is a generic error that means absolutely nothing besides "your server crashed". You will always get this same error. You most likely have two unrelated crashes there. As cook1e said above, you want to run your server with gdb (there is a link provided in his post that explains how to use it). Gdb is a debugging tool that will give you a stack trace. You will get the crash reason, followed by the line in your source code that crashed the server, followed by the functions that called your code step by step. To print the stack trace, you will want to use "bt full" after the crash. You should also always run your server with gdb as you can't predict when a crash will happen. Once you have the stack trace, you can share it here and people can tell you how to fix your code. Or they'll ask you to provide the code surrouding the crash. Or, if the error is obvious, you might be able to fix it yourself. But either way, we can't help you without a gdb stack trace. Goodluck! I tried installing GDB , after that step doens't work. to be frank have no knowledge about this stuffs. If your okay can u help me out? Quote Link to comment Share on other sites More sharing options...
0 DEsMOn Posted May 12, 2022 Group: Members Topic Count: 63 Topics Per Day: 0.04 Content Count: 172 Reputation: 1 Joined: 11/16/20 Last Seen: November 4, 2023 Author Share Posted May 12, 2022 4 hours ago, Tokei said: The error you received, "Server received crash signal! Attempting to save all online characters!", is a generic error that means absolutely nothing besides "your server crashed". You will always get this same error. You most likely have two unrelated crashes there. As cook1e said above, you want to run your server with gdb (there is a link provided in his post that explains how to use it). Gdb is a debugging tool that will give you a stack trace. You will get the crash reason, followed by the line in your source code that crashed the server, followed by the functions that called your code step by step. To print the stack trace, you will want to use "bt full" after the crash. You should also always run your server with gdb as you can't predict when a crash will happen. Once you have the stack trace, you can share it here and people can tell you how to fix your code. Or they'll ask you to provide the code surrouding the crash. Or, if the error is obvious, you might be able to fix it yourself. But either way, we can't help you without a gdb stack trace. Goodluck! When i logged in VNC, i've seen something which likes @reloadmobdb..continued with [Error]: Server received crash signal! Attempting to save all online characters! Segmentation fault thing is no 1 is there to do @reloadmobdb then how it was doing auto reloadmob db? so i replaced old mob db txt from back up n recompiled n restarted server and did @reloadmobdb no crash happend. My server uses 2 mob db 1 ) is mob_db.yml & 2) is mob_db.txt during test never seen those issues but frequently this started happening... Asked by DEsMOn Quote Link to comment Share on other sites More sharing options...
0 Chaos92 Posted May 12, 2022 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1826 Reputation: 288 Joined: 08/03/12 Last Seen: 38 minutes ago Share Posted May 12, 2022 did u download latest rathena github ? Try use the latest one. Quote Link to comment Share on other sites More sharing options...
0 DEsMOn Posted May 13, 2022 Group: Members Topic Count: 63 Topics Per Day: 0.04 Content Count: 172 Reputation: 1 Joined: 11/16/20 Last Seen: November 4, 2023 Author Share Posted May 13, 2022 4 hours ago, Chaos92 said: did u download latest rathena github ? Try use the latest one. No idea sir, those things done by dev. Quote Link to comment Share on other sites More sharing options...
0 DEsMOn Posted May 13, 2022 Group: Members Topic Count: 63 Topics Per Day: 0.04 Content Count: 172 Reputation: 1 Joined: 11/16/20 Last Seen: November 4, 2023 Author Share Posted May 13, 2022 22 hours ago, Chaos92 said: did u download latest rathena github ? Try use the latest one. See i get error like this n server get crashes Quote Link to comment Share on other sites More sharing options...
0 Chaos92 Posted May 14, 2022 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1826 Reputation: 288 Joined: 08/03/12 Last Seen: 38 minutes ago Share Posted May 14, 2022 On 5/13/2022 at 8:41 AM, DEsMOn said: No idea sir, those things done by dev. Then ask your dev. use GDB to check or just use latest rathena. Quote Link to comment Share on other sites More sharing options...
0 DEsMOn Posted May 14, 2022 Group: Members Topic Count: 63 Topics Per Day: 0.04 Content Count: 172 Reputation: 1 Joined: 11/16/20 Last Seen: November 4, 2023 Author Share Posted May 14, 2022 4 hours ago, Chaos92 said: Then ask your dev. use GDB to check or just use latest rathena. Even he don't no why this is happening..!! He tried to installed GDB but couldn't generate the report for crash. Can any 1 help me out.. Quote Link to comment Share on other sites More sharing options...
0 DEsMOn Posted May 16, 2022 Group: Members Topic Count: 63 Topics Per Day: 0.04 Content Count: 172 Reputation: 1 Joined: 11/16/20 Last Seen: November 4, 2023 Author Share Posted May 16, 2022 (edited) Problem found and issue has been fixed..!! mob_db.yml wasn't reading which was leading to crash. my rAthena reads mob_db.txt weird. Update :- Again crash Edited May 17, 2022 by DEsMOn Update Quote Link to comment Share on other sites More sharing options...
0 Playtester Posted May 16, 2022 Group: Developer Topic Count: 37 Topics Per Day: 0.01 Content Count: 897 Reputation: 248 Joined: 01/30/13 Last Seen: Yesterday at 09:07 AM Share Posted May 16, 2022 1 hour ago, DEsMOn said: my rAthena reads mob_db.txt weird. Probably outdated rAthena? mob_db was converted to YAML fairly recently (16 Feb 2021). Quote Link to comment Share on other sites More sharing options...
0 DEsMOn Posted May 17, 2022 Group: Members Topic Count: 63 Topics Per Day: 0.04 Content Count: 172 Reputation: 1 Joined: 11/16/20 Last Seen: November 4, 2023 Author Share Posted May 17, 2022 On 5/16/2022 at 11:21 AM, Playtester said: Probably outdated rAthena? mob_db was converted to YAML fairly recently (16 Feb 2021). Ohhh, again i got crashed but wasn't available to see crash issue sad how this gonna fix Quote Link to comment Share on other sites More sharing options...
0 Chaos92 Posted May 17, 2022 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1826 Reputation: 288 Joined: 08/03/12 Last Seen: 38 minutes ago Share Posted May 17, 2022 5 hours ago, DEsMOn said: Ohhh, again i got crashed but wasn't available to see crash issue sad how this gonna fix use latest rathena. 1 Quote Link to comment Share on other sites More sharing options...
0 DEsMOn Posted May 19, 2022 Group: Members Topic Count: 63 Topics Per Day: 0.04 Content Count: 172 Reputation: 1 Joined: 11/16/20 Last Seen: November 4, 2023 Author Share Posted May 19, 2022 (edited) On 5/17/2022 at 10:29 PM, Chaos92 said: use latest rathena. Since 2 days there is no crash, found the solution. reason was Monster METAMORPHIS, just disabled from mob_skill_db.txt problem fixed.. Update :- Crash again after 2day's. Edited May 21, 2022 by DEsMOn Update Quote Link to comment Share on other sites More sharing options...
Question
DEsMOn
Hellow Scripters
Why i'm getting this in CMD?
[Error]: Server received crash signal! Attempting to save all online characters!
Segmentation fault
because of this Map server crashes...
Can any 1 guide to fix this?
Link to comment
Share on other sites
15 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.