[alsa-devel] Random process lockup on ARM board: alsa-lib-1.0.25, FUTEX_WAIT_PRIVATE

Clemens Ladisch clemens at ladisch.de
Thu Mar 8 21:40:35 CET 2012


Jonathan Andrews wrote:
> Using the static libasound without pthreads now.
>
> Process still stalls in same way:
>
> ARM / # strace -p 408
> Process 408 attached - interrupt to quit
> futex(0x15a684, FUTEX_WAIT, 2, NULL

So it's not a call from alsa-lib.

> An strace of a stall (intel this time) is here.  Its 2GB and on a slow
> link (sorry).
> http://www.jonshouse.co.uk/download/a_stop.txt

If only there were a tool to compress files ...

> The futex address 0xae5320 occurs only once at the end of the text file
> so I have no idea what sets it up.

Can't you attach gdb to your process?
Or at least log where in your program you are?
(If strace has too much overhead, write to a variable, and run a thread
that waits for keyboard input and prints the variable.)


Regards,
Clemens


More information about the Alsa-devel mailing list