leecbaker / datareftool

DataRefTool for X-Plane plugin development
MIT License
127 stars 23 forks source link

Dataref tool 2.1.0 crashes HotStart CL650 1.7 #99

Open muchimi opened 1 year ago

muchimi commented 1 year ago

Crashes on the specific dataref: CL650/glass/heat_on

2023-02-23 23:05:23 CL650[xplane.c:2817]: BOOT: ecs_init 2023-02-23 23:05:23 CL650[dr.c:553]: assertion "dr->value != ((void *)0)" failed: CL650/glass/heat_on Backtrace is: 0 00007FFB38AD051C C:\WINDOWS\System32\KERNELBASE.dll+000000000009051C () 1 000000008155A7F1 D:\X-Plane 12\Aircraft\X-Aviation\CL650\plugins\systems\win_x64\systems.xpl+00000000006EA7F1 (read_int_array_cb+121) 2 00007FFB0E774AC7 D:\X-Plane 12\Resources\plugins\XPLM_64.dll+0000000000004AC7 () 3 00007FFA7D1AB201 D:\X-Plane 12\Resources\plugins\DataRefTool_v2.1.0\64\win.xpl+000000000009B201 () 4 00007FFA7D1AD1C7 D:\X-Plane 12\Resources\plugins\DataRefTool_v2.1.0\64\win.xpl+000000000009D1C7 () 5 00007FFA7D11DFF4 D:\X-Plane 12\Resources\plugins\DataRefTool_v2.1.0\64\win.xpl+000000000000DFF4 () 6 00007FFA7D16BA5F D:\X-Plane 12\Resources\plugins\DataRefTool_v2.1.0\64\win.xpl+000000000005BA5F () 7 00007FFB0E783FFE D:\X-Plane 12\Resources\plugins\XPLM_64.dll+0000000000013FFE () 8 000000008155ADC0 D:\X-Plane 12\Aircraft\X-Aviation\CL650\plugins\systems\win_x64\systems.xpl+00000000006EADC0 (dr_create_vi+40) 9 0000000080EF2B11 D:\X-Plane 12\Aircraft\X-Aviation\CL650\plugins\systems\win_x64\systems.xpl+0000000000082B11 (cabin_init+161) 10 0000000080EF87D5 D:\X-Plane 12\Aircraft\X-Aviation\CL650\plugins\systems\win_x64\systems.xpl+00000000000887D5 (ecs_init+95) 11 0000000080E9CDBF D:\X-Plane 12\Aircraft\X-Aviation\CL650\plugins\systems\win_x64\systems.xpl+000000000002CDBF (XPluginEnable+9cf) 12 00007FFB0E7806A8 D:\X-Plane 12\Resources\plugins\XPLM_64.dll+00000000000106A8 () 13 00007FFB0E77CBDC D:\X-Plane 12\Resources\plugins\XPLM_64.dll+000000000000CBDC () 14 00007FF6AAE97839 D:\X-Plane 12\X-Plane.exe+0000000001387839 () 15 00007FF6AAF902BC D:\X-Plane 12\X-Plane.exe+00000000014802BC () 16 00007FF6AA885D05 D:\X-Plane 12\X-Plane.exe+0000000000D75D05 () 17 00007FF6AADC3AC4 D:\X-Plane 12\X-Plane.exe+00000000012B3AC4 () 18 00007FF6AA82FA52 D:\X-Plane 12\X-Plane.exe+0000000000D1FA52 () 19 00007FF6AA6BC87C D:\X-Plane 12\X-Plane.exe+0000000000BAC87C () 20 00007FF6AA6BC3FA D:\X-Plane 12\X-Plane.exe+0000000000BAC3FA () 21 00007FF6AA6C3758 D:\X-Plane 12\X-Plane.exe+0000000000BB3758 () 22 00007FF6AA6B38D8 D:\X-Plane 12\X-Plane.exe+0000000000BA38D8 () 23 00007FF6AA97E9E3 D:\X-Plane 12\X-Plane.exe+0000000000E6E9E3 () 24 00007FF6AA98C7BC D:\X-Plane 12\X-Plane.exe+0000000000E7C7BC () 25 00007FF6AA4F5D42 D:\X-Plane 12\X-Plane.exe+00000000009E5D42 () 26 00007FF6AAC33A2E D:\X-Plane 12\X-Plane.exe+0000000001123A2E () 27 00007FFB38DF8281 C:\WINDOWS\System32\USER32.dll+0000000000018281 () 28 00007FFB38DF7ACB C:\WINDOWS\System32\USER32.dll+0000000000017ACB () 29 00007FFAD6C41D74 C:\WINDOWS\SYSTEM32\opengl32.dll+0000000000041D74 () 30 00007FFB38DF8281 C:\WINDOWS\System32\USER32.dll+0000000000018281 () 31 00007FFB38DF7D41 C:\WINDOWS\System32\USER32.dll+0000000000017D41 () 32 00007FF6AB045496 D:\X-Plane 12\X-Plane.exe+0000000001535496 () 33 00007FF6AB04565C D:\X-Plane 12\X-Plane.exe+000000000153565C () 34 00007FF6AB0381B2 D:\X-Plane 12\X-Plane.exe+00000000015281B2 () 35 00007FF6AB1F3D5E D:\X-Plane 12\X-Plane.exe+00000000016E3D5E () 36 00007FFB3A2F26BD C:\WINDOWS\System32\KERNEL32.DLL+00000000000126BD () 37 00007FFB3B02DFB8 C:\WINDOWS\SYSTEM32\ntdll.dll+000000000005DFB8 () --=={This application has crashed because of the plugin: Challenger 650 by Hot Start}==-- (Art controls are modified.)

jonaseberle commented 1 year ago

I hope we can arrive at a solution. I see that for another product drt_ignore.txt was able to help (FAQ). But I think we need the help of both developers to find out which DataRef causes the crash.

While we don't have a solution, it would be great to add it as known issue in the docs.

This is the topic in Challenger's support forum: https://forums.x-pilot.com/forums/topic/26530-why-does-it-ctd-when-the-datareftool-plugin-is-loaded/ - ignore the tone some are using there.