2020-08-25 07:14:30.657+0000: 264543: debug :
virFileFindResourceFull:1768 : Resolved 'libvirt_lxc' to
'/usr/lib/libvirt/libvirt_lxc'
>From package:
libvirt-daemon: /usr/lib/libvirt/libvirt_lxc
The following should be enough for debug:
$ sudo apt install libvirt-daemon-system-dbgsym libvirt-daemon-dbgsym
libvirt-daemon-driver-lxc-dbgsym
debug : virCommandRunAsync:2618 : About to run
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
LIBVIRT_DEBUG=1 LIBVIRT_LOG_OUTPUTS=1:stderr /usr/lib/libvirt/libvirt_lxc
--name sl --console 24 --security=apparmor --handshake 30
...
To have the correct env set up we need to stop libvirt (via gdb) just
when it would start the lxc helper.
break on
virCommandRunAsync
and then on
virLXCProcessConnectMonitor
At this point we have the helper running
265197 /usr/lib/libvirt/libvirt_lxc --name sl --console 25 --security=apparmor
--handshake 30
The backtrace on the crash is this:
#0 0x0000000000000000 in ?? ()
#1 0x00007fd6da74ef83 in __GI_xdr_uint64_t (xdrs=0x7ffd4a0179e0,
uip=0x7ffd4a017a90) at xdr_intXX_t.c:72
#2 0x00005579bfc2f60d in xdr_virLXCMonitorInitEventMsg (xdrs=<optimized out>,
objp=<optimized out>) at lxc/lxc_monitor_protocol.c:32
#3 0x00007fd6dac02823 in virNetMessageEncodePayload () from
target:/lib/x86_64-linux-gnu/libvirt.so.0
#4 0x00005579bfc2acbd in virLXCControllerEventSend (ctrl=0x5579c0acec20,
procnr=2, proc=0x5579bfc2f600 <xdr_virLXCMonitorInitEventMsg>,
data=0x7ffd4a017a90)
at ../../../src/lxc/lxc_controller.c:2246
#5 0x00005579bfc2ca8b in virLXCControllerEventSendInit (initpid=265199,
ctrl=0x5579c0acec20) at ../../../src/lxc/lxc_controller.c:2308
#6 virLXCControllerClientPrivateNew (client=<optimized out>,
opaque=0x5579c0acec20) at ../../../src/lxc/lxc_controller.c:935
#7 0x00007fd6dac0f458 in virNetServerClientNew () from
target:/lib/x86_64-linux-gnu/libvirt.so.0
#8 0x00007fd6dac12906 in ?? () from target:/lib/x86_64-linux-gnu/libvirt.so.0
#9 0x00007fd6dac0d9ae in ?? () from target:/lib/x86_64-linux-gnu/libvirt.so.0
#10 0x00007fd6daac217a in ?? () from target:/lib/x86_64-linux-gnu/libvirt.so.0
#11 0x00007fd6da8cd2df in g_main_context_dispatch () from
target:/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fd6da8cd688 in ?? () from
target:/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fd6da8cd753 in g_main_context_iteration () from
target:/lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007fd6daac2e34 in virEventGLibRunOnce () from
target:/lib/x86_64-linux-gnu/libvirt.so.0
#15 0x00007fd6dac11f25 in virNetDaemonRun () from
target:/lib/x86_64-linux-gnu/libvirt.so.0
#16 0x00005579bfc21932 in virLXCControllerMain (ctrl=0x5579c0acec20) at
../../../src/lxc/lxc_controller.c:1349
#17 virLXCControllerRun (ctrl=0x5579c0acec20) at
../../../src/lxc/lxc_controller.c:2433
#18 main (argc=<optimized out>, argv=<optimized out>) at
../../../src/lxc/lxc_controller.c:2702
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892826
Title:
autopkgtest breaks in groovy at 6.6.0-1ubuntu1 for smoke-lxc
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1892826/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs