[ecasound] Bug report: strange crash

From: S. Massy <lists@email-addr-hidden>
Date: Tue Mar 13 2012 - 06:50:15 EET

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.

Perhaps most interestingly, I could not reproduce the segfault with the
debugging option turned on which seems odd. Instead, with the debugging
option, the bug I reported on Friday was triggered while the actual
effect removal proceeded without nastiness.

Chain of event:
Here is a snippet of a log describing the transaction:
[OBJECTS ] (eca-engine) Request start <12373>
[SYSTEM ] (audioio_jack_manager) driver start <12374>
[OBJECTS ] (audiofx) Init w/ samplerate 48000 for object Normal pan. <12375>
[OBJECTS ] (audiofx) Init w/ samplerate 48000 for object Multiband EQ. <12376>
[OBJECTS ] (eca-control) processing cmd and arg: engine-status <12377>
[OBJECTS ] (eca-control) processing cmd and arg: cs-connected <12378>
[OBJECTS ] (eca-control) processing cmd and arg: cs-connected <12379>
[OBJECTS ] (eca-control) processing cmd and arg: cs-is-valid <12380>
[OBJECTS ] (eca-control) processing cmd and arg: cs-connected <12381>
[SYSTEM ] (audiofx_ladspa) Instantiated 2 LADSPA plugin(s), each with 1 audio input port(s) and 1 output port(s), to chain with 2 channel(s) and srate of 48000. <12382>
[OBJECTS ] (eca-control) processing cmd and arg: c-select 24 <12383>
[OBJECTS ] (audiofx) Init w/ samplerate 48000 for object Amplify (dB). <12384>
[OBJECTS ] (eca-control) processing cmd and arg: cop-select 3 <12385>
[OBJECTS ] (eca-control) processing cmd and arg: cop-remove <12386>
[OBJECTS ] (eca-control) processing cmd and arg: cs-selected <12387>
[OBJECTS ] (eca-control) processing cmd and arg: cs-is-valid <12388>
[SYSTEM ] (eca-chain) Initialized chain 24 with 2 chainops and 0 gcontrollers. Sbuf points to 41467504. <12389>
[SYSTEM ] (audioio-db-server) start <12390>
[SYSTEM ] (audioio-db-server) starting processing <12391>
[OBJECTS ] (eca-engine) prefilling i/o buffers. <12392>
[OBJECTS ] (eca-control) processing cmd and arg: engine-status <12393>
[OBJECTS ] (eca-control) processing cmd and arg: c-select 24 <12394>
[OBJECTS ] (eca-control) processing cmd and arg: cop-add -ea:100 <12395>
[SYSTEM ] (eca-chainsetup-parser) Interpreting object option "-ea:100". <12396>
[OBJECTS ] (eca-object-factory) Creating chain operator "Amplify" <12397>
[OBJECTS ] (eca-object-factory) Setting parameters: amp-% = 100.000 <12398>
[SYSTEM ] (eca-chainsetup) Adding chainop to chain 24. <12399>
[OBJECTS ] (audiofx) Setting samplerate to 48000 for object Amplify. Old value 384000. <12400>
[OBJECTS ] (eca-control) processing cmd and arg: cop-add -eadb:-96 <12401>
[SYSTEM ] (eca-chainsetup-parser) Interpreting object option "-eadb:-96". <12402>
[OBJECTS ] (eca-object-factory) Creating chain operator "Amplify (dB)" <12403>
[OBJECTS ] (eca-object-factory) Setting parameters: gain-db = -96.000, channel = 0.000 <12404>
[SYSTEM ] (eca-chainsetup) Adding chainop to chain 24. <12405>
[OBJECTS ] (audiofx) Setting samplerate to 48000 for object Amplify (dB). Old value 384000. <12406>
[OBJECTS ] (eca-control) processing cmd and arg: cs-selected <12407>
[OBJECTS ] (eca-control) processing cmd and arg: cs-is-valid <12408>
[OBJECTS ] (eca-control) processing cmd and arg: cs-selected <12409>
[OBJECTS ] (eca-control) processing cmd and arg: cs-is-valid <12410>
[OBJECTS ] (eca-control) processing cmd and arg: c-selected <12411>
[OBJECTS ] (eca-control) processing cmd and arg: cs-connected <12412>
[OBJECTS ] (eca-control) processing cmd and arg: c-select 24 <12413>
[OBJECTS ] (eca-control) processing cmd and arg: cop-select 4 <12414>
[OBJECTS ] (eca-control) processing cmd and arg: copp-select 1 <12415>
[OBJECTS ] (eca-control) processing cmd and arg: copp-set -40 <12416>
[OBJECTS ] (eca-control) processing cmd and arg: cs-connected <12417>
[OBJECTS ] (eca-control) processing cmd and arg: c-select 24 <12418>
[OBJECTS ] (eca-control) processing cmd and arg: engine-status <12419>
[OBJECTS ] (eca-control) processing cmd and arg: cs-selected <12420>
[OBJECTS ] (eca-control) processing cmd and arg: cs-is-valid <12421>
[OBJECTS ] (eca-control) processing cmd and arg: cs-selected <12422>
[OBJECTS ] (eca-control) processing cmd and arg: cs-is-valid <12423>
[OBJECTS ] (eca-control) processing cmd and arg: c-selected <12424>
[OBJECTS ] (eca-control) processing cmd and arg: cs-connected <12425>
[OBJECTS ] (eca-control) processing cmd and arg: c-select 24 <12426>
[OBJECTS ] (eca-control) processing cmd and arg: cop-select 4 <12427>
[OBJECTS ] (eca-control) processing cmd and arg: copp-select 1 <12428>
[OBJECTS ] (eca-control) processing cmd and arg: copp-set -1 <12429>

Attached, you'll find a log made with strace, which isn't really
informative but does print out of few warning, the relevance of which
I'm not quite certain, and a backtrace obtained with gdb, though without
debugging symbols.

Let me know if I can be of any further assistance.

Cheers,
S.M.

-- 



------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d

_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Received on Tue Mar 13 08:15:01 2012

This archive was generated by hypermail 2.1.8 : Tue Mar 13 2012 - 08:15:02 EET