Segmentation Faults
-
- Merchant
- Posts: 56
- Joined: Wed Jul 18, 2007 3:28 pm
Segmentation Faults
Every time I play Vega Strike the game crashes due to a segmentation fault. I can't see any connections between any of the crashes but an example log is attached. I'm using SVN 12017 (though I've had this for the last few revisions) on Debian Sid (64 bit).
You do not have the required permissions to view the files attached to this post.
-
- Elite Venturer
- Posts: 718
- Joined: Wed Mar 07, 2007 9:05 pm
- Location: Rimward of Eden
I know the devs say this every time so it would probably be good to run it in gdb and backtrace-full when it segfaults to give them more info.
(to use gdb fully you need to configure with the --enable-debug flag)
EDIT: just looked at the end of the output and it doesn't appear to give any information at all. just routine stuff until the last line
(to use gdb fully you need to configure with the --enable-debug flag)
EDIT: just looked at the end of the output and it doesn't appear to give any information at all. just routine stuff until the last line
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
Just to clarify, if you haven't already, you have to do
Don't forget to make clean or else the debug flag won't be set.
Also, in case you haven't done this before, to debug in GDB, run the game with "gdb ./vegastrike".
At the (gdb) prompt type "run"... Things should work as they did before, but when you reach the signal, it will show "Program received signal SIGSEGV" and bring you back to the (gdb) prompt. Now, type "backtrace full" and paste the output.
Thanks for helping us debug this. You aren't the first one to have a crash after seeing "Asking to undock" but I haven't been able to reproduce this error.
Code: Select all
./configure --enable-debug
make clean
make
Also, in case you haven't done this before, to debug in GDB, run the game with "gdb ./vegastrike".
At the (gdb) prompt type "run"... Things should work as they did before, but when you reach the signal, it will show "Program received signal SIGSEGV" and bring you back to the (gdb) prompt. Now, type "backtrace full" and paste the output.
Thanks for helping us debug this. You aren't the first one to have a crash after seeing "Asking to undock" but I haven't been able to reproduce this error.
-
- Merchant
- Posts: 56
- Joined: Wed Jul 18, 2007 3:28 pm