Re: [ecasound] Ecasound build process stuck after tests

From: Alessandro Ghedini <al3xbio@email-addr-hidden>
Date: Thu Mar 31 2011 - 00:15:23 EEST

On Wed, Mar 30, 2011 at 09:42:56PM +0200, Alessandro Ghedini wrote:
> I have done some tests (running stresstest.rb alone many times) and the
> problem is indeed, in stresstest.rb. I found out that it get stuck on
> (AFAICS) a random basis (quite rarely though). When it happens and I
> interrupt the process (with Ctrl+C) I get:
> ./ecasound.rb:93:in ``': Interrupt
> from ./ecasound.rb:93
> from stresstest.rb:19:in `require'
> from stresstest.rb:19
> Since I am not that familiar with Ruby, I don't know if there is any
> technique to get some additional info, but that output is not (to me) much
> helpful. Any idea?

Just done some more testing and I've found out something that may be

The above output says basically that while loading the "ecasound.rb" module,
it got stuck on line 93, which (guessing from the code) gets the ecasound
version number by running the ecasound executable itself.

Turns out that, when running "ecasound --version" it sometimes does not
exits properly (it prints on STDOUT and then it stays there).

With the help of gdb I have investigated on the stuck process and I got
the following information:

    % gdb ../ecasound/ecasound 20416
    0x00007f8de15f3be5 in pthread_join () from /lib/
    (gdb) bt
    #0 0x00007f8de15f3be5 in pthread_join () from /lib/
    #1 0x000000000045e743 in main (argc=<value optimized out>,
        argv=<value optimized out>) at ecasound.cpp:311

That is, the ecasound executable get stuck while calling pthread_join()
at ecasound.cpp line 311 (it does the same for v2.7.0, but you will have to
run ecasound many more times to reproduce this). What would make
pthread_join() hangs? No idea for now (didn't investigated in the code
further, I'll maybe do it tomorrow).

Not sure if this helps, but it's something I think...


perl -E'$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website.
Ecasound-list mailing list
Received on Thu Mar 31 00:15:04 2011

This archive was generated by hypermail 2.1.8 : Thu Mar 31 2011 - 00:15:04 EEST