Python crashes - cannot pin it down!

Stevie_mac no.email at please.com
Tue Apr 13 12:33:44 EDT 2004


Figure this!

###   Shell1    ###
>>> from wxPython.wx import *
>>> mb = wxMessageBox('hello')

###   testmb.py ###
from wxPython.wx import *
mb = wxMessageBox('hello')


 App/Util/Interpreter   Running            Result
+----------------------+------------------+--------------------
 PythonWin              Shell1             Crash 1 (see below) 
 PythonWin              testmb.py          Crash 2 (see below) 
 Python.exe             testmb.py          Crash 3 (see below) 
 Pythonw.exe            testmb.py          Crash 4 (see below)
 Boa (in shell)         Shell1             OK (ran 5 times in a row)
 Boa (run module)       testmb.py          Crash 5 (see below)
 Boa (debug run)        testmb.py          Crash 5 (see below)
 SPE 0.4.2.a (in shell) Shell1             OK
 SPE 0.4.2.a (in shell) testmb.py          OK

I don't get how SPE can run the module but Python.exe and Pythonw.exe can't!  
  Does SPE initialise somthing I don't!
I don't get how Boa can execute these cmds from the shell even though Python.exe and Pythonw.exe can't! 

Is there another Python interpteter involved here?

I did notice an exe called PythonService.exe - is this doing it (i don't believe it is! - never shows in process list & is not installed as a service!)

I'm not that bothered about debugging at the moment, would just like to get the wxPython stuff running reliably.


Confused!


     
Crash 1...
Faulting application pythonwin.exe, version 0.0.0.0, faulting module wxmsw24uh.dll, version 0.0.0.0, fault address 0x0012cd2a.

Crash 2...
* 1st
Faulting application pythonwin.exe, version 0.0.0.0, faulting module wxmsw24uh.dll, version 0.0.0.0, fault address 0x0012cd2a.
* followed by 
Faulting application pythonwin.exe, version 0.0.0.0, faulting module mfc42.dll, version 6.0.8665.0, fault address 0x00001c65.
* followed by
Faulting application pythonwin.exe, version 0.0.0.0, faulting module mfc42.dll, version 6.0.8665.0, fault address 0x00001c65.

Crash 3...
Faulting application python.exe, version 0.0.0.0, faulting module wxmsw24uh.dll, version 0.0.0.0, fault address 0x0012cd2a

Crash 4...
Faulting application pythonw.exe, version 0.0.0.0, faulting module wxmsw24uh.dll, version 0.0.0.0, fault address 0x0012cd2a.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20040413/20eff9be/attachment.html>


More information about the Python-list mailing list