From: "Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>
To: xen-devel <xen-devel@lists.xenproject.org>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
George Dunlap <george.dunlap@citrix.com>,
Jan Beulich <jbeulich@suse.com>, Julien Grall <julien@xen.org>,
Stefano Stabellini <sstabellini@kernel.org>, Wei Liu <wl@xen.org>
Subject: xl devd crashes in domU - Xen 4.20
Date: Sun, 27 Jul 2025 02:56:09 +0200 [thread overview]
Message-ID: <aIV5KRlKN2BZyObB@mail-itl> (raw)
[-- Attachment #1: Type: text/plain, Size: 3019 bytes --]
Hi,
Driver domains do not work in Xen 4.20, due to `xl devd` crashing. I've
got a report about it in Debian 13, but I can reproduce the issue
outside of Debian too.
I can reproduce the issue on master too.
The original report: https://github.com/QubesOS/qubes-issues/issues/10050#issuecomment-3092559292
And analysis done there:
user@sys-whonix-firewall:~/xen-4.20.0+68-g35cb38b222$ gdb --args /usr/lib/xen-4.20/bin/xl devd
GNU gdb (Debian 16.3-1) 16.3
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/xen-4.20/bin/xl...
Reading symbols from /usr/lib/debug/.build-id/e0/c4fd106db94ad95b556765d61df2ec13fe674e.debug...
(gdb) r
Starting program: /usr/lib/xen-4.20/bin/xl devd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
__strlen_evex () at ../sysdeps/x86_64/multiarch/strlen-evex-base.S:81
warning: 81 ../sysdeps/x86_64/multiarch/strlen-evex-base.S: No such file or directory
(gdb) bt
#0 __strlen_evex () at ../sysdeps/x86_64/multiarch/strlen-evex-base.S:81
#1 0x00007ffff7d95d7b in __GI___regexec (preg=preg@entry=0x7fffffffdc50, string=0x0, nmatch=nmatch@entry=0, pmatch=pmatch@entry=0x0,
eflags=eflags@entry=0)
at ./posix/regexec.c:211
#2 0x00007ffff7e013e9 in __compat_regexec (preg=preg@entry=0x7fffffffdc50, string=<optimized out>, nmatch=nmatch@entry=0, pmatch=pmatch@entry=0x0,
eflags=eflags@entry=0) at ./posix/regexec.c:240
#3 0x00005555555610c1 in auto_autoballoon () at ./tools/xl/xl.c:96
#4 parse_global_config (configfile=0x55555557f0c3 "/etc/xen/xl.conf", configfile_data=<optimized out>, configfile_len=<optimized out>) at
./tools/xl/xl.c:134
#5 main (argc=2, argv=0x7fffffffdde8) at ./tools/xl/xl.c:436
(gdb) frame 3
#3 0x00005555555610c1 in auto_autoballoon () at ./tools/xl/xl.c:96
96 ret = regexec(®ex, info->commandline, 0, NULL, 0);
(gdb) list
91 #undef SIZE_PATTERN
92
93 if (ret)
94 return 1;
95
96 ret = regexec(®ex, info->commandline, 0, NULL, 0);
97 regfree(®ex);
98
99 return ret == REG_NOMATCH;
100 }
(gdb) print info->commandline
$1 = 0x0
(gdb)
--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
reply other threads:[~2025-07-27 0:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=aIV5KRlKN2BZyObB@mail-itl \
--to=marmarek@invisiblethingslab.com \
--cc=andrew.cooper3@citrix.com \
--cc=george.dunlap@citrix.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=sstabellini@kernel.org \
--cc=wl@xen.org \
--cc=xen-devel@lists.xenproject.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.