Bug 371

Summary: linuxthreads.old: many threads will corrupt your vm mappings
Product: uClibc Reporter: Natanael Copa <ncopa>
Component: ThreadsAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: uclibc-cvs
Priority: P5    
Version: 0.9.30.1   
Target Milestone: 0.9.32   
Hardware: PC   
OS: Linux   
Host: x86 Target: x86
Build: x86
Attachments: testcase

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.