Sign in Join

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

Mailing lists / lazarus / 2015-03

lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

27 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

FreeMan

fpc r30183 & lazarus r48342 yosemite. xcode 6.2 and tools are upgraded.

make[2]: Leaving directory `/opt/lazarus/components/macroscript' make[1]: Leaving directory `/opt/lazarus/components' make: Leaving directory `/opt/lazarus'
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for FCL 1.0.1: /opt/lazarus/packager/units/x86_64-darwin/FCL.compiled ...........
"Missing state file for" all laz and my 3rd party packages's get this warning

I know this is not error, but code is has to work, just let you know

Reply by email

Mattias Gaertner
to FreeMan
fpc r30183 & lazarus r48342 yosemite. xcode 6.2 and tools are upgraded.

Good.

make[2]: Leaving directory `/opt/lazarus/components/macroscript'

What did you do?

Show quoted text 9 lines
make[1]: Leaving directory `/opt/lazarus/components' make: Leaving directory `/opt/lazarus' TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for FCL 1.0.1: /opt/lazarus/packager/units/x86_64-darwin/FCL.compiled ........... "Missing state file for" all laz and my 3rd party packages's get this warning I know this is not error, but code is has to work, just let you know

Mattias

Reply by email

FreeMan
to Mattias Gaertner
Mattias Gaertner wrote
> >make[2]: Leaving directory `/opt/lazarus/components/macroscript' What did you do?

I didn't understand what you mean ?
Log not start from there, I get warning message in log and add 1-2 lines before. I have not error, I builded IDE and start using now This is my commandline:

./lazbuild --pcp=/Users/"$User_Name"/.lazarus --quiet --build-all --skip-dependencies --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64

Reply by email

Mattias Gaertner
to FreeMan
On 14.03.2015 17:44, Mattias Gaertner wrote: >> >make[2]: Leaving directory `/opt/lazarus/components/macroscript' > What did you do? I didn't understand what you mean ?

Your log showed a warning that the packages were not built properly. If you want to know if this warning is serious you have to tell us what you did.

Show quoted text 6 lines
Log not start from there, I get warning message in log and add 1-2 lines before. I have not error, I builded IDE and start using now This is my commandline: ./lazbuild --pcp=/Users/"$User_Name"/.lazarus --quiet --build-all --skip-dependencies --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64

Well, if you pass "--skip-dependencies", then you are an expert and you know what you are doing. Or the opposite.

Mattias

Reply by email

FreeMan
to Mattias Gaertner
Mattias Gaertner wrote
Your log showed a warning that the packages were not built properly. If you want to know if this warning is serious you have to tell us what you did.

Ok. I remove lazarus now, and run my script again. Downlaod svn lazarus then make. finished without error.
then execute that commandline ./lazbuild .......
then I get this errors now:
I removed same lines
.....
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for laz_fpspreadsheetexport_visual 1.4.2:
/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/laz_fpspreadsheetexport_visual.compiled An unhandled exception occurred at $0000000000000000: EAccessViolation: Access violation
$0000000000000000
$00000001000030CF
$0000000100002D07
$0000000100007480

TFPCMsgFilePool.Destroy file still used:
/opt/freepascal/3.1.1/compiler/msg/errore.msg
An unhandled exception occurred at $000000010055A618: Exception: TFPCMsgFilePool.Destroy some files are still used $000000010055A618
$0000000100019B35
$000000010001DAFE

For test, Run lazarus IDe, its worked, then from tools menu configure -> build lazarus IDE builded ! restarted and all packs added !!! Test my project, its compiled, running and debuging.

Show quoted text 10 lines
> >Log not start from there, I get warning message in log and add 1-2 lines > >before. I have not error, I builded IDE and start using now > >This is my commandline: > > > >./lazbuild --pcp=/Users/"$User_Name"/.lazarus --quiet --build-all > >--skip-dependencies --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64 Well, if you pass "--skip-dependencies", then you are an expert and you know what you are doing. Or the opposite. Mattias

yes I don't need compile every time same codes, I'm not change packs, if I add new one, work on it Imean try learn how to work then use it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150314/842bd7b6/attachment-0001.html>

Reply by email

Péter Gábor
to FreeMan

Today I ran into the same error, so I made some tests...

The fixes (1.4*) branch can be compiled with lazbuild and from the ide itself without error.
Trunk (1.5) version of Lazarus IDE builds itself successfully with a lot of "duplicate unit" warnings (did not appear some days before). Trunk version of LazBuild generates the following output and fails: (the home path is replaced with ~ symbol to short this log)

---- BEGIN ----
SetPrimaryConfigPath NewValue="~/.lazarus_test" -> "~/.lazarus_test" primary config path: ~/.lazarus_test/
TFPCTargetConfigCache.NeedsUpdate TargetOS="" TargetCPU="" Options="" config file changed "~/.fpc.cfg"
TFPCTargetConfigCache.Update ~/Projektek/fpcbuild/release/bin/fpc TargetOS= TargetCPU= CompilerOptions= ExtraOptions= PATH=~/Projektek/binutils/cross/bin/:~/Projektek/fpcbuild/release/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games RunTool ~/Projektek/fpcbuild/release/bin/fpc "-iWTOTP" RunTool ~/Projektek/fpcbuild/release/bin/fpc "-va" "compilertest.pas" TFPCTargetConfigCache.Update: has changed
TBuildManager.SetBuildTarget Old=i386-linux-gtk2 New=i386-linux-gtk2 FPC=True LCL=False
NOTE: Building Lazarus IDE with profile "Build IDE with Packages" TBuildManager.SetBuildTarget Old=i386-linux-gtk2 New=i386-linux-gtk2 FPC=True LCL=False
TFPCTargetConfigCache.NeedsUpdate TargetOS="linux" TargetCPU="i386" Options="" config file changed "~/.fpc.cfg"
TFPCTargetConfigCache.Update ~/Projektek/fpcbuild/release/bin/fpc TargetOS=linux TargetCPU=i386 CompilerOptions=
ExtraOptions=-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg PATH=~/Projektek/binutils/cross/bin/:~/Projektek/fpcbuild/release/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games RunTool ~/Projektek/fpcbuild/release/bin/fpc "-iWTOTP" "-Pi386" "-Tlinux" "-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg" RunTool ~/Projektek/fpcbuild/release/bin/fpc "-va" "-Pi386" "-Tlinux" "-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg" "compilertest.pas"
TFPCTargetConfigCache.Update: has changed
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for FCL 1.0.1: ~/Projektek/Lazarus-trunk/packager/units/i386-linux/FCL.compiled ---- SAME MESSAGES HERE FOR VARIOUS PACKAGES ----
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for CodeTools 1.0.1:
~/Projektek/Lazarus-trunk/components/codetools/units/i386-linux/CodeTools.compiled TFPCTargetConfigCache.NeedsUpdate TargetOS="" TargetCPU="" Options="-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg" compiler file changed "~/Projektek/fpcbuild/release/bin/fpc" FileAge=1426260910 StoredAge=0
TFPCTargetConfigCache.Update ~/Projektek/fpcbuild/release/bin/fpc TargetOS= TargetCPU=
CompilerOptions=-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg ExtraOptions=-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg PATH=~/Projektek/binutils/cross/bin/:~/Projektek/fpcbuild/release/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games RunTool ~/Projektek/fpcbuild/release/bin/fpc "-iWTOTP" "-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg" "-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg" RunTool ~/Projektek/fpcbuild/release/bin/fpc "-va" "-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg" "-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg" "compilertest.pas"
TFPCTargetConfigCache.Update: has changed
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for laz_fpspreadsheet 1.5:
~/Projektek/lazarus-ccr/components/fpspreadsheet/lib/i386-linux/laz_fpspreadsheet.compiled ---- SAME MESSAGES HERE FOR VARIOUS PACKAGES ----
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for LR_ZeosDB 0.2.2:
~/Projektek/Lazarus-trunk/components/lazreport/source/addons/ZeosDB/lib/i386-linux/LR_ZeosDB.compiled An unhandled exception occurred at $00000000:
EAccessViolation: Access violation
$00000000
$08049CAD
$08049A0D
$0804CA96
$0804E221

TFPCMsgFilePool.Destroy file still used:
~/Projektek/fpcbuild/fpcsrc/compiler/msg/errore.msg An unhandled exception occurred at $0850F42D:
Exception: TFPCMsgFilePool.Destroy some files are still used $0850F42D
$0805EF62
$08062416
$080600B4
$0804E221

---- END ----

G?bor

Reply by email

Mattias Gaertner
to Péter Gábor
[...] Trunk (1.5) version of Lazarus IDE builds itself successfully with a lot of "duplicate unit" warnings (did not appear some days before).

That is a new feature.
Can you give an example for wrong duplicate warning?

Mattias

Reply by email

Péter Gábor
to Mattias Gaertner

Also I noticed that there is some "duplicate file" not only "duplicate unit" messages. I tried to find different kinds of "duplicate file/unit" warnings.
(home+base path is replaced with ~ symbol for easier reading)

Warning: Duplicate unit "ZUpdateSqlEditor" in "zcore 7.1", orphaned ppu "~/_components/zeoslib/packages/lazarus/lib/i386-linux/ZUpdateSqlEditor.ppu" Warning: Duplicate unit "ZUpdateSqlEditor" in "zcomponent 7.1", source="~/_components/zeoslib/src/component/ZUpdateSqlEditor.pas"

Warning: Duplicate unit "ZSybaseToken" in "zcore 7.1", orphaned ppu "~/_components/zeoslib/packages/lazarus/lib/i386-linux/ZSybaseToken.ppu" Warning: Duplicate unit "ZSybaseToken" in "zparsesql 7.1", ppu="~/_components/zeoslib/packages/lazarus/lib/i386-linux/ZSybaseToken.ppu", source="~/_components/zeoslib/src/parsesql/ZSybaseToken.pas"

Warning: Duplicate unit "registersqlite" in "sqlite3laz 0.4", ppu="~/Lazarus-trunk/components/sqlite/lib/i386-linux/gtk2/registersqlite.ppu", source="~/Lazarus-trunk/components/sqlite/registersqlite.pas" Warning: Duplicate unit "registersqlite" in "sqlitelaz 0.4", ppu="~/Lazarus-trunk/components/sqlite/lib/i386-linux/gtk2/registersqlite.ppu", source="~/Lazarus-trunk/components/sqlite/registersqlite.pas"

Warning: Duplicate unit "main" in "#IDE",
ppu="~/Lazarus-trunk/units/i386-linux/gtk2/main.ppu", source="~/Lazarus-trunk/ide/main.pp"
Warning: Duplicate unit "main" in "SdpoDynmatrix 1.0", source="~/_components/Sdpo/SdpoDynmatrix/main.pas"

Warning: Duplicate unit "fpolebasic" in "laz_fpspreadsheet 1.5", ppu="~/lazarus-ccr/components/fpspreadsheet/lib/i386-linux/fpolebasic.ppu", source="~/lazarus-ccr/components/fpspreadsheet/fpolebasic.pas" Warning: Duplicate unit "fpolebasic" in "laz_fpspreadsheet_visual 1.5", ppu="~/lazarus-ccr/components/fpspreadsheet/lib/i386-linux/fpolebasic.ppu", source="~/lazarus-ccr/components/fpspreadsheet/fpolebasic.pas"

Warning: Duplicate file "" in "sqlite3laz 0.4",
path="~/Lazarus-trunk/components/sqlite/lib/i386-linux/gtk2/sqlitecomponenteditor.lfm" Warning: Duplicate file "" in "sqlitelaz 0.4",
path="~/Lazarus-trunk/components/sqlite/sqlitecomponenteditor.lfm"

2015-03-15 18:19 keltez?ssel, Mattias Gaertner ?rta:

Show quoted text 5 lines
Can you give an example for wrong duplicate warning? Mattias
P?ter G?bor

Reply by email

Mattias Gaertner
to Péter Gábor: Also I noticed that there is some "duplicate file" not only "duplicate unit" messages. I…
Also I noticed that there is some "duplicate file" not only "duplicate unit" messages. I tried to find different kinds of "duplicate file/unit" warnings. (home+base path is replaced with ~ symbol for easier reading)

Thanks.

Warning: Duplicate unit "ZUpdateSqlEditor" in "zcore 7.1", orphaned ppu "~/_components/zeoslib/packages/lazarus/lib/i386-linux/ZUpdateSqlEditor.ppu" Warning: Duplicate unit "ZUpdateSqlEditor" in "zcomponent 7.1", source="~/_components/zeoslib/src/component/ZUpdateSqlEditor.pas"

"Orphaned" means here: no corresponding source file was found in the package.

It seems ZUpdateSqlEditor belongs to package zcomponent, but the ppu is in the output directory of package zcore.
Either this a "bug" in the packages or you forgot to clean up.

Note: "bug" may be too harsh. It probably works most of the time because of the order of unit paths. But it can mean trouble:
- when compiling packages in parallel
- The IDE and its addons do not work in the same way as the compiler. The compiler is called multiple times, each time with different search paths and only seeing the ppu files of the other packages. The IDE and addons mostly work on the sources and they search with combined search paths. Duplicates can lead to different results.
- This can lead to strange errors and is confusing for the user.

Show quoted text 5 lines
Warning: Duplicate unit "ZSybaseToken" in "zcore 7.1", orphaned ppu "~/_components/zeoslib/packages/lazarus/lib/i386-linux/ZSybaseToken.ppu" Warning: Duplicate unit "ZSybaseToken" in "zparsesql 7.1", ppu="~/_components/zeoslib/packages/lazarus/lib/i386-linux/ZSybaseToken.ppu", source="~/_components/zeoslib/src/parsesql/ZSybaseToken.pas"

Same, with different packages.

Show quoted text 6 lines
Warning: Duplicate unit "registersqlite" in "sqlite3laz 0.4", ppu="~/Lazarus-trunk/components/sqlite/lib/i386-linux/gtk2/registersqlite.ppu", source="~/Lazarus-trunk/components/sqlite/registersqlite.pas" Warning: Duplicate unit "registersqlite" in "sqlitelaz 0.4", ppu="~/Lazarus-trunk/components/sqlite/lib/i386-linux/gtk2/registersqlite.ppu", source="~/Lazarus-trunk/components/sqlite/registersqlite.pas"

Maybe you should only use one of these packages: either sqlite or sqlite3?

Show quoted text 5 lines
Warning: Duplicate unit "main" in "#IDE", ppu="~/Lazarus-trunk/units/i386-linux/gtk2/main.ppu", source="~/Lazarus-trunk/ide/main.pp" Warning: Duplicate unit "main" in "SdpoDynmatrix 1.0", source="~/_components/Sdpo/SdpoDynmatrix/main.pas"

Oh.
Hopefully main.ppu of SdpoDynmatrix is not used at design time.

Show quoted text 6 lines
Warning: Duplicate unit "fpolebasic" in "laz_fpspreadsheet 1.5", ppu="~/lazarus-ccr/components/fpspreadsheet/lib/i386-linux/fpolebasic.ppu", source="~/lazarus-ccr/components/fpspreadsheet/fpolebasic.pas" Warning: Duplicate unit "fpolebasic" in "laz_fpspreadsheet_visual 1.5", ppu="~/lazarus-ccr/components/fpspreadsheet/lib/i386-linux/fpolebasic.ppu", source="~/lazarus-ccr/components/fpspreadsheet/fpolebasic.pas"

The two packages use the same sources. Either this is a "bug" in the packages or you are not supposed to use both.

Warning: Duplicate file "" in "sqlite3laz 0.4", path="~/Lazarus-trunk/components/sqlite/lib/i386-linux/gtk2/sqlitecomponenteditor.lfm" Warning: Duplicate file "" in "sqlitelaz 0.4", path="~/Lazarus-trunk/components/sqlite/sqlitecomponenteditor.lfm"

The "" is a bug. I fixed this.
See above about sqlite/sqlite3.

Mattias

Reply by email

Péter Gábor
to Mattias Gaertner

2015-03-15 21:09 keltez?ssel, Mattias Gaertner ?rta:

Show quoted text 14 lines
> Warning: Duplicate unit "ZUpdateSqlEditor" in "zcore 7.1", orphaned ppu > "~/_components/zeoslib/packages/lazarus/lib/i386-linux/ZUpdateSqlEditor.ppu" > Warning: Duplicate unit "ZUpdateSqlEditor" in "zcomponent 7.1", > source="~/_components/zeoslib/src/component/ZUpdateSqlEditor.pas" "Orphaned" means here: no corresponding source file was found in the package. It seems ZUpdateSqlEditor belongs to package zcomponent, but the ppu is in the output directory of package zcore. Either this a "bug" in the packages or you forgot to clean up.

The package files (*.lpk) and only the corresponding pascal files are in the same directory by the package's author:

zeoslib/packages/lazarus/zcomponent.pas
zeoslib/packages/lazarus/zcore.pas
zeoslib/packages/lazarus/zdbc.pas
zeoslib/packages/lazarus/zparsesql.pas
zeoslib/packages/lazarus/zplain.pas
zeoslib/packages/lazarus/zcomponent.lpk
zeoslib/packages/lazarus/zcore.lpk
zeoslib/packages/lazarus/zdbc.lpk
zeoslib/packages/lazarus/zparsesql.lpk
zeoslib/packages/lazarus/zplain.lpk

Additiona sources of the packages are in an other place (in the distributed archive):

zeoslib/src/*
zeoslib/src/component/*
zeoslib/src/core/*
zeoslib/src/dbc/*
zeoslib/src/parsesql/*
zeoslib/src/plain/*

Show quoted text 11 lines
> Warning: Duplicate unit "fpolebasic" in "laz_fpspreadsheet 1.5", > ppu="fpspreadsheet/lib/i386-linux/fpolebasic.ppu", > source="fpspreadsheet/fpolebasic.pas" > Warning: Duplicate unit "fpolebasic" in "laz_fpspreadsheet_visual 1.5", > ppu="fpspreadsheet/lib/i386-linux/fpolebasic.ppu", > source="fpspreadsheet/fpolebasic.pas" The two packages use the same sources. Either this is a "bug" in the packages or you are not supposed to use both.

laz_fpspreadsheet is added to the list of dependencies in laz_fpspreadsheet_visual, so the visual component cannot be installed/used without the other.

The package files (*.lpk), the corresponding pascal files, and the additional pascal/other files are in the same directory by the package's author:

fpspreadsheet/*

For me the both above seem to be very similar situation (except the location of additional source/other files).

Cleanup doesn't help in this cases. After removing the "....../lib/" directories the first rebuild runs without the warnings (of course), but next time the warnings appear again.

The package files (*.lpk) are in the same directory, so the compiled ppu files can/will go into the same place by default.

So these issues seem to be related to package (mis)configurations or the defaults assumed by Lazarus if something (e.g. output directory) isn't defined.

> Warning: Duplicate unit "registersqlite" in "sqlite3laz 0.4", > Warning: Duplicate unit "registersqlite" in "sqlitelaz 0.4",

These warnings are okay for me, because they may be needed in separate projects (for any reason).

> Warning: Duplicate unit "main" in "#IDE", > Warning: Duplicate unit "main" in "SdpoDynmatrix 1.0",

Also these warnings are okay for me, because such a situation my lead to strange results.

P?ter G?bor

Reply by email

Mattias Gaertner
to Péter Gábor
Show quoted text 14 lines
[...] The package files (*.lpk) and only the corresponding pascal files are in the same directory by the package's author: zeoslib/packages/lazarus/zcomponent.pas zeoslib/packages/lazarus/zcore.pas zeoslib/packages/lazarus/zdbc.pas zeoslib/packages/lazarus/zparsesql.pas zeoslib/packages/lazarus/zplain.pas zeoslib/packages/lazarus/zcomponent.lpk zeoslib/packages/lazarus/zcore.lpk zeoslib/packages/lazarus/zdbc.lpk zeoslib/packages/lazarus/zparsesql.lpk zeoslib/packages/lazarus/zplain.lpk

The zdbc.pas is in the path of all these packages. That means every time one of these packages is compiled the compiler has a chance to build a new zdbc.ppu.
And it is hard for the user, to find out what package contains unit zdbc.
Ergo: this setup is valid, but not recommended.
Maybe the many warnings can be reduced to a few.

Show quoted text 35 lines
Additiona sources of the packages are in an other place (in the distributed archive): zeoslib/src/* zeoslib/src/component/* zeoslib/src/core/* zeoslib/src/dbc/* zeoslib/src/parsesql/* zeoslib/src/plain/* > >> Warning: Duplicate unit "fpolebasic" in "laz_fpspreadsheet 1.5", >> ppu="fpspreadsheet/lib/i386-linux/fpolebasic.ppu", >> source="fpspreadsheet/fpolebasic.pas" >> Warning: Duplicate unit "fpolebasic" in "laz_fpspreadsheet_visual 1.5", >> ppu="fpspreadsheet/lib/i386-linux/fpolebasic.ppu", >> source="fpspreadsheet/fpolebasic.pas" > > The two packages use the same sources. Either this is a > "bug" in the packages or you are not supposed to use both. > laz_fpspreadsheet is added to the list of dependencies in laz_fpspreadsheet_visual, so the visual component cannot be installed/used without the other. The package files (*.lpk), the corresponding pascal files, and the additional pascal/other files are in the same directory by the package's author: fpspreadsheet/* For me the both above seem to be very similar situation (except the location of additional source/other files).

Yes.

Cleanup doesn't help in this cases. After removing the "....../lib/" directories the first rebuild runs without the warnings (of course), but next time the warnings appear again.

Yes.
Eventually there should be a warning about shr

The package files (*.lpk) are in the same directory, so the compiled ppu files can/will go into the same place by default.

I improved it a bit: When a ppu is in two packages and only one package has a source, there will be no warning.

Mattias

Reply by email

FreeMan
to Mattias Gaertner

lazarus r48404 fpc r30250 osx qt x64

When compile my project, I get this error:

Division by zero.

Press OK to ignore and risk data corruption.

Press Cancel to kill the program.

this lines from terminal, when error created:

TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for rxnew 2.6.5.152:
/opt/proje_laz/components/all_libs/rx/x86_64-darwin-qt/rxnew.compiled TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for TurboPowerIPro 1.0:
/opt/lazarus/components/turbopower_ipro/units/x86_64-darwin/qt/TurboPowerIPro.compiled TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for ZVDateTimeCtrls 1.5.1:
/opt/proje_laz/components/all_libs/zvDateTimeCtrls/x86_64-darwin-qt/ZVDateTimeCtrls.compiled TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for cffilter_laz 4.0:
/opt/proje_laz/components/all_libs/clever_filter/x86_64-darwin-qt/cffilter_laz.compiled TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for dbplan_laz 7.5.3.1:
/opt/proje_laz/components/all_libs/plan_laz/x86_64-darwin-qt/dbplan_laz.compiled TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for UGS_secury 2.0:
/opt/proje_laz/components/all_libs/UGS_sec/x86_64-darwin-qt/UGS_secury.compiled TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for UGS_TurtleCat 2.0.1:
/opt/proje_laz/components/all_libs/UGS/x86_64-darwin-qt/UGS_TurtleCat.compiled ERROR in IDE:
Creating gdb catchable error:
TApplication.HandleException Division by zero
Stack trace:
$000000010065D7FE
$0000000100B34FFD
$0000000100B37170
$0000000100B36AB0
$0000000100529725
$000000010051BC4B
$000000010053657F
$0000000100087A68
$000000010007E4AE
$0000000100414787
$0000000100418371
$00000001004160BD
$0000000100F58F7F
$00000001002A8D4C
$00000001001F45D2
$00000001001F5108
$00000001000127F3
2015-03-17 11:29:12.841 lazarus[92511:296713] modalSession has been exited prematurely - check for a reentrant call to endModalSession: ^[[1;2D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150317/2c7e4f66/attachment.html>

Reply by email

FreeMan
to FreeMan

Maybe this result helpful, I get from message window:

Warning: other unit files search path (aka unit path) of "dcpcrypt_laz 2.0.4.1" contains "/opt/proje_laz/components/dcpcrypt/Ciphers", which belongs to package "dcpcrypt"
Warning: other sources path of package "lnetbase 0.6.6" contains directory "../lib", which is already in the unit search path. Warning: Duplicate unit "zlibar_package" in "zlibar_package 0.2.1", ppu="/opt/proje_laz/components/all_libs/zlibar/x86_64-darwin-qt/zlibar_package.ppu", source="/opt/proje_laz/components/zlibar/zlibar_package.pas" Warning: Duplicate unit "zlibar_package" in "UGS_secury 2.0", ppu="/opt/proje_laz/components/all_libs/zlibar/x86_64-darwin-qt/zlibar_package.ppu", source="/opt/proje_laz/components/zlibar/zlibar_package.pas" Warning: Duplicate unit "zlibar" in "zlibar_package 0.2.1", ppu="/opt/proje_laz/components/all_libs/zlibar/x86_64-darwin-qt/zlibar.ppu", source="/opt/proje_laz/components/zlibar/zlibar.pas" Warning: Duplicate unit "zlibar" in "UGS_secury 2.0", ppu="/opt/proje_laz/components/all_libs/UGS_sec/x86_64-darwin-qt/zlibar.ppu", source="/opt/proje_laz/components/zlibar/zlibar.pas" Warning: Duplicate unit "xlsxooxml" in "laz_fpspreadsheet 1.4.2", ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsxooxml.ppu", source="/opt/proje_laz/components/fpspreadsheet/xlsxooxml.pas" Warning: Duplicate unit "xlsxooxml" in "laz_fpspreadsheet_visual 1.4.2", ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsxooxml.ppu", source="/opt/proje_laz/components/fpspreadsheet/xlsxooxml.pas" Warning: Duplicate unit "xlsconst" in "laz_fpspreadsheet 1.4.2", ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsconst.ppu", source="/opt/proje_laz/components/fpspreadsheet/xlsconst.pas" Warning: Duplicate unit "xlsconst" in "laz_fpspreadsheet_visual 1.4.2", ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsconst.ppu", source="/opt/proje_laz/components/fpspreadsheet/xlsconst.pas" Warning: Duplicate unit "xlscommon" in "laz_fpspreadsheet 1.4.2", ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlscommon.ppu", source="/opt/proje_laz/components/fpspreadsheet/xlscommon.pas" Warning: Duplicate unit "xlscommon" in "laz_fpspreadsheet_visual 1.4.2", ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlscommon.ppu", source="/opt/proje_laz/components/fpspreadsheet/xlscommon.pas" Warning: Duplicate unit "xlsbiff8" in "laz_fpspreadsheet 1.4.2", ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsbiff8.ppu", source="/opt/proje_laz/components/fpspreadsheet/xlsbiff8.pas" Warning: Duplicate unit "xlsbiff8" in "laz_fpspreadsheet_visual 1.4.2", ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsbiff8.ppu", source="/opt/proje_laz/components/fpspreadsheet/xlsbiff8.pas" Warning: Duplicate unit "xlsbiff5" in "laz_fpspreadsheet 1.4.2", ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsbiff5.ppu", source="/opt/proje_laz/components/fpspreadsheet/xlsbiff5.pas" Warning: Duplicate unit "xlsbiff5" in "laz_fpspreadsheet_visual 1.4.2", ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsbiff5.ppu", source="/opt/proje_laz/components/fpspreadsheet/xlsbiff5.pas" Warning: Duplicate unit "xlsbiff2" in "laz_fpspreadsheet 1.4.2", ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsbiff2.ppu", source="/opt/proje_laz/components/fpspreadsheet/xlsbiff2.pas" Warning: Duplicate unit "xlsbiff2" in "laz_fpspreadsheet_visual 1.4.2", ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsbiff2.ppu", source="/opt/proje_laz/components/fpspreadsheet/xlsbiff2.pas" Warning: Duplicate unit "wikitable" in "laz_fpspreadsheet 1.4.2", ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/wikitable.ppu", source="/opt/proje_laz/components/fpspreadsheet/wikitable.pas" Warning: Duplicate unit "wikitable" in "laz_fpspreadsheet_visual 1.4.2", ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/wikitable.ppu", source="/opt/proje_laz/components/fpspreadsheet/wikitable.pas"

Reply by email

FreeMan
to Mattias Gaertner
Mattias Gaertner wrote 10 lines
On Tue, 17 Mar 2015 11:36:41 +0200 FreeMan wrote: lazarus r48404 fpc r30250 osx qt x64 When compile my project, I get this error: Division by zero. Please test with revision 48405. Mattias

I tested, but NOT fixed. Just on message windows not show warnings. in terminal when compile
still I get this errors:
........
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for ZVDateTimeCtrls 1.5.1:
/opt/proje_laz/components/all_libs/zvDateTimeCtrls/x86_64-darwin-qt/ZVDateTimeCtrls.compiled TApplication.HandleException Access violation
Stack trace:
$0000000100B36EFF
$0000000100B36858
$0000000100529515
$000000010051BA3B
$000000010053636F
$0000000100087858
$000000010007E29E
$0000000100414577
$0000000100418161
$0000000100415EAD
$0000000100F58EBF
$00000001002A8B3C
$00000001001F43C2
$00000001001F4EF8
$00000001000125E3
$00000001001F2A6E
$00000001001E6114
2015-03-17 14:00:36.777 lazarus[32947:368541] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

Reply by email

Mattias Gaertner
to FreeMan
Show quoted text 38 lines
On 17.03.2015 13:45, Mattias Gaertner wrote: > On Tue, 17 Mar 2015 11:36:41 +0200 > FreeMan wrote: > lazarus r48404 fpc r30250 osx qt x64 > > When compile my project, I get this error: > > Division by zero. > Please test with revision 48405. > > Mattias I tested, but NOT fixed. Just on message windows not show warnings. in terminal when compile still I get this errors: ........ TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for ZVDateTimeCtrls 1.5.1: /opt/proje_laz/components/all_libs/zvDateTimeCtrls/x86_64-darwin-qt/ZVDateTimeCtrls.compiled TApplication.HandleException Access violation Stack trace: $0000000100B36EFF $0000000100B36858 $0000000100529515 $000000010051BA3B $000000010053636F $0000000100087858 $000000010007E29E $0000000100414577 $0000000100418161 $0000000100415EAD $0000000100F58EBF $00000001002A8B3C $00000001001F43C2 $00000001001F4EF8 $00000001000125E3 $00000001001F2A6E $00000001001E6114

Why are there no line infos? Have you stripped the IDE?

Please run the IDE in gdb to get a stacktrace.

Mattias

Reply by email

FreeMan
to Mattias Gaertner
Mattias Gaertner wrote 5 lines
Why are there no line infos? Have you stripped the IDE? Please run the IDE in gdb to get a stacktrace. Mattias

in r48406
I attached gdb logs

from terminal.
lazbuild wrote this lines, but not stop building, its continue .......
in/rm -f
/bin/rm -f fpcmade.x86_64-darwin Package.fpc ppas.sh script.res link.res /bin/rm -f *.s *_ppas.sh
make[2]: Leaving directory `/opt/lazarus/components/macroscript' make[1]: Leaving directory `/opt/lazarus/components' make: Leaving directory `/opt/lazarus'
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for FCL 1.0.1: /opt/lazarus/packager/units/x86_64-darwin/FCL.compiled TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for lnetbase 0.6.6:
/opt/proje_laz/components/all_libs/lnet/x86_64-darwin-qt/lnetbase.compiled TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for dcpcrypt 2.0.4.1:
/opt/proje_laz/components/all_libs/dcpcrypt/x86_64-darwin-qt/dcpcrypt.compiled TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for LazUtils 1.0:
/opt/lazarus/components/lazutils/lib/x86_64-darwin/LazUtils.compiled TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for zlibar_package 0.2.1:
/opt/proje_laz/components/all_libs/zlibar/x86_64-darwin-qt/zlibar_package.compiled TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for CodeTools 1.0.1:
/opt/lazarus/components/codetools/units/x86_64-darwin/CodeTools.compiled TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for LCLBase 1.5: /opt/lazarus/lcl/units/x86_64-darwin/LCLBase.compiled ......

-------------- next part --------------
A non-text attachment was scrubbed...
Name: log-gdb-start.zip
Type: application/x-zip-compressed
Size: 1006 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150317/e0fe83cb/attachment-0002.bin> -------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb-log-errors.zip
Type: application/x-zip-compressed
Size: 2275 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150317/e0fe83cb/attachment-0003.bin>

Reply by email

Juha Manninen
to FreeMan

I also get a SIGSEGV every time I build Lazarus from inside IDE. I can prevent the crash only by selecting "Clean all" in the Configure build lazarus.

#0 0x0000000001364185 in CHECKDUPLICATEUNITS
(parentfp=0x7fffffffbf60) at ../packager/interpkgconflictfiles.pas:876 #1 0x00000000013638ac in CHECKINTERPKGFILES
(IDEOBJECT=0x7ffff7f590c0, PKGLIST=0x7fffe071f180, FILESCHANGED=false) at ../packager/interpkgconflictfiles.pas:1041
#2 0x0000000000b65cc4 in PACKAGEGRAPHCHECKINTERPKGFILES (this=0x7fffe02307c0, IDEOBJECT=0x7ffff7f590c0,
PKGLIST=0x7fffe071f180, FILESCHANGED=false) at
../packager/pkgmanager.pas:929
#3 0x0000000000b51c1d in COMPILEREQUIREDPACKAGES
(this=0x7ffff7f590c0, APACKAGE=0x0, FIRSTDEPENDENCY=0x7fffe01c4ec0, SKIPDESIGNTIMEPACKAGES=false, POLICY=PUPASNEEDED)
at ../packager/packagesystem.pas:3666
#4 0x0000000000b82a99 in DOCOMPILEAUTOINSTALLPACKAGES (this=0x7fffe02307c0, FLAGS=..., ONLYBASE=false) at ../packager/pkgmanager.pas:5877
#5 0x00000000004d0dd8 in DOBUILDLAZARUSSUB (this=0x7fffe51f22e0, FLAGS=...) at main.pp:7360
#6 0x00000000004d12ea in DOBUILDLAZARUS (this=0x7fffe51f22e0, FLAGS=...) at main.pp:7418
...

The whole backtrace is attached.

Juha
-------------- next part --------------
Program received signal SIGSEGV, Segmentation fault. 0x0000000001364185 in CHECKDUPLICATEUNITS (parentfp=0x7fffffffbf60) at ../packager/interpkgconflictfiles.pas:876 876 debugln(['CheckPPUFilesInWrongDirs duplicate units found: file1="',CurUnit.FullFilename,'"(',CurUnit.OwnerInfo.Name,') ppu=',PPUFilenil,' file2="',OtherFile.FullFilename,'"(',OtherFile.OwnerInfo.Name,') ppu=',OtherPPUFilenil]); (gdb) bt
#0 0x0000000001364185 in CHECKDUPLICATEUNITS (parentfp=0x7fffffffbf60) at ../packager/interpkgconflictfiles.pas:876 #1 0x00000000013638ac in CHECKINTERPKGFILES (IDEOBJECT=0x7ffff7f590c0, PKGLIST=0x7fffe071f180, FILESCHANGED=false) at ../packager/interpkgconflictfiles.pas:1041 #2 0x0000000000b65cc4 in PACKAGEGRAPHCHECKINTERPKGFILES (this=0x7fffe02307c0, IDEOBJECT=0x7ffff7f590c0, PKGLIST=0x7fffe071f180, FILESCHANGED=false) at ../packager/pkgmanager.pas:929 #3 0x0000000000b51c1d in COMPILEREQUIREDPACKAGES (this=0x7ffff7f590c0, APACKAGE=0x0, FIRSTDEPENDENCY=0x7fffe01c4ec0, SKIPDESIGNTIMEPACKAGES=false, POLICY=PUPASNEEDED) at ../packager/packagesystem.pas:3666
#4 0x0000000000b82a99 in DOCOMPILEAUTOINSTALLPACKAGES (this=0x7fffe02307c0, FLAGS=..., ONLYBASE=false) at ../packager/pkgmanager.pas:5877 #5 0x00000000004d0dd8 in DOBUILDLAZARUSSUB (this=0x7fffe51f22e0, FLAGS=...) at main.pp:7360 #6 0x00000000004d12ea in DOBUILDLAZARUS (this=0x7fffe51f22e0, FLAGS=...) at main.pp:7418 #7 0x00000000004c16eb in MNUTOOLBUILDLAZARUSCLICKED (this=0x7fffe51f22e0, SENDER=0x7fffe034b5e0) at main.pp:4719 #8 0x00000000009c8772 in MENUITEMCLICK (this=0x7fffe034b5e0, SENDER=0x7fffe034b5e0) at menuintf.pas:575 #9 0x00000000009ce2fd in MENUITEMCLICK (this=0x7fffe034b5e0, SENDER=0x7fffe034b5e0) at menuintf.pas:1650 #10 0x00000000009caa5f in TRIGGERCLICK (this=0x7fffe034b5e0) at menuintf.pas:932 #11 0x00000000015c640b in CLICK (this=0x7fffdbbc19f0) at editortoolbar_impl.pas:162 #12 0x00000000007cd33e in MOUSEUP (this=0x7fffdbbc19f0, BUTTON=MBLEFT, SHIFT=..., X=12, Y=10) at include/toolbutton.inc:133 #13 0x00000000006bde6a in DOMOUSEUP (this=0x7fffdbbc19f0, MESSAGE=..., BUTTON=MBLEFT) at include/control.inc:2169 #14 0x00000000006bec81 in WMLBUTTONUP (this=0x7fffdbbc19f0, MESSAGE=...) at include/control.inc:2613 #15 0x0000000000433851 in SYSTEM_TOBJECT_$__DISPATCH$formal () #16 0x00000000006beb48 in WMXBUTTONQUADCLK (this=0x7fffdbbc19f0, MESSAGE=...) at include/control.inc:2582 #17 0x00000000006bb4aa in PERFORM (this=0x7fffdbbc19f0, MSG=514, WPARAM=0, LPARAM=655372) at include/control.inc:1451 #18 0x00000000006a6456 in ISCONTROLMOUSEMSG (this=0x7fffdbbbd5f0, THEMESSAGE=0) at include/wincontrol.inc:4663 #19 0x00000000006a8cec in WNDPROC (this=0x7fffdbbbd5f0, MESSAGE=...) at include/wincontrol.inc:5288 #20 0x000000000076dcc0 in DELIVERMESSAGE (this=0x7fffdb7424b0, MSG=0, AISINPUTEVENT=true) at qt/qtwidgets.pas:5517 #21 0x000000000076848b in SLOTMOUSE (this=0x7fffdb7424b0, SENDER=0x2d4c2b0, EVENT=0x7fffffffd310) at qt/qtwidgets.pas:3623 #22 0x00000000007658da in EVENTFILTER (this=0x7fffdb7424b0, SENDER=0x2d4c2b0, EVENT=0x7fffffffd310) at qt/qtwidgets.pas:2568 #23 0x000000000078fbbc in EVENTFILTER (this=0x7fffdb7424b0, SENDER=0x2d4c2b0, EVENT=0x7fffffffd310) at qt/qtwidgets.pas:16000 #24 0x0000000000791477 in VIEWPORTEVENTFILTER (this=0x7fffdb7421f0, EVENT=0x7fffffffd310, RETVAL=0x7fffffffcf7f) at qt/qtwidgets.pas:16486 #25 0x00007ffff7726b7d in QLCLAbstractScrollArea::viewportEvent(QEvent*) () from /usr/local/lib/libQt4Pas.so.5 #26 0x00007ffff359c646 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #27 0x00007ffff3e15e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #28 0x00007ffff3e1c5dd in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #29 0x00007ffff359c4dd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #30 0x00007ffff3e1bd93 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #31 0x00007ffff3e909cb in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #32 0x00007ffff3e90269 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #33 0x00007ffff3eb7b02 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #34 0x00007ffff086fe04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #35 0x00007ffff0870048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #36 0x00007ffff08700ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #37 0x00007ffff35c97be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #38 0x00007ffff3eb7bb6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #39 0x00007ffff35a001f in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #40 0x00007ffff76a529f in QCoreApplication_processEvents () from /usr/local/lib/libQt4Pas.so.5 #41 0x000000000066c176 in APPWAITMESSAGE (this=0x7ffff7f6f7f0) at qt/qtobject.inc:300 #42 0x0000000000484623 in IDLE (this=0x7ffff7f6f350, WAIT=true) at include/application.inc:413 #43 0x00000000004885d9 in HANDLEMESSAGE (this=0x7ffff7f6f350) at include/application.inc:1269 #44 0x0000000000488d5d in RUNLOOP (this=0x7ffff7f6f350) at include/application.inc:1403 #45 0x000000000066c15e in APPRUN (this=0x7ffff7f6f7f0, ALOOP=...) at qt/qtobject.inc:283 #46 0x0000000000488ce0 in RUN (this=0x7ffff7f6f350) at include/application.inc:1391 #47 0x0000000000423574 in main () at lazarus.pp:130

Reply by email

Mattias Gaertner
to Juha Manninen
Show quoted text 7 lines
I also get a SIGSEGV every time I build Lazarus from inside IDE. I can prevent the crash only by selecting "Clean all" in the Configure build lazarus. #0 0x0000000001364185 in CHECKDUPLICATEUNITS (parentfp=0x7fffffffbf60) at ../packager/interpkgconflictfiles.pas:876 #1 0x00000000013638ac in CHECKINTERPKGFILES

Fixed.

Mattias

Reply by email

Juha Manninen
to Mattias Gaertner
Mattias Gaertner wrote
Fixed.

No, there is still a Nil reference. I added some assertions, see r48408. I also removed the Pointer casts in ComparePGInterPkgUnitnames() although it was not the problem really.

I wonder why this bug did not appear for you. I am doing a basic Lazarus build with "Debug IDE" profile on Linux using either of the 2 widgetsets, after changing any unit a little.

Juha

Reply by email

Juha Manninen
to Juha Manninen
Juha Manninen wrote
I wonder why this bug did not appear for you. I am doing a basic Lazarus build with "Debug IDE" profile on Linux using either of the 2 widgetsets, after changing any unit a little.

I am still using FPC 2.6.2 in that Linux machine. It has worked well so far. Could it make a difference? I will do more tests. Anyway, the
'CheckDuplicateUnits: FindUnitSourcePPU() changed CurUnit to Nil. Not good!' assertion failed every time for me.

Juha

Reply by email

FreeMan
to FreeMan: in r48406 I attached gdb logs from terminal. lazbuild wrote this lines, but not stop…

fpc r30257 lazarus r48409
Still I get error and I'm not build my project:

Access violation.

Press OK to ignore and risk data corruption.

Press Cancel to kill the program.

FreeMan wrote 38 lines
On 17.03.2015 14:20, Mattias Gaertner wrote: > Why are there no line infos? Have you stripped the IDE? > > Please run the IDE in gdb to get a stacktrace. > > Mattias in r48406 I attached gdb logs from terminal. lazbuild wrote this lines, but not stop building, its continue ....... in/rm -f /bin/rm -f fpcmade.x86_64-darwin Package.fpc ppas.sh script.res link.res /bin/rm -f *.s *_ppas.sh make[2]: Leaving directory `/opt/lazarus/components/macroscript' make[1]: Leaving directory `/opt/lazarus/components' make: Leaving directory `/opt/lazarus' TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for FCL 1.0.1: /opt/lazarus/packager/units/x86_64-darwin/FCL.compiled TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for lnetbase 0.6.6: /opt/proje_laz/components/all_libs/lnet/x86_64-darwin-qt/lnetbase.compiled TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for dcpcrypt 2.0.4.1: /opt/proje_laz/components/all_libs/dcpcrypt/x86_64-darwin-qt/dcpcrypt.compiled TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for LazUtils 1.0: /opt/lazarus/components/lazutils/lib/x86_64-darwin/LazUtils.compiled TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for zlibar_package 0.2.1: /opt/proje_laz/components/all_libs/zlibar/x86_64-darwin-qt/zlibar_package.compiled TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for CodeTools 1.0.1: /opt/lazarus/components/codetools/units/x86_64-darwin/CodeTools.compiled TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for LCLBase 1.5: /opt/lazarus/lcl/units/x86_64-darwin/LCLBase.compiled ......

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150318/f9167837/attachment.html>

Reply by email

FreeMan
to FreeMan

lazarus r48397 create this error, while Tools --> Configure "Build lazarus" ...
r48396 without error and can build

FreeMan wrote 10 lines
fpc r30257 lazarus r48409 Still I get error and I'm not build my project: Access violation. Press OK to ignore and risk data corruption. Press Cancel to kill the program.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150318/87d070ec/attachment-0001.html>

Reply by email

Mattias Gaertner
to Juha Manninen: On Wed, Mar 18, 2015 at 12:57 AM, Juha Manninen I am still using FPC 2.6.2 in that Linux…
Show quoted text 11 lines
On Wed, Mar 18, 2015 at 12:57 AM, Juha Manninen wrote: > I wonder why this bug did not appear for you. I am doing a basic > Lazarus build with "Debug IDE" profile on Linux using either of the 2 > widgetsets, after changing any unit a little. I am still using FPC 2.6.2 in that Linux machine. It has worked well so far. Could it make a difference? I will do more tests. Anyway, the 'CheckDuplicateUnits: FindUnitSourcePPU() changed CurUnit to Nil. Not good!' assertion failed every time for me.

Sorry. Fixed.

Mattias

Reply by email

FreeMan
to FreeMan: lazarus r48397 create this error, while Tools --> Configure "Build lazarus" ... r48396…
FreeMan wrote 32 lines
lazarus r48397 create this error, while Tools --> Configure "Build lazarus" ... r48396 without error and can build On 18.03.2015 11:16, FreeMan wrote: > fpc r30257 lazarus r48409 > Still I get error and I'm not build my project: > > Access violation. > > Press OK to ignore and risk data corruption. > > Press Cancel to kill the program. > > On Wed, 18 Mar 2015 08:57:49 +0200 Juha Manninen wrote: > On Wed, Mar 18, 2015 at 12:57 AM, Juha Manninen > wrote: >> I wonder why this bug did not appear for you. I am doing a basic >> Lazarus build with "Debug IDE" profile on Linux using either of the 2 >> widgetsets, after changing any unit a little. > I am still using FPC 2.6.2 in that Linux machine. It has worked well > so far. Could it make a difference? I will do more tests. > Anyway, the > 'CheckDuplicateUnits: FindUnitSourcePPU() changed CurUnit to Nil. Not good!' > assertion failed every time for me. Sorry. Fixed. Mattias

Yes fixed.
No matter, all human can make mistake.
thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150318/ec0a7749/attachment.html>

Reply by email