Skip to content

[Bug] Windows Crash to Desktop (ntdll.dll / 0xc0000005) when initializing search_status.xml #195

@AndreFMts

Description

@AndreFMts

Description:

Hi there, I am experiencing frequent crashes to desktop (CTD) on Windows while using Jacktook. The crash is highly reproducible and happens under two specific scenarios, both tied to the initialization of the search_status.xml window:

  1. Next Episode Autoplay: When an episode ends and the skin/Kodi triggers an automatic search for the next episode.
  2. Immediate Retry After Timeout: If a torrent cache times out, and I immediately select the episode again to retry the search.

The crash always results in a Windows Access Violation (0xc0000005) pointing to ntdll.dll, which suggests a multi-threading conflict when the background Python thread tries to push the custom search_status.xml window to the GUI while Kodi's main thread is transitioning states.

Environment:

  • OS: Windows 10/11
  • Kodi Version: 21.3.0
  • Jacktook Version: 1.13
  • Skin: Arctic Fuse 3

Windows Event Viewer Error:

Faulting application name: kodi.exe, version: 21.3.0.0, time stamp: 0x6922eafc
Faulting module name: ntdll.dll, version: 10.0.26100.8328, time stamp: 0x0022b8e0
Exception code: 0xc0000005
Fault offset: 0x00000000001290b3
Faulting process id: 0x570
Faulting application start time: 0x1DCE86E72254CE5
Faulting application path: C:\Program Files\Kodi\kodi.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 555794ef-bcd5-4528-9645-a4ad6ef0b3fe
Faulting package full name: 
Faulting package-relative application ID:

Kodi Log Snippet (Last lines before crash):

2026-05-20 16:39:16.516 T:11108   debug <general>: ------ Window Deinit (DialogBusy.xml) ------
2026-05-20 16:39:16.516 T:5580    debug <CSettingsManager>: requested setting (debrider_enabled) was not found.
2026-05-20 16:39:16.517 T:5580    debug <CSettingsManager>: requested setting (easydebrid_enabled) was not found.
2026-05-20 16:39:16.518 T:19580   debug <general>: [###JACKTOOKLOG###] [ExternalScraper] _perform_search for Prowlarr, getting client...
2026-05-20 16:39:16.519 T:19068   debug <general>: [###JACKTOOKLOG###] [ExternalScraper] _perform_search for External Scraper, getting client...
2026-05-20 16:39:16.520 T:19580   debug <general>: [###JACKTOOKLOG###] [ExternalScraper] client=<lib.clients.prowlarr.Prowlarr object at 0x000002A383521910>
2026-05-20 16:39:16.530 T:11108   debug <general>: ------ Window Init (C:\Users\andre\AppData\Roaming\Kodi\addons\plugin.video.jacktook\resources\skins\Default\1080i\search_status.xml) ------
2026-05-20 16:39:16.530 T:11108    info <general>: Loading skin file: C:\Users\andre\AppData\Roaming\Kodi\addons\plugin.video.jacktook\resources\skins\Default\1080i\search_status.xml, load type: LOAD_ON_GUI_INIT

Suggested Fix Context:

It looks like the custom XML window handle might need a slight delay, better thread locking, or a check to see if the main GUI is busy/interrupted before trying to load search_status.xml on Windows.

Would it be possible to add a fallback to use the native Kodi standard dialog progress box if custom skin rendering fails, or add an option in the settings to completely disable the custom fullscreen search window?

Thank you for your hard work on this addon!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions