Hi,
this issue has been possibly solved in upstream release 2.4.5. Version
2.4.6.1 is already in testing/stable so the bug should be fixed there.
On Sat, 26 Jan 2008, Sergio Leone wrote:
Package: ecasound
Version: 2.4.4-6
Severity: normal
*** Please type your report below this line ***
Segfault on exit/interrupt by TERM signal (kill or "Ctrl-C"); hang on small
buffer value in args.
Firstly about hangs, it's short. When I tried launch ecasound with small
buffer option, it hung, and so was killed with -9. The command line follows:
ecasound -b:128 -i ~/music/somefile.mp3 -o /dev/dsp
I don't know should it be named problem or bug at all, but nevertheless
it exists. Quite unsure if I had to create separate report mail, so it is
included here.
Secondly, about segfaults on interrupt. (Note: may be it's a problem
of plugins?)
I have met this problem trying examples from
http://www.eca.cx/ecasound/Documentation/examples.html, these command lines:
ecasound -i null -o /dev/dsp -el:sine_fcac,440,1
ecasound -i:null -o:/dev/dsp -pn:metronome,120
Segfault happens not always, but usually.
Terminal output for "kamerton" run and two (normal and segfaulted) for
"metronome" runs follow. Same results for "Ctrl-C" stops and kill -15.
The most of other example command lines from that address didn't cause
segfaults
on terminate.
$ ecasound -i null -o /dev/dsp -el:sine_fcac,440,1
********************************************************************************
* ecasound v2.4.4 (C) 1997-2005 Kai Vehmanen and others
********************************************************************************
- [ Session created ]
----------------------------------------------------------
- [ Chainsetup created (cmdline) ]
---------------------------------------------
- [ Connecting chainsetup ]
----------------------------------------------------
(eca-chainsetup) 'rt' buffering mode selected.
(eca-chainsetup) Audio object "null", mode "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
(eca-chainsetup) Audio object "/dev/dsp", mode "write".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
- [ Chainsetup connected ]
-----------------------------------------------------
(eca-control-objects) Connected chainsetup: "command-line-setup".
- [ Controller/Starting batch processing ]
-------------------------------------
- [ Engine init - Driver start ]
-----------------------------------------------
- [ Controller/Processing stopped (cond) ]
-------------------------------------
- [ Engine exiting ]
-----------------------------------------------------------
(eca-control-objects) Disconnecting chainsetup: "command-line-setup".
- [ Chainsetup disconnected ]
--------------------------------------------------
Segmentation fault
$
$ ecasound -i:null -o:/dev/dsp -pn:metronome,120
********************************************************************************
* ecasound v2.4.4 (C) 1997-2005 Kai Vehmanen and others
********************************************************************************
- [ Session created ]
----------------------------------------------------------
- [ Chainsetup created (cmdline) ]
---------------------------------------------
- [ Connecting chainsetup ]
----------------------------------------------------
(eca-chainsetup) 'rt' buffering mode selected.
(eca-chainsetup) Audio object "null", mode "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
(eca-chainsetup) Audio object "/dev/dsp", mode "write".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
- [ Chainsetup connected ]
-----------------------------------------------------
(eca-control-objects) Connected chainsetup: "command-line-setup".
- [ Controller/Starting batch processing ]
-------------------------------------
- [ Engine init - Driver start ]
-----------------------------------------------
- [ Controller/Processing stopped (cond) ]
-------------------------------------
- [ Engine exiting ]
-----------------------------------------------------------
(eca-control-objects) Disconnecting chainsetup: "command-line-setup".
- [ Controller/Batch processing finished ]
-------------------------------------
$ ecasound -i:null -o:/dev/dsp -pn:metronome,120
********************************************************************************
* ecasound v2.4.4 (C) 1997-2005 Kai Vehmanen and others
********************************************************************************
- [ Session created ]
----------------------------------------------------------
- [ Chainsetup created (cmdline) ]
---------------------------------------------
- [ Connecting chainsetup ]
----------------------------------------------------
(eca-chainsetup) 'rt' buffering mode selected.
(eca-chainsetup) Audio object "null", mode "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
(eca-chainsetup) Audio object "/dev/dsp", mode "write".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
- [ Chainsetup connected ]
-----------------------------------------------------
(eca-control-objects) Connected chainsetup: "command-line-setup".
- [ Controller/Starting batch processing ]
-------------------------------------
- [ Engine init - Driver start ]
-----------------------------------------------
- [ Controller/Processing stopped (cond) ]
-------------------------------------
- [ Engine exiting ]
-----------------------------------------------------------
(eca-control-objects) Disconnecting chainsetup: "command-line-setup".
- [ Chainsetup disconnected ]
--------------------------------------------------
Segmentation fault
$
The system runs with on-board HDA audio.
$ lsmod | grep snd
snd_hda_intel 16788 1
snd_hda_codec 138240 1 snd_hda_intel
snd_pcm_oss 38048 0
snd_mixer_oss 15232 1 snd_pcm_oss
snd_pcm 65928 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer 19972 1 snd_pcm
snd 45412 8
snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 8928 1 snd
snd_page_alloc 9736 2 snd_hda_intel,snd_pcm
$
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-486
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Versions of packages ecasound depends on:
ii libasound2 1.0.13-2 ALSA library
ii libaudiofile0 0.2.6-6 Open-source version of SGI's
audio
ii libc6 2.3.6.ds1-13etch4 GNU C Library: Shared libraries
ii libflac7 1.1.2-8 Free Lossless Audio Codec -
runtim
ii libgcc1 1:4.1.1-21 GCC support library
ii libjack0.100.0-0 0.101.1-2 JACK Audio Connection Kit
(librari
ii libncurses5 5.5-5 Shared libraries for terminal
hand
ii libreadline5 5.2-2 GNU readline and history
libraries
ii libsamplerate0 0.1.2-2 audio rate conversion library
ii libsndfile1 1.0.16-2 Library for reading/writing
audio
ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3
ii python 2.4.4-2 An interactive high-level
object-o
ii python-ecasound2.2 2.4.4-6 python binding files for
ecasound
ecasound recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]