Re: Bug report: strange crash

"S. Massy" <[email protected]>
Newsgroups gmane.comp.audio.ecasound.general
Message-ID <20120402201459.GA21536@solidbox>
On Tue, Mar 13, 2012 at 12:50:15AM -0400, S. Massy wrote:
> Hello,
> 
> A feature recently introduced in nama (single effect bypass) has brought
> up some strange behaviour in ecasound. When the effect being bypassed is
> removed, or around that event, ecasound segfaults. Here is the
> information I have collected thus far.
With Joel Roth's help, I got nama to create a similar set-up but with
rtnull instead of jack IO in order to get some noise out of the way.
Attached, you will find a full log (-ddd) of what led up to the crash.
Here is the backtrace:

#0  SAMPLE_BUFFER::multiply_by (this=0x730034322074, factor=1)
    at samplebuffer.cpp:358
#1  0x00000000004ba106 in CHAIN::process (this=0x7c9fb0) at eca-chain.cpp:748
#2  0x00000000005562ec in ECA_ENGINE::process_chains (this=0x7e5ee0)
    at eca-engine.cpp:1647
#3  0x000000000055cf8e in ECA_ENGINE::engine_iteration (this=0x7e5ee0)
    at eca-engine.cpp:654
#4  0x000000000055e7fd in ECA_ENGINE_DEFAULT_DRIVER::exec (this=0x113b920,
    engine=<value optimized out>, csetup=<value optimized out>)
    at eca-engine.cpp:114
#5  0x000000000055d4b0 in ECA_ENGINE::exec (this=0x7e5ee0,
    batch_mode=<value optimized out>) at eca-engine.cpp:289
#6  0x00000000004d2218 in ECA_CONTROL::run_engine (this=0x7d4be0)
    at eca-control-base.cpp:364
#7  0x00000000004d2328 in ECA_CONTROL::start_normal_thread (
    ptr=<value optimized out>) at eca-control-base.cpp:68
#8  0x00007ffff5f6d8ca in start_thread () from /lib/libpthread.so.0
#9  0x00007ffff552886d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Line 358 of samplebuffer.cpp is:
358       for(channel_size_t n = 0; n < channel_count_rep; n++) {

Incidentally, even with debug enabled, some values seem to get optimised
out, such as the final value of n in the line above.

Hope this is of some further help.

Cheers,
S.M.

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure

_______________________________________________
Ecasound-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecasound-list
crashbug20120402.log.gz (application/octet-stream, 59 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.