All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Jan Kiszka" <jan.kiszka@siemens.com>,
	"Peter Maydell" <peter.maydell@linaro.org>,
	qemu-arm@nongnu.org, "BALATON Zoltan" <balaton@eik.bme.hu>,
	qemu-ppc@nongnu.org, "Huacai Chen" <chenhuacai@kernel.org>,
	"Philippe Mathieu-Daudé" <philmd@mailo.com>,
	"Jiaxun Yang" <jiaxun.yang@flygoat.com>
Subject: A few Machines crash when "no default audio driver available"
Date: Thu, 09 Jul 2026 13:44:19 +0200	[thread overview]
Message-ID: <87o6gge6b0.fsf@pond.sub.org> (raw)

I stumbled over ARM machine musicpal, PPC machines pegasos1, pegasos2,
and MIPS machine fuloong2e crashes.

I run them like this:

$ qemu-system-aarch64 -M musicpal -nodefaults -S -display none -monitor stdio

Backtrace:

    #0  0x00007ffff4a5432c in __pthread_kill_implementation () at /lib64/libc.so.6
    #1  0x00007ffff49fa15e in raise () at /lib64/libc.so.6
    #2  0x00007ffff49e16d0 in abort () at /lib64/libc.so.6
    #3  0x0000555555584ae9 in error_handle
        (err=0x55555836e8a0, errp=0x5555579c55c8 <error_abort>)
        at ../util/error.c:37
    #4  0x0000555556055670 in error_handle
        (errp=<optimized out>, err=<optimized out>) at ../util/error.c:301
    #5  error_propagate (dst_errp=<optimized out>, local_err=<optimized out>)
        at ../util/error.c:300
    #6  0x0000555555dbc754 in device_set_realized
        (obj=<optimized out>, value=<optimized out>, errp=0x5555579c55c8 <error_abort>) at ../hw/core/qdev.c:629
    #7  0x0000555555dbf9e9 in property_set_bool
        (obj=0x55555836eb50, v=<optimized out>, name=<optimized out>, opaque=0x555557b90f20, errp=0x5555579c55c8 <error_abort>) at ../qom/object.c:2484
    #8  0x0000555555dc2ec9 in object_property_set
        (obj=obj@entry=0x55555836eb50, name=name@entry=0x5555565a98c8 "realized", v=v@entry=0x555557b8faa0, errp=errp@entry=0x5555579c55c8 <error_abort>)
        at ../qom/object.c:1548
    #9  0x0000555555dc6ca1 in object_property_set_qobject
        (obj=obj@entry=0x55555836eb50, name=name@entry=0x5555565a98c8 "realized", value=value@entry=0x55555836e9a0, errp=errp@entry=0x5555579c55c8 <error_abort>)
        at ../qom/qom-qobject.c:28
    #10 0x0000555555dc3666 in object_property_set_bool
        (obj=0x55555836eb50, name=0x5555565a98c8 "realized", value=<optimized out>, errp=0x5555579c55c8 <error_abort>) at ../qom/object.c:1618
    #11 0x0000555555dbbfde in qdev_realize_and_unref
        (dev=dev@entry=0x55555836eb50, bus=bus@entry=0x55555834e0c0, errp=<optimized out>) at ../hw/core/qdev.c:284
    #12 0x00005555557988d5 in i2c_slave_realize_and_unref
        (dev=dev@entry=0x55555836eb50, bus=bus@entry=0x55555834e0c0, errp=<optimized out>) at ../hw/i2c/core.c:378
    #13 0x0000555555b6fe1d in musicpal_init (machine=0x555557f21520)
        at ../hw/arm/musicpal.c:1334
    #14 0x000055555572d1d2 in machine_run_board_init
        (machine=0x555557f21520, mem_path=<optimized out>, errp=<optimized out>)
        at ../hw/core/machine.c:1696
    #15 0x00005555559f9699 in qemu_init_board () at ../system/vl.c:2727
    #16 qmp_x_exit_preconfig (errp=errp@entry=0x5555579c55c0 <error_fatal>)
        at ../system/vl.c:2821
    #17 0x00005555559fd3fc in qmp_x_exit_preconfig (errp=<optimized out>)
        at ../system/vl.c:2816
    #18 qemu_init (argc=<optimized out>, argv=<optimized out>)
        at ../system/vl.c:3862
    #19 0x000055555558d899 in main (argc=<optimized out>, argv=<optimized out>)
        at ../system/main.c:71

Died when device_set_realized() tried to propagate a "no default audio
driver available" error to &error_abort.

The error comes from audio_init().  Backtrace:

    #0  error_setg_internal
        (errp=errp@entry=0x7fffffffd730, src=src@entry=0x5555565cfd35 "../audio/audio.c", line=line@entry=106, func=func@entry=0x55555670a468 <__func__.3> "audio_init", fmt=fmt@entry=0x55555655ef38 "no default audio driver available")
        at ../util/error.c:96
    #1  0x0000555555ec18fc in audio_init
        (dev=dev@entry=0x0, errp=errp@entry=0x7fffffffd730) at ../audio/audio.c:106
    #2  0x0000555555ec1d36 in audio_get_default_audio_be
        (errp=errp@entry=0x7fffffffd730) at ../audio/audio.c:130
    #3  0x0000555555ec21c5 in audio_be_check
        (be=be@entry=0x55555836ebf8, errp=errp@entry=0x7fffffffd730)
        at ../audio/audio-be.c:15
    #4  0x00005555556fc57a in wm8750_realize
        (dev=<optimized out>, errp=0x7fffffffd730) at ../hw/audio/wm8750.c:628
    #5  0x0000555555dbc7c7 in device_set_realized
        (obj=<optimized out>, value=<optimized out>, errp=0x5555579c55c8 <error_abort>) at ../hw/core/qdev.c:514
    #6  0x0000555555dbf9e9 in property_set_bool
        (obj=0x55555836eb50, v=<optimized out>, name=<optimized out>, opaque=0x555557b90f20, errp=0x5555579c55c8 <error_abort>) at ../qom/object.c:2484
    #7  0x0000555555dc2ec9 in object_property_set
        (obj=obj@entry=0x55555836eb50, name=name@entry=0x5555565a98c8 "realized", v=v@entry=0x555557b8faa0, errp=errp@entry=0x5555579c55c8 <error_abort>)
        at ../qom/object.c:1548
    #8  0x0000555555dc6ca1 in object_property_set_qobject
        (obj=obj@entry=0x55555836eb50, name=name@entry=0x5555565a98c8 "realized", value=value@entry=0x55555836e9a0, errp=errp@entry=0x5555579c55c8 <error_abort>)
        at ../qom/qom-qobject.c:28
    #9  0x0000555555dc3666 in object_property_set_bool
        (obj=0x55555836eb50, name=0x5555565a98c8 "realized", value=<optimized out>, errp=0x5555579c55c8 <error_abort>) at ../qom/object.c:1618
    #10 0x0000555555dbbfde in qdev_realize_and_unref
        (dev=dev@entry=0x55555836eb50, bus=bus@entry=0x55555834e0c0, errp=<optimized out>) at ../hw/core/qdev.c:284
    #11 0x00005555557988d5 in i2c_slave_realize_and_unref
        (dev=dev@entry=0x55555836eb50, bus=bus@entry=0x55555834e0c0, errp=<optimized out>) at ../hw/i2c/core.c:378
    #12 0x0000555555b6fe1d in musicpal_init (machine=0x555557f21520)
        at ../hw/arm/musicpal.c:1334
    #13 0x000055555572d1d2 in machine_run_board_init
        (machine=0x555557f21520, mem_path=<optimized out>, errp=<optimized out>)
        at ../hw/core/machine.c:1696
    #14 0x00005555559f9699 in qemu_init_board () at ../system/vl.c:2727
    #15 qmp_x_exit_preconfig (errp=errp@entry=0x5555579c55c0 <error_fatal>)
        at ../system/vl.c:2821
    #16 0x00005555559fd3fc in qmp_x_exit_preconfig (errp=<optimized out>)
        at ../system/vl.c:2816
    #17 qemu_init (argc=<optimized out>, argv=<optimized out>)
        at ../system/vl.c:3862
    #18 0x000055555558d899 in main (argc=<optimized out>, argv=<optimized out>)
        at ../system/main.c:71



             reply	other threads:[~2026-07-09 11:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-09 11:44 Markus Armbruster [this message]
2026-07-09 13:01 ` A few Machines crash when "no default audio driver available" Peter Maydell
2026-07-09 13:22   ` Markus Armbruster
2026-07-09 13:32     ` Daniel P. Berrangé
2026-07-09 13:42       ` Peter Maydell
2026-07-09 13:54         ` Marc-André Lureau
2026-07-09 14:02           ` Daniel P. Berrangé
2026-07-09 15:31             ` Marc-André Lureau
2026-07-09 15:58               ` Daniel P. Berrangé
2026-07-09 15:51       ` BALATON Zoltan
2026-07-09 13:22   ` BALATON Zoltan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o6gge6b0.fsf@pond.sub.org \
    --to=armbru@redhat.com \
    --cc=balaton@eik.bme.hu \
    --cc=chenhuacai@kernel.org \
    --cc=jan.kiszka@siemens.com \
    --cc=jiaxun.yang@flygoat.com \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@mailo.com \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.