[ecasound] loop devices, ECI and segmentation fault

From: Pedro Antonio Fructuoso Merino <pfructuoso@email-addr-hidden>
Date: Tue Mar 28 2006 - 14:38:31 EEST

Hi all,
     I have problems removing input and output with loops devices: It
crashes ecasound. You can see an example like the next:
$ ecasound -a:1 -i:test.mp3 -o:loop,1 -a:2 -i:loop,1 -o:alsa,auriculares -c
> ao-iselect 2
> ao-remove
> ao-iselect 1
> ao-remove
> ai-iselect 2
> ai-remove
Segmentation fault

     My objetive is change the test.mp3 to another mp3 file, do you know
another method?

Regards:
     Pedro

$ ecasound -a:1 -i:/home/pfructuoso/tmp/test.mp3 -o:loop,1 -a:2 -i:loop,1 -o:alsa,auriculares -c
********************************************************************************
* ecasound v2.4.4 (C) 1997-2005 Kai Vehmanen and others
********************************************************************************
- [ Session created ] ----------------------------------------------------------
- [ Chainsetup created (cmdline) ] ---------------------------------------------
ecasound ('h' for help)> start
(eca-control) WARNING: No chainsetup connected. Trying to connect currently
... selected chainsetup.
- [ Connecting chainsetup ] ----------------------------------------------------
(eca-chainsetup) 'rt' buffering mode selected.
(eca-chainsetup) Audio object "/home/pfructuoso/tmp/test.mp3", mode
... "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
(eca-chainsetup) Audio object "loop,1", mode "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
(eca-chainsetup) Audio object "loop,1", mode "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
(audioio_alsa) Warning! Period-size differs from current client buffersize.
(eca-chainsetup) Audio object "alsa", mode "write".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
- [ Chainsetup connected ] -----------------------------------------------------
(eca-control-objects) Connected chainsetup: "command-line-setup".
- [ Controller/Processing started ] --------------------------------------------
ecasound ('h' for help)> - [ Engine init - Driver start ] -----------------------------------------------
stop
- [ Controller/Processing stopped ] --------------------------------------------
ecasound ('h' for help)> ao-list
loop\,1,alsa
ecasound ('h' for help)> ao-iselect 2
ecasound ('h' for help)> ao-remove
(eca-control) WARNING: This operation requires that chainsetup is
... disconnected. Temporarily disconnecting...
- [ Engine exiting ] -----------------------------------------------------------
(eca-control-objects) Disconnecting chainsetup: "command-line-setup".
- [ Chainsetup disconnected ] --------------------------------------------------
(eca-control-objects) Removing selected audio output "alsa" from selected
... chains.
(eca-chainsetup) Unable to connect: Chain "2" is not valid. Following errors were
... detected:
(eca-chainsetup) Chain "2" is not connected to any output. All chains must have
... exactly one valid output. (2.2-NO-CHAIN-OUTPUT)
ERROR: Can't reconnect chainsetup.
ecasound ('h' for help)> ao-iselect 1
ecasound ('h' for help)> ao-remove
(eca-control-objects) Removing selected audio output "loop,1" from selected
... chains.
ecasound ('h' for help)> ai-iselect 2
ecasound ('h' for help)> ai-remove
(eca-control-objects) Removing selected audio input "ai-remove" from selected
... chains.
Segmentation Fault

--------------090808040504050902040609--
ReSent-Date: Tue, 28 Mar 2006 15:43:27 +0300 (EEST)
ReSent-From: Kai Vehmanen <kaiv@email-addr-hidden>
ReSent-To: ecasound-list@email-addr-hidden
ReSent-Subject: loop devices, ECI and segmentation fault
ReSent-Message-ID: <Pine.LNX.4.64.0603281543270.4036@email-addr-hidden>

This is a multi-part message in MIME format.
--------------090103050307030505030105
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi all,
     I have problems removing input and output with loops devices: It
crashes ecasound. You can see an example like the next:
$ ecasound -a:1 -i:test.mp3 -o:loop,1 -a:2 -i:loop,1 -o:alsa,auriculares -c
> ao-iselect 2
> ao-remove
> ao-iselect 1
> ao-remove
> ai-iselect 2
> ai-remove
Segmentation fault

     My objetive is change the test.mp3 to another mp3 file, do you know
another method?

Regards:
     Pedro

--------------090103050307030505030105
Content-Type: text/plain;
 name="loop"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="loop"

$ ecasound -a:1 -i:/home/pfructuoso/tmp/test.mp3 -o:loop,1 -a:2 -i:loop,1 -o:alsa,auriculares -c
********************************************************************************
* ecasound v2.4.4 (C) 1997-2005 Kai Vehmanen and others
********************************************************************************
- [ Session created ] ----------------------------------------------------------
- [ Chainsetup created (cmdline) ] ---------------------------------------------
ecasound ('h' for help)> start
(eca-control) WARNING: No chainsetup connected. Trying to connect currently
... selected chainsetup.
- [ Connecting chainsetup ] ----------------------------------------------------
(eca-chainsetup) 'rt' buffering mode selected.
(eca-chainsetup) Audio object "/home/pfructuoso/tmp/test.mp3", mode
... "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
(eca-chainsetup) Audio object "loop,1", mode "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
(eca-chainsetup) Audio object "loop,1", mode "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
(audioio_alsa) Warning! Period-size differs from current client buffersize.
(eca-chainsetup) Audio object "alsa", mode "write".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
- [ Chainsetup connected ] -----------------------------------------------------
(eca-control-objects) Connected chainsetup: "command-line-setup".
- [ Controller/Processing started ] --------------------------------------------
ecasound ('h' for help)> - [ Engine init - Driver start ] -----------------------------------------------
stop
- [ Controller/Processing stopped ] --------------------------------------------
ecasound ('h' for help)> ao-list
loop\,1,alsa
ecasound ('h' for help)> ao-iselect 2
ecasound ('h' for help)> ao-remove
(eca-control) WARNING: This operation requires that chainsetup is
... disconnected. Temporarily disconnecting...
- [ Engine exiting ] -----------------------------------------------------------
(eca-control-objects) Disconnecting chainsetup: "command-line-setup".
- [ Chainsetup disconnected ] --------------------------------------------------
(eca-control-objects) Removing selected audio output "alsa" from selected
... chains.
(eca-chainsetup) Unable to connect: Chain "2" is not valid. Following errors were
... detected:
(eca-chainsetup) Chain "2" is not connected to any output. All chains must have
... exactly one valid output. (2.2-NO-CHAIN-OUTPUT)
ERROR: Can't reconnect chainsetup.
ecasound ('h' for help)> ao-iselect 1
ecasound ('h' for help)> ao-remove
(eca-control-objects) Removing selected audio output "loop,1" from selected
... chains.
ecasound ('h' for help)> ai-iselect 2
ecasound ('h' for help)> ai-remove
(eca-control-objects) Removing selected audio input "ai-remove" from selected
... chains.
Segmentation Fault

--------------090103050307030505030105--

--------------090808040504050902040609--

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Tue Mar 28 16:15:02 2006

This archive was generated by hypermail 2.1.8 : Tue Mar 28 2006 - 16:15:03 EEST