On 11/12/2010 1:23 PM, Paul Harter wrote:
Hi

I'm building an application on windows7 and it crashes on exit with:

"application_name.exe has stopped working"

This happens after my Python main has finished. It doesn't crash like
this when unbuilt. I'm using the following modlues:

wxPython
pyOpenGL
pyCrypto

and a few libraries of my own using ctypes. It looks like some library/
resource is not being released correctly. Does anyone have a
suggestion as to where to start looking before I start bisecting my
application? Have you seen this before?

It's a bug in wxPython:
http://trac.wxwidgets.org/ticket/12219

They basically set an activation context, but never clears it. Since the activation contexts are put on a stack, PyInstaller then fails to pops its own activation context. MS decided that this failure should be reported as a SH exception, and thus crashes the application because it is unhandled.

I'll try to put a workaround in place. I don't like the idea of not clearing our own context because of a wxWidgets bug.
--
Giovanni Bajo   ::  [email protected]
Develer S.r.l.  ::  http://www.develer.com

--
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to