I've been having frequent map server crashes, without anyway to pinpoint whats causing the error. I did some research and found that there is something called GDB stack dump using core files.
I am running a Linux VPS currently. I followed some earlier guides but they didn't explain clear enough on how I could generate the core file.
1. yum install gdb to install the container with gdb software
2. I had a file named bt in the root folder
3. Heres where I was stuck, I read in the guide that you have a file named the same as your executable but use extension core. So therefore, map-server_sql I made a copy of it and i renamed it to map-server_sql.core
4. When the map server did crash, I attempted to retrieve some info with it. I typed gdb map-server_sql map-server_sql.core then bt full
however it told me the map-server_sql.core was not valid core file.
100% honest, I wasn't sure where or how to obtain a .core file and Im not sure if I am doing the above steps right. I basically made a copy of map-server_sql in notepad, deleted everything in it, and renamed it using .core extension because I thought thats where it would save the crash.
If anyone can shed any light on where I made my mistake and help me out, that would be great!
Question
Jasc
I've been having frequent map server crashes, without anyway to pinpoint whats causing the error. I did some research and found that there is something called GDB stack dump using core files.
I am running a Linux VPS currently. I followed some earlier guides but they didn't explain clear enough on how I could generate the core file.
1. yum install gdb to install the container with gdb software
2. I had a file named bt in the root folder
3. Heres where I was stuck, I read in the guide that you have a file named the same as your executable but use extension core. So therefore, map-server_sql I made a copy of it and i renamed it to map-server_sql.core
4. When the map server did crash, I attempted to retrieve some info with it. I typed gdb map-server_sql map-server_sql.core then bt full
however it told me the map-server_sql.core was not valid core file.
100% honest, I wasn't sure where or how to obtain a .core file and Im not sure if I am doing the above steps right. I basically made a copy of map-server_sql in notepad, deleted everything in it, and renamed it using .core extension because I thought thats where it would save the crash.
If anyone can shed any light on where I made my mistake and help me out, that would be great!
Thank you!
Edited by JascLink to comment
Share on other sites
1 answer 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.