espeak fails after gstreamer update to gstreamer1.0-alsa:armhf

Open
#3,077 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
10/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
linux

Research direction

No source file, test, or kernel entry point is identified. Start by reproducing espeak -s 65 "This is a test line." and checking whether the GStreamer/ALSA package changes relate to the Raspberry Pi kernel. Done would require a confirmed kernel-specific regression and a maintainer-defined scope; the report may need redirection because it concerns userspace audio packages.

Written by the indexing model from the issue text.

Description

pi@raspberrypi:~ $ espeak --version
eSpeak text-to-speech: 1.48.03  04.Mar.14  Data at: /usr/lib/arm-linux-gnueabihf/espeak-data

Espeak has not been updated since it was installed 12/21/18 from the raspian repos. But Gstreamer has and said update was applied 5/27/19. At that time espeak stoped working.

pi@raspberrypi:~ $ espeak -s 65 "This is a test line."
Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 924
Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 924
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 924
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Expression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2048
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->playback, outParams, self->primeBuffers, hwParamsPlayback, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2722
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2843
wave_open_sound > Pa_OpenStream : err=-9997 (Invalid sample rate)
Expression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2048
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->playback, outParams, self->primeBuffers, hwParamsPlayback, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2722
.
.
.
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2843

pi@raspberrypi:/var/log/apt $ zgrep 'alsa' *
history.log.2.gz:Upgrade: gstreamer1.0-alsa:armhf (1.10.4-1, 1.10.4-1+deb9u1), ruby2.3:armhf (2.3.3-1+deb9u3+rpi1, 2.3.3-1+deb9u6+rpi1), lxplug-ptbatt:armhf (0.4, 0.5), raspi-config:armhf (20190219, 20190423), libgs9:armhf (9.26a~dfsg-0+deb9u1, 9.26a~dfsg-0+deb9u2), libpng-dev:armhf (1.6.28-1, 1.6.28-1+deb9u1), libjs-jquery:armhf (3.1.1-2, 3.1.1-2+deb9u1), gstreamer1.0-plugins-base:armhf (1.10.4-1, 1.10.4-1+deb9u1), lxplug-ejecter:armhf (0.3, 0.4), python-cryptography:armhf (1.7.1-3+b2, 1.7.1-3+deb9u1), python3-cryptography:armhf (1.7.1-3+b2, 1.7.1-3+deb9u1), libruby2.3:armhf (2.3.3-1+deb9u3+rpi1, 2.3.3-1+deb9u6+rpi1), libgstreamer-plugins-base1.0-0:armhf (1.10.4-1, 1.10.4-1+deb9u1), gstreamer1.0-x:armhf (1.10.4-1, 1.10.4-1+deb9u1), ghostscript:armhf (9.26a~dfsg-0+deb9u1, 9.26a~dfsg-0+deb9u2), lxplug-network:armhf (0.14, 0.15), unzip:armhf (6.0-21, 6.0-21+deb9u1), libgs9-common:armhf (9.26a~dfsg-0+deb9u1, 9.26a~dfsg-0+deb9u2), libaudiofile1:armhf (0.3.6-4, 0.3.6-4+deb9u1), libmariadbclient18:armhf (10.1.37-0+deb9u1, 10.1.38-0+deb9u1), rsync:armhf (3.1.2-1+deb9u1, 3.1.2-1+deb9u2), dns-root-data:armhf (2017072601~deb9u1, 2019031302~deb9u1), libpng-tools:armhf (1.6.28-1, 1.6.28-1+deb9u1), java-common:armhf (0.58, 0.58+deb9u1), base-files:armhf (9.9+rpi1+deb9u8, 9.9+rpi1+deb9u9), libpng16-16:armhf (1.6.28-1, 1.6.28-1+deb9u1)
term.log.2.gz:Preparing to unpack .../08-gstreamer1.0-alsa_1.10.4-1+deb9u1_armhf.deb ...
term.log.2.gz:Unpacking gstreamer1.0-alsa:armhf (1.10.4-1+deb9u1) over (1.10.4-1) ...
term.log.2.gz:Setting up gstreamer1.0-alsa:armhf (1.10.4-1+deb9u1) ...
Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.