All of lore.kernel.org
 help / color / mirror / Atom feed
* A few Machines crash when "no default audio driver available"
@ 2026-07-09 11:44 Markus Armbruster
  2026-07-09 13:01 ` Peter Maydell
  0 siblings, 1 reply; 11+ messages in thread
From: Markus Armbruster @ 2026-07-09 11:44 UTC (permalink / raw)
  To: qemu-devel
  Cc: Jan Kiszka, Peter Maydell, qemu-arm, BALATON Zoltan, qemu-ppc,
	Huacai Chen, Philippe Mathieu-Daudé, Jiaxun Yang

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-07-09 15:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-09 11:44 A few Machines crash when "no default audio driver available" Markus Armbruster
2026-07-09 13:01 ` 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

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.