Knowledgebase Article 63


What to do if ASC/Linux crashes on startup

First, check the error message:
Is it a segfault (Fatal signal: Segmentation Fault (SDL Parachute Deployed)), or is it an error message of ASC itself, like "duplicate ID" or something like that.

If you have problems seeing an error message, try running ASC in windowed mode by adding the -w command line parameter:
asc -w

This article only covers Segmentation Faults.

Then check your version of ASC. It should be the latest available at the official download site. You can find the version of ASC by running asc --version or by looking at the source/strtmesg.cpp source file.

Then check your version of gcc:

After you have verified to have used a supported version of gcc, rebuild ASC with debugging symbols and without optimizations. Type: EXPORT CXXFLAGS="-O0 -g"

and rebuild ASC with

make clean
configure
make

and, if desired, make install.

If ASC now starts, please report the version of GCC that you are using and the optimization level that you previosly used to bugs@asc-hq.org.

If ASC is still crashing, increase the verbosity of ASC, run it in windowed mode and make a backtrace:

Type

gdb asc
run -v 10 -w

and start ASC. Then type

backtrace

at the gdb prompt and send the output (both the backtrace and the ASC logging output) to bugs@asc-hq.org. If you want to run ASC with additional command line parameters, pass the parameters to the run command.

Last change: Mon, 2004-05-31 13:37


search knowledgebase
browse knowledgebase