Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920825 - app-emulation/qemu-8.2.0 qemu-system-m68k segfault ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.10-r3/work/alsa-lib-1.2.10/src/pcm/pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave
Summary: app-emulation/qemu-8.2.0 qemu-system-m68k segfault ALSA lib /var/tmp/portage/...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-27 20:47 UTC by immolo
Modified: 2024-03-12 12:14 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
strace output (strace.log,346.49 KB, text/x-log)
2023-12-27 20:47 UTC, immolo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description immolo 2023-12-27 20:47:20 UTC
Created attachment 880757 [details]
strace output

Since updating to qemu-8.2.0 running the command:
qemu-system-m68k -M q800 -serial mon:stdio -m 1000M -drive file=gentoo-17.0.qcow2,format=qcow2 -append "root=/dev/sda1 rw console=ttyS0" -kernel vmlinux

Gives the error:

ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.10-r3/work/alsa-lib-1.2.10/src/pcm/pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave
sdl: SDL_OpenAudioDevice for playback failed
sdl: Reason: ALSA: Couldn't open audio device: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.10-r3/work/alsa-lib-1.2.10/src/pcm/pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave
sdl: SDL_OpenAudioDevice for playback failed
sdl: Reason: ALSA: Couldn't open audio device: No such file or directory
audio: Could not create a backend for voice `asc.out'
Segmentation fault

Downgrading back to 8.1.3 solves the issue or as a workaround setting `-audio none` allows it to work as well.

To reproduce from a clean stage3

1. set system to ~amd64
2. install qemu-8.2.0
3. Use https://wiki.debian.org/M68k/QemuSystemM68k to create a quick m68k vm to hit the error.