[ecasound] Segmentation fault with ecasound + jackd2 on Raspberry Pi with CM6206 audio device

From: Drew Harris <drewbharris@email-addr-hidden>
Date: Fri Nov 03 2017 - 01:30:47 EET

Hey, I’m hoping someone can help me track down a problem. I’m running jackd2 on a Raspberry Pi 3 (Debian Jessie) with a cheap CM6206 USB audio card. When I try to launch the engine in ecasound, I get a segmentation fault. Running the same combination with a different sound card works fine. Interestingly, I can output the same audio file with “aplay” through the CM6206 without issue.

Output from jackd:

pi@raspberrypi:~ $ jackd -P70 -p16 -t2000 -dalsa -dhw:1,0 -p1024 -n10 -r44100 -s -X seq -S
jackdmp 1.9.10
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2014 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 70
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio1
creating alsa driver ... hw:1,0|hw:1,0|1024|10|44100|0|0|nomon|swmeter|soft-mode|16bit
configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 10 periods
ALSA: final selected sample format for capture: 16bit little-endian
ALSA: use 10 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 10 periods for playback
port created: Midi-Through:midi/playback_1
port created: Midi-Through:midi/capture_1
JackEngine::XRun: client = eca_slave2 was not finished, state = Running
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Cannot read socket fd = 12 err = Connection reset by peer
Could not read notification result
ClientNotify fails name = eca_slave2 notification = 18 val1 = 0 val2 = 0
Cannot write socket fd = 12 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = eca_slave2 notification = 18 val1 = 1 val2 = 0

And output from ecasound:

pi@raspberrypi:~ $ ecasound -r -c -i:sndfile,'/home/pi/rpi-lcd-pipe/scripting/tracks/01_All My Friends/imported/track.wav' -f:,4 -o jack,system -G:jack,eca_slave2
**************************************************************************
* ecasound v2.9.1 (C) 1997-2014 Kai Vehmanen and others
**************************************************************************
(eca-chainsetup-parser) Raised-priority mode enabled. (prio:50)
(eca-chainsetup) Chainsetup "untitled-chainsetup"
ecasound ('h' for help)> start
(eca-control) NOTE: No chainsetup connected. Trying to connect currently selected chainsetup "untitled-chainsetup"
(eca-chainsetup) "rt" buffering mode selected.
(audioio_sndfile) Using libsndfile to open file "/home/pi/rpi-lcd-pipe/scripting/tracks/01_All My Friends/imported/track.wav" for reading.
(eca-chainsetup) Opened input "sndfile", mode "read". Format: s16_le, channels 2, srate 44100, interleaved (locked params).
(eca-chainsetup) NOTE: using existing audio parameters -f:f32_le,4,44100 for object 'jack' (tried to open with -f:s16_le,4,44100).
(eca-chainsetup) Opened output "jack", mode "write". Format: f32_le, channels 4, srate 44100, noninterleaved (locked params).
- [ Connected chainsetup: "untitled-chainsetup" ] ------------------------
- [ Controller/Processing started ] --------------------------------------
- [ Engine - Driver start ] ----------------------------------------------
(audioio_jack_manager) JACK transport: both sending and reacting to transport events (mode: sendrecv)
(audioio_jack_manager) JACK transport: at ecasound start JACK state is STOPPED (position 0.000sec)
ecasound ('h' for help)> Segmentation fault

Thanks a lot!
Drew Harris
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ecasound-list mailing list
Ecasound-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Sun Jun 16 21:14:35 2019

This archive was generated by hypermail 2.1.8 : Sun Jun 16 2019 - 21:14:36 EEST