Bug 371 - linuxthreads.old: many threads will corrupt your vm mappings
Summary: linuxthreads.old: many threads will corrupt your vm mappings
Status: RESOLVED FIXED
Alias: None
Product: uClibc
Classification: Unclassified
Component: Threads (show other bugs)
Version: 0.9.30.1
Hardware: PC Linux
: P5 normal
Target Milestone: 0.9.32
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-03 07:12 UTC by Natanael Copa
Modified: 2010-05-19 06:41 UTC (History)
1 user (show)

See Also:
Host: x86
Target: x86
Build: x86


Attachments
testcase (1.28 KB, text/plain)
2009-06-03 07:33 UTC, Natanael Copa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Natanael Copa 2009-06-03 07:12:13 UTC
When using linuxthreads.old the stack allocation will corrupt the vm mappings for the dynamic linker causing segfaults at random places at random times.

As a workaround its possible use 'ulimit -s unlimited'

This probably only affects newer kernels that randomizes mmap addresses.
Comment 1 Natanael Copa 2009-06-03 07:33:51 UTC
Created attachment 371 [details]
testcase

small testcase i got from Timo Teräs
Comment 2 Natanael Copa 2010-05-19 06:41:19 UTC
This is fixed in NPTL and no point try fix it in linuxthreads. I'm closing it.