Exit with code xx
Alex Parrill via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Nov 25 09:04:59 PST 2015
On Wednesday, 25 November 2015 at 16:11:09 UTC, Ozan wrote:
> Hi
>
> Is there any overview, list, wiki about what's behind runtime
> errors like
> "Program exited with code -11"?
>
> Okay, I made a mistake...but it's better to know where and what
> kind?
>
> Thanks & Regards,
> Ozan
You know about process exit codes right? On Linux, a negative
exit code means that the process exited due to a signal. Signal
11 is SIGSEGV, aka a segmentation fault.
Run your binary in a debugger (ex. gdb) and find out where it's
causing the error.
More information about the Digitalmars-d-learn
mailing list