Recent

Author Topic: Lazarus Error: Project raised exception class 'External: SIGSEGV' Need help :'(  (Read 771 times)

crispia

  • Newbie
  • Posts: 2
First of all, I would like to greet from Poland all forum users. Yesterday I installed Lazarus IDE version lazarus-1.8.4-fpc-3.0.4-win32 and I have a big problem. I want to create a console application. From the project menu I choose the option new project, ---> program.
When I select the option to run F9, I get an error message: Error: Project raised exception class 'External: SIGSEGV'. I tried to reset the debugger, I downloaded another debugger from the network: gdb_77, gdb_771. Everything in vain. The problem is that one does not change anything and another debugger generates an error: failed to create process for GDB (failed to execute: 216). 
Interestingly, the program starts once and once throws the error message above: Error: Project raised exception class 'External: SIGSEGV'. I have Norton Security installed. I turned off the firewall and antivirus. The problem appears continue. in a desperate act, I reinstalled Lazarus three times. Everything again in vain. The system is win 7 32 bit.
Greetings  :)
« Last Edit: October 02, 2018, 11:22:00 pm by crispia »

Cyrax

  • Hero Member
  • *****
  • Posts: 621
Does compiling & running normal windows application work?

crispia

  • Newbie
  • Posts: 2
When I choose the normal application for windows, I press f9 and everything starts normally, as I wrote earlier, the problem appears with the console application.

wcoombes

  • Newbie
  • Posts: 1
Same thing is happening to me. Get this error on any console application project. No error on GUI project. I have tried uninstalling and re-installing Lazarus. Using the default debugger provided during the install.

[Window Title]
Error

[Content]
Project Hello raised exception class 'External: SIGSEGV'.

[OK]

ASBzone

  • Jr. Member
  • **
  • Posts: 97
  • Automation leads to relaxation...
    • BrainWaveCC Utilities
Same thing is happening to me. Get this error on any console application project. No error on GUI project. I have tried uninstalling and re-installing Lazarus. Using the default debugger provided during the install.

What version of Lazarus, FPC, OS?

And can you provide a code sample so we can try to replicate?
-ASB: https://www.BrainWaveCC.com

Lazarus 1.8.4 + FPC 3.0.4 (32-bit w/64-bit cross-compile)
Occasional testing of NewPascal
Current testing of Lazarus 2.0RC2
Windows 10 Pro x64, Version 1803 (Build 17134.228)

(Technically, I logon to these forums from multiple versions of Windows Pro/Enterprise...

wp

  • Hero Member
  • *****
  • Posts: 5118
In case of an empty console program I see the exception, too, with Laz 1.8.4. It is gone with Laz 2.0RC2 and trunk. With 1.8.4 the exception does not occur any more when I add some code to the empty program, such as:

Code: Pascal  [Select]
  1. program Project1;
  2. begin
  3.   WriteLn('Test');
  4. end.
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10