Sign in Join

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

Mailing lists / lazarus / 2015-08

While starting IDE, lazarus lock, without nay error

26 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

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

FreeMan

Hello,
fpc r 31315 & lazarus r49654 qtx64 osx yosemite 10.10.4 when start IDE on splash screen IDE is lock and no any error. this is gdb results. bt after cut via ctrl + c
has any one any idea?
..........
c" FileAge=1439370051 StoredAge=1438857084
Hint: [TFPCTargetConfigCache.NeedsUpdate] /usr/local/bin/fpc TargetOS=darwin 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:/Users/freeman35/.autojump/bin:/sw/bin:/sw/sbin:/Library/Frameworks/Firebird.framework/Resources/bin:/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" "-Tdarwin" "-Fr/opt/lazarus/components/codetools/fpc.errore.msg" [New Thread 0x1843 of process 13864]
RunTool /usr/local/bin/fpc "-va" "-Px86_64" "-Tdarwin" "-Fr/opt/lazarus/components/codetools/fpc.errore.msg" "compilertest.pas" Hint: [TFPCTargetConfigCache.Update] has changed
Hint: [TFPCTargetConfigCache.NeedsUpdate] TargetOS="" TargetCPU="" Options="" compiler file changed "/usr/local/bin/fpc" FileAge=1439370051 StoredAge=1438857084
Hint: [TFPCTargetConfigCache.NeedsUpdate] /usr/local/bin/fpc TargetOS= TargetCPU= CompilerOptions= ExtraOptions=
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/freeman35/.autojump/bin:/sw/bin:/sw/sbin:/Library/Frameworks/Firebird.framework/Resources/bin:/opt/binutils/x86_64-linux/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin RunTool /usr/local/bin/fpc "-iWTOTP"
RunTool /usr/local/bin/fpc "-va" "compilertest.pas" Hint: [TFPCTargetConfigCache.Update] has changed
Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=x86_64-darwin-qt New=x86_64-darwin-qt FPC=True LCL=False
^C
Program received signal SIGINT, Interrupt.
MAKERELATIVEFILELIST (FILES=0x1129053c0, BASEDIR=0x1145a9298 '/') at definetemplates.pas:1240
1240 BaseDirLen:=length(BaseDir);
(gdb) bt
#0 MAKERELATIVEFILELIST (FILES=0x1129053c0, BASEDIR=0x1145a9298 '/') at definetemplates.pas:1240
#1 0x000000010035d7d7 in SAVETOXMLCONFIG (this=0x1143af3a0, XMLCONFIG=0x1143ebc00, PATH=0x1145a1818 'FPCConfigs/Item1/') at definetemplates.pas:7815
#2 0x0000000100360357 in SAVETOXMLCONFIG (this=0x1057ea2c0, XMLCONFIG=0x1143ebc00, PATH=0x100bf3698 'FPCConfigs/') at definetemplates.pas:8270
#3 0x00000001003634e2 in SAVETOXMLCONFIG (this=0x1057ea220, XMLCONFIG=0x1143ebc00, PATH=0x0) at definetemplates.pas:8894 #4 0x00000001006a47cd in SAVEFPCDEFINESCACHES (this=0x10b748140) at buildmanager.pas:1083
#5 0x00000001006a3a02 in RESCANCOMPILERDEFINES (this=0x10b748140, RESETBUILDTARGET=false, CLEARCACHES=false,
WAITTILLDONE=false, QUIET=true) at buildmanager.pas:949 #6 0x00000001006ad883 in SETBUILDTARGET (this=0x10b748140, TARGETOS=0x0, TARGETCPU=0x0, LCLWIDGETTYPE=0x0,
SCANFPCSRC=SMSFSBACKGROUND, QUIET=true) at buildmanager.pas:2692 #7 0x00000001006adaea in SETBUILDTARGETPROJECT1 (this=0x10b748140, QUIET=true, SCANFPCSRC=SMSFSBACKGROUND)
at buildmanager.pas:2708
#8 0x0000000100090f74 in INITCODETOOLBOSS (this=0x11026f040) at main.pp:8697
#9 0x0000000100072ad8 in CREATE (this=0x11026f040, vmt=0x1, THEOWNER=0x105788330) at main.pp:1445
#10 0x0000000100001103 in PASCALMAIN () at lazarus.pp:118 #11 0x0000000100021ca9 in SYSTEM_$$_FPC_SYSTEMMAIN$LONGINT$PPCHAR$PPCHAR () #12 0x0000000000000000 in ?? ()
(gdb)

Reply by email

Mattias Gaertner
to FreeMan
Show quoted text 9 lines
Hello, fpc r 31315 & lazarus r49654 qtx64 osx yosemite 10.10.4 when start IDE on splash screen IDE is lock and no any error. this is gdb results. bt after cut via ctrl + c has any one any idea? [...] (gdb) bt #0 MAKERELATIVEFILELIST (FILES=0x1129053c0, BASEDIR=0x1145a9298 '/') at definetemplates.pas:1240

I don't see how this code can loop endlessly.
Does the problem happen with the release compiler 2.6.4 too?

Show quoted text 6 lines
#1 0x000000010035d7d7 in SAVETOXMLCONFIG (this=0x1143af3a0, XMLCONFIG=0x1143ebc00, PATH=0x1145a1818 'FPCConfigs/Item1/') at definetemplates.pas:7815 #2 0x0000000100360357 in SAVETOXMLCONFIG (this=0x1057ea2c0, XMLCONFIG=0x1143ebc00, PATH=0x100bf3698 'FPCConfigs/') at definetemplates.pas:8270

Mattias

Reply by email

FreeMan
to Mattias Gaertner

I'll update fpc r31319 & fpc r49661 still same, I mean IDE still lock while startup
When I try run lazbuild from terminal, its freezing after 5.line verbose. Maybe can helpfull. I add trace info too. I'll test with fpc 2.6.4

lazbuild --quiet --max-process-count=8 --pcp=/Users/freeman35/.lazarus --build-all --skip-dependencies --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64

RunTool /usr/local/bin/ppcx64 "-iWTOTP" "-Px86_64" [New Thread 0x112b of process 56293]
[New Thread 0x1403 of process 56293]
[New Thread 0x1503 of process 56293]
[New Thread 0x1603 of process 56293]
[New Thread 0x1703 of process 56293]
RunTool /usr/local/bin/ppcx64 "-va" "-Px86_64" "compilertest.pas" RunTool /usr/local/bin/ppcx64 "-iWTOTP" "-Px86_64" "-Tdarwin" "-Fr/opt/lazarus/components/codetools/fpc.errore.msg" RunTool /usr/local/bin/ppcx64 "-va" "-Px86_64" "-Tdarwin" "-Fr/opt/lazarus/components/codetools/fpc.errore.msg" "compilertest.pas" RunTool /usr/local/bin/ppcx64 "-iWTOTP"
"-Fr/opt/lazarus/components/codetools/fpc.errore.msg" RunTool /usr/local/bin/ppcx64 "-va"
"-Fr/opt/lazarus/components/codetools/fpc.errore.msg" "compilertest.pas" ^C
Program received signal SIGINT, Interrupt.
0x0000000100012af8 in fpc_ansistr_assign ()
(gdb) bt
#0 0x0000000100012af8 in fpc_ansistr_assign ()
#1 0x00007fff5fbfea98 in ?? ()
#2 0x0000000000000000 in ?? ()
(gdb)

Mattias Gaertner wrote 5 lines
> (gdb) bt > >#0 MAKERELATIVEFILELIST (FILES=0x1129053c0, BASEDIR=0x1145a9298 '/') at > >definetemplates.pas:1240 I don't see how this code can loop endlessly. Does the problem happen with the release compiler 2.6.4 too?

Reply by email

Mattias Gaertner
to FreeMan
[...] lazbuild --quiet --max-process-count=8 --pcp=/Users/freeman35/.lazarus --build-all --skip-dependencies --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64

Note:
--max-process-count=8 has no effect here, because of --skip-dependencies.

Mattias

Reply by email

Mattias Gaertner
to FreeMan: I'll update fpc r31319 & fpc r49661 still same, I mean IDE still lock while startup When…
Show quoted text 8 lines
I'll update fpc r31319 & fpc r49661 still same, I mean IDE still lock while startup When I try run lazbuild from terminal, its freezing after 5.line verbose. Maybe can helpfull. I add trace info too. I'll test with fpc 2.6.4 lazbuild --quiet --max-process-count=8 --pcp=/Users/freeman35/.lazarus --build-all --skip-dependencies --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64

In case of an error, you should replace "--quiet" with "--verbose --verbose".

Show quoted text 23 lines
RunTool /usr/local/bin/ppcx64 "-iWTOTP" "-Px86_64" [New Thread 0x112b of process 56293] [New Thread 0x1403 of process 56293] [New Thread 0x1503 of process 56293] [New Thread 0x1603 of process 56293] [New Thread 0x1703 of process 56293] RunTool /usr/local/bin/ppcx64 "-va" "-Px86_64" "compilertest.pas" RunTool /usr/local/bin/ppcx64 "-iWTOTP" "-Px86_64" "-Tdarwin" "-Fr/opt/lazarus/components/codetools/fpc.errore.msg" RunTool /usr/local/bin/ppcx64 "-va" "-Px86_64" "-Tdarwin" "-Fr/opt/lazarus/components/codetools/fpc.errore.msg" "compilertest.pas" RunTool /usr/local/bin/ppcx64 "-iWTOTP" "-Fr/opt/lazarus/components/codetools/fpc.errore.msg" RunTool /usr/local/bin/ppcx64 "-va" "-Fr/opt/lazarus/components/codetools/fpc.errore.msg" "compilertest.pas" ^C Program received signal SIGINT, Interrupt. 0x0000000100012af8 in fpc_ansistr_assign () (gdb) bt #0 0x0000000100012af8 in fpc_ansistr_assign () #1 0x00007fff5fbfea98 in ?? () #2 0x0000000000000000 in ?? () (gdb)

Does the problem happen with the release compiler 2.6.4 too?

Mattias

Reply by email

FreeMan
to Mattias Gaertner
Mattias Gaertner wrote
Does the problem happen with the release compiler 2.6.4 too? Mattias

I did and not error, IDE compiled and started with fpc 2.6.4 But I can not use lazbuil, this error creted, this is normal 'cos I'm using utf8
/opt/lazarus/components/lazutils/lazutf8.pas(22,4) Error: (2023) User defined: UTF8 in RTL requires fpc 2.7.1+

In case of an error, you should replace "--quiet" with "--verbose --verbose".

I will and ''ll sent bt again with fpc svn

Reply by email

FreeMan
to Mattias Gaertner: On Thu, 13 Aug 2015 10:50:45 +0300 In case of an error, you should replace "--quiet" with…
Mattias Gaertner wrote 5 lines
> lazbuild --quiet --max-process-count=8 --pcp=/Users/freeman35/.lazarus > >--build-all --skip-dependencies --build-ide= --ws=qt --cpu=x86_64 > >--compiler=ppcx64 In case of an error, you should replace "--quiet" with "--verbose --verbose".

with fpc svn r31319 lazarus r49662
lazbuild --verbose --pcp=/Users/freeman35/.lazarus --build-all --skip-dependencies --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64

...........
[New Thread 0x1603 of process 1034]
RunTool /usr/local/bin/ppcx64 "-va" "-Px86_64" "compilertest.pas" Hint: [TFPCTargetConfigCache.Update] has changed
Hint: (lazarus) [TBuildManager.SetBuildTarget] OS=darwin CPU=x86_64 CompQueryOptions=-Px86_64 DefaultOS=darwin DefaultCPU=x86_64 Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=x86_64-darwin-carbon New=x86_64-darwin-qt FPC=True LCL=True
Hint: (lazarus) Building Lazarus IDE with profile "Normal IDE" Hint: (lazarus) [TBuildManager.SetBuildTargetIDE] OS=Darwin CPU=x86_64 WS=qt Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=x86_64-darwin-qt New=x86_64-darwin-qt FPC=True LCL=False
Hint: [TFPCTargetConfigCache.NeedsUpdate] TargetOS="darwin" TargetCPU="x86_64" Options="" compiler file changed "/usr/local/bin/ppcx64" FileAge=1439455812 StoredAge=1393445780 Hint: [TFPCTargetConfigCache.NeedsUpdate] /usr/local/bin/ppcx64 TargetOS=darwin 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:/Users/freeman35/.autojump/bin:/sw/bin:/sw/sbin:/Library/Frameworks/Firebird.framework/Resources/bin:/opt/binutils/x86_64-linux/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin RunTool /usr/local/bin/ppcx64 "-iWTOTP" "-Px86_64" "-Tdarwin" "-Fr/opt/lazarus/components/codetools/fpc.errore.msg" RunTool /usr/local/bin/ppcx64 "-va" "-Px86_64" "-Tdarwin" "-Fr/opt/lazarus/components/codetools/fpc.errore.msg" "compilertest.pas" Hint: [TFPCTargetConfigCache.Update] has changed
Hint: [TFPCTargetConfigCache.NeedsUpdate] TargetOS="" TargetCPU="" Options="" compiler file changed "/usr/local/bin/ppcx64" FileAge=1439455812 StoredAge=1393445780
Hint: [TFPCTargetConfigCache.NeedsUpdate] /usr/local/bin/ppcx64 TargetOS= TargetCPU= CompilerOptions=
ExtraOptions=-Fr/opt/lazarus/components/codetools/fpc.errore.msg PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/freeman35/.autojump/bin:/sw/bin:/sw/sbin:/Library/Frameworks/Firebird.framework/Resources/bin:/opt/binutils/x86_64-linux/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin RunTool /usr/local/bin/ppcx64 "-iWTOTP"
"-Fr/opt/lazarus/components/codetools/fpc.errore.msg" RunTool /usr/local/bin/ppcx64 "-va"
"-Fr/opt/lazarus/components/codetools/fpc.errore.msg" "compilertest.pas" Hint: [TFPCTargetConfigCache.Update] has changed
^C
Program received signal SIGINT, Interrupt.
0x000000010000b7ef in fpc_varset_add_sets ()
(gdb) bt
#0 0x000000010000b7ef in fpc_varset_add_sets ()
#1 0x00000001000531f3 in
SYSUTILS_$$_EXTRACTFILEPATH$RAWBYTESTRING$$RAWBYTESTRING () #2 0x000000010679ec00 in ?? ()
#3 0x000000010001f4ab in SYSTEM_$$_FREEMEM$POINTER$$QWORD () #4 0x000000010679e9c0 in ?? ()
#5 0x0000000100012a5b in fpc_ansistr_decr_ref ()
#6 0x0000000000000000 in ?? ()
(gdb)

Reply by email

FreeMan
to FreeMan

I'm still can not use lazarus. IDE freezing while showing splash screen, when terminate application osx create crash report, I'm adding lazarus crash report maybe give detail for bug.

Heaviest stack for the main thread of the target process: 124 FPC_SYSTEMMAIN + 41 (lazarus + 137641) [0x1000219a9] 124 PASCALMAIN + 331 (lazarus.pp:118,3 in lazarus + 3587) [0x100000e03] 124 MAIN$_$TMAINIDE_$__$$_CREATE$TCOMPONENT$$TMAINIDE + 320 (main.pp:1445,10 in lazarus + 468952) [0x1000727d8] 124 MAIN$_$TMAINIDE_$__$$_INITCODETOOLBOSS$$BOOLEAN + 692 (main.pp:8697,3 in lazarus + 593012) [0x100090c74] 124
BUILDMANAGER$_$TBUILDMANAGER_$__$$_SETBUILDTARGETPROJECT1$BOOLEAN$TSCANMODEFPCSOURCES
+ 130 (buildmanager.pas:2708,3 in lazarus + 7003338) [0x1006adcca] 124 BUILDMANAGER$_$TBUILDMANAGER_$__$$_SETBUILDTARGET$crc379A49A4 + 2235 (buildmanager.pas:2692,67 in lazarus + 7002723) [0x1006ada63] 124
BUILDMANAGER$_$TBUILDMANAGER_$__$$_RESCANCOMPILERDEFINES$BOOLEAN$BOOLEAN$BOOLEAN$BOOLEAN
+ 1594 (buildmanager.pas:949,5 in lazarus + 6962146) [0x1006a3be2] 124 BUILDMANAGER$_$TBUILDMANAGER_$__$$_SAVEFPCDEFINESCACHES + 341 (buildmanager.pas:1083,35 in lazarus + 6965677) [0x1006a49ad] 124
DEFINETEMPLATES$_$TFPCDEFINESCACHE_$__$$_SAVETOXMLCONFIG$TXMLCONFIG$ANSISTRING
+ 138 (definetemplates.pas:8894,62 in lazarus + 3552226) [0x1003633e2] 124
DEFINETEMPLATES$_$TFPCTARGETCONFIGCACHES_$__$$_SAVETOXMLCONFIG$TXMLCONFIG$ANSISTRING
+ 271 (definetemplates.pas:8270,63 in lazarus + 3539543) [0x100360257] 124
DEFINETEMPLATES$_$TFPCTARGETCONFIGCACHE_$__$$_SAVETOXMLCONFIG$TXMLCONFIG$ANSISTRING
+ 1895 (definetemplates.pas:7815,26 in lazarus + 3528407) [0x10035d6d7] 27 fpc_varset_add_sets + 39 (lazarus + 12799) [0x1000031ff] (running)

Process: lazarus (Lazarus) [34480]
Path: /Applications/lazarus.app/Contents/MacOS/lazarus Architecture: x86_64
UID: 502
Task size: 17655 pages (-23)
CPU Time: 12.315s
Note: Unresponsive for 2 seconds before sampling Note: 2 idle work queue threads omitted

Thread 0x4955e DispatchQueue 1 124 samples (1-124) priority 46-47 cpu time 12.299s
<frontmost, thread QoS user interactive, boosted, IO policy important, priority 47>
124 FPC_SYSTEMMAIN + 41 (lazarus + 137641) [0x1000219a9] 1-124 124 PASCALMAIN + 331 (lazarus.pp:118,3 in lazarus + 3587) [0x100000e03] 1-124
124 MAIN$_$TMAINIDE_$__$$_CREATE$TCOMPONENT$$TMAINIDE + 320 (main.pp:1445,10 in lazarus + 468952) [0x1000727d8] 1-124 124 MAIN$_$TMAINIDE_$__$$_INITCODETOOLBOSS$$BOOLEAN + 692 (main.pp:8697,3 in lazarus + 593012) [0x100090c74] 1-124 124
BUILDMANAGER$_$TBUILDMANAGER_$__$$_SETBUILDTARGETPROJECT1$BOOLEAN$TSCANMODEFPCSOURCES
+ 130 (buildmanager.pas:2708,3 in lazarus + 7003338) [0x1006adcca] 1-124 124
BUILDMANAGER$_$TBUILDMANAGER_$__$$_SETBUILDTARGET$crc379A49A4 + 2235 (buildmanager.pas:2692,67 in lazarus + 7002723) [0x1006ada63] 1-124 124
BUILDMANAGER$_$TBUILDMANAGER_$__$$_RESCANCOMPILERDEFINES$BOOLEAN$BOOLEAN$BOOLEAN$BOOLEAN
+ 1594 (buildmanager.pas:949,5 in lazarus + 6962146) [0x1006a3be2] 1-124 124
BUILDMANAGER$_$TBUILDMANAGER_$__$$_SAVEFPCDEFINESCACHES + 341 (buildmanager.pas:1083,35 in lazarus + 6965677) [0x1006a49ad] 1-124 124
DEFINETEMPLATES$_$TFPCDEFINESCACHE_$__$$_SAVETOXMLCONFIG$TXMLCONFIG$ANSISTRING
+ 138 (definetemplates.pas:8894,62 in lazarus + 3552226) [0x1003633e2] 1-124 124
DEFINETEMPLATES$_$TFPCTARGETCONFIGCACHES_$__$$_SAVETOXMLCONFIG$TXMLCONFIG$ANSISTRING
+ 271 (definetemplates.pas:8270,63 in lazarus + 3539543) [0x100360257] 1-124 124
DEFINETEMPLATES$_$TFPCTARGETCONFIGCACHE_$__$$_SAVETOXMLCONFIG$TXMLCONFIG$ANSISTRING
+ 1895 (definetemplates.pas:7815,26 in lazarus + 3528407) [0x10035d6d7] 1-124
2
DEFINETEMPLATES_$$_MAKERELATIVEFILELIST$TSTRINGS$ANSISTRING$$TSTRINGLIST
+ 609 (definetemplates.pas:1236,13 in lazarus + 3414753) [0x100341ae1] (running) 1-2
1 fpc_ansistr_copy + 174 (lazarus + 47358)
[0x10000b8fe] (running) 3
1 fpc_varset_add_sets + 32 (lazarus + 12792)
[0x1000031f8] (running) 4
1 fpc_varset_add_sets + 39 (lazarus + 12799)
[0x1000031ff] (running) 5
1
DEFINETEMPLATES_$$_MAKERELATIVEFILELIST$TSTRINGS$ANSISTRING$$TSTRINGLIST
+ 607 (definetemplates.pas:1236,13 in lazarus + 3414751) [0x100341adf] (running) 6
1 fpc_varset_add_sets + 39 (lazarus + 12799)
[0x1000031ff] (running) 7
1
DEFINETEMPLATES_$$_MAKERELATIVEFILELIST$TSTRINGS$ANSISTRING$$TSTRINGLIST
+ 581 (definetemplates.pas:1236,13 in lazarus + 3414725) [0x100341ac5] (running) 8
1 fpc_varset_add_sets + 32 (lazarus + 12792)
[0x1000031f8] (running) 9
1 fpc_varset_add_sets + 24 (lazarus + 12784)
[0x1000031f0] (running) 10
1
DEFINETEMPLATES_$$_MAKERELATIVEFILELIST$TSTRINGS$ANSISTRING$$TSTRINGLIST
+ 772 (definetemplates.pas:1240,26 in lazarus + 3414916) [0x100341b84] (running) 11
1 fpc_varset_add_sets + 39 (lazarus + 12799)
[0x1000031ff] (running) 12
1 fpc_varset_add_sets + 24 (lazarus + 12784)
[0x1000031f0] (running) 13
1 fpc_varset_add_sets + 39 (lazarus + 12799)
[0x1000031ff] (running) 14
1 fpc_ansistr_copy + 5 (lazarus + 47189)
[0x10000b855] (running) 15
1 fpc_varset_add_sets + 39 (lazarus + 12799)
[0x1000031ff] (running) 16
1
SYSUTILS_$$_EXTRACTFILEPATH$RAWBYTESTRING$$RAWBYTESTRING + 68 (lazarus +
168988) [0x10002941c] (running) 17
1
DEFINETEMPLATES_$$_MAKERELATIVEFILELIST$TSTRINGS$ANSISTRING$$TSTRINGLIST
+ 544 (definetemplates.pas:1234,5 in lazarus + 3414688) [0x100341aa0] (running) 18
1 fpc_varset_add_sets + 39 (lazarus + 12799)
[0x1000031ff] (running) 19
1 fpc_varset_add_sets + 32 (lazarus + 12792)
[0x1000031f8] (running) 20
1
SYSUTILS_$$_EXTRACTFILEPATH$RAWBYTESTRING$$RAWBYTESTRING + 130 (lazarus
+ 169050) [0x10002945a] (running) 21
2 fpc_varset_add_sets + 32 (lazarus + 12792)
[0x1000031f8] (running) 22-23
1 FPC_ANSISTR_ASSIGN + 64 (lazarus + 42208)
[0x10000a4e0] (running) 24
1 fpc_varset_add_sets + 24 (lazarus + 12784)
[0x1000031f0] (running) 25
1 fpc_varset_add_sets + 32 (lazarus + 12792)
[0x1000031f8] (running) 26
1 fpc_varset_add_sets + 35 (lazarus + 12795)
[0x1000031fb] (running) 27
1 fpc_ansistr_copy + 174 (lazarus + 47358)
[0x10000b8fe] (running) 28
1
DEFINETEMPLATES_$$_MAKERELATIVEFILELIST$TSTRINGS$ANSISTRING$$TSTRINGLIST
+ 607 (definetemplates.pas:1236,13 in lazarus + 3414751) [0x100341adf] (running) 29
1 FPC_ANSISTR_DECR_REF + 59 (lazarus +
42091) [0x10000a46b] (running) 30
1 fpc_varset_add_sets + 39 (lazarus + 12799)
[0x1000031ff] (running) 31
1 fpc_ansistr_copy + 164 (lazarus + 47348)
[0x10000b8f4] (running) 32
1 FPC_ANSISTR_ASSIGN + 64 (lazarus + 42208)
[0x10000a4e0] (running) 33
1
DEFINETEMPLATES_$$_MAKERELATIVEFILELIST$TSTRINGS$ANSISTRING$$TSTRINGLIST
+ 769 (definetemplates.pas:1240,26 in lazarus + 3414913) [0x100341b81] (running) 34
1
DEFINETEMPLATES_$$_MAKERELATIVEFILELIST$TSTRINGS$ANSISTRING$$TSTRINGLIST
+ 737 (definetemplates.pas:1239,62 in lazarus + 3414881) [0x100341b61] 35 1
LAZFILEUTILS_$$_CHOMPPATHDELIM$ANSISTRING$$ANSISTRING + 195 (lazfileutils.pas:754,25 in lazarus + 1174243) [0x10011eae3] (running) 35 1 fpc_varset_add_sets + 24 (lazarus + 12784)
[0x1000031f0] (running) 36
1 fpc_varset_add_sets + 32 (lazarus + 12792)
[0x1000031f8] (running) 37
1
DEFINETEMPLATES_$$_MAKERELATIVEFILELIST$TSTRINGS$ANSISTRING$$TSTRINGLIST
+ 776 (definetemplates.pas:1240,26 in lazarus + 3414920) [0x100341b88] (running) 38
1 fpc_varset_add_sets + 4 (lazarus + 12764)
[0x1000031dc] (running) 39
<non-frontmost, priority 46>
1 fpc_varset_add_sets + 39 (lazarus + 12799)
[0x1000031ff] (running) 40
1 fpc_varset_add_sets + 32 (lazarus + 12792)
[0x1000031f8] (running) 41
1
SYSUTILS_$$_EXTRACTFILEPATH$RAWBYTESTRING$$RAWBYTESTRING + 145 (lazarus
+ 169065) [0x100029469] (running) 42
1 SYSTEM_$$_NEWANSISTRING$INT64$$POINTER +
104 (lazarus + 42032) [0x10000a430] (running) 43
1
DEFINETEMPLATES_$$_MAKERELATIVEFILELIST$TSTRINGS$ANSISTRING$$TSTRINGLIST
+ 581 (definetemplates.pas:1236,13 in lazarus + 3414725) [0x100341ac5] (running) 44
1 fpc_varset_add_sets + 35 (lazarus + 12795)
[0x1000031fb] (running) 45
1
SYSUTILS_$$_EXTRACTFILEPATH$RAWBYTESTRING$$RAWBYTESTRING + 49 (lazarus +
168969) [0x100029409] (running) 46
1
DEFINETEMPLATES_$$_MAKERELATIVEFILELIST$TSTRINGS$ANSISTRING$$TSTRINGLIST
+ 607 (definetemplates.pas:1236,13 in lazarus + 3414751) [0x100341adf] (running) 47
1
DEFINETEMPLATES_$$_MAKERELATIVEFILELIST$TSTRINGS$ANSISTRING$$TSTRINGLIST
+ 609 (definetemplates.pas:1236,13 in lazarus + 3414753) [0x100341ae1] (running) 48
1 fpc_varset_add_sets + 39 (lazarus + 12799)
[0x1000031ff] (running) 49
1 FPC_ANSISTR_ASSIGN + 8 (lazarus + 42152)
[0x10000a4a8] (running) 50
1 FPC_ANSISTR_ASSIGN + 24 (lazarus + 42168)
[0x10000a4b8] (running) 51
1
SYSUTILS_$$_EXTRACTFILEPATH$RAWBYTESTRING$$RAWBYTESTRING + 154 (lazarus
+ 169074) [0x100029472] (running) 52
1 FPC_ANSISTR_ASSIGN + 64 (lazarus + 42208)
[0x10000a4e0] (running) 53
1 fpc_varset_add_sets + 32 (lazarus + 12792)
[0x1000031f8] (running) 54
1
DEFINETEMPLATES_$$_MAKERELATIVEFILELIST$TSTRINGS$ANSISTRING$$TSTRINGLIST
+ 607 (definetemplates.pas:1236,13 in lazarus + 3414751) [0x100341adf] (running) 55
1 fpc_varset_add_sets + 32 (lazarus + 12792)
[0x1000031f8] (running) 56
1 FPC_ANSISTR_INCR_REF + 48 (lazarus +
42144) [0x10000a4a0] (running) 57
1 fpc_varset_add_sets + 39 (lazarus + 12799)
[0x1000031ff] (running) 58
1
SYSUTILS_$$_EXTRACTFILEPATH$RAWBYTESTRING$$RAWBYTESTRING + 154 (lazarus
+ 169074) [0x100029472] (running) 59
1 FPC_ANSISTR_ASSIGN + 11 (lazarus + 42155)
[0x10000a4ab] (running) 60
1 fpc_ansistr_copy + 164 (lazarus + 47348)
[0x10000b8f4] (running) 61
1 fpc_varset_add_sets + 39 (lazarus + 12799)
[0x1000031ff]

Reply by email

Mattias Gaertner
to FreeMan
I'm still can not use lazarus. IDE freezing while showing splash screen, when terminate application osx create crash report, I'm adding lazarus crash report maybe give detail for bug.

This happens only on FPC 3.1.1, right?
We have to find out the revision of FPC that broke it. Maybe it gives a clue what needs changing.

Mattias

Reply by email

FreeMan
to Mattias Gaertner
Mattias Gaertner wrote
This happens only on FPC 3.1.1, right?

You right.

We have to find out the revision of FPC that broke it. Maybe it gives a clue what needs changing. Mattias

I'm investigating fpc subversions as long as yesterday. I tested last revision a few seconds ago. in fpc svn r31264 lazarus r49665 same bug still continue. I mean IDE freezing.

Reply by email

Mattias Gaertner
Show quoted text 6 lines
[...] Conflict discovered in '/opt/lazarus/components/leakview/languages/heaptrcview.ru.po'. Select: (p) postpone, (df) diff-full, (e) edit, (mc) mine-conflict, (tc) theirs-conflict, (s) show all options: df

Choose tc

This can happen with .po files. Sometimes the committers forget to commit files and commit them with one of the next revisions.

Mattias

Reply by email

FreeMan
to Mattias Gaertner

I did. But I wrote, IDE lock.
I'm still testing, lazarus r49639 work normal. I mean, make then lazbuild then in IDE my project builded. and debuging.

Mattias Gaertner wrote 16 lines
On Sat, 15 Aug 2015 15:51:47 +0300 FreeMan wrote: > [...] > Conflict discovered in > '/opt/lazarus/components/leakview/languages/heaptrcview.ru.po'. > Select: (p) postpone, (df) diff-full, (e) edit, > (mc) mine-conflict, (tc) theirs-conflict, > (s) show all options: df Choose tc This can happen with .po files. Sometimes the committers forget to commit files and commit them with one of the next revisions. Mattias

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

Reply by email

Mattias Gaertner
to FreeMan
I did. But I wrote, IDE lock. I'm still testing, lazarus r49639 work normal. I mean, make then lazbuild then in IDE my project builded. and debuging.

Do you mean that something broke between 49639 and 49665?

Mattias

Reply by email

FreeMan
to Mattias Gaertner

I can not be sure, I'm nearly goes mad.
in 49639 from terminal, run make then lazbuild then start IDE all of them is okey. My project builded in IDE and can debug it. just for check try build IDE from IDE's "Tool" menu, builded lazarus packages then my packs, but locked again. I'm terminate lazarus from system monitor. not sure but I think startlazarus freezing. after 49645 IDE locked or in IDE my project lock while compiling.
A few second ago I reset to macbook, and retry build IDE r49639 from "tool" menu I saw "Build IDE: Success" in messages window and all of theme is green, but locked again.

Mattias Gaertner wrote
Do you mean that something broke between 49639 and 49665? Mattias

Reply by email

Mattias Gaertner
to FreeMan
Show quoted text 10 lines
I can not be sure, I'm nearly goes mad. in 49639 from terminal, run make then lazbuild then start IDE all of them is okey. My project builded in IDE and can debug it. just for check try build IDE from IDE's "Tool" menu, builded lazarus packages then my packs, but locked again. I'm terminate lazarus from system monitor. not sure but I think startlazarus freezing. after 49645 IDE locked or in IDE my project lock while compiling. A few second ago I reset to macbook, and retry build IDE r49639 from "tool" menu I saw "Build IDE: Success" in messages window and all of theme is green, but locked again.

Sounds as if the bug was not introduced after 49639.

Does the lock happen with fpc 2.6.4?

Mattias

Reply by email

FreeMan
to Mattias Gaertner
Mattias Gaertner wrote 6 lines
Sounds as if the bug was not introduced after 49639. Does the lock happen with fpc 2.6.4? Mattias

and the end, I found bug (I hope) before goes mad. osx tosemite 10.10.5 qtx64 fpc svn r31326
lazarus r49600 I can say stable for me.
r49611:
In terminal, make then lazbuild so many result like this .............Warning: (5066) Symbol "........." is deprecated: "Use the function in LazFileUtils unit" LazFileCache unit and some others units as well.
Then IDE start. From "Tool" menu build IDE,
get this error in messages window:
Panic: internal error: unable to execute: Failed to create pipes last 5-6 packages aborted and line's color is red, IDE not lock still running,
redo from "Tool" menu build IDE, all lines is green and IDE succes and restart IDE

r49612:
In terminal, make then run lazbuild. Lazbuild lock after 5-6 lines result, no error.
each change version, delete all lazarus file and directly download all files from svn then make that, not update or downgrade. I mean clean install.

Why I nearly goes mad :)
I started r49600 then update one by one I mean "svn update -r49601" to r49615 after each update then make then run lazbuild then run IDE then build from menu. On r49615 lazbuild lock then start downgrade version on by one. on r49613 lazarus maked lazbuild run, IDE run, everythink is okey. Last t?me I removed all fpc files and rebuild fpc then lazarus (before remove lazarus files) r49613 make is okey but lazbuild lock again ??? it was worked before reinstall fpc???
Then start again one by one downgrade version and find result, its on first paragraph on this mail.
I mean if you wanna test, remove all files fpc and lazarus then make it. some file(s) cached and not removed I think.

And the bug is unit's uses orders and can fileutils & UTF8 problem (I think) regards

Reply by email

Juha Manninen
to FreeMan
FreeMan wrote
In terminal, make then lazbuild so many result like this .............Warning: (5066) Symbol "........." is deprecated: "Use the function in LazFileUtils unit" LazFileCache unit and some others units as well.

The wrapper functions are deprecated but continue to work as before. The "deprecated" warnings were already supressed by changing the order of used units.
It happened in r49612 and r49624, and Mattias also fixed some. The "right" unit must come later in uses section.
Also building Lazarus with "DisableWrapperFunctions" define supresses the warnings.

Why I nearly goes mad :) I started r49600 then update one by one I mean "svn update -r49601" to r49615 after each update then make then run lazbuild then run IDE then build from menu.

Usually you should do a bisect operation to find a guilty revision. First find a revision that works and a revision that does not work. Then split the range in half and check if the middle rev works. Then split again, just like in binary search algorith.
Git has a nice command "git bisect" to help with that.

Juha

Reply by email

FreeMan
to Juha Manninen

Thank you Juha,
warning message is bored just if you use to see everytime. Maybe help to find bug so I wrote. I remember that, wrote before. I think no need to bug report, if some one working on this bug. I use to use svn, in my plan change to use "git" but need time for learning and change to scripts.

Juha Manninen wrote 25 lines
On Sun, Aug 16, 2015 at 2:05 PM, FreeMan wrote: > In terminal, make then lazbuild so many result like this > .............Warning: (5066) Symbol "........." is deprecated: "Use the > function in LazFileUtils unit" LazFileCache unit and some others units as > well. The wrapper functions are deprecated but continue to work as before. The "deprecated" warnings were already supressed by changing the order of used units. It happened in r49612 and r49624, and Mattias also fixed some. The "right" unit must come later in uses section. Also building Lazarus with "DisableWrapperFunctions" define supresses the warnings. > Why I nearly goes mad :) > I started r49600 then update one by one I mean "svn update -r49601" to > r49615 after each update then make then run lazbuild then run IDE then build > from menu. Usually you should do a bisect operation to find a guilty revision. First find a revision that works and a revision that does not work. Then split the range in half and check if the middle rev works. Then split again, just like in binary search algorith. Git has a nice command "git bisect" to help with that. Juha

Reply by email

Juha Manninen
to FreeMan
FreeMan wrote
warning message is bored just if you use to see everytime. Maybe help to find bug so I wrote. I remember that, wrote before. I think no need to bug report, if some one working on this bug.

I don't think anybody is working on it. Nobody could even reproduce. Without reproducing it will be difficult to fix.

I use to use svn, in my plan change to use "git" but need time for learning and change to scripts.

You can bisect also with SVN but then you must calculate the right revisions yourself and check them out manually.

Juha

Reply by email

Graeme Geldenhuys
to FreeMan: warning message is bored just if you use to see everytime. Maybe help to find bug so I…
FreeMan wrote
I use to use svn, in my plan change to use "git" but need time for learning and change to scripts.

'git bisect' is your friend.

http://git-scm.com/book/en/v1/Git-Tools-Debugging-with-Git#Binary-Search

This makes it so easy to find an offending commit. If you could create a small test project that returns true or false if something works or not you can even automate the whole process and get to the offending commit in seconds.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

FreeMan
to Graeme Geldenhuys

Thank you Graeme and Juha
This "bisect" command if I'm not mis understood, can not update defined version's file(s). If this is true, I think this not good solution for me, 'cos that file(s) can change later or depended file(s) need changed code of course this possibility. svn version nearly everyday updating. For mine problem, wait to fixing much better. And this bug must be fixing, 'cos this trunk version files will be stable and shared, that time will not use in osx.

Another strange thing, is just me use svn version on osx all over the world ? :D

Graeme Geldenhuys wrote 15 lines
On 2015-08-18 14:35, FreeMan wrote: > >I use to use svn, in my plan change to use "git" but need time for > >learning and change to scripts. 'git bisect' is your friend. http://git-scm.com/book/en/v1/Git-Tools-Debugging-with-Git#Binary-Search This makes it so easy to find an offending commit. If you could create a small test project that returns true or false if something works or not you can even automate the whole process and get to the offending commit in seconds. Regards, - Graeme -

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

Reply by email

Graeme Geldenhuys
to FreeMan
FreeMan wrote
This "bisect" command if I'm not mis understood, can not update defined version's file(s).

I have no idea what that means.

Another strange thing, is just me use svn version on osx all over the world ? :D

I don't know who is crazy enough to actually do development on OSX period! ;-) That platform gives me way to many grey hairs.

Regards,
- Graeme -

Reply by email

FreeMan
to Graeme Geldenhuys: I have no idea what that means. I don't know who is crazy enough to actually do…
Graeme Geldenhuys wrote
On 2015-08-19 09:22, FreeMan wrote: > This "bisect" command if I'm not mis understood, can not update defined > version's file(s). I have no idea what that means.

r49611, r49612 has a problem, last version is r49686. if I upgrade to r49686 my lazarus lock, 'cos problem in 49611 and 49612. bisect command not apply this version and start to 49613 to end version. I hope translate in my mind.

Show quoted text 9 lines
> Another strange thing, is just me use svn version on osx all over the > world ? :D I don't know who is crazy enough to actually do development on OSX period! ;-) That platform gives me way to many grey hairs. Regards, - Graeme -

Don't worry, I'm my ideas not much different then you. My solution for gray hairs, cut all my hair too shortly :D

Reply by email

Graeme Geldenhuys
to Aradeonas: Why? Regards, Ara http://www.fastmail.com - Accessible with your email software or over…
Aradeonas wrote
Why?

The list is never ending. Walled Garden mentality, more like iOS than a desktop, keyboard shortcuts kill me, keyboard layout drives me nuts (vital keys completely missing too), single menu causes more mouse clicks, over complicated "app bundles" (some Linux attempts did a better job), don't like the UI widgets etc.

FreeBSD + X11 + JWM + Filco Majestouch2 keyboard (dvorak) = heaven ;-)

Apple hardware is very good though - but so is my custom built workstation.

My personal opinion is that OSX (and all things Apple) is more for service consumers than service creators. But this is for a discussion somewhere else.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email