When playing with testing bugjar on Windows 8 I discovered that the UI component will consistenly crash with the following error on the console.
TclStackFree: incorrect freePtr. Call out of sequence?
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Based on this link, it seems that this error is caused by more than one thread accessing the tk event loop.
My hypothesis is that the Debugger is invoking callbacks such as MainWindow.on_stack and MainWindow.on_line from the non tk event thread.
Below is an attempt to rectify this situation using the python Queue object.
When
playing withtesting bugjar on Windows 8 I discovered that the UI component will consistenly crash with the following error on the console.Based on this link, it seems that this error is caused by more than one thread accessing the tk event loop.
My hypothesis is that the Debugger is invoking callbacks such as MainWindow.on_stack and MainWindow.on_line from the non tk event thread.
Below is an attempt to rectify this situation using the python Queue object.
Using the above setup, I have found that I am able to step through the code without encountering the same freePtr issue.