TomSchimansky / TomSchimansky/CustomTkinter

Issues with crashing - tcl86t.dll on Customtkinter 5.2.2

Open
#2,425 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug question
Dominant language
Python
Stars
13.6k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

I had just previously upgraded to version 5.2.2 of customtkinter (from 5.1.2) and everything runs fine through the debugger in Visual Studio Code. After exporting it with Auto-Py-To-Exe (which was previously fully functional and did not have any random crashing errors) the code randomly crashes with no warnings, no exceptions caught by logger inside of code, only Event Viewer messages for Application Errors. The contents of the Event Viewer is as follows:

  • System

    • Provider

    [ Name] Application Error

    • EventID 1000

    [ Qualifiers] 0

    Version 0

    Level 2

    Task 100

    Opcode 0

    Keywords 0x80000000000000

    • TimeCreated

    [ SystemTime] 2024-05-22T13:00:06.0511065Z

    EventRecordID 2610172

    Correlation

    • Execution

    [ ProcessID] 0
    [ ThreadID] 0

    Channel Application

    Computer LOR-PF2JMFNG.FEVSYS.com

    Security

  • EventData

    MKV EOL Tester v1.3.0.exe
    0.0.0.0
    664de863
    tcl86t.dll
    8.6.2.12
    61899040
    c0000005
    00000000000f4476
    79a4
    01daac47465b5873
    D:\Onedrive\OneDrive - FEVSYS[F2] Coding Teams\000_Exported_Programs\MKV EOL Tester\MKV EOL Tester v1.3.0\MKV EOL Tester v1.3.0.exe
    D:\Onedrive\OneDrive - FEVSYS[F2] Coding Teams\000_Exported_Programs\MKV EOL Tester\MKV EOL Tester v1.3.0_internal\tcl86t.dll
    3d15e8cb-8635-4778-9416-e3aca19abe59

If any help could be provided that would be great. To solve this issue for the time being, I have downgraded back to version 5.1.2 of Customtkinter. All of this code worked on the previous version and we've reviewed the code many times to see if there is something we are doing that is an issue but cannot seem to find anything relating to this issue. The error 0xc0000005 is what appears, but all messages in EventViewer are related to the tcl86t.dll

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the exported application built with Auto-Py-To-Exe using CustomTkinter 5.2.2 and compare it with 5.1.2. Start with the Event Viewer Application Error showing tcl86t.dll and 0xc0000005; done means identifying a reproducible cause for the packaged crash or documenting the missing reproduction details needed to investigate it.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.