All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Zhang Chen <zhangckid@gmail.com>
Cc: qemu-devel <qemu-devel@nongnu.org>,
	"Dr . David Alan Gilbert" <dave@treblig.org>,
	"Eric Blake" <eblake@redhat.com>,
	"Michael S . Tsirkin" <mst@redhat.com>,
	"Stefan Hajnoczi" <stefanha@redhat.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Kevin Wolf" <kwolf@redhat.com>,
	"Jason Wang" <jasowang@redhat.com>, "Fam Zheng" <fam@euphon.net>,
	"Daniel P . Berrangé" <berrange@redhat.com>
Subject: Re: [RESEND PATCH V10 00/15] iothread: Support tracking and querying IOThread holders
Date: Tue, 21 Jul 2026 14:47:38 +0200	[thread overview]
Message-ID: <87v7a8o6fp.fsf@pond.sub.org> (raw)
In-Reply-To: <20260716172108.87700-1-zhangckid@gmail.com> (Zhang Chen's message of "Fri, 17 Jul 2026 01:20:41 +0800")

With this series applied:

    $ qemu-system-x86_64 -S -display none -chardev id=chr-mon0,backend=stdio -object monitor-hmp,id=mon0,chardev=chr-mon0 -chardev id=chr-mon1,backend=socket,path=test-hmp,server=on,wait=off -object monitor-qmp,id=mon1,chardev=chr-mon1
    QEMU 11.0.90 monitor - type 'help' for more information
    (qemu) q
    **
    ERROR:../iothread.c:99:iothread_unref: code should not be reached
    Bail out! ERROR:../iothread.c:99:iothread_unref: code should not be reached
    Aborted                    (core dumped) qemu-system-x86_64 -S -display none -chardev id=chr-mon0,backend=stdio -object monitor-hmp,id=mon0,chardev=chr-mon0 -chardev id=chr-mon1,backend=socket,path=test-hmp,server=on,wait=off -object monitor-qmp,id=mon1,chardev=chr-mon1

Stack backtrace:

    #0  0x00007f182873832c in __pthread_kill_implementation () at /lib64/libc.so.6
    #1  0x00007f18286de15e in raise () at /lib64/libc.so.6
    #2  0x00007f18286c56d0 in abort () at /lib64/libc.so.6
    #3  0x00007f182ac53482 in g_assertion_message[cold] ()
        at /lib64/libglib-2.0.so.0
    #4  0x00007f182acc1447 in g_assertion_message_expr ()
        at /lib64/libglib-2.0.so.0
    #5  0x000055ffa06cb50e in iothread_unref
        (iothread=0x55ffdb3bd740, holder=0x7ffc6152d8c0) at ../iothread.c:99
    #6  0x000055ffa06cc13a in iothread_put_aio_context
        (iothread=0x55ffdb3bd740, holder=0x7ffc6152d8c0) at ../iothread.c:444
    #7  0x000055ffa07d9af6 in monitor_cleanup () at ../monitor/monitor.c:679
    #8  0x000055ffa047ca8c in qemu_cleanup (status=0) at ../system/runstate.c:1046
    #9  0x000055ffa07fccb7 in qemu_default_main (opaque=0x0) at ../system/main.c:51
    #10 0x000055ffa07fcd64 in main (argc=12, argv=0x7ffc6152da98)
        at ../system/main.c:93



      parent reply	other threads:[~2026-07-21 12:48 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-16 17:20 [RESEND PATCH V10 00/15] iothread: Support tracking and querying IOThread holders Zhang Chen
2026-07-16 17:20 ` [RESEND PATCH V10 01/15] qapi/misc: Fix missed query-iothreads items Zhang Chen
2026-07-16 17:20 ` [RESEND PATCH V10 02/15] iothread: introduce iothread_ref/unref to track attached devices Zhang Chen
2026-07-21 12:20   ` Markus Armbruster
2026-07-16 17:20 ` [RESEND PATCH V10 03/15] iothread: tracking iothread users with holder name Zhang Chen
2026-07-16 17:20 ` [RESEND PATCH V10 04/15] iothread: introduce iothread_unsafe_get_aio_context() Zhang Chen
2026-07-16 17:20 ` [RESEND PATCH V10 05/15] block/export: track IOThread reference in BlockExport Zhang Chen
2026-07-16 17:20 ` [RESEND PATCH V10 06/15] monitor: Update tracking iothread users with holder Zhang Chen
2026-07-21 12:33   ` Markus Armbruster
2026-07-16 17:20 ` [RESEND PATCH V10 07/15] virtio-vq-mapping: track iothread-vq-mapping references using device path Zhang Chen
2026-07-16 17:20 ` [RESEND PATCH V10 08/15] virtio: use iothread_get/put_aio_context for thread pinning Zhang Chen
2026-07-16 17:20 ` [RESEND PATCH V10 09/15] net/colo: track IOThread references using path-based holder Zhang Chen
2026-07-16 17:20 ` [RESEND PATCH V10 10/15] virtio-balloon: Update tracking iothread users with holder Zhang Chen
2026-07-16 17:20 ` [RESEND PATCH V10 11/15] vfio-user/proxy: Update tracking iothread users with holder name Zhang Chen
2026-07-16 17:20 ` [RESEND PATCH V10 12/15] xen-block: " Zhang Chen
2026-07-16 17:20 ` [RESEND PATCH V10 13/15] monitor/hmp: Add holders support for hmp_info_iothreads Zhang Chen
2026-07-21 12:51   ` Markus Armbruster
2026-07-16 17:20 ` [RESEND PATCH V10 14/15] iothread: simplify API by merging iothread_get_aio_context variants Zhang Chen
2026-07-16 17:20 ` [RESEND PATCH V10 15/15] tests/unit/iothread: Update the iothread_get_aio_context Zhang Chen
2026-07-21 12:47 ` Markus Armbruster [this message]

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=87v7a8o6fp.fsf@pond.sub.org \
    --to=armbru@redhat.com \
    --cc=berrange@redhat.com \
    --cc=dave@treblig.org \
    --cc=eblake@redhat.com \
    --cc=fam@euphon.net \
    --cc=jasowang@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    --cc=zhangckid@gmail.com \
    /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.