BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001476 [uClibc] Posix Threads block always 08-27-07 02:46 10-12-08 13:58
Reporter sors View Status public  
Assigned To uClibc
Priority normal Resolution unable to reproduce  
Status closed   Product Version 0.9.28
Summary 0001476: Weird linking behaviour
Description I have an application that is linked dynamically to a shared lib, which itself uses pthreads and is dynamically linked to the pthreads lib.

When a worker thread is created and started, the thread function is called. But the main thread (which created the worker thread) never is scheduled/run again! If the worker thread contains an infinitive loop, it runs forever. If it exits (by using return) the whole process doesn't do anything anymore.. It is blocked.

IF I link the pthreads lib to the application as well, the same code works fine. The main thread and the worker thread are both scheduled as expected.
Additional Information
Attached Files

- Relationships

- Notes
(0003329)
vapier
12-30-07 12:29

please post a small example application that exhibits the issue
 
(0006724)
carmelo73
04-19-08 23:19

Hi,
as Mike already asked, please provide us with a test case.
 
(0006964)
carmelo73
04-22-08 08:21

Hello,
I'm just thinking to a problem caused by wrong libgcc_so.
I suggest you to build ld.so with LD_DEBUG options enabled and run the test case
again. We should be able to track the order and where the ld.so is looking
for shared libraries.
 
(0013304)
carmelo73
10-11-08 23:43

Still waiting for feedback.
 

- Issue History
Date Modified Username Field Change
08-27-07 02:46 sors New Issue
08-27-07 02:46 sors Status new => assigned
08-27-07 02:46 sors Assigned To  => uClibc
08-27-07 07:03 sors Issue Monitored: sors
10-05-07 04:04 sors Issue End Monitor: sors
12-30-07 12:29 vapier Note Added: 0003329
04-19-08 23:19 carmelo73 Note Added: 0006724
04-22-08 08:21 carmelo73 Note Added: 0006964
04-22-08 08:21 carmelo73 Status assigned => feedback
10-11-08 23:43 carmelo73 Note Added: 0013304
10-12-08 13:58 bernhardf Status feedback => closed
10-12-08 13:58 bernhardf Resolution open => unable to reproduce


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker