crash after layout edits

Bugs and issues - current donor version.
Post Reply
Message
Author
NumberOne
Posts: 89
Joined: 04.10.2015, 16:41

crash after layout edits

#1 Post by NumberOne » 08.09.2016, 22:50

to repro create some layouts, then edit them, delete, rename etc. and you may crash

date/time : 2016-09-09, 00:45:14, 814ms

executable : FreeCommander.exe
exec. date/time : 2016-08-13 20:05
version : 2016.0.0.727
compiled with : Delphi XE7
madExcept version : 4.0.12
contact name : rfg
contact email : sdfa@dsa.com
callstack crc : $8fd5ad08, $4d52f5fb, $d5816c20
exception number : 2
exception class : EAccessViolation
exception message : Access violation at address 000000000040E9A5 in module 'FreeCommander.exe'. Read of address FFFFFFFFFFFFFFFF.

main thread ($1408):
0040e9a5 +015 FreeCommander.exe System TObject.Free
00d8a1a0 +020 FreeCommander.exe fcLayoutsConfig 289 +3 TfcLayoutsConfig.ClearList
00d8a14a +01a FreeCommander.exe fcLayoutsConfig 278 +1 TfcLayoutsConfig.Destroy
0040e9a5 +015 FreeCommander.exe System TObject.Free
0109a2a7 +027 FreeCommander.exe fcLayoutsDlg 195 +3 TfcDlgLayouts.FormDestroy
0084de93 +033 FreeCommander.exe Vcl.Forms TCustomForm.DoDestroy
0084dbcc +08c FreeCommander.exe Vcl.Forms TCustomForm.Destroy
0040e9a5 +015 FreeCommander.exe System TObject.Free
0109984c +10c FreeCommander.exe fcLayoutsDlg 122 +19 ShowLayoutsEditDialog
010c0c60 +020 FreeCommander.exe FcMain 6480 +5 TFcFormMain.actViewLayoutEditExecute
005e8a10 +020 FreeCommander.exe System.Classes TBasicAction.Execute
006860c5 +0c5 FreeCommander.exe Vcl.ActnList TCustomAction.Execute
005e8724 +024 FreeCommander.exe System.Classes TBasicActionLink.Execute
00834a5c +0cc FreeCommander.exe Vcl.Menus TMenuItem.Click
008372df +01f FreeCommander.exe Vcl.Menus TMenu.DispatchCommand
00854534 +044 FreeCommander.exe Vcl.Forms TCustomForm.WMCommand
0040f0ce +03e FreeCommander.exe System TObject.Dispatch
006b5f03 +383 FreeCommander.exe Vcl.Controls TControl.WndProc
006bd517 +8b7 FreeCommander.exe Vcl.Controls TWinControl.WndProc
0084f969 +8d9 FreeCommander.exe Vcl.Forms TCustomForm.WndProc
010b34e5 +035 FreeCommander.exe FcMain 2428 +2 TFcFormMain.WndProc
006bc73a +02a FreeCommander.exe Vcl.Controls TWinControl.MainWndProc
005e9ef3 +023 FreeCommander.exe System.Classes StdWndProc
76cd9925 +000 USER32.dll DispatchMessageW
0085dddf +12f FreeCommander.exe Vcl.Forms TApplication.ProcessMessage
0085de53 +013 FreeCommander.exe Vcl.Forms TApplication.HandleMessage
0085e2ef +0ef FreeCommander.exe Vcl.Forms TApplication.Run
010e82c3 +3c3 FreeCommander.exe FreeCommander 458 +102 initialization
76bb59bb +00b kernel32.dll BaseThreadInitThunk

thread $e04:
76bb59bb +b kernel32.dll BaseThreadInitThunk

thread $1704:
76bb59bb +b kernel32.dll BaseThreadInitThunk

thread $ae4:
7fefcb91 +00 KERNELBASE.dll WaitForMultipleObjectsEx
76bb06ab +ab kernel32.dll WaitForMultipleObjects
00ca972f +5f FreeCommander.exe csWorkerThreadPool 433 +5 TWorkerThreadJobLists.WaitForNextJob
00ca9a53 +23 FreeCommander.exe csWorkerThreadPool 521 +3 TWorkerThread.Execute
005087f4 +24 FreeCommander.exe madExcept HookedTThreadExecute
005e4760 +40 FreeCommander.exe System.Classes ThreadProc
00411ca8 +38 FreeCommander.exe System ThreadWrapper
005086c9 +49 FreeCommander.exe madExcept ThreadExceptFrame
76bb59bb +0b kernel32.dll BaseThreadInitThunk

thread $1a9c:
7fefcb91 +00 KERNELBASE.dll WaitForMultipleObjectsEx
76bb06ab +ab kernel32.dll WaitForMultipleObjects
00ca972f +5f FreeCommander.exe csWorkerThreadPool 433 +5 TWorkerThreadJobLists.WaitForNextJob
00ca9a53 +23 FreeCommander.exe csWorkerThreadPool 521 +3 TWorkerThread.Execute
005087f4 +24 FreeCommander.exe madExcept HookedTThreadExecute
005e4760 +40 FreeCommander.exe System.Classes ThreadProc
00411ca8 +38 FreeCommander.exe System ThreadWrapper
005086c9 +49 FreeCommander.exe madExcept ThreadExceptFrame
76bb59bb +0b kernel32.dll BaseThreadInitThunk

thread $19c0:
7fefcb91 +00 KERNELBASE.dll WaitForMultipleObjectsEx
76bb06ab +ab kernel32.dll WaitForMultipleObjects
00ca972f +5f FreeCommander.exe csWorkerThreadPool 433 +5 TWorkerThreadJobLists.WaitForNextJob
00ca9a53 +23 FreeCommander.exe csWorkerThreadPool 521 +3 TWorkerThread.Execute
005087f4 +24 FreeCommander.exe madExcept HookedTThreadExecute
005e4760 +40 FreeCommander.exe System.Classes ThreadProc
00411ca8 +38 FreeCommander.exe System ThreadWrapper
005086c9 +49 FreeCommander.exe madExcept ThreadExceptFrame
76bb59bb +0b kernel32.dll BaseThreadInitThunk

thread $1274:
7fefcb91 +00 KERNELBASE.dll WaitForMultipleObjectsEx
76bb06ab +ab kernel32.dll WaitForMultipleObjects
00ca972f +5f FreeCommander.exe csWorkerThreadPool 433 +5 TWorkerThreadJobLists.WaitForNextJob
00ca9a53 +23 FreeCommander.exe csWorkerThreadPool 521 +3 TWorkerThread.Execute
005087f4 +24 FreeCommander.exe madExcept HookedTThreadExecute
005e4760 +40 FreeCommander.exe System.Classes ThreadProc
00411ca8 +38 FreeCommander.exe System ThreadWrapper
005086c9 +49 FreeCommander.exe madExcept ThreadExceptFrame
76bb59bb +0b kernel32.dll BaseThreadInitThunk

thread $1308:
7fefcb91 +00 KERNELBASE.dll WaitForMultipleObjectsEx
76bb06ab +ab kernel32.dll WaitForMultipleObjects
00ca972f +5f FreeCommander.exe csWorkerThreadPool 433 +5 TWorkerThreadJobLists.WaitForNextJob
00ca9a53 +23 FreeCommander.exe csWorkerThreadPool 521 +3 TWorkerThread.Execute
005087f4 +24 FreeCommander.exe madExcept HookedTThreadExecute
005e4760 +40 FreeCommander.exe System.Classes ThreadProc
00411ca8 +38 FreeCommander.exe System ThreadWrapper
005086c9 +49 FreeCommander.exe madExcept ThreadExceptFrame
76bb59bb +0b kernel32.dll BaseThreadInitThunk

thread $17c8:
7fefcb91 +00 KERNELBASE.dll WaitForMultipleObjectsEx
76bb06ab +ab kernel32.dll WaitForMultipleObjects
00a49808 +a8 FreeCommander.exe RzShellCtrls 3841 +11 TRzChangeHandlerThread.Execute
005087f4 +24 FreeCommander.exe madExcept HookedTThreadExecute
005e4760 +40 FreeCommander.exe System.Classes ThreadProc
00411ca8 +38 FreeCommander.exe System ThreadWrapper
005086c9 +49 FreeCommander.exe madExcept ThreadExceptFrame
76bb59bb +0b kernel32.dll BaseThreadInitThunk

thread $1258: <priority:1>
7fefcb91 +96 KERNELBASE.dll WaitForSingleObjectEx
00ccddc4 +64 FreeCommander.exe fcIconThread 359 +6 TVirtualImageThread.Execute
005087f4 +24 FreeCommander.exe madExcept HookedTThreadExecute
005e4760 +40 FreeCommander.exe System.Classes ThreadProc
00411ca8 +38 FreeCommander.exe System ThreadWrapper
005086c9 +49 FreeCommander.exe madExcept ThreadExceptFrame
76bb59bb +0b kernel32.dll BaseThreadInitThunk

thread $2b4:
76bb59bb +b kernel32.dll BaseThreadInitThunk

thread $1968:
76bb59bb +b kernel32.dll BaseThreadInitThunk

thread $96c:
76bb59bb +b kernel32.dll BaseThreadInitThunk

modules:
C:\Windows\system32

processes:
1188 FreeCommander.exe 1 452 279 normal D:\FreeCommanderXE-64(New)

hardware:


cpu registers:
rax = 0000000003b991c0
rbx = 000204b000d84ab0
rcx = 0000000003b991c0
rdx = 0000000000000001
rsi = 0000000000000000
rdi = 0000000006f9ecc0
rip = 000000000040e9a5
rsp = 000000000022f420
rbp = 000000000022f530
r8 = 0000000000000001
r9 = 000000000022f238
r10 = 0000000000000000
r11 = 0000141000090003
r12 = 0000000000000000
r13 = 0000000000000111
r14 = 0000000000000000
r15 = 0000000000040646

stack dump:
0022f420 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0022f430 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0022f440 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0022f450 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0022f460 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0022f470 05 fa 08 03 00 00 00 00 - 50 73 27 08 00 00 00 00 ........Ps'.....
0022f480 00 00 00 00 00 00 00 00 - 10 43 6e 04 00 00 00 00 .........Cn.....
0022f490 e0 0b 00 00 c4 01 00 00 - 00 00 00 00 00 00 00 00 ................
0022f4a0 b4 f4 22 00 00 00 00 00 - c0 ec f9 06 00 00 00 00 ..".............
0022f4b0 30 f5 22 00 00 00 00 00 - 79 7c 50 00 00 00 00 00 0.".....y|P.....
0022f4c0 00 e2 03 03 00 00 00 00 - 50 e1 e4 06 00 00 00 00 ........P.......
0022f4d0 a5 e9 40 00 00 00 00 00 - 01 73 27 08 00 00 00 00 ..@......s'.....
0022f4e0 20 f4 22 00 00 00 00 00 - 30 f5 22 00 00 00 00 00 .".....0.".....
0022f4f0 08 a9 a1 0a 00 00 00 00 - 05 a2 09 01 00 00 00 00 ................
0022f500 50 73 27 08 00 00 00 00 - 00 00 00 00 00 00 00 00 Ps'.............
0022f510 00 00 00 00 00 00 00 00 - 38 79 27 08 00 00 00 00 ........8y'.....
0022f520 80 e2 03 03 00 00 00 00 - a9 de 84 00 00 00 00 00 ................
0022f530 70 00 00 00 00 00 00 00 - 78 83 09 01 00 00 00 00 p.......x.......
0022f540 80 e2 03 03 00 00 00 00 - 95 f4 40 00 00 00 00 00 ..........@.....
0022f550 2f 9c cd 76 00 00 00 00 - 30 f5 22 00 00 00 00 00 /..v....0.".....

disassembling:
[...]
00d8a191 jl loc_d8a1ad
00d8a193 289 mov rcx, rbx
00d8a196 mov edx, esi
00d8a198 call +$e3 ($d8a280) ; fcLayoutsConfig.TfcLayoutsConfig.GetItem
00d8a19d mov rcx, rax
00d8a1a0 > call -$97b815 ($40e990) ; System.TObject.Free
00d8a1a5 290 sub esi, 1
00d8a1a8 287 cmp esi, -1
00d8a1ab jnz loc_d8a193
00d8a1ad nop
00d8a1ae 292 mov rcx, rbx
[...]

error details:

NumberOne
Posts: 89
Joined: 04.10.2015, 16:41

Re: crash after layout edits

#2 Post by NumberOne » 10.09.2016, 00:34

crashed again after toggling layout in layouts edit dialog.

callstack crc : $a57823a9, $99d88dfd, $be638973
exception number : 1
exception class : EAccessViolation
exception message : Access violation at address 0000000000E3F110 in module 'FreeCommander.exe'. Read of address 0000000000000000.

main thread ($230):
00e3f110 +080 FreeCommander.exe fcFileListView 5930 +13 TfcFileListView.ShellImageExtractWorkerJobNotification
01029e39 +059 FreeCommander.exe fcController 8382 +5 TfcController.FileInfoJobNotification
00caa134 +014 FreeCommander.exe csWorkerThreadPool 672 +2 TWorkerThreadPool.Notify
00ca9ad1 +021 FreeCommander.exe csWorkerThreadPool 543 +1 TWorkerThread.DoNotify
005e4563 +133 FreeCommander.exe System.Classes CheckSynchronize
0085d0c2 +a72 FreeCommander.exe Vcl.Forms TApplication.WndProc
005e9ef3 +023 FreeCommander.exe System.Classes StdWndProc
777e9925 +000 USER32.dll DispatchMessageW
0085dddf +12f FreeCommander.exe Vcl.Forms TApplication.ProcessMessage
0085de53 +013 FreeCommander.exe Vcl.Forms TApplication.HandleMessage
00856ae5 +205 FreeCommander.exe Vcl.Forms TCustomForm.ShowModal
01099791 +051 FreeCommander.exe fcLayoutsDlg 108 +5 ShowLayoutsEditDialog
010c0c60 +020 FreeCommander.exe FcMain 6480 +5 TFcFormMain.actViewLayoutEditExecute
005e8a10 +020 FreeCommander.exe System.Classes TBasicAction.Execute
006860c5 +0c5 FreeCommander.exe Vcl.ActnList TCustomAction.Execute
005e8724 +024 FreeCommander.exe System.Classes TBasicActionLink.Execute
006b67ca +08a FreeCommander.exe Vcl.Controls TControl.Click
00aeff4d +01d FreeCommander.exe RzButton 4557 +7 TRzToolButton.Click
00aefec0 +160 FreeCommander.exe RzButton 4534 +39 TRzToolButton.MouseUp
00cdcfbd +03d FreeCommander.exe fcToolButton 85 +4 TfcToolButton.MouseUp
006b6e63 +073 FreeCommander.exe Vcl.Controls TControl.DoMouseUp
006b6f29 +0b9 FreeCommander.exe Vcl.Controls TControl.WMLButtonUp
0040f0ce +03e FreeCommander.exe System TObject.Dispatch
006b5f03 +383 FreeCommander.exe Vcl.Controls TControl.WndProc
006b59e0 +030 FreeCommander.exe Vcl.Controls TControl.Perform
006bcacd +0cd FreeCommander.exe Vcl.Controls TWinControl.IsControlMouseMsg
006bd310 +6b0 FreeCommander.exe Vcl.Controls TWinControl.WndProc
006bc73a +02a FreeCommander.exe Vcl.Controls TWinControl.MainWndProc
005e9ef3 +023 FreeCommander.exe System.Classes StdWndProc
777e9925 +000 USER32.dll DispatchMessageW
0085dddf +12f FreeCommander.exe Vcl.Forms TApplication.ProcessMessage
0085de53 +013 FreeCommander.exe Vcl.Forms TApplication.HandleMessage
0085e2ef +0ef FreeCommander.exe Vcl.Forms TApplication.Run
010e82c3 +3c3 FreeCommander.exe FreeCommander 458 +102 initialization
778e59bb +00b kernel32.dll BaseThreadInitThunk

thread $798:
778e59bb +b kernel32.dll BaseThreadInitThunk

thread $1228:
778e59bb +b kernel32.dll BaseThreadInitThunk

thread $1a74:
7fefd9b1 +096 KERNELBASE.dll WaitForSingleObjectEx
0048e1d4 +004 FreeCommander.exe System.SysUtils WaitForSyncWaitObj
0048e3f9 +029 FreeCommander.exe System.SysUtils WaitOrSignalObj
0040ff5f +07f FreeCommander.exe System TMonitor.Wait
00410011 +031 FreeCommander.exe System TMonitor.Wait
005e57aa +16a FreeCommander.exe System.Classes TThread.Synchronize
005e58a4 +044 FreeCommander.exe System.Classes TThread.Synchronize
00ca9d09 +019 FreeCommander.exe csWorkerThreadPool 583 +1 TWorkerThread.Synchronize
00ca9b22 +042 FreeCommander.exe csWorkerThreadPool 551 +4 TWorkerThread.Notify
00cb9858 +038 FreeCommander.exe fcThreadWorkerJobs 914 +11 TfcExtractImageWorkerJob.Execute
00ca9bb1 +081 FreeCommander.exe csWorkerThreadPool 566 +8 TWorkerThread.Run
00ca9a96 +066 FreeCommander.exe csWorkerThreadPool 530 +12 TWorkerThread.Execute
005087f4 +024 FreeCommander.exe madExcept HookedTThreadExecute
005e4760 +040 FreeCommander.exe System.Classes ThreadProc
00411ca8 +038 FreeCommander.exe System ThreadWrapper
005086c9 +049 FreeCommander.exe madExcept ThreadExceptFrame
778e59bb +00b kernel32.dll BaseThreadInitThunk

thread $60c:
7fefd9b1 +096 KERNELBASE.dll WaitForSingleObjectEx
0048e1d4 +004 FreeCommander.exe System.SysUtils WaitForSyncWaitObj
0048e3f9 +029 FreeCommander.exe System.SysUtils WaitOrSignalObj
0040ff5f +07f FreeCommander.exe System TMonitor.Wait
00410011 +031 FreeCommander.exe System TMonitor.Wait
005e57aa +16a FreeCommander.exe System.Classes TThread.Synchronize
005e58a4 +044 FreeCommander.exe System.Classes TThread.Synchronize
00ca9d09 +019 FreeCommander.exe csWorkerThreadPool 583 +1 TWorkerThread.Synchronize
00ca9b22 +042 FreeCommander.exe csWorkerThreadPool 551 +4 TWorkerThread.Notify
00cb9858 +038 FreeCommander.exe fcThreadWorkerJobs 914 +11 TfcExtractImageWorkerJob.Execute
00ca9bb1 +081 FreeCommander.exe csWorkerThreadPool 566 +8 TWorkerThread.Run
00ca9a96 +066 FreeCommander.exe csWorkerThreadPool 530 +12 TWorkerThread.Execute
005087f4 +024 FreeCommander.exe madExcept HookedTThreadExecute
005e4760 +040 FreeCommander.exe System.Classes ThreadProc
00411ca8 +038 FreeCommander.exe System ThreadWrapper
005086c9 +049 FreeCommander.exe madExcept ThreadExceptFrame
778e59bb +00b kernel32.dll BaseThreadInitThunk

thread $12d4:
7fefd9b1 +096 KERNELBASE.dll WaitForSingleObjectEx
0048e1d4 +004 FreeCommander.exe System.SysUtils WaitForSyncWaitObj
0048e3f9 +029 FreeCommander.exe System.SysUtils WaitOrSignalObj
0040ff5f +07f FreeCommander.exe System TMonitor.Wait
00410011 +031 FreeCommander.exe System TMonitor.Wait
005e57aa +16a FreeCommander.exe System.Classes TThread.Synchronize
005e58a4 +044 FreeCommander.exe System.Classes TThread.Synchronize
00ca9d09 +019 FreeCommander.exe csWorkerThreadPool 583 +1 TWorkerThread.Synchronize
00ca9b22 +042 FreeCommander.exe csWorkerThreadPool 551 +4 TWorkerThread.Notify
00cb9858 +038 FreeCommander.exe fcThreadWorkerJobs 914 +11 TfcExtractImageWorkerJob.Execute
00ca9bb1 +081 FreeCommander.exe csWorkerThreadPool 566 +8 TWorkerThread.Run
00ca9a96 +066 FreeCommander.exe csWorkerThreadPool 530 +12 TWorkerThread.Execute
005087f4 +024 FreeCommander.exe madExcept HookedTThreadExecute
005e4760 +040 FreeCommander.exe System.Classes ThreadProc
00411ca8 +038 FreeCommander.exe System ThreadWrapper
005086c9 +049 FreeCommander.exe madExcept ThreadExceptFrame
778e59bb +00b kernel32.dll BaseThreadInitThunk

thread $1bf8:
7fefd9b1 +096 KERNELBASE.dll WaitForSingleObjectEx
0048e1d4 +004 FreeCommander.exe System.SysUtils WaitForSyncWaitObj
0048e3f9 +029 FreeCommander.exe System.SysUtils WaitOrSignalObj
0040ff5f +07f FreeCommander.exe System TMonitor.Wait
00410011 +031 FreeCommander.exe System TMonitor.Wait
005e57aa +16a FreeCommander.exe System.Classes TThread.Synchronize
005e58a4 +044 FreeCommander.exe System.Classes TThread.Synchronize
00ca9d09 +019 FreeCommander.exe csWorkerThreadPool 583 +1 TWorkerThread.Synchronize
00ca9b22 +042 FreeCommander.exe csWorkerThreadPool 551 +4 TWorkerThread.Notify
00cb9858 +038 FreeCommander.exe fcThreadWorkerJobs 914 +11 TfcExtractImageWorkerJob.Execute
00ca9bb1 +081 FreeCommander.exe csWorkerThreadPool 566 +8 TWorkerThread.Run
00ca9a96 +066 FreeCommander.exe csWorkerThreadPool 530 +12 TWorkerThread.Execute
005087f4 +024 FreeCommander.exe madExcept HookedTThreadExecute
005e4760 +040 FreeCommander.exe System.Classes ThreadProc
00411ca8 +038 FreeCommander.exe System ThreadWrapper
005086c9 +049 FreeCommander.exe madExcept ThreadExceptFrame
778e59bb +00b kernel32.dll BaseThreadInitThunk

thread $1860:
7fefd9b1 +096 KERNELBASE.dll WaitForSingleObjectEx
0048e1d4 +004 FreeCommander.exe System.SysUtils WaitForSyncWaitObj
0048e3f9 +029 FreeCommander.exe System.SysUtils WaitOrSignalObj
0040ff5f +07f FreeCommander.exe System TMonitor.Wait
00410011 +031 FreeCommander.exe System TMonitor.Wait
005e57aa +16a FreeCommander.exe System.Classes TThread.Synchronize
005e58a4 +044 FreeCommander.exe System.Classes TThread.Synchronize
00ca9d09 +019 FreeCommander.exe csWorkerThreadPool 583 +1 TWorkerThread.Synchronize
00ca9b22 +042 FreeCommander.exe csWorkerThreadPool 551 +4 TWorkerThread.Notify
00cb9858 +038 FreeCommander.exe fcThreadWorkerJobs 914 +11 TfcExtractImageWorkerJob.Execute
00ca9bb1 +081 FreeCommander.exe csWorkerThreadPool 566 +8 TWorkerThread.Run
00ca9a96 +066 FreeCommander.exe csWorkerThreadPool 530 +12 TWorkerThread.Execute
005087f4 +024 FreeCommander.exe madExcept HookedTThreadExecute
005e4760 +040 FreeCommander.exe System.Classes ThreadProc
00411ca8 +038 FreeCommander.exe System ThreadWrapper
005086c9 +049 FreeCommander.exe madExcept ThreadExceptFrame
778e59bb +00b kernel32.dll BaseThreadInitThunk

thread $16bc:
777e9ec9 +25 USER32.dll GetMessageW
005086c9 +49 FreeCommander.exe madExcept ThreadExceptFrame
778e59bb +0b kernel32.dll BaseThreadInitThunk

thread $17a0:
7fefd9b1 +96 KERNELBASE.dll WaitForSingleObjectEx
00ce731a +4a FreeCommander.exe fcProcedureThread 84 +5 TfcExternalProcedureThread.Execute
005087f4 +24 FreeCommander.exe madExcept HookedTThreadExecute
005e4760 +40 FreeCommander.exe System.Classes ThreadProc
00411ca8 +38 FreeCommander.exe System ThreadWrapper
005086c9 +49 FreeCommander.exe madExcept ThreadExceptFrame
778e59bb +0b kernel32.dll BaseThreadInitThunk

thread $15b8: <priority:15>
005086c9 +49 FreeCommander.exe madExcept ThreadExceptFrame
778e59bb +0b kernel32.dll BaseThreadInitThunk

thread $574:
7fefd9b1 +00 KERNELBASE.dll WaitForMultipleObjectsEx
778e06ab +ab kernel32.dll WaitForMultipleObjects
005086c9 +49 FreeCommander.exe madExcept ThreadExceptFrame
778e59bb +0b kernel32.dll BaseThreadInitThunk

thread $173c:
7fefd9b1 +00 KERNELBASE.dll WaitForMultipleObjectsEx
778f16ce +ae kernel32.dll WaitForMultipleObjectsEx
777e62c9 +29 USER32.dll MsgWaitForMultipleObjectsEx
777e62fb +1b USER32.dll MsgWaitForMultipleObjects
005086c9 +49 FreeCommander.exe madExcept ThreadExceptFrame
778e59bb +0b kernel32.dll BaseThreadInitThunk

thread $f18:
7fefd9b1 +00 KERNELBASE.dll WaitForMultipleObjectsEx
778e06ab +ab kernel32.dll WaitForMultipleObjects
00a49808 +a8 FreeCommander.exe RzShellCtrls 3841 +11 TRzChangeHandlerThread.Execute
005087f4 +24 FreeCommander.exe madExcept HookedTThreadExecute
005e4760 +40 FreeCommander.exe System.Classes ThreadProc
00411ca8 +38 FreeCommander.exe System ThreadWrapper
005086c9 +49 FreeCommander.exe madExcept ThreadExceptFrame
778e59bb +0b kernel32.dll BaseThreadInitThunk

thread $ef8:
778e59bb +b kernel32.dll BaseThreadInitThunk

thread $152c:
7fefd9b1 +00 KERNELBASE.dll WaitForMultipleObjectsEx
778f16ce +ae kernel32.dll WaitForMultipleObjectsEx
777e62c9 +29 USER32.dll MsgWaitForMultipleObjectsEx
777e62fb +1b USER32.dll MsgWaitForMultipleObjects
005086c9 +49 FreeCommander.exe madExcept ThreadExceptFrame
778e59bb +0b kernel32.dll BaseThreadInitThunk

thread $fc4:
778e59bb +b kernel32.dll BaseThreadInitThunk

thread $344:
778e59bb +b kernel32.dll BaseThreadInitThunk

thread $1aa4:
7fefd9b1 +ad KERNELBASE.dll SleepEx
005086c9 +49 FreeCommander.exe madExcept ThreadExceptFrame
778e59bb +0b kernel32.dll BaseThreadInitThunk

thread $11e4:
778e59bb +b kernel32.dll BaseThreadInitThunk

thread $18fc:
778e59bb +b kernel32.dll BaseThreadInitThunk

thread $1928: <priority:15>
00406bfc +4c FreeCommander.exe System LockMediumBlocks

thread $1404:
00406bfc +4c FreeCommander.exe System LockMediumBlocks

thread $d28:
00406bfc +4c FreeCommander.exe System LockMediumBlocks

thread $d50:
778e59bb +b kernel32.dll BaseThreadInitThunk

thread $19dc:
778e59bb +b kernel32.dll BaseThreadInitThunk

thread $169c:
778e59bb +b kernel32.dll BaseThreadInitThunk

thread $f7c:
778e59bb +b kernel32.dll BaseThreadInitThunk

thread $b94: <priority:1>
7fefd9b1 +96 KERNELBASE.dll WaitForSingleObjectEx
00ccddc4 +64 FreeCommander.exe fcIconThread 359 +6 TVirtualImageThread.Execute
005087f4 +24 FreeCommander.exe madExcept HookedTThreadExecute
005e4760 +40 FreeCommander.exe System.Classes ThreadProc
00411ca8 +38 FreeCommander.exe System ThreadWrapper
005086c9 +49 FreeCommander.exe madExcept ThreadExceptFrame
778e59bb +0b kernel32.dll BaseThreadInitThunk

thread $1904:
00406bfc +4c FreeCommander.exe System LockMediumBlocks

thread $156c:
00406bfc +4c FreeCommander.exe System LockMediumBlocks

thread $ec8:
00406bfc +4c FreeCommander.exe System LockMediumBlocks

thread $147c:
00406bfc +4c FreeCommander.exe System LockMediumBlocks

thread $1068:
00406bfc +4c FreeCommander.exe System LockMediumBlocks

thread $14a4:
00406bfc +4c FreeCommander.exe System LockMediumBlocks

modules:
00400000 FreeCommander.exe 2016.0.0.727 D:\FreeCommanderXE-64(New)

processes:
1bd4 DllHost.exe 1 9 6 normal C:\Windows\system32

hardware:
- USB Root Hub

cpu registers:
rax = 0000000000000000
rbx = 0000000006df6720
rcx = 0000000000000000
rdx = 0000000006ce83e0
rsi = 0000000006ce83e0
rdi = 0000000000000000
rip = 0000000000e3f110
rsp = 000000000022ef10
rbp = 000000000022ef10
r8 = 0000000000000000
r9 = 000000000022f060
r10 = 0000000000000000
r11 = 0000000000000206
r12 = 0000000000000000
r13 = 0000000006ce83f0
r14 = 0000000000000000
r15 = 00000000000507ec

stack dump:
0022ef10 10 f1 e3 00 00 00 00 00 - 02 00 00 00 00 00 00 00 ................
0022ef20 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0022ef30 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0022ef40 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0022ef50 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0022ef60 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0022ef70 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0022ef80 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0022ef90 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0022efa0 0a f0 22 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ..".............
0022efb0 00 00 00 00 00 00 00 00 - 20 b5 fb 0a 00 00 00 00 ........ .......
0022efc0 f0 10 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0022efd0 01 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0022efe0 60 f0 22 00 00 00 00 00 - 88 7e 50 00 00 00 00 00 `."......~P.....
0022eff0 00 00 00 00 00 00 00 00 - c0 ea de 0c 00 00 00 00 ................
0022f000 10 f1 e3 00 00 00 00 00 - 01 a1 ea 06 00 00 00 00 ................
0022f010 10 ef 22 00 00 00 00 00 - 10 ef 22 00 00 00 00 00 ..".......".....
0022f020 b8 e7 c6 07 00 00 00 00 - 0a 9a ca 00 00 00 00 00 ................
0022f030 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0022f040 00 00 00 00 00 00 00 00 - 01 00 00 00 00 00 00 00 ................

disassembling:
[...]
00e3f0f4 5924 mov rax, [rbp+$a8]
00e3f0fb mov [rbp+$78], rax
00e3f0ff 5930 mov rax, [rbp+$a0]
00e3f106 mov rax, [rax+$a90]
00e3f10d mov rcx, rax
00e3f110 > mov rax, [rax]
00e3f113 call qword ptr [rax+$78]
00e3f116 mov rcx, [rbp+$78]
00e3f11a mov eax, [rax+$20]
00e3f11d cmp eax, [rcx+$28]
00e3f120 jnz loc_e3f6b8
[...]

Marek
Author
Author
Posts: 2495
Joined: 10.04.2006, 07:48
Location: Germany
Contact:

Re: crash after layout edits

#3 Post by Marek » 16.09.2016, 18:33

If you have step by step description how to reproduce it - it would be nice if you could send it to me.

NumberOne
Posts: 89
Joined: 04.10.2015, 16:41

Re: crash after layout edits

#4 Post by NumberOne » 22.09.2016, 21:26

this seems to be a another, new bug in the latest beta,
but we got an exception and it's reproducible :P
do as shown in the video (create some layouts, delete em, close dialog, done)

Image

callstack crc : $00000000, $72512456, $4a5f1995
exception number : 1
exception class : EAccessViolation
exception message : Access violation at address 00000000 in module 'FreeCommander.exe'. Read of address 00000000.

main thread ($f2c):
00000000 +000 ???
004092a4 +008 FreeCommander.exe System 19 +0 TObject.Free
00a95226 +016 FreeCommander.exe fcLayoutsConfig 289 +3 TfcLayoutsConfig.ClearList
00a951f1 +00d FreeCommander.exe fcLayoutsConfig 278 +1 TfcLayoutsConfig.Destroy
004092a4 +008 FreeCommander.exe System 19 +0 TObject.Free
00cbb8ed +031 FreeCommander.exe fcLayoutsDlg 195 +3 TfcDlgLayouts.FormDestroy
006ce435 +031 FreeCommander.exe Vcl.Forms TCustomForm.DoDestroy
006ce26a +052 FreeCommander.exe Vcl.Forms TCustomForm.Destroy
004092a4 +008 FreeCommander.exe System 19 +0 TObject.Free
00cbb1d9 +0e5 FreeCommander.exe fcLayoutsDlg 122 +19 ShowLayoutsEditDialog
00cda5d1 +019 FreeCommander.exe FcMain 6480 +5 TFcFormMain.actViewLayoutEditExecute
005476eb +00f FreeCommander.exe System.Classes TBasicAction.Execute
005ae866 +086 FreeCommander.exe Vcl.ActnList TCustomAction.Execute
0054756f +013 FreeCommander.exe System.Classes TBasicActionLink.Execute
005cb2d8 +05c FreeCommander.exe Vcl.Controls TControl.Click
008a32a4 +018 FreeCommander.exe RzButton 4557 +6 TRzToolButton.Click
008a3228 +118 FreeCommander.exe RzButton 4534 +39 TRzToolButton.MouseUp
00a17ebe +036 FreeCommander.exe fcToolButton 85 +4 TfcToolButton.MouseUp
005cb728 +038 FreeCommander.exe Vcl.Controls TControl.DoMouseUp
005cb7a8 +074 FreeCommander.exe Vcl.Controls TControl.WMLButtonUp
005ca9bc +024 FreeCommander.exe Vcl.Controls TControl.Perform
005cad81 +2bd FreeCommander.exe Vcl.Controls TControl.WndProc
005483e0 +014 FreeCommander.exe System.Classes StdWndProc
005ca9bc +024 FreeCommander.exe Vcl.Controls TControl.Perform
005cf114 +0b0 FreeCommander.exe Vcl.Controls TWinControl.IsControlMouseMsg
005cf6ca +44a FreeCommander.exe Vcl.Controls TWinControl.WndProc
0067869b +007 FreeCommander.exe Vcl.Themes TStyleManager.GetIsCustomStyleActive
0067bd6d +039 FreeCommander.exe Vcl.Themes TCustomStyleEngine.HookCBProc
005cee88 +02c FreeCommander.exe Vcl.Controls TWinControl.MainWndProc
005483e0 +014 FreeCommander.exe System.Classes StdWndProc
76967885 +00a USER32.dll DispatchMessageW
006d8b8b +0f3 FreeCommander.exe Vcl.Forms TApplication.ProcessMessage
006d8bce +00a FreeCommander.exe Vcl.Forms TApplication.HandleMessage
006d8f01 +0c9 FreeCommander.exe Vcl.Forms TApplication.Run
00cf6cee +28e FreeCommander.exe FreeCommander 457 +102 initialization
74ff3388 +010 kernel32.dll BaseThreadInitThunk

thread $c9c:
77570156 +0e ntdll.dll NtWaitForMultipleObjects
74ff3388 +10 kernel32.dll BaseThreadInitThunk

thread $658:
77571f3f +0b ntdll.dll NtWaitForWorkViaWorkerFactory
74ff3388 +10 kernel32.dll BaseThreadInitThunk

thread $268 (TWorkerThread):
77570156 +0e ntdll.dll NtWaitForMultipleObjects
751215f1 +fa KERNELBASE.dll WaitForMultipleObjectsEx
74ff19f3 +89 kernel32.dll WaitForMultipleObjectsEx
74ff41fb +13 kernel32.dll WaitForMultipleObjects
009cc472 +2e FreeCommander.exe csWorkerThreadPool 433 +5 TWorkerThreadJobLists.WaitForNextJob
009cc60b +13 FreeCommander.exe csWorkerThreadPool 521 +3 TWorkerThread.Execute
004b1307 +2b FreeCommander.exe madExcept HookedTThreadExecute
00544ca9 +49 FreeCommander.exe System.Classes ThreadProc
0040afec +28 FreeCommander.exe System 19 +0 ThreadWrapper
004b11ed +0d FreeCommander.exe madExcept CallThreadProcSafe
004b1252 +32 FreeCommander.exe madExcept ThreadExceptFrame
74ff3388 +10 kernel32.dll BaseThreadInitThunk
>> created by main thread ($f2c) at:
009cc562 +1e FreeCommander.exe csWorkerThreadPool 465 +1 TWorkerThread.Create

thread $e6c (TWorkerThread):
77570156 +0e ntdll.dll NtWaitForMultipleObjects
751215f1 +fa KERNELBASE.dll WaitForMultipleObjectsEx
74ff19f3 +89 kernel32.dll WaitForMultipleObjectsEx
74ff41fb +13 kernel32.dll WaitForMultipleObjects
009cc472 +2e FreeCommander.exe csWorkerThreadPool 433 +5 TWorkerThreadJobLists.WaitForNextJob
009cc60b +13 FreeCommander.exe csWorkerThreadPool 521 +3 TWorkerThread.Execute
004b1307 +2b FreeCommander.exe madExcept HookedTThreadExecute
00544ca9 +49 FreeCommander.exe System.Classes ThreadProc
0040afec +28 FreeCommander.exe System 19 +0 ThreadWrapper
004b11ed +0d FreeCommander.exe madExcept CallThreadProcSafe
004b1252 +32 FreeCommander.exe madExcept ThreadExceptFrame
74ff3388 +10 kernel32.dll BaseThreadInitThunk
>> created by main thread ($f2c) at:
009cc562 +1e FreeCommander.exe csWorkerThreadPool 465 +1 TWorkerThread.Create

thread $804 (TWorkerThread):
77570156 +0e ntdll.dll NtWaitForMultipleObjects
751215f1 +fa KERNELBASE.dll WaitForMultipleObjectsEx
74ff19f3 +89 kernel32.dll WaitForMultipleObjectsEx
74ff41fb +13 kernel32.dll WaitForMultipleObjects
009cc472 +2e FreeCommander.exe csWorkerThreadPool 433 +5 TWorkerThreadJobLists.WaitForNextJob
009cc60b +13 FreeCommander.exe csWorkerThreadPool 521 +3 TWorkerThread.Execute
004b1307 +2b FreeCommander.exe madExcept HookedTThreadExecute
00544ca9 +49 FreeCommander.exe System.Classes ThreadProc
0040afec +28 FreeCommander.exe System 19 +0 ThreadWrapper
004b11ed +0d FreeCommander.exe madExcept CallThreadProcSafe
004b1252 +32 FreeCommander.exe madExcept ThreadExceptFrame
74ff3388 +10 kernel32.dll BaseThreadInitThunk
>> created by main thread ($f2c) at:
009cc562 +1e FreeCommander.exe csWorkerThreadPool 465 +1 TWorkerThread.Create

thread $dc0 (TWorkerThread):
77570156 +0e ntdll.dll NtWaitForMultipleObjects
751215f1 +fa KERNELBASE.dll WaitForMultipleObjectsEx
74ff19f3 +89 kernel32.dll WaitForMultipleObjectsEx
74ff41fb +13 kernel32.dll WaitForMultipleObjects
009cc472 +2e FreeCommander.exe csWorkerThreadPool 433 +5 TWorkerThreadJobLists.WaitForNextJob
009cc60b +13 FreeCommander.exe csWorkerThreadPool 521 +3 TWorkerThread.Execute
004b1307 +2b FreeCommander.exe madExcept HookedTThreadExecute
00544ca9 +49 FreeCommander.exe System.Classes ThreadProc
0040afec +28 FreeCommander.exe System 19 +0 ThreadWrapper
004b11ed +0d FreeCommander.exe madExcept CallThreadProcSafe
004b1252 +32 FreeCommander.exe madExcept ThreadExceptFrame
74ff3388 +10 kernel32.dll BaseThreadInitThunk
>> created by main thread ($f2c) at:
009cc562 +1e FreeCommander.exe csWorkerThreadPool 465 +1 TWorkerThread.Create

thread $8ec (TWorkerThread):
77570156 +0e ntdll.dll NtWaitForMultipleObjects
751215f1 +fa KERNELBASE.dll WaitForMultipleObjectsEx
74ff19f3 +89 kernel32.dll WaitForMultipleObjectsEx
74ff41fb +13 kernel32.dll WaitForMultipleObjects
009cc472 +2e FreeCommander.exe csWorkerThreadPool 433 +5 TWorkerThreadJobLists.WaitForNextJob
009cc60b +13 FreeCommander.exe csWorkerThreadPool 521 +3 TWorkerThread.Execute
004b1307 +2b FreeCommander.exe madExcept HookedTThreadExecute
00544ca9 +49 FreeCommander.exe System.Classes ThreadProc
0040afec +28 FreeCommander.exe System 19 +0 ThreadWrapper
004b11ed +0d FreeCommander.exe madExcept CallThreadProcSafe
004b1252 +32 FreeCommander.exe madExcept ThreadExceptFrame
74ff3388 +10 kernel32.dll BaseThreadInitThunk
>> created by main thread ($f2c) at:
009cc562 +1e FreeCommander.exe csWorkerThreadPool 465 +1 TWorkerThread.Create

thread $97c (TRzChangeHandlerThread):
77570156 +0e ntdll.dll NtWaitForMultipleObjects
751215f1 +fa KERNELBASE.dll WaitForMultipleObjectsEx
74ff19f3 +89 kernel32.dll WaitForMultipleObjectsEx
74ff41fb +13 kernel32.dll WaitForMultipleObjects
0081fb7d +6d FreeCommander.exe RzShellCtrls 3841 +11 TRzChangeHandlerThread.Execute
004b1307 +2b FreeCommander.exe madExcept HookedTThreadExecute
00544ca9 +49 FreeCommander.exe System.Classes ThreadProc
0040afec +28 FreeCommander.exe System 19 +0 ThreadWrapper
004b11ed +0d FreeCommander.exe madExcept CallThreadProcSafe
004b1252 +32 FreeCommander.exe madExcept ThreadExceptFrame
74ff3388 +10 kernel32.dll BaseThreadInitThunk
>> created by main thread ($f2c) at:
0081f842 +1e FreeCommander.exe RzShellCtrls 3727 +4 TRzChangeHandlerThread.Create

thread $8fc (TfcExternalProcedureThread):
7756f8ca +0e ntdll.dll NtWaitForSingleObject
751214a5 +92 KERNELBASE.dll WaitForSingleObjectEx
74ff118f +3e kernel32.dll WaitForSingleObjectEx
74ff1143 +0d kernel32.dll WaitForSingleObject
00a1eb4e +52 FreeCommander.exe fcProcedureThread 84 +5 TfcExternalProcedureThread.Execute
004b1307 +2b FreeCommander.exe madExcept HookedTThreadExecute
00544ca9 +49 FreeCommander.exe System.Classes ThreadProc
0040afec +28 FreeCommander.exe System 19 +0 ThreadWrapper
004b11ed +0d FreeCommander.exe madExcept CallThreadProcSafe
004b1252 +32 FreeCommander.exe madExcept ThreadExceptFrame
74ff3388 +10 kernel32.dll BaseThreadInitThunk
>> created by main thread ($f2c) at:
00a1ea6b +47 FreeCommander.exe fcProcedureThread 48 +6 TfcExternalProcedureThread.Create

thread $67c:
77571f3f +0b ntdll.dll NtWaitForWorkViaWorkerFactory
74ff3388 +10 kernel32.dll BaseThreadInitThunk

thread $f00:
77571f3f +0b ntdll.dll NtWaitForWorkViaWorkerFactory
74ff3388 +10 kernel32.dll BaseThreadInitThunk

thread $e94:
77571f3f +0b ntdll.dll NtWaitForWorkViaWorkerFactory
74ff3388 +10 kernel32.dll BaseThreadInitThunk

modules:
00400000 FreeCommander.exe 2016.1.0.728 C:\XE


processes:
918 svchost.exe 0 0 0
ca8 FreeCommander.exe 1 408 223 normal C:\XE

hardware:
- USB Root Hub

cpu registers:
eax = 060bffe0
ebx = 00000000
ecx = 000204b0
edx = 00000001
esi = 081939e0
edi = 02b73240
eip = 00000000
esp = 0018fa38
ebp = 0018fa88

stack dump:
0018fa38 a7 92 40 00 2b 52 a9 00 - e0 39 19 08 01 64 1d 08 ..@.+R...9...d..
0018fa48 f6 51 a9 00 84 44 57 00 - c0 60 1d 08 a7 92 40 00 .Q...DW..`....@.
0018fa58 f2 b8 cb 00 dc 64 1d 08 - bd 85 53 00 c0 60 1d 08 .....d....S..`..
0018fa68 3b e4 6c 00 90 fa 18 00 - ec a3 40 00 88 fa 18 00 ;.l.......@.....
0018fa78 40 32 b7 02 84 44 57 00 - d0 ed ec 04 c0 60 1d 08 @2...DW......`..
0018fa88 bc fa 18 00 70 e2 6c 00 - cc fa 18 00 6f e3 6c 00 ....p.l.....o.l.
0018fa98 bc fa 18 00 36 02 0f 00 - a9 00 00 00 84 44 00 00 ....6........D..
0018faa8 20 00 00 00 d0 70 11 08 - 02 00 00 00 c0 60 1d 01 ....p.......`..
0018fab8 c0 60 1d 08 e4 fa 18 00 - a7 92 40 00 de b1 cb 00 .`........@.....
0018fac8 e6 b1 cb 00 7c fd 18 00 - 14 b2 cb 00 e4 fa 18 00 ....|...........
0018fad8 d0 ed ec 04 84 44 57 00 - 00 00 00 00 54 fb 18 00 .....DW.....T...
0018fae8 d6 a5 cd 00 40 32 b7 02 - ee 76 54 00 01 00 00 00 ....@2...vT.....
0018faf8 6b e8 5a 00 d0 3a b6 02 - e0 e7 5a 00 a0 7d 02 06 k.Z..:....Z..}..
0018fb08 74 75 54 00 b8 a5 cd 00 - d0 3a b6 02 db b2 5c 00 tuT......:....\.
0018fb18 8c 32 8a 00 17 00 00 00 - a9 32 8a 00 2d 32 8a 00 .2.......2..-2..
0018fb28 e8 fc 18 00 88 7e a1 00 - d0 3a b6 02 0a 01 56 77 .....~...:....Vw
0018fb38 48 fb 18 00 00 00 00 00 - 7c fd 18 00 70 00 56 77 H.......|...p.Vw
0018fb48 60 73 70 01 00 00 00 00 - 01 00 00 00 6c fb 18 00 `sp.........l...
0018fb58 c3 7e a1 00 15 00 00 00 - 17 00 00 00 d0 3a b6 02 .~...........:..
0018fb68 00 00 00 00 dc fc 18 00 - 2d b7 5c 00 15 00 00 00 ........-.\.....

disassembling:
0040929c public System.TObject.Free: ; function entry point
0040929c 19 test eax, eax
0040929e jz loc_4092a7
004092a0 mov dl, 1
004092a2 mov ecx, [eax]
004092a4 > call dword ptr [ecx-4]
004092a7 ret

Marek
Author
Author
Posts: 2495
Joined: 10.04.2006, 07:48
Location: Germany
Contact:

Re: crash after layout edits

#5 Post by Marek » 25.09.2016, 17:39

Fixed for the next release.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests