Multithreaded app freezes strace

in

Running "strace -f -o trace.log some_multithreaded_app" (BTW -f is importantas otherwise strace wouldn't print at least pids) on Fedora Core 2where the application links with the NPTL implementation by defaultcan very probably freeze sooner or later at a point like:

  futex(0x583844, FUTEX_WAIT, 2, NULL)    = -1 EINTR (Interrupted system call)

I found this can be helped by disabling NPTL via running strace as(don't ask me why 2.4.19 ;) )

  export LD_ASSUME_KERNEL=2.4.19 strace -f -o trace.log some_multithreaded_app

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
To prevent automated spam submissions leave this field empty.