Recent

Author Topic: Error message - after close of program  (Read 270 times)

bobonwhidbey

  • Sr. Member
  • ****
  • Posts: 376
    • Double Dummy Solver - free download
Error message - after close of program
« on: May 29, 2019, 06:04:01 pm »
My app appears to be working correctly, but when I close it I get an error message "..raised exception class 'External:SIGFPE" in file laztracer.pas at line 50.
I do not get this error message when I place heaptrc in my program file. Instead I get the expected message that shows no unfreed memory blocks.

Code: Pascal  [Select]
  1. uses
  2.   heaptrc,
  3.   Forms,  

Any ideas what could be causing this?
Win10 64-bit / Lazarus 32-bit 2.0.6 / FPC 3.0.4

Thaddy

  • Hero Member
  • *****
  • Posts: 9293
Re: Error message - after close of program
« Reply #1 on: May 29, 2019, 06:29:07 pm »
maybe you should read he manual.... or the wiki.... You are not a noob so  >:D >:D >:D >:D
also related to equus asinus.

Thaddy

  • Hero Member
  • *****
  • Posts: 9293
Re: Error message - after close of program
« Reply #2 on: May 29, 2019, 06:31:12 pm »
You should not add heaptrc by hand.
also related to equus asinus.

bobonwhidbey

  • Sr. Member
  • ****
  • Posts: 376
    • Double Dummy Solver - free download
Re: Error message - after close of program
« Reply #3 on: May 29, 2019, 07:25:23 pm »
I removed heaptrc from my .lpr file.  When I select "Use Heaptrc unit" from the Debugging Compiler Options, I get the expected message upon completion of the program that shows no unfreed memory.  No problem.  But,when I uncheck the Use Heaptrc unit option, I get the error exception message upon completion. What kind of error could be causing this.
Win10 64-bit / Lazarus 32-bit 2.0.6 / FPC 3.0.4