Well, I can confirm that the threads demo DOES NOT crash with the following
setup:
ActivePython 2.0
wxPython 2.2.2 or 2.2.5
Windows NT 4, Sp6a on a single processor machine
Any further ideas? Could the threads demo crashing have something to do
with the dual processor setup of my other machine?
Thanks,
Paul
···
----- Original Message -----
From: "Paul Magwene" <paul.magwene@yale.edu>
To: <wxpython-users@lists.sourceforge.net>
Sent: Monday, February 05, 2001 3:43 PM
Subject: Bug in
: I get the following error when trying to run the threads demo in
: wxPython-2.2.5 (in conjunction with BeOpen Python 2.0, on Win NT 4 (sp6a)
: dual processor).
:
: I don't know if this is a problem on earlier versions (or single processor
: machines)
:
:
: F:\PYTHON20\WXPYTHON\demo>python demo.py
: Fatal Python error: ceval: orphan tstate
:
: abnormal program termination
:
:
: Any thoughts? Might this be an error in my setup or does it lie in
: wxPython/wxWindows?
:
: Thanks,
: Paul Magwene
: paul.magwene@yale.edu
:
Any further ideas? Could the threads demo crashing have something to do
with the dual processor setup of my other machine?
Yep. There is a known problem on SMP machines, and since I no longer have access to one it's going to be hard for me to track it down. Harri Passenan was looking into it but I havn't heard anything else about it. Harri?
For a workaround somebody posted to the list a while back a function in win32api that you can call to restrict the current process to only one CPU.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!
It is still on my todo list. I took a look at the treading code a couple of
weeks ago, but didn't yet see a quick solution/fix.
I was as a matter of fact planning to look at it today. I'll let you know
once I have something. Prior to releasing anything I'll try it on SMP Linux
and NT.
-Harri
···
On Monday 05 February 2001 23:56, Robin Dunn wrote:
> Any further ideas? Could the threads demo crashing have something to do
> with the dual processor setup of my other machine?
Yep. There is a known problem on SMP machines, and since I no longer have
access to one it's going to be hard for me to track it down. Harri
Passenan was looking into it but I havn't heard anything else about it.
Harri?
For a workaround somebody posted to the list a while back a function in
win32api that you can call to restrict the current process to only one CPU.