[New-bugs-announce] [issue29647] Python 3.6.0

Boštjan Mejak report at bugs.python.org
Sat Feb 25 05:44:46 EST 2017


New submission from Boštjan Mejak:

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?

----------
components: Interpreter Core
messages: 288557
nosy: Pikec, gvanrossum
priority: normal
severity: normal
status: open
title: Python 3.6.0
type: crash
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29647>
_______________________________________


More information about the New-bugs-announce mailing list