[ecasound] ecasound hangs when adding chain.

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: [ecasound] ecasound hangs when adding chain.
From: mheath@netspace.net.au
Date: Fri Jun 30 2000 - 16:14:35 EEST


This may be just a build bug.

I've tried version 1.7.9r13 and 1.8.0d14 and both have the result.
(I also tried 1.6.12r10 but this core dumped whenever trying to add a chain)

Now I dont understand the concepts of chains/chain setups/controllers. Yet.
I've been using a multitrack sequencer under windows and hope to do away
with the need for that machine.

If I do:
ecasound -i someaudiofile.wav
The sound plays fine

If I do:
ecasound -a:1 -i someaudiofile.wav -a:all -o /dev/dsp
the machine hangs at the "** ecasound **" banner.
The machine chews up 50% cpu (on an dual SMP machine this is as much as 1
process can use) There appears to be no child processes and No leaking
memory while it is running. I have left it for upto 10 minutes thinking
that it might be initializing memory. With no luck.

I can do a c-add in interactive mode but I cant quite work out how to
impliment it. I've been coming acros hangs and 'out of memory' errors while
trying to experiment with the interactive mode (with version 1.7.9r13)
A -a:1 will also hang while in interactive mode.

running ecasound in debug mode produces:
quadrant:~> ecasound -d:11 -a:1 -i someaudiofile.wav -a:all -o /dev/dsp
****************************************************************************
* ecasound v1.8.0d14 (C) 1997-2000 Kai Vehmanen *
****************************************************************************
(eca-session) Set debug level to: 11
(samplebuffer<>) Buffer created, channels: 0, length-samples: 0, sample rate: 0.
(audioio-alsa2) construct
(audioio-alsa2) construct
(eca-chainsetup) Adding "-d:11" to options.
(eca-chainsetup) Adding "-a:1" to options.
(eca-chainsetup) Adding "-i:someaudiofile.wav" to options.
(eca-chainsetup) Adding "-a:all" to options.
(eca-chainsetup) Adding "-o:/dev/dsp" to options.
(eca-chainsetup) Interpreting general option "-d:11".
(eca-chainsetup) Interpreting chain option "-d:11".
(eca-chainsetup) Interpreting general option "-a:1".
(eca-chainsetup) Interpreting chain option "-a:1".
(chain) constuctor: CHAIN
add_new_chains() added chain 1
(eca-chainsetup) Selected chain ids: 1
(eca-chainsetup) Interpreting general option "-i:someaudiofile.wav".
(eca-chainsetup) Interpreting chain option "-i:someaudiofile.wav".
(eca-chainsetup) Interpreting general option "-a:all".
(eca-chainsetup) Interpreting chain option "-a:all".
<hangs at this point>

I did a trace with gdb and find that the program appears to be hanging in a
libstdc++ call:

(gdb) bt
#0 0x4038dc80 in basic_string<char, string_char_traits<char>, __default_alloc_template<true, 0> >::Rep::clone () from /usr/lib/libstdc++-libc6.1-1.so.2
#1 0x402274fa in ECA_AUDIO_OBJECTS::add_new_chains ()
        from /usr/local/lib/libecasound.so.6
#2 0x401a9b91 in ECA_CHAINSETUP::interpret_chains ()
        from /usr/local/lib/libecasound.so.6
#3 0x401a54a6 in ECA_CHAINSETUP::interpret_options ()
        from /usr/local/lib/libecasound.so.6
#4 0x401a0c35 in ECA_CHAINSETUP::ECA_CHAINSETUP ()
        from /usr/local/lib/libecasound.so.6
#5 0x4018f31e in ECA_SESSION::ECA_SESSION ()
        from /usr/local/lib/libecasound.so.6
#6 0x804c627 in main ()
#7 0x403ce2e7 in __libc_start_main () from /lib/libc.so.6

I've tried a number of different command line usage (as per the examples)
and find that the -a:<value> option causes the program to hang.

Am I doing something wrong ?
Is my linux install possibly broken ?
Has anyone had experience with ecasound running with libstdc++-libc6.1-1.so.2 ?

Maybe just a final question, I've been using the windows program, to
mix full length songs together, downmixed to produce seemless mix CDs
(around 25 minutes length total) . Including simple amplitude envelopes
over each song and a scalar resampling of each song.
Is it worth me learning the interface (and resolving this bug) as
Ecasound will do this?

Thank you for your time.

Mark

--
To unsubscribe send message 'unsubscribe' in the body of the
message to <ecasound-list-request@wakkanet.fi>.


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Jun 30 2000 - 16:16:33 EEST