IDE: program received a signal 291 - but everything seems OK
Original Reporter info from Mantis: leledumbo_cool@yahoo.co.id @leledumbo
-
Reporter name: Mario Ray Mahardhika
Original Reporter info from Mantis: leledumbo_cool@yahoo.co.id @leledumbo
- Reporter name: Mario Ray Mahardhika
Description:
I finally managed to compile IDE with MinGW GDB 6.8 (Why no one told me about that USE_MINGW_GDB defines?!) after:
- copying defines from GDB 6.7 (it's the same... I guess)
- adding some linklibs (libdecnumber.a and libiconv.a)
- creating a dummy atexit procedure (I don't know where it's defined)
- adding some ifdefs in fpdebug.pas*
The only problem is when I start debugging, the IDE keeps saying "program received a signal 291 bla bla bla" (No important message left).
If I say "no" (don't restart),
it will say "The IDE generated an internal error bla bla bla"
if I say "yes" (continue),
program execution continues fine. But on each step/trace the above message comes again
else,
see the screenshot**
else,
it will say "The IDE generated an internal error and will now be closed", after that see the screenshot**
Everything is OK even if I keep ignoring those messages, so I guess there's a wrong code somewhere. The program didn't received any signal. I've tried using standalone GDB.
Additional information:
*) Changes in fpdebug.pas (MinGW doesn't use /cygdrive/&LtPos;drive_letter>/, so it should be &LtPos;drive_letter>:/)
546 - {$ifndef USE_MINGW_GDB}
547 - { for Windows we should convert e:\ into //e/ PM } // But CygDrivePrefix returns /cygdrive, so it would be /cygdrive/e/
548 - if (length(st)>2) and (st[2]=':') and (st[3]='/') then
549 - st:=CygDrivePrefix+'/'+st[1]+copy(st,3,length(st));
550 - {$endif USE_MINGW_GDB}
**) The only way to terminate it is to press Ctrl+Break
Mantis conversion info:
- Mantis ID: 11968
- Version: 2.3.1
- Fixed in version: 2.4.0
- Fixed in revision: 11928 (#87eaa3c1), 13158 (#c0aa309c)
- Monitored by: » etrusco (Flávio Etrusco), » @marcoonthegit (Marco van de Voort)