[Python-bugs-list] [ python-Bugs-420720 ] Starting many threads causes core dump

noreply@sourceforge.net noreply@sourceforge.net
Wed, 09 May 2001 08:53:55 -0700


Bugs item #420720, was updated on 2001-05-02 07:09
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=420720&group_id=5470

Category: Threads
Group: None
Status: Open
Resolution: None
>Priority: 4
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Starting many threads causes core dump

Initial Comment:
If I start more than 1020 threads simultaneously, using
the threading module, Python 2.1 causes segmentation
faults, or will not exit, under Linux. I have not
tested this on Windows.

I don't know whether the problems are caused by the
threads themselves, or the threading.Event for which
they are waiting.

I have attached a program threadKill3.py which
demonstrates this (including sample runs and output).


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

>Comment By: Jeremy Hylton (jhylton)
Date: 2001-05-09 08:53

Message:
Logged In: YES 
user_id=31392

We need two things in order to offer any useful help:
1. A stack trace from the core file.
2. Evidence that a C program that starts 1024 threads
   won't do the same thing.


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

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