parallaxinc / Propeller-Tool

Propeller Tool software for Windows
MIT License
9 stars 2 forks source link

Crash on close #146

Open PropGit opened 3 years ago

PropGit commented 3 years ago

This event was logged from v2.5.2, but may still apply to v2.5.3. Review and fix if possible.

EurekaLog 6.0.18

Exception:
---------------------------------------------------------------------------------------------------------------
  2.1 Date          : Fri, 26 Mar 2021 06:59:33 -0700
  2.2 Address       : 00542E30
  2.3 Module Name   : Propeller.exe - (Propeller Tool)
  2.4 Module Version: 2.5.2.0
  2.5 Type          : EAccessViolation
  2.6 Message       : Access violation at address 00542E30 in module 'Propeller.exe'. Read of address 059050D4.
  2.7 ID            : FF6C
  2.8 Count         : 1
  2.9 Status        : New
  2.10 Note         : 

Active Controls:
-----------------------------------------------
  4.1 Form Class   : TMainForm
  4.2 Form Text    : Propeller Tool - Untitled2
  4.3 Control Class: TMainForm
  4.4 Control Text : 

Call Stack Information:
----------------------------------------------------------------------------------------
|Address |Module       |Unit          |Class                |Procedure/Method|Line     |
----------------------------------------------------------------------------------------
|*Exception Thread: ID=22640; Priority=0; Class=; [Main]                               |
|--------------------------------------------------------------------------------------|
|00542E30|Propeller.exe|PEditor.pas   |TDockingTabSheet     |Resized         |2373[1]  |
|00514A14|Propeller.exe|EasyEditor.pas|TCustomEasyEdit      |WndProc         |4969[134]|
|76288535|user32.dll   |              |                     |CallWindowProcA |         |
|7628851F|user32.dll   |              |                     |CallWindowProcA |         |
|76278E4E|user32.dll   |              |                     |SetWindowPos    |         |
|76288535|user32.dll   |              |                     |CallWindowProcA |         |
|76287245|user32.dll   |              |                     |SendMessageA    |         |
|762871FE|user32.dll   |              |                     |SendMessageA    |         |
|005434B8|Propeller.exe|PEditor.pas   |TDockingTabSheet     |Destroy         |2526[7]  |
|005447CA|Propeller.exe|PEditor.pas   |TMultiViewPageControl|DeleteTab       |3270[6]  |
|00544718|Propeller.exe|PEditor.pas   |TMultiViewPageControl|DeleteTab       |3264[0]  |
|005502F4|Propeller.exe|PEditor.pas   |TEditor              |ClosePage       |9236[2]  |
|005502C8|Propeller.exe|PEditor.pas   |TEditor              |ClosePage       |9234[0]  |
|005503B5|Propeller.exe|PEditor.pas   |TEditor              |DoClose         |9262[11] |
|00550378|Propeller.exe|PEditor.pas   |TEditor              |DoClose         |9251[0]  |
|00552E57|Propeller.exe|PEditor.pas   |TEditor              |Close           |10375[1] |
|00552E44|Propeller.exe|PEditor.pas   |TEditor              |Close           |10374[0] |
|00552E94|Propeller.exe|PEditor.pas   |TEditor              |CloseAll        |10393[8] |
|00552E60|Propeller.exe|PEditor.pas   |TEditor              |CloseAll        |10385[0] |
|005B3ED5|Propeller.exe|Main.pas      |TMainForm            |FormCloseQuery  |784[10]  |
|00545139|Propeller.exe|PEditor.pas   |TDockingPanel        |DefaultHandler  |3590[2]  |
|76280D60|user32.dll   |              |                     |CallWindowProcW |         |
|76288535|user32.dll   |              |                     |CallWindowProcA |         |
|7628851F|user32.dll   |              |                     |CallWindowProcA |         |
|76280D60|user32.dll   |              |                     |CallWindowProcW |         |
|76288535|user32.dll   |              |                     |CallWindowProcA |         |
|7628851F|user32.dll   |              |                     |CallWindowProcA |         |
|005B2C60|Propeller.exe|Main.pas      |TMainForm            |DefaultHandler  |398[2]   |
|76280D60|user32.dll   |              |                     |CallWindowProcW |         |
|67E5A970|comctl32.dll |              |                     |DefSubclassProc |         |
|67E5A92F|comctl32.dll |              |                     |DefSubclassProc |         |
|76277BC5|user32.dll   |              |                     |DispatchMessageA|         |
|76277BBB|user32.dll   |              |                     |DispatchMessageA|         |
|005D56D4|Propeller.exe|Propeller.dpr |                     |                |94[37]   |
----------------------------------------------------------------------------------------

Modules Information:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|Handle  |Name             |Description                                     |Version           |Size    |Modified           |Path                                                                                                          |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|00400000|Propeller.exe    |Propeller Tool                                  |2.5.2.0           |4897592 |2021-03-06 12:34:00|C:\Program Files (x86)\Parallax Inc\Propeller Tool                                                            |
|5AEE0000|ntshrui.dll      |Shell extensions for sharing                    |6.1.7601.17755    |442880  |2012-01-04 01:58:42|C:\Windows\system32                                                                                           |
|5AF90000|slc.dll          |Software Licensing Client Dll                   |6.1.7600.16385    |27136   |2009-07-13 18:16:16|C:\Windows\system32                                                                                           |
|5F870000|WindowsCodecs.dll|Microsoft Windows Codecs Library                |6.2.9200.22551    |1230848 |2018-08-29 18:47:48|C:\Windows\system32                                                                                           |
|67E40000|comctl32.dll     |Common Controls Library                         |5.82.7601.18837   |530432  |2015-04-24 10:57:00|C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18837_none_ec86b8d6858ec0bc|
|68110000|dwmapi.dll       |Microsoft Desktop Window Manager API            |6.1.7601.18917    |67584   |2015-07-09 10:42:56|C:\Windows\system32                                                                                           |
|686F0000|apphelp.dll      |Application Compatibility Client Library        |6.1.7601.19050    |295936  |2015-10-29 10:50:00|C:\Windows\system32                                                                                           |
|6AC60000|comctl32.DLL     |User Experience Controls Library                |6.10.7601.24380   |1681408 |2019-02-07 08:57:48|C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.24380_none_2b2053e245779417 |
|6C040000|EhStorShell.dll  |Windows Enhanced Storage Shell Extension DLL    |6.1.7600.16385    |189952  |2009-07-13 18:15:16|C:\Windows\system32                                                                                           |
|6E220000|cscapi.dll       |Offline Files Win32 API                         |6.1.7601.24197    |34304   |2018-06-29 08:10:00|C:\Windows\system32                                                                                           |
|6E4F0000|propsys.dll      |Microsoft Property System                       |7.0.7601.17514    |988160  |2010-11-20 05:20:58|C:\Windows\system32                                                                                           |
|6E650000|SAMLIB.dll       |SAM Library DLL                                 |6.1.7601.23677    |60416   |2017-02-09 09:14:46|C:\Windows\system32                                                                                           |
|6FC30000|Secur32.dll      |Security Support Provider Interface             |6.1.7601.24408    |22016   |2019-03-20 19:00:58|C:\Windows\system32                                                                                           |
|6FC50000|uxtheme.dll      |Microsoft UxTheme Library                       |6.1.7600.16385    |245760  |2009-07-13 18:11:26|C:\Windows\system32                                                                                           |
|70050000|samcli.dll       |Security Accounts Manager Client DLL            |6.1.7601.17514    |51200   |2010-11-20 05:21:06|C:\Windows\system32                                                                                           |
|70070000|srvcli.dll       |Server Service Client DLL                       |6.1.7601.17514    |90112   |2010-11-20 05:21:28|C:\Windows\system32                                                                                           |
|70090000|netutils.dll     |Net Win32 API Helpers DLL                       |6.1.7601.17514    |22528   |2010-11-20 05:20:30|C:\Windows\system32                                                                                           |
|705A0000|ntmarta.dll      |Windows NT MARTA provider                       |6.1.7600.16385    |121856  |2009-07-13 18:16:12|C:\Windows\system32                                                                                           |
|70AC0000|winspool.drv     |Windows Spooler Driver                          |6.1.7601.24383    |321536  |2019-02-15 22:50:56|C:\Windows\system32                                                                                           |
|70B40000|winmm.dll        |MCI API DLL                                     |6.1.7601.17514    |194048  |2010-11-20 05:21:38|C:\Windows\system32                                                                                           |
|71260000|SHFolder.dll     |Shell Folder Service                            |6.1.7600.16385    |7168    |2009-07-13 18:16:16|C:\Windows\system32                                                                                           |
|74EF0000|wsock32.dll      |Windows Socket 32-Bit DLL                       |6.1.7600.16385    |15360   |2009-07-13 18:16:22|C:\Windows\system32                                                                                           |
|74F80000|version.dll      |Version Checking and File Installation Libraries|6.1.7600.16385    |21504   |2009-07-13 18:16:18|C:\Windows\system32                                                                                           |
|75050000|CRYPTBASE.dll    |Base cryptographic API DLL                      |6.1.7601.24408    |36352   |2019-03-20 18:35:58|C:\Windows\syswow64                                                                                           |
|75060000|SspiCli.dll      |Security Support Provider Interface             |6.1.7601.24408    |96768   |2019-03-20 19:01:00|C:\Windows\syswow64                                                                                           |
|750D0000|sechost.dll      |Host for SCM/SDDL/LSA Lookup APIs               |6.1.7601.18869    |92160   |2015-05-25 11:01:40|C:\Windows\SysWOW64                                                                                           |
|750F0000|IMM32.DLL        |Multi-User Windows IMM32 API Client DLL         |6.1.7601.17514    |119808  |2010-11-20 05:08:52|C:\Windows\system32                                                                                           |
|75150000|WLDAP32.dll      |Win32 LDAP API DLL                              |6.1.7601.23889    |271360  |2017-08-10 23:19:46|C:\Windows\syswow64                                                                                           |
|751A0000|MSASN1.dll       |ASN.1 Runtime APIs                              |6.1.7601.17514    |34304   |2010-11-20 05:19:46|C:\Windows\syswow64                                                                                           |
|751B0000|MSCTF.dll        |MSCTF Server DLL                                |6.1.7601.23915    |830464  |2017-09-13 08:09:02|C:\Windows\syswow64                                                                                           |
|75280000|USP10.dll        |Uniscribe Unicode script processor              |1.626.7601.23894  |629760  |2017-08-16 08:10:32|C:\Windows\syswow64                                                                                           |
|75320000|KERNELBASE.dll   |Windows NT BASE API Client DLL                  |6.1.7601.24408    |275968  |2019-03-20 19:01:00|C:\Windows\syswow64                                                                                           |
|75370000|NSI.dll          |NSI User-mode interface DLL                     |6.1.7601.23889    |8704    |2017-08-10 23:19:40|C:\Windows\syswow64                                                                                           |
|75380000|kernel32.dll     |Windows NT BASE API Client DLL                  |6.1.7601.24408    |1114112 |2019-03-20 19:01:00|C:\Windows\syswow64                                                                                           |
|755E0000|oleaut32.dll     |                                                |6.1.7601.24407    |583680  |2019-03-15 20:58:48|C:\Windows\syswow64                                                                                           |
|75680000|CLBCatQ.DLL      |COM+ Configuration Catalog                      |2001.12.8530.16385|522240  |2009-07-13 18:15:04|C:\Windows\syswow64                                                                                           |
|75710000|ADVAPI32.dll     |Advanced Windows 32 Base API                    |6.1.7601.24408    |644096  |2019-03-20 19:00:38|C:\Windows\syswow64                                                                                           |
|75C00000|CRYPT32.dll      |Crypto API32                                    |6.1.7601.24382    |1177088 |2019-02-10 09:41:28|C:\Windows\syswow64                                                                                           |
|75D30000|PSAPI.DLL        |Process Status Helper                           |6.1.7600.16385    |6144    |2009-07-13 18:16:14|C:\Windows\syswow64                                                                                           |
|75D50000|SetupApi.dll     |Windows Setup API                               |6.1.7601.17514    |1667584 |2010-11-20 05:21:16|C:\Windows\syswow64                                                                                           |
|76130000|RPCRT4.dll       |Remote Procedure Call Runtime                   |6.1.7601.24408    |666112  |2019-03-20 19:01:00|C:\Windows\syswow64                                                                                           |
|76260000|user32.dll       |Multi-User Windows USER API Client DLL          |6.1.7601.23594    |833024  |2016-11-10 09:19:42|C:\Windows\syswow64                                                                                           |
|76360000|comdlg32.dll     |Common Dialogs DLL                              |6.1.7601.17514    |485888  |2010-11-20 05:18:24|C:\Windows\syswow64                                                                                           |
|76470000|shell32.dll      |Windows Shell Common Dll                        |6.1.7601.24383    |12880896|2019-02-12 08:58:36|C:\Windows\syswow64                                                                                           |
|770D0000|WS2_32.dll       |Windows Socket 2.0 32-Bit DLL                   |6.1.7601.23451    |206336  |2016-05-11 08:19:28|C:\Windows\syswow64                                                                                           |
|77110000|DEVOBJ.dll       |Device Information Set DLL                      |6.1.7601.17621    |64512   |2011-05-24 03:40:06|C:\Windows\syswow64                                                                                           |
|77190000|WINTRUST.dll     |Microsoft Trust Verification APIs               |6.1.7601.24382    |179712  |2019-02-10 09:41:48|C:\Windows\syswow64                                                                                           |
|771C0000|SHLWAPI.dll      |Shell Light-weight Utility Library              |6.1.7601.17514    |350208  |2010-11-20 05:21:20|C:\Windows\syswow64                                                                                           |
|77220000|profapi.dll      |User Profile Basic API                          |6.1.7600.16385    |31744   |2009-07-13 18:16:14|C:\Windows\syswow64                                                                                           |
|77230000|CFGMGR32.dll     |Configuration Manager DLL                       |6.1.7601.17621    |145920  |2011-05-24 03:39:40|C:\Windows\syswow64                                                                                           |
|772A0000|LPK.dll          |Language Pack                                   |6.1.7601.24280    |25600   |2018-10-06 08:44:36|C:\Windows\syswow64                                                                                           |
|772C0000|GDI32.dll        |GDI Client DLL                                  |6.1.7601.24404    |313344  |2019-03-13 08:02:40|C:\Windows\syswow64                                                                                           |
|77350000|ole32.dll        |Microsoft OLE for Windows                       |6.1.7601.24407    |1425920 |2019-03-15 20:58:48|C:\Windows\syswow64                                                                                           |
|774B0000|msvcrt.dll       |Windows NT CRT DLL                              |7.0.7601.17744    |690688  |2011-12-16 00:53:00|C:\Windows\syswow64                                                                                           |
|77940000|ntdll.dll        |NT Layer DLL                                    |6.1.7601.24408    |1314104 |2019-03-20 19:02:16|C:\Windows\SysWOW64                                                                                           |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Assembler Information:
-------------------------------------------------------------------------------
; PEditor.TDockingTabSheet.Resized (Line=2372 - Offset=0)
; -------------------------------------------------------
00542E1C  push    ebx
00542E1D  push    esi
00542E1E  push    edi
00542E1F  push    ebp
00542E20  mov     ebx, eax
;
; Line=2373 - Offset=1
; --------------------
00542E22  mov     eax, [ebx+$0230]
00542E28  test    eax, eax
00542E2A  jz      PEditor.TDockingTabSheet.Resized (Line=2388)
00542E30  cmp     dword ptr [eax+$30], +$00                     ; <-- EXCEPTION
00542E34  jz      PEditor.TDockingTabSheet.Resized (Line=2388)
00542E3A  cmp     dword ptr [ebx+$023C], +$00
00542E41  jz      PEditor.TDockingTabSheet.Resized (Line=2388)
00542E47  mov     eax, [ebx+$023C]
00542E4D  cmp     dword ptr [eax+$30], +$00
00542E51  jz      PEditor.TDockingTabSheet.Resized (Line=2388)
;
; Line=2374 - Offset=2
; --------------------
00542E57  mov     eax, ebx
00542E59  call    PEditor.LockMainWindow
;
; Line=2375 - Offset=3
; --------------------
00542E5E  mov     eax, ebx
00542E60  call    -$000974ED

Registers:
-----------------------------
EAX: 059050A4   EDI: 00000000
EBX: 05D9AD74   ESI: 004AB368
ECX: 76276D51   ESP: 0018DB7C
EDX: 05D9AD74   EIP: 00542E30

Stack:               Memory Dump:
------------------   ---------------------------------------------------------------------------
0018DB7C: 0018DCC4   00542E30: 83 78 30 00 0F 84 47 01 00 00 83 BB 3C 02 00 00  .x0...G.....<...
0018DB80: 00000000   00542E40: 00 0F 84 3A 01 00 00 8B 83 3C 02 00 00 83 78 30  ...:.....<....x0
0018DB84: 004AB368   00542E50: 00 0F 84 2A 01 00 00 8B C3 E8 96 E8 FF FF 8B C3  ...*............
0018DB88: 05D9AD74   00542E60: E8 13 8B F6 FF 50 8B 83 2C 02 00 00 8B 40 34 8B  .....P..,....@4.
0018DB8C: 004AB383   00542E70: 40 4C 50 8B 83 2C 02 00 00 8B 40 34 33 C9 33 D2  @LP..,....@43.3.
0018DB90: 05D9AD74   00542E80: 8B 30 FF 96 84 00 00 00 8B C3 E8 E9 8A F6 FF 50  .0.............P
0018DB94: 004B0E66   00542E90: 8B 83 2C 02 00 00 8B 40 38 8B 40 4C 50 8B B3 2C  ..,....@8.@LP..,
0018DB98: 05D9AD74   00542EA0: 02 00 00 8B 46 34 8B 48 4C 8B 46 38 33 D2 8B 30  ....F4.HL.F83..0
0018DB9C: 0018DD1C   00542EB0: FF 96 84 00 00 00 8B 83 2C 02 00 00 8B 40 34 E8  ........,....@4.
0018DBA0: 004AD3C7   00542EC0: 38 52 00 00 8B F8 83 E7 7F 8B B3 2C 02 00 00 8B  8R.........,....
0018DBA4: 00000000   00542ED0: 46 34 0F AF 78 4C 8B 46 38 E8 1E 52 00 00 83 E0  F4..xL.F8..R....
0018DBA8: 0018DD1C   00542EE0: 7F 8B 93 2C 02 00 00 8B 52 38 F7 6A 4C 03 F8 8B  ...,....R8.jL...
0018DBAC: 05D9AD74   00542EF0: F7 8B C3 E8 80 8A F6 FF 50 8B C3 E8 BC 8A F6 FF  ........P.......
0018DBB0: FFFFFFFE   00542F00: 8B 93 34 02 00 00 8A 52 57 80 F2 01 83 E2 7F F7  ..4....RW.......
0018DBB4: 76276D51   00542F10: EA 8B BB 34 02 00 00 33 D2 8A 57 57 0F AF 57 44  ...4...3..WW..WD
0018DBB8: 7627965E   00542F20: 03 C2 2B C6 50 8B CE 33 D2 8B 83 30 02 00 00 8B  ..+.P..3...0....