[Lazarus] Error SIGILL appearing out of the blue, what does it mean?

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Wed Nov 4 17:04:53 CET 2015


Bo Berglund wrote:
> Yesterday I was testing lnet and the test project was working just
> fine. Today I came back and hit run again only to find a pop-up error
> box saying:
> Project xxx raised exception class 'External: SIGILL'."
> 
> I have restarted Lazarus and even made a Build Clean but the problem
> persists. I don't even get to keep what has been written to the
> console (I see a few lines appearing but they are immediately erased).
> Yesterday whatever was written to the console remained until the test
> program was started again. That was very convenient in order to trace
> what happened against the source.
> 
> Where should I look for a solution to this?

Is this the IDE crashing when doing nothing in particular, the IDE 
crashing when you try to run your program, or your program crashing when 
it runs in isolation?

In the latter two cases, I'd suggest making sure the program is built 
with debug info, then running it from a shell session (i.e. not inside 
Lazarus) and getting a GDB backtrace.

http://wiki.lazarus.freepascal.org/Creating_a_Backtrace_with_GDB#Very_short_how-to

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list