Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830170 - app-emulation/qemu-6.2.0: ERROR:../hw/acpi/aml-build.c:61:build_append_padded_str: assertion failed: (len <= maxlen)
Summary: app-emulation/qemu-6.2.0: ERROR:../hw/acpi/aml-build.c:61:build_append_padded...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL: https://gitlab.com/qemu-project/qemu/...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-12-28 14:44 UTC by Alexander Tsoy
Modified: 2022-04-21 01:21 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Tsoy 2021-12-28 14:44:10 UTC
app-emulation/qemu-6.2.0 fails to start with user-provided SLIC table (-acpitable sig=SLIC,file=...):

ERROR:../hw/acpi/aml-build.c:61:build_append_padded_str: assertion failed: (len <= maxlen)

The patch fixing this issue is already available but not accepted yet.
Comment 1 Larry the Git Cow gentoo-dev 2022-01-01 01:22:34 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da484b352e21676d7e0b13c5aa54db2a69c8271

commit 4da484b352e21676d7e0b13c5aa54db2a69c8271
Author:     John Helmert III <ajak@gentoo.org>
AuthorDate: 2022-01-01 01:10:55 +0000
Commit:     John Helmert III <ajak@gentoo.org>
CommitDate: 2022-01-01 01:22:09 +0000

    app-emulation/qemu: fix some automagic and patch runtime crash
    
    Fix automagic audio backend use/linking (alsa, jack, oss, pulseaudio)
    and pam, add upstream patches to fix crash when with user-provided
    SLIC table, and fix calculating the --audio-drv-list argument.
    
    Bug: https://bugs.gentoo.org/830170
    Thanks-To: Ionen Wolkens <ionen@gentoo.org>
    Signed-off-by: John Helmert III <ajak@gentoo.org>

 .../qemu/files/qemu-6.2.0-user-SLIC-crash.patch    | 168 ++++
 app-emulation/qemu/qemu-6.2.0-r1.ebuild            | 922 +++++++++++++++++++++
 2 files changed, 1090 insertions(+)