public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/15320] pthread_create exhaust program's virtual address space
2013-03-29 5:37 [Bug nptl/15320] New: pthread_create exhaust program's virtual address space udknight at gmail dot com
@ 2013-03-29 5:37 ` udknight at gmail dot com
2013-03-29 5:42 ` udknight at gmail dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: udknight at gmail dot com @ 2013-03-29 5:37 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15320
udknight <udknight at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |udknight at gmail dot com
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug nptl/15320] New: pthread_create exhaust program's virtual address space
@ 2013-03-29 5:37 udknight at gmail dot com
2013-03-29 5:37 ` [Bug nptl/15320] " udknight at gmail dot com
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: udknight at gmail dot com @ 2013-03-29 5:37 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15320
Bug #: 15320
Summary: pthread_create exhaust program's virtual address space
Product: glibc
Version: 2.15
Status: NEW
Severity: normal
Priority: P2
Component: nptl
AssignedTo: unassigned@sourceware.org
ReportedBy: udknight@gmail.com
CC: drepper.fsp@gmail.com
Classification: Unclassified
Created attachment 6956
--> http://sourceware.org/bugzilla/attachment.cgi?id=6956
test code to trigger the problem
glibc create stack space for per thread create by call pthread_create, but
the stack space willnot be freed, and cause program exhaust all virtual address
space then don't work anymore.
I attach the test code to trigger the problem
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug nptl/15320] pthread_create exhaust program's virtual address space
2013-03-29 5:37 [Bug nptl/15320] New: pthread_create exhaust program's virtual address space udknight at gmail dot com
2013-03-29 5:37 ` [Bug nptl/15320] " udknight at gmail dot com
@ 2013-03-29 5:42 ` udknight at gmail dot com
2013-03-29 5:44 ` udknight at gmail dot com
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: udknight at gmail dot com @ 2013-03-29 5:42 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15320
--- Comment #1 from udknight <udknight at gmail dot com> 2013-03-29 05:42:05 UTC ---
the stack does not get freed or reused even if the delay in creating threads is
increased to up to 10 seconds
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug nptl/15320] pthread_create exhaust program's virtual address space
2013-03-29 5:37 [Bug nptl/15320] New: pthread_create exhaust program's virtual address space udknight at gmail dot com
2013-03-29 5:37 ` [Bug nptl/15320] " udknight at gmail dot com
2013-03-29 5:42 ` udknight at gmail dot com
@ 2013-03-29 5:44 ` udknight at gmail dot com
2013-03-29 8:47 ` udknight at gmail dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: udknight at gmail dot com @ 2013-03-29 5:44 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15320
udknight <udknight at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |siddhesh at redhat dot com
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug nptl/15320] pthread_create exhaust program's virtual address space
2013-03-29 5:37 [Bug nptl/15320] New: pthread_create exhaust program's virtual address space udknight at gmail dot com
` (2 preceding siblings ...)
2013-03-29 5:44 ` udknight at gmail dot com
@ 2013-03-29 8:47 ` udknight at gmail dot com
2013-03-29 9:13 ` schwab@linux-m68k.org
2014-06-13 18:35 ` fweimer at redhat dot com
5 siblings, 0 replies; 7+ messages in thread
From: udknight at gmail dot com @ 2013-03-29 8:47 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15320
udknight <udknight at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |UNCONFIRMED
Ever Confirmed|1 |0
--- Comment #2 from udknight <udknight at gmail dot com> 2013-03-29 08:47:13 UTC ---
Sorry for my mistake, because the thread created by pthread_create is joinable,
and when a terminated joinable thread has been joined are the last of its
resources released back to the system, so this is not a BUG.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug nptl/15320] pthread_create exhaust program's virtual address space
2013-03-29 5:37 [Bug nptl/15320] New: pthread_create exhaust program's virtual address space udknight at gmail dot com
` (3 preceding siblings ...)
2013-03-29 8:47 ` udknight at gmail dot com
@ 2013-03-29 9:13 ` schwab@linux-m68k.org
2014-06-13 18:35 ` fweimer at redhat dot com
5 siblings, 0 replies; 7+ messages in thread
From: schwab@linux-m68k.org @ 2013-03-29 9:13 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15320
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> 2013-03-29 09:13:04 UTC ---
.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug nptl/15320] pthread_create exhaust program's virtual address space
2013-03-29 5:37 [Bug nptl/15320] New: pthread_create exhaust program's virtual address space udknight at gmail dot com
` (4 preceding siblings ...)
2013-03-29 9:13 ` schwab@linux-m68k.org
@ 2014-06-13 18:35 ` fweimer at redhat dot com
5 siblings, 0 replies; 7+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 18:35 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=15320
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-06-13 18:35 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-29 5:37 [Bug nptl/15320] New: pthread_create exhaust program's virtual address space udknight at gmail dot com
2013-03-29 5:37 ` [Bug nptl/15320] " udknight at gmail dot com
2013-03-29 5:42 ` udknight at gmail dot com
2013-03-29 5:44 ` udknight at gmail dot com
2013-03-29 8:47 ` udknight at gmail dot com
2013-03-29 9:13 ` schwab@linux-m68k.org
2014-06-13 18:35 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).