[Python-bugs-list] [ python-Bugs-743692 ] test_socketserver: Fatal error: Invalid thread state

SourceForge.net noreply@sourceforge.net
Wed, 09 Jul 2003 21:08:24 -0700


Bugs item #743692, was opened at 2003-05-26 10:30
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=743692&group_id=5470

Category: Threads
Group: Python 2.3
Status: Open
Resolution: None
Priority: 7
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Mark Hammond (mhammond)
Summary: test_socketserver: Fatal error: Invalid thread state

Initial Comment:
Mark, I believe this started happening on Solaris 8
(only AFAIK) after some of your thread changes.  Do you
have access to a Solaris 8 box?  I can try to debug if
you give me some ideas.  This is happening on the snake
farm.  Actually, we have a Sol8 box here.  I can try to
fire it up and see if the problem exists on that box. 
If so, I can give you access.

When running test_socketserver, some way through the
test there's the fatal error.

Fatal Python error: Invalid thread state for this thread

Let me know what more info I can provide.  Sorry, short
on ideas/time, just wanted to get this documented.

----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2003-07-10 00:08

Message:
Logged In: YES 
user_id=33168

Doesn't seem real helpful.  I'll see if I can do more on this.

#0  PyThreadState_Swap (new=0x2b1160) at Python/pystate.c:274
#1  PyEval_RestoreThread (tstate=0x2b1160) at Python/ceval.c:391
#2  floatsleep (secs=0) at Modules/timemodule.c:831
#3  time_sleep (self=0x0, args=0x2b3968) at
Modules/timemodule.c:208
#4  PyCFunction_Call (func=0x2bd938, arg=0x2b3968, kw=0x0)
at Objects/methodobject.c:73
#5  call_function (pp_stack=0xdf142f04, oparg=1) at
Python/ceval.c:3439
#6  eval_frame (f=0x2890c8) at Python/ceval.c:2116


----------------------------------------------------------------------

Comment By: Mark Hammond (mhammond)
Date: 2003-07-08 00:39

Message:
Logged In: YES 
user_id=14198

I don't have access to a sol8 box, nor would I really know
what to do when I got there :)  Any chance of a stack-trace?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=743692&group_id=5470