Sign in Join

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

Mailing lists / lazarus / 2015-09

Project options lock IDE

5 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

FreeMan

Hello,
fpc svn r31772 lazarus r49851 (Option -dDisableWrapperFunctions) osx yosemite qtx64
When I change target cpu, os and witget set then click ok button IDE lock. I added gdb bt result

RunTool /usr/local/bin/fpc "-iWTOTP" "-Pi386" "-Twin32" "-Fr/opt/lazarus/components/codetools/fpc.errore.msg" [New Thread 0x1c17 of process 99024]
[New Thread 0x1d0b of process 99024]
RunTool /usr/local/bin/fpc "-va" "-Pi386" "-Twin32" "-Fr/opt/lazarus/components/codetools/fpc.errore.msg" "compilertest.pas" Hint: [TFPCTargetConfigCache.Update] has changed
^C
Program received signal SIGINT, Interrupt.
0x0000000100003f7f in fpc_varset_add_sets ()
(gdb) bt
#0 0x0000000100003f7f in fpc_varset_add_sets ()
#1 0x00000001000297a3 in
SYSUTILS_$$_EXTRACTFILEPATH$RAWBYTESTRING$$RAWBYTESTRING () #2 0x00000001085a8540 in ?? ()
#3 0x00000001000173ab in SYSTEM_$$_FREEMEM$POINTER$$QWORD () #4 0x00000001085a81c0 in ?? ()
#5 0x000000010000b033 in fpc_ansistr_decr_ref ()
#6 0x0000800000000000 in ?? ()
#7 0x0000000000000000 in ?? ()

Reply by email

FreeMan
to FreeMan

I changed "<TargetOS Value="darwin"/>" to "<TargetOS Value="win64"/>" in project.lpi, then open in lazarus, IDE lock and this is gdb bt result, what can be problem ?

[New Thread 0x1c0b of process 10649]
Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=x86_64-darwin-qt New=x86_64-win64-qt FPC=True LCL=False
Hint: [TFPCTargetConfigCache.NeedsUpdate] TargetOS="win64" TargetCPU="x86_64" Options="" compiler file changed "/usr/local/bin/fpc" FileAge=1442751235 StoredAge=1441716352
Hint: [TFPCTargetConfigCache.NeedsUpdate] /usr/local/bin/fpc TargetOS=win64 TargetCPU=x86_64 CompilerOptions=
ExtraOptions=-Fr/opt/lazarus/components/codetools/fpc.errore.msg PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/sw/bin:/sw/sbin:/opt/binutils/x86_64-linux/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin RunTool /usr/local/bin/fpc "-iWTOTP" "-Px86_64" "-Twin64" "-Fr/opt/lazarus/components/codetools/fpc.errore.msg" RunTool /usr/local/bin/fpc "-va" "-Px86_64" "-Twin64" "-Fr/opt/lazarus/components/codetools/fpc.errore.msg" "compilertest.pas" Hint: [TFPCTargetConfigCache.Update] has changed
^C
Program received signal SIGINT, Interrupt.
0x000000010011f9f6 in
LAZFILEUTILS_$$_CHOMPPATHDELIM$ANSISTRING$$ANSISTRING () (gdb) bt
#0 0x000000010011f9f6 in
LAZFILEUTILS_$$_CHOMPPATHDELIM$ANSISTRING$$ANSISTRING () #1 0x0000000100340491 in
DEFINETEMPLATES_$$_MAKERELATIVEFILELIST$TSTRINGS$ANSISTRING$$TSTRINGLIST () #2 0x000000010035bf69 in
DEFINETEMPLATES$_$TFPCTARGETCONFIGCACHE_$__$$_SAVETOXMLCONFIG$TXMLCONFIG$ANSISTRING ()
#3 0x000000010035ea47 in
DEFINETEMPLATES$_$TFPCTARGETCONFIGCACHES_$__$$_SAVETOXMLCONFIG$TXMLCONFIG$ANSISTRING ()
#4 0x0000000100361bd2 in
DEFINETEMPLATES$_$TFPCDEFINESCACHE_$__$$_SAVETOXMLCONFIG$TXMLCONFIG$ANSISTRING ()
#5 0x00000001006a5045 in SAVEFPCDEFINESCACHES (this=0x1109bc640) at buildmanager.pas:1083
#6 0x00000001006a4274 in RESCANCOMPILERDEFINES (this=0x1109bc640, RESETBUILDTARGET=false, CLEARCACHES=false, WAITTILLDONE=false, QUIET=false) at buildmanager.pas:949
#7 0x00000001006add25 in SETBUILDTARGET (this=0x1109bc640, TARGETOS=0x0, TARGETCPU=0x0, LCLWIDGETTYPE=0x0,
SCANFPCSRC=SMSFSBACKGROUND, QUIET=false)
at buildmanager.pas:2692
#8 0x00000001006adf8a in SETBUILDTARGETPROJECT1 (this=0x1109bc640, QUIET=false, SCANFPCSRC=SMSFSBACKGROUND) at buildmanager.pas:2708 #9 0x000000010071ea3f in COMPLETELOADINGPROJECTINFO (this=0x1194dbb00) at sourcefilemanager.pas:6991
#10 0x000000010070ed64 in INITOPENEDPROJECTFILE (this=0x1194dbb00, AFILENAME=0x110ba7b38 '/opt/proje_laz/projeler/Dental/UGS_Dental.lpi', FLAGS=...)
at sourcefilemanager.pas:3385
#11 0x0000000100085e3e in DOOPENPROJECTFILE (this=0x110cb8700, AFILENAME=0x110ba7b38 '/opt/proje_laz/projeler/Dental/UGS_Dental.lpi', FLAGS=...)
at main.pp:6040
#12 0x00000001000a1c8d in MNUPROJECTFILE (this=0x118fdf310, SENDER=0x110cae340) at mainbase.pas:439
#13 0x0000000100234313 in MENUS$_$TMENUITEM_$__$$_CLICK () #14 0x0000000100234bb2 in MENUS$_$TMENUITEM_$__$$_DOCLICKED$formal () #15 0x00000001000125da in SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal () #16 0x0000000101ae4460 in $$fpclocal$_ld22 ()
#17 0x0000000101ae3a30 in VMT_$MENUS_$$_TMENU ()
#18 0x0000000000000001 in ?? ()
#19 0x0000000000000006 in ?? ()
#20 0x00007fff5fbfd8e0 in ?? ()
#21 0x0000000110cae340 in ?? ()
#22 0x000000011a4370a0 in ?? ()
#23 0x0000000108001350 in ?? ()
#24 0x000000011a4370a0 in ?? ()
#25 0x00000001080652e0 in ?? ()
#26 0x0000000000000001 in ?? ()
#27 0x00000001002851eb in
QTWIDGETS$_$TQTMENU_$__$$_EVENTFILTER$QOBJECTH$QEVENTH$$BOOLEAN () #28 0x000000010433f0d3 in QObject_hook::eventFilter(QObject*, QEvent*) () from /Library/Frameworks/Qt4Pas.framework/Versions/5/Qt4Pas #29 0x0000000107380ff7 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /Library/Frameworks/QtCore.framework/Versions/4/QtCore #30 0x000000010643aade in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /Library/Frameworks/QtGui.framework/Versions/4/QtGui #31 0x000000010643ed68 in QApplication::notify(QObject*, QEvent*) () from /Library/Frameworks/QtGui.framework/Versions/4/QtGui #32 0x000000010738154c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /Library/Frameworks/QtCore.framework/Versions/4/QtCore #33 0x0000000107382b00 in
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /Library/Frameworks/QtCore.framework/Versions/4/QtCore #34 0x00007fff946eba01 in ?? () from
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation #35 0x00007fff5fbfdf90 in ?? ()
#36 0x00007fff946ddb8d in ?? () from
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation #37 0x0000000108001d10 in ?? ()
---Type <return> to continue, or q <return> to quit--- #38 0x0000000108001ba0 in ?? ()
#39 0x00007fff5fbfdf10 in ?? ()
#40 0x0000000100000002 in ?? ()
#41 0x0000000108001a90 in ?? ()
#42 0x0000000000000001 in ?? ()
#43 0x00007fff5fbfe040 in ?? ()
#44 0x000000000000010f in ?? ()
#45 0x0000000108001d00 in ?? ()
#46 0x0000000108001b90 in ?? ()
#47 0x00007fff5fbfec70 in ?? ()
#48 0x00007fff946dd1bf in ?? () from
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation #49 0x0000000800000008 in ?? ()
#50 0x0000000000000000 in ?? ()
(gdb)

FreeMan wrote 35 lines
Hello, fpc svn r31772 lazarus r49851 (Option -dDisableWrapperFunctions) osx yosemite qtx64 When I change target cpu, os and witget set then click ok button IDE lock. I added gdb bt result RunTool /usr/local/bin/fpc "-iWTOTP" "-Pi386" "-Twin32" "-Fr/opt/lazarus/components/codetools/fpc.errore.msg" [New Thread 0x1c17 of process 99024] [New Thread 0x1d0b of process 99024] RunTool /usr/local/bin/fpc "-va" "-Pi386" "-Twin32" "-Fr/opt/lazarus/components/codetools/fpc.errore.msg" "compilertest.pas" Hint: [TFPCTargetConfigCache.Update] has changed ^C Program received signal SIGINT, Interrupt. 0x0000000100003f7f in fpc_varset_add_sets () (gdb) bt #0 0x0000000100003f7f in fpc_varset_add_sets () #1 0x00000001000297a3 in SYSUTILS_$$_EXTRACTFILEPATH$RAWBYTESTRING$$RAWBYTESTRING () #2 0x00000001085a8540 in ?? () #3 0x00000001000173ab in SYSTEM_$$_FREEMEM$POINTER$$QWORD () #4 0x00000001085a81c0 in ?? () #5 0x000000010000b033 in fpc_ansistr_decr_ref () #6 0x0000800000000000 in ?? () #7 0x0000000000000000 in ?? () -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Mattias Gaertner
to FreeMan
I changed "<TargetOS Value="darwin"/>" to "<TargetOS Value="win64"/>" in project.lpi, then open in lazarus, IDE lock and this is gdb bt result, what can be problem ?

What fpc version do you use to build the IDE?

Mattias

Reply by email

FreeMan
to Mattias Gaertner

fpc sv r31772 lazarus r49851

Mattias Gaertner wrote 9 lines
On Mon, 21 Sep 2015 10:12:17 +0300 FreeMan wrote: > >I changed "<TargetOS Value="darwin"/>" to "<TargetOS Value="win64"/>" > >in project.lpi, then open in lazarus, IDE lock and this is gdb bt > >result, what can be problem ? What fpc version do you use to build the IDE? Mattias

Reply by email

FreeMan
to FreeMan

Bug report id #28709
http://bugs.freepascal.org/view.php?id=28709

FreeMan wrote 12 lines
fpc sv r31772 lazarus r49851 On 21.09.2015 11:17, Mattias Gaertner wrote: > On Mon, 21 Sep 2015 10:12:17 +0300 > FreeMan wrote: > >> >I changed "<TargetOS Value="darwin"/>" to "<TargetOS Value="win64"/>" >> >in project.lpi, then open in lazarus, IDE lock and this is gdb bt >> >result, what can be problem ? > What fpc version do you use to build the IDE? > > Mattias

Reply by email