This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Interpreter won't always exit with daemonic thread
Type: Stage:
Components: Interpreter Core Versions:
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: akuchling, gvanrossum, morphex, niemeyer
Priority: normal Keywords:

Created on 2001-12-17 14:37 by morphex, last changed 2022-04-10 16:04 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
thread.txt morphex, 2001-12-17 14:37 Copy of post to comp.lang.python (Subject: Issues with threads)
website_check.py.strace morphex, 2001-12-17 16:42 Here's the output from "strace python website_chec.py &> /tmp/website_check.py.strace"
Messages (10)
msg8275 - (view) Author: Morten W. Petersen (morphex) Date: 2001-12-17 14:37
See file.
msg8276 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2001-12-17 15:58
Logged In: YES 
user_id=6380

I can't reproduce this on Red Hat 6.2.
msg8277 - (view) Author: Morten W. Petersen (morphex) Date: 2001-12-17 16:21
Logged In: YES 
user_id=68005

Ok, the system I'm using is:

morten@debian$ python
Python 2.1.1 (#1, Nov 11 2001, 18:19:24) 
[GCC 2.95.4 20011006 (Debian prerelease)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> 
morten@debian$ uname -a
Linux debian 2.4.14 #1 SMP Mon Dec 10 20:40:22 CET 2001 i686
unknown

With a customized kernel.  Should I contact the Debian
maintainers ?
msg8278 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2001-12-17 16:33
Logged In: YES 
user_id=6380

I dunno. They're likely to shoot back to Python. Can you do
some more digging (e.g. what is the program doing when it's
hanging)?
msg8279 - (view) Author: Morten W. Petersen (morphex) Date: 2001-12-17 16:42
Logged In: YES 
user_id=68005

I'm attaching a trace..
msg8280 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2001-12-17 16:48
Logged In: YES 
user_id=6380

Sorry, I don't know how to interpret the trace. Someone
else, please?
msg8281 - (view) Author: Morten W. Petersen (morphex) Date: 2001-12-17 16:57
Logged In: YES 
user_id=68005

I can't interpret it either.  :-)

Is there another way to to provide debugging information ?
msg8282 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2001-12-17 17:06
Logged In: YES 
user_id=6380

gdb?
msg8283 - (view) Author: Gustavo Niemeyer (niemeyer) * (Python committer) Date: 2002-11-12 15:45
Logged In: YES 
user_id=7887

I couldn't reproduce it on Conectiva Linux 8.0 as well.

Looking trough the trace, I found out that there's some
realtime management going on. Then, I tried to preload
librt.so, and that made my trace look pretty similar to the
attached one. Even then, I wasn't able to reproduce the problem.

Morten, can you still reproduce this bug in Python 2.2.2? If
so, I'll look for an environment similar to yours.
msg8284 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2004-06-05 21:50
Logged In: YES 
user_id=11375

No discussion in over 18 months; closing this bug.
History
Date User Action Args
2022-04-10 16:04:47adminsetgithub: 35768
2001-12-17 14:37:49morphexcreate