Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2010-11

FPC 2.5.1. rev. 16318 Segmentation fault

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Dimitrios Chr. Ioannidis

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
C:/Programming/Compiler/fpc/source/rtl/inc/text.inc:504 504 if TextRec(f).FlushFuncnil 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 lazarusmanager.pas:339
#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 ...

regards,

Dimitrios Chr. Ioannidis

Reply by email

Martin
to Dimitrios Chr. Ioannidis
Dimitrios Chr. Ioannidis wrote 25 lines
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 C:/Programming/Compiler/fpc/source/rtl/inc/text.inc:504 504 if TextRec(f).FlushFuncnil 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 lazarusmanager.pas:339 #4 0x00402c04 in main () at startlazarus.lpr:47 (gdb) quit The program is running. Exit anyway? (y or n)

Issue in Lazarus, was fixed in r 28165

Reply by email