This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author PedanticHacker
Recipients PedanticHacker, gvanrossum
Date 2017-02-25.10:44:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488019486.61.0.519104192043.issue29647@psf.upfronthosting.co.za>
In-reply-to
Content
I managed to create an app that crashes the latest stable version of Python, that is 3.6.0 at the time of this writing.

My application is written in Python using wxPython Phoenix 3rd-party GUI library/toolkit. I am running Windows 10 Home 64-bit version OS, the latest version of it, the Anniversary Edition with all its updates.

How I did it? Well, I made an event in my GUI app where clicking the X button puts up a message dialog to the user, saying "Do you really wanna close this app?" and the "Yes" button destroys the whole object, thus exiting the application.

But now the catch! I also made a taskbar icon which includes a menu item to also exit the application: same message dialog with Yes/No buttons.

Let's crash this baby! If you click the X button and not choosing either "Yes" or "No" but instead have this message dialog wait and in the mean time you right-click the taskbar icon and choose the "Exit" menu item and choose "Yes". Then click another "Yes" of that waiting message dialog and BOOM! Voila, we have killed PYthon interpreter.

Is that a bug in my code or does Python have a weakness?
History
Date User Action Args
2017-02-25 10:44:46PedanticHackersetrecipients: + PedanticHacker, gvanrossum
2017-02-25 10:44:46PedanticHackersetmessageid: <1488019486.61.0.519104192043.issue29647@psf.upfronthosting.co.za>
2017-02-25 10:44:46PedanticHackerlinkissue29647 messages
2017-02-25 10:44:45PedanticHackercreate