You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having a DirectEntry(backgroundFocus=1, overflow=1) sets up a hanging event on the Entry which triggers on any text input. When the Entry is destroyed, and then any key is pressed, the engine segfaults (specific way depends on the OS; Linux: python3: built/include/mutexPosixImpl.I:89: ReMutexPosixImpl::~ReMutexPosixImpl(): Assertion 'result == 0' failed.. Windows: window closes after 2-4 key presses. Mac: untested).
This can be fixed with an Entry.ignoreAll(), however due to the obscurity of the bug and difficulty to find it I am reporting it anyway.
Description
Having a
DirectEntry(backgroundFocus=1, overflow=1)
sets up a hanging event on the Entry which triggers on any text input. When the Entry is destroyed, and then any key is pressed, the engine segfaults (specific way depends on the OS; Linux:python3: built/include/mutexPosixImpl.I:89: ReMutexPosixImpl::~ReMutexPosixImpl(): Assertion 'result == 0' failed.
. Windows: window closes after 2-4 key presses. Mac: untested).This can be fixed with an
Entry.ignoreAll()
, however due to the obscurity of the bug and difficulty to find it I am reporting it anyway.Steps to Reproduce
Create this file:
Then run it and press any key (YMMV since this is slightly harder to trigger on Windows)
Note that both
backgroundFocus
andoverflow
are requiredEnvironment
The text was updated successfully, but these errors were encountered: