[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Looking for clues: xen-qemu-system segfaults on shutdown - dates back to at least 2021


  • To: xen-users@xxxxxxxxxxxxxxxxxxxx
  • From: xen-users@xxxxxxxxxxxxxxxxxxx
  • Date: Sat, 14 Nov 2026 09:31:15 +0000
  • Arc-authentication-results: i=1; mail.protonmail.ch
  • Arc-message-signature: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1794648678; c=relaxed/simple; bh=cxpldIHSkkMfQb0D2ejIrveclW+ju6tm8tYMR+njNb8=; h=Date:Subject:From:To; b=zBJIq/sV9cJ1WbAS5dII0OHU98tnHKKVEDSpvbiV2C8MQ0M31GRh0TcdtPBBFGSf/9LbHOkezcoGTm16DRRXNGnG5LaFt+0UPUo1vvVP6ek/Hxa4ONF/ORy4hRSDN/8EcnXhhhXkGvYRnfLUhmVRXDjoQuRtQZ58IeATO9srPfBGXH0RXQ9jWL+5CZ/VUOdEyFkDZwChmlD6KYZhe8AFmkrCZGYzB8ONm12c4WMyuagF/c+d3tRx5NclMOmEEQvohBfn8hWciBKQ3tx3p+Bg7QRWRyofegDyMyFZiaEs3pa13DFQEAZEd5aUlvwe3Hz2pHOHD4YV0/IPfnr9F4mRTg==
  • Arc-seal: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1794648678; cv=none; b=wp2CXLZwNF0zAVc8dnqyLn0OST+4Vwb+E/RFD8JyS2a7UWQSdolaJsbCahzfsOsytJ63Qot727xE1eBFn9lXT/MdvK+ABbiapTmS5BmudZOCCa0TVaG591GX/WIt4+PcLfMeNW7cVxZDCq/9ufkolt5Mq6mdkrpHFOgaQKX8xU+k50LchrtS9gFN2/1YVCWg6+1hRWmkrg6y76XK6KYXnU3Nwb0v6/zUAv7Jrq7LCLPzRB2uWrJAYXt98jkURZlznhQsEbHp1iliLZ0NffPU+t/H9DvZoGsDyBtu4k17G9H6CQvARMaTHQI58Mrat1BzluVQVaj5MUo84SMZigQdmA==
  • Authentication-results: eu.smtp.expurgate.cloud; none
  • Delivery-date: Sat, 14 Nov 2026 09:32:20 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>

In "looking for clues" about this, I found 

https://gitlab.com/qemu-project/qemu/-/work_items/685

QEMU Segmentation fault - Xen / Ubuntu 18.04
Issue created 22 Oct 2021 by Sergey Kovalev

in which I've read:

"I've found one more clue. I believe that the error occur on xl destroy."

and also

"Sorry, looks like there are no Xen experts to help here. Anyway,
 Ubuntu 18.04 is not supported anymore, so I'm closing this ticket
 here now. If the problem still persists, please better ask for
 help at xenproject.org instead."


but anyroad, here in November 2026, I am running Xen 4.20, on a
Devuan 6 (excalibur) OS with a 6.12.117+deb13-amd64 kernel, on 
a AMD Ryzen 5 3400G processor, and I am still seeing the same
segfaults, BUT ONLY EVER as the system shuts down, and I can
do everything I want to with the system.

Relevant Devuan packages:

qemu-system-xen_1%3a10.0.13+ds-0+deb13u1_amd64.deb

xen-hypervisor-4.20-amd64_4.20.4+63-g7abfd2bce2-0+deb13u1_amd64.deb
xen-hypervisor-common_4.20.4+63-g7abfd2bce2-0+deb13u1_amd64.deb
xen-utils-4.20_4.20.4+63-g7abfd2bce2-0+deb13u1_amd64.deb
xen-utils-common_4.20.4+63-g7abfd2bce2-0+deb13u1_amd64.deb
xenstore-utils_4.20.4+63-g7abfd2bce2-0+deb13u1_amd64.deb


My photo of the screen, as the machine shuts down, drops a few chars
at the edge but I have managed to transcribe the following, at the
point the segfault makes the console:

xen-qemu-system[2077]: segfault at 0 ip 0000558981b15b30 sp 00007fff654f3818 
error 6 in xen-qemu-system-1386[5a6b30,55898... t 0)
Code: 87 78 01 00 00 48 85 c0 74 15 48 8b 97 80 01 00 00 48 89 90 80 01 00 00 
48 8b 87 78 01 00 00 48 8b 97 80 01 00 00 6... c0 31 d2 31 ff c3 66 66 2e 0f 1f
Stopping Xen daemons: qemu xenconsoled.
... rest of the shutdown ...

just in case anyone in Xen-land recognises anything!


I'll also post the fact that I have the same "Devuan 6 with Xen 4.20", 
setup, running on a Lenovo ThinkPad X200, and that I see the same 
"xen-qemu-system segfault on shutdown" there too.

It may well be that this is a "QEMU-thing", as opposed to something
screwed within Xen, but I thought I'd ask here, having taken the time
to trawl through the Xen User archives, from Oct 2021 onwards, for a 
few months, and not seen that anyone from the QEMU community ever
bothered to follow up with the Xen folk, in which case, Xen folk
may have remained blissfully unaware of the issue, for all this time?

Whatever: it does feel about time that this issue was finally put to
bed, so,

Here's hoping.





 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.