[uClibc 0002264]: pthread issues with 0.9.29

bugs at busybox.net bugs at busybox.net
Wed Feb 20 12:40:45 UTC 2008


The following issue requires your FEEDBACK. 
====================================================================== 
http://busybox.net/bugs/view.php?id=2264 
====================================================================== 
Reported By:                kannappan
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   2264
Category:                   Posix Threads
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             02-20-2008 03:29 PST
Last Modified:              02-20-2008 04:40 PST
====================================================================== 
Summary:                    pthread issues with 0.9.29
Description: 
I am using uclibc0.9.29, binutils 2.18 for ARM926T
I am facing problems executing applications which uses pthread.
when including pthread library my application crashes giving message
"segmentation fault". But the same is working with glibc .

When I debugged using strace It gave following error message

# strace  ./run_loop
execve("./run_loop", ["./run_loop"], [/* 16 vars */]) = -1 ENOEXEC (Exec
format
error)
write(2, "strace: exec: Exec format error\n", 32strace: exec: Exec format
error
) = 32
exit(1)                                 = ?
Process 738 detached

====================================================================== 

---------------------------------------------------------------------- 
 carmelo73 - 02-20-08 04:40  
---------------------------------------------------------------------- 
>From your output there is no evidence of a segfault. Please provide more
information.
Command line used to build your application. Source code if available.
Further I suggest you to build with debug synmbol (both your application
and uclibc) and start using gdb to debug.
The info you provide are not enough to figure out what is going wrong 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-20-08 03:29  kannappan      New Issue                                    
02-20-08 03:29  kannappan      Status                   new => assigned     
02-20-08 03:29  kannappan      Assigned To               => uClibc          
02-20-08 04:40  carmelo73      Note Added: 0005174                          
02-20-08 04:40  carmelo73      Status                   assigned => feedback
======================================================================




More information about the uClibc-cvs mailing list