Bug report: strange crash
"S. Massy" <[email protected]>
| Newsgroups | gmane.comp.audio.ecasound.general |
|---|---|
| Message-ID | <20120313045015.GA22132@solidbox> |
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 [email protected] https://lists.sourceforge.net/lists/listinfo/ecasound-list
bugoutput.log.gz
(application/octet-stream, 5.2 KB) - not displayed
bugbt.log
(text/plain, 1021 B)
#0 SAMPLE_BUFFER::multiply_by (this=0x0, factor=0.891250968)
at samplebuffer.cpp:358
#1 0x00000000004ba106 in CHAIN::process (this=0x7fffeca88510)
at eca-chain.cpp:748
#2 0x00000000005562ec in ECA_ENGINE::process_chains (this=0x7fffec79a750)
at eca-engine.cpp:1647
#3 0x000000000055cf8e in ECA_ENGINE::engine_iteration (this=0x7fffec79a750)
at eca-engine.cpp:654
#4 0x0000000000534584 in eca_jack_process_engine_iteration (nframes=128,
arg=<value optimized out>) at audioio_jack_manager.cpp:457
#5 0x0000000000534808 in eca_jack_process_timebase_slave (nframes=128,
arg=0x7fffec895330) at audioio_jack_manager.cpp:565
#6 eca_jack_process_callback (nframes=128, arg=0x7fffec895330)
at audioio_jack_manager.cpp:403
#7 0x00007ffff6a3e2d2 in ?? () from /usr/lib/libjack.so.0
#8 0x00007ffff6a53ea0 in ?? () from /usr/lib/libjack.so.0
#9 0x00007ffff5f6d8ca in start_thread () from /lib/libpthread.so.0
#10 0x00007ffff552886d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()