[fpc-devel] FPC 2.5.1. rev. 16318 Segmentation fault

Dimitrios Chr. Ioannidis dioannidis at artesoft.gr
Tue Nov 9 18:15:06 CET 2010

Hi all,

   tried to update my tools. Building FPC from sources all went fine. 
Building Lazarus the same. But when i tried to run Lazarus i got :

Starting program: C:\Programming\Compiler\lazarus/startlazarus.exe
[New thread 1656.0x15d8]

Program received signal SIGSEGV, Segmentation fault.
fpc_write_end (F=) at 
504      if TextRec(f).FlushFunc<>nil then
Current language:  auto; currently pascal
(gdb) bt
#0  fpc_write_end (F=)
     at C:/Programming/Compiler/fpc/source/rtl/inc/text.inc:504
#1  0x0044c364 in DBGOUT (S=0x4e0c8 
'C:\Programming\Compiler\lazarus\lazarus.exe')   at lclproc.pas:2418
#2  0x0044b86f in DEBUGLN (ARGS=0x36efe44, highARGS=2) at lclproc.pas:2154
#3  0x0042fcfd in TLAZARUSMANAGER__RUN (this=0x6fa60)  at 
#4  0x00402c04 in main () at startlazarus.lpr:47
(gdb) quit
The program is running.  Exit anyway? (y or n)

Win XP Pro.
fpc builded with OPT="-gl"
lazarus builded with OPT="-gl"

fpc and lazarus from trunk ...

Dimitrios Chr. Ioannidis

More information about the fpc-devel mailing list