Subject: Re: [ecasound] aio-attach can segfault
From: Kai Vehmanen (kaiv@wakkanet.fi)
Date: Mon Jan 10 2000 - 16:39:13 EET
On Mon, 10 Jan 2000, Jeremy Hall wrote:
> It would appear if one types aio-attach at any time, that creates a seg
> fault.
Assertions (ecasound_debug) help enormously when debugging these...
--cut--
Input (i1): "/empty1/track02.wav"
connected to chains "default": position (0.000/218.293) seconds.
Output (o1): "null"
connected to chains "default": position (0.000/0.000) seconds.
ecasound ('h' for help)> aio-attach
(eca-controller) Warning! This operation requires that chainsetup is disconnected. Temporarily disconnecting...
(eca-controller) Disconnecting chainsetup: "command-line-setup".
ecasound_debug: eca-controller.cpp:1454: void ECA_CONTROLLER::attach_audio_object(): Assertion
`selected_audio_object_rep != 0' failed.
--cut--
Problem here is that no input/output is selected. So if I...
--cut--
Input (i1): "/empty1/track02.wav"
connected to chains "default": position (0.000/218.293) seconds.
Output (o1): "null"
connected to chains "default": position (0.000/0.000) seconds.
ecasound ('h' for help)> aio-index-select i1
ecasound ('h' for help)> aio-attach
(eca-chainsetup) Assigning file to chains: another
(eca-controller) Attached audio object "/empty1/track02.wav" to selected chains.
ecasound ('h' for help)> fs
- [ Controller/Audio input/output status ] ---------------------------------
Input (i1): "/empty1/track02.wav" [selected]
connected to chains "default,another": position (0.000/218.293) seconds.
Output (o1): "null"
connected to chains "default": position (0.000/0.000) seconds.
--cut--
But I guess some kind of crash-protection would be a nice addition. ;)
-- Kai Vehmanen <kaiv@wakkanet.fi> -------- CS, University of Turku, Finland . http://www.wakkanet.fi/ecasound/ - linux audio processing . http://www.wakkanet.fi/sculpscape/ - ambient-idm-rock-... mp3/ra/wav
This archive was generated by hypermail 2a24 : Mon Jan 10 2000 - 21:32:22 EET