[uClibc 0002834]: libc_pthread_init() causes segfault

bugs at busybox.net bugs at busybox.net
Fri Apr 25 05:23:41 UTC 2008


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=2834 
====================================================================== 
Reported By:                hank_le
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   2834
Category:                   Posix Threads
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             04-04-2008 12:08 PDT
Last Modified:              04-24-2008 22:23 PDT
====================================================================== 
Summary:                    libc_pthread_init() causes segfault
Description: 
Initializing programs that link to libpthread segfault. Simple "Hello
World" program segfaults when linked against libpthread, yet runs fine
without.  Attached pthread_test.c won't run.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0002264 pthread issues with 0.9.29
====================================================================== 

---------------------------------------------------------------------- 
 carmelo73 - 04-22-08 08:23  
---------------------------------------------------------------------- 
Please, specify which libpthread implementation you are using
(old or new linuxthreads) ? 

---------------------------------------------------------------------- 
 hank_le - 04-24-08 11:07  
---------------------------------------------------------------------- 
Linking to libpthread causes segfaults using NPTL and linuxthreads (new),
but no problems using linuxthreads (old). 

---------------------------------------------------------------------- 
 carmelo73 - 04-24-08 22:23  
---------------------------------------------------------------------- 
There is not NPTL implementation for x86, so how can you link against it ?
it doesn't make sense.
Trying using a freshen version to see if the fix in linuxthreads suggested
by Will (that I applied) works or not. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-04-08 12:08  hank_le        New Issue                                    
04-04-08 12:08  hank_le        Status                   new => assigned     
04-04-08 12:08  hank_le        Assigned To               => uClibc          
04-04-08 12:08  hank_le        File Added: pthread_test.c                    
04-19-08 23:00  carmelo73      Relationship added       duplicate of 0002264
04-22-08 08:23  carmelo73      Note Added: 0006974                          
04-24-08 11:07  hank_le        Note Added: 0007054                          
04-24-08 22:23  carmelo73      Note Added: 0007104                          
======================================================================




More information about the uClibc-cvs mailing list