[Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

Juha Manninen juha.manninen62 at gmail.com
Tue Mar 17 21:03:28 CET 2015


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=',PPUFile<>nil,' file2="',OtherFile.FullFilename,'"(',OtherFile.OwnerInfo.Name,') ppu=',OtherPPUFile<>nil]);
(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


More information about the Lazarus mailing list