Sign in Join

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

Mailing lists / lazarus / 2010-09

Access violation on building Lazarus.

8 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Kjow

Latest Lazarus/FPC 2.4.0 SVN

Is it a my problem? Yesterday, all was fine.
(I have a script that download and compile everything automatically when I want)

...
...
...
Free Pascal Compiler version 2.4.0 [2010/09/15] for i386 Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Win32 for i386
Compiling imagesforlazarus.pas
Compiling lazpng.pas
Compiling lazpnm.pas
Compiling lazjpg.pas
Compiling lazbmp.pas
Compiling laztga.pas
Compiling lazxpm.pas
imagesforlazarus.pas(10,9) Hint: Unit "LazPNG" not used in ImagesForLazarus imagesforlazarus.pas(10,17) Hint: Unit "LazPNM" not used in ImagesForLazarus imagesforlazarus.pas(10,25) Hint: Unit "LazJPG" not used in ImagesForLazarus imagesforlazarus.pas(10,33) Hint: Unit "LazBMP" not used in ImagesForLazarus imagesforlazarus.pas(10,49) Hint: Unit "LazXPM" not used in ImagesForLazarus 267 lines compiled, 0.3 sec
7 hint(s) issued
"Compiling package ImagesForLazarus 1.0.1" completed TLazPackageGraph.CheckIfPackageNeedsCompilation No state file for TurboPowerIPr o 1.0
FindFPCTool Executable="fpcmake.exe" CompilerFilename="C:\Develop\fpc\2.4.0\bin\ i386-Win32\fpc.exe"
FindFPCTool Try="C:\Develop\fpc\2.4.0\bin\i386-Win32\fpcmake.exe An unhandled exception occurred at $004DA35D :
EAccessViolation : Access violation
$004DA35D TLAZPACKAGEGRAPH__WRITEMAKEFILE, line 3528 of C:/Develop/lazarus/p ackager/packagesystem.pas
$004D8746 TLAZPACKAGEGRAPH__COMPILEPACKAGE, line 3151 of C:/Develop/lazarus/ packager/packagesystem.pas
$004D8309 TLAZPACKAGEGRAPH__COMPILEREQUIREDPACKAGES, line 3035 of C:/Develop /lazarus/packager/packagesystem.pas
$00402D52 TLAZBUILDAPPLICATION__COMPILEAUTOINSTALLPACKAGES, line 514 of lazb uild.lpr
$00402AC5 TLAZBUILDAPPLICATION__BUILDLAZARUSIDE, line 457 of lazbuild.lpr $00404AC8 TLAZBUILDAPPLICATION__RUN, line 1007 of lazbuild.lpr $004060F1 main, line 1220 of lazbuild.lpr

Regards,
Kjow

Reply by email

Mattias Gaertner
to Kjow
Show quoted text 35 lines
Latest Lazarus/FPC 2.4.0 SVN Is it a my problem? Yesterday, all was fine. (I have a script that download and compile everything automatically when I want) ... ... ... Free Pascal Compiler version 2.4.0 [2010/09/15] for i386 Copyright (c) 1993-2009 by Florian Klaempfl Target OS: Win32 for i386 Compiling imagesforlazarus.pas Compiling lazpng.pas Compiling lazpnm.pas Compiling lazjpg.pas Compiling lazbmp.pas Compiling laztga.pas Compiling lazxpm.pas imagesforlazarus.pas(10,9) Hint: Unit "LazPNG" not used in ImagesForLazarus imagesforlazarus.pas(10,17) Hint: Unit "LazPNM" not used in ImagesForLazarus imagesforlazarus.pas(10,25) Hint: Unit "LazJPG" not used in ImagesForLazarus imagesforlazarus.pas(10,33) Hint: Unit "LazBMP" not used in ImagesForLazarus imagesforlazarus.pas(10,49) Hint: Unit "LazXPM" not used in ImagesForLazarus 267 lines compiled, 0.3 sec 7 hint(s) issued "Compiling package ImagesForLazarus 1.0.1" completed TLazPackageGraph.CheckIfPackageNeedsCompilation No state file for TurboPowerIPr o 1.0 FindFPCTool Executable="fpcmake.exe" CompilerFilename="C:\Develop\fpc\2.4.0\bin\ i386-Win32\fpc.exe" FindFPCTool Try="C:\Develop\fpc\2.4.0\bin\i386-Win32\fpcmake.exe An unhandled exception occurred at $004DA35D : EAccessViolation : Access violation $004DA35D TLAZPACKAGEGRAPH__WRITEMAKEFILE, line 3528 of C:/Develop/lazarus/p ackager/packagesystem.pas

Please test with svn revision 27370. You have to rebuild lazbuild before compiling the IDE with packages.

Mattias

Reply by email

Kjow

Lazarus r27401 & FPC r16002:
...
...
...
-Fu../packager -Fu../packager/frames -Fu../packager/units/i386-win32 -Fu../units /i386-win32 -Fuframes -Fu. -Fiinclude -Fiinclude/win32 -Fi../images -FE.. -FU../ units/i386-win32 -Xg -di386 lazbuild.lpr
Free Pascal Compiler version 2.4.0 [2010/09/18] for i386 Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Win32 for i386
Compiling lazbuild.lpr
Compiling resource ..\units\i386-win32\lazbuild.or Linking ..\lazbuild.exe
1224 lines compiled, 1.8 sec , 3506496 bytes code, 2218888 bytes data make[2]: Leaving directory `C:/Develop/lazarus/ide' make[1]: Leaving directory `C:/Develop/lazarus/ide' EnumFontFamiliesEx is not yet implemented for this widgetset EnumFontFamiliesEx is not yet implemented for this widgetset EnumFontFamiliesEx is not yet implemented for this widgetset An unhandled exception occurred at $00000000 :
EAccessViolation : Access violation
$00000000
$004AE440 TPARSEDCOMPILEROPTIONS__GETPARSEDVALUE, line 3345 of compileroptio ns.pp
$004CCD6F TLAZPACKAGE__GETOUTPUTDIRECTORY, line 3367 of C:/Develop/lazarus/p ackager/packagedefs.pas
$004CE861 TLAZPACKAGEDEFINETEMPLATES__UPDATEOUTPUTDIRECTORY, line 4026 of C: /Develop/lazarus/packager/packagedefs.pas
$004CE246 TLAZPACKAGEDEFINETEMPLATES__PACKAGEIDCHANGED, line 3893 of C:/Deve lop/lazarus/packager/packagedefs.pas
$004CE361 TLAZPACKAGEDEFINETEMPLATES__ALLCHANGED, line 3933 of C:/Develop/la zarus/packager/packagedefs.pas
$004CE7C2 TLAZPACKAGEDEFINETEMPLATES__SETACTIVE, line 4016 of C:/Develop/laz arus/packager/packagedefs.pas
$004D6533 TLAZPACKAGEGRAPH__ADDPACKAGE, line 1813 of C:/Develop/lazarus/pack ager/packagesystem.pas
$004D2169 TLAZPACKAGEGRAPH__OPENDEPENDENCYWITHPACKAGELINK, line 492 of C:/De velop/lazarus/packager/packagesystem.pas
$004DCCA3 TLAZPACKAGEGRAPH__OPENDEPENDENCY, line 4254 of C:/Develop/lazarus/ packager/packagesystem.pas
$004DCFF7 TLAZPACKAGEGRAPH__OPENINSTALLEDDEPENDENCY, line 4302 of C:/Develop /lazarus/packager/packagesystem.pas
$004D6990 LOADLAZARUSBASEPACKAGE, line 1891 of C:/Develop/lazarus/packager/p ackagesystem.pas
$004D68A5 TLAZPACKAGEGRAPH__LOADSTATICBASEPACKAGES, line 1899 of C:/Develop/ lazarus/packager/packagesystem.pas
$00403B00 TLAZBUILDAPPLICATION__INIT, line 762 of lazbuild.lpr $00402864 TLAZBUILDAPPLICATION__BUILDLAZARUSIDE, line 389 of lazbuild.lpr $00404AC8 TLAZBUILDAPPLICATION__RUN, line 1007 of lazbuild.lpr $004060F1 main, line 1220 of lazbuild.lpr

Reply by email

Mattias Gaertner
to Kjow
Show quoted text 24 lines
Lazarus r27401 & FPC r16002: ... ... ... -Fu../packager -Fu../packager/frames -Fu../packager/units/i386-win32 -Fu../units /i386-win32 -Fuframes -Fu. -Fiinclude -Fiinclude/win32 -Fi../images -FE.. -FU../ units/i386-win32 -Xg -di386 lazbuild.lpr Free Pascal Compiler version 2.4.0 [2010/09/18] for i386 Copyright (c) 1993-2009 by Florian Klaempfl Target OS: Win32 for i386 Compiling lazbuild.lpr Compiling resource ..\units\i386-win32\lazbuild.or Linking ..\lazbuild.exe 1224 lines compiled, 1.8 sec , 3506496 bytes code, 2218888 bytes data make[2]: Leaving directory `C:/Develop/lazarus/ide' make[1]: Leaving directory `C:/Develop/lazarus/ide' EnumFontFamiliesEx is not yet implemented for this widgetset EnumFontFamiliesEx is not yet implemented for this widgetset EnumFontFamiliesEx is not yet implemented for this widgetset An unhandled exception occurred at $00000000 : EAccessViolation : Access violation $00000000 $004AE440 TPARSEDCOMPILEROPTIONS__GETPARSEDVALUE, line 3345 of compileroptio ns.pp

Fixed.

Mattias

Reply by email

Kjow
to Mattias Gaertner

2010/9/18 Mattias Gaertner :

Fixed. Mattias

Thanks!
Unfortunately, now there is this error (Lazarus r27404):

...
...
...
Compiling laz2_xmlutils.pas
Compiling laz2_dom.pas
Compiling laz2_xmlwrite.pas
Compiling laz2_xmlread.pas
Compiling codetoolscfgscript.pas
118990 lines compiled, 2.8 sec
make[2]: Leaving directory `C:/Develop/lazarus/components/codetools' make -C lazcontrols all
make[2]: Entering directory `C:/Develop/lazarus/components/lazcontrols' C:/Develop/fpc/binutils/rm.exe -f lib/i386-linux/lazcontrols.ppu C:/Develop/fpc/2.4.0/bin/i386-Win32/ppc386.exe -dLCL -dLCLnogui -MObjFPC -Scghi -Fu../../lcl/units/i386-linux -Fu../../lcl/units/i386-linux/nogui -Fu../../packa ger/units/i386-linux -Fu. -Fi. -FE. -FUlib/i386-linux -Xg -di386 lazcontrols.pas

Free Pascal Compiler version 2.4.0 [2010/09/18] for i386 Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Win32 for i386
Compiling lazcontrols.pas
Compiling dividerbevel.pas
Fatal: Can't find unit LResources used by DividerBevel Fatal: Compilation aborted
make[2]: *** [lazcontrols.ppu] Error 1
make[2]: Leaving directory `C:/Develop/lazarus/components/lazcontrols' make[1]: *** [lazcontrols_all] Error 2
make[1]: Leaving directory `C:/Develop/lazarus/components' make: *** [bigidecomponents] Error 2
EnumFontFamiliesEx is not yet implemented for this widgetset EnumFontFamiliesEx is not yet implemented for this widgetset EnumFontFamiliesEx is not yet implemented for this widgetset An unhandled exception occurred at $00000000 :
EAccessViolation : Access violation
$00000000
$004AE440
$004CCD6F
$004CE861
$004CE246
$004CE361
$004CE7C2
$004D6533
$004D2169
$004DCCA3
$004DCFF7
$004D6990
$004D68A5
$00403B00
$00402864
$00404AC8
$004060F1

Reply by email

Mattias Gaertner
to Kjow
Show quoted text 31 lines
2010/9/18 Mattias Gaertner : > Fixed. > > Mattias Thanks! Unfortunately, now there is this error (Lazarus r27404): ... ... ... Compiling laz2_xmlutils.pas Compiling laz2_dom.pas Compiling laz2_xmlwrite.pas Compiling laz2_xmlread.pas Compiling codetoolscfgscript.pas 118990 lines compiled, 2.8 sec make[2]: Leaving directory `C:/Develop/lazarus/components/codetools' make -C lazcontrols all make[2]: Entering directory `C:/Develop/lazarus/components/lazcontrols' C:/Develop/fpc/binutils/rm.exe -f lib/i386-linux/lazcontrols.ppu C:/Develop/fpc/2.4.0/bin/i386-Win32/ppc386.exe -dLCL -dLCLnogui -MObjFPC -Scghi -Fu../../lcl/units/i386-linux -Fu../../lcl/units/i386-linux/nogui -Fu../../packa ger/units/i386-linux -Fu. -Fi. -FE. -FUlib/i386-linux -Xg -di386 lazcontrols.pas Free Pascal Compiler version 2.4.0 [2010/09/18] for i386 Copyright (c) 1993-2009 by Florian Klaempfl Target OS: Win32 for i386 Compiling lazcontrols.pas Compiling dividerbevel.pas Fatal: Can't find unit LResources used by DividerBevel

It works here with both 2.4.0 and 2.5.1.
Please compile with

make OPT=-va > log.txt

Mattias

Reply by email

Kjow

2010/9/19 Kjow :

Show quoted text 13 lines
2010/9/18 Mattias Gaertner : > It works here with both 2.4.0 and 2.5.1. > Please compile with > > make OPT=-va > log.txt > > Mattias In attachment log.txt Thanks! Kjow

I send a mail with attached the log.txt file, but it is 5Mb, so it is at validation of moderators.

However, I re-updated Lazarus svn to r27409 and now it seems to be ok again :)

...
...
...
Free Pascal Compiler version 2.4.0 [2010/09/19] for i386 Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Win32 for i386
Compiling lazarus.pp
Compiling main.pp
Compiling sourceeditor.pp
Compiling C:\Develop\lazarus\converter\convcodetool.pas Compiling resource ..\units\i386-win32\lazarus.or
Linking C:\Develop\lazarus\lazarus.new.exe
39245 lines compiled, 4.1 sec , 9475360 bytes code, 5596056 bytes data make.exe[2]: Leaving directory `C:/Develop/lazarus/ide' make.exe[1]: Leaving directory `C:/Develop/lazarus/ide' C:\Develop\fpc\binutils\make.exe: Leaving directory `C:/Develop/lazarus' "IDE" completed

Thanks!

Regards,
Kjow

Reply by email