lxc-start crashed with SIGSEGV in cgfsng_payload_create()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Confirmed
|
Undecided
|
Unassigned | ||
Eoan |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Unassigned |
Bug Description
https:/
Steps to reproduce:
1) Prepare creating unprivileged containers as described here: https:/
2) Create a new container (e.g. "lxc-create -n container -t download" and then "debian", "stretch" and "amd64").
3) Start the created container in foreground using "lxc-start -n container -F"
ProblemType: Crash
DistroRelease: Ubuntu 18.10
Package: lxc-utils 3.0.3-0ubuntu1~
ProcVersionSign
Uname: Linux 4.18.0-17-generic x86_64
ApportVersion: 2.20.10-0ubuntu13.2
Architecture: amd64
CrashCounter: 1
CurrentDesktop: KDE
Date: Wed Apr 17 12:03:37 2019
ExecutablePath: /usr/bin/lxc-start
InstallationDate: Installed on 2019-04-15 (1 days ago)
InstallationMedia: Kubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.2)
ProcCmdline: BOOT_IMAGE=
SegvAnalysis:
Segfault happened at: 0x7f6292c5dbbd: mov (%rax),%r15
PC (0x7f6292c5dbbd) ok
source "(%rax)" (0x00000000) not located in a known VMA region (needed readable region)!
destination "%r15" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: lxc
StacktraceTop:
?? () from /usr/lib/
__lxc_start () from /usr/lib/
lxc_start () from /usr/lib/
?? () from /usr/lib/
?? () from /usr/lib/
Title: lxc-start crashed with SIGSEGV in __lxc_start()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
defaults.conf:
lxc.net.0.type = veth
lxc.net.0.link = lxcbr0
lxc.net.0.flags = up
lxc.net.0.hwaddr = 00:16:3e:xx:xx:xx
mtime.conffile.
Changed in lxc (Ubuntu): | |
status: | Confirmed → Fix Committed |
StacktraceTop: payload_ create (ops=0x5605602f 54e0, handler=<optimized out>) at cgroups/ cgfsng. c:1303 0x5605602f4340) at start.c:1633 entry=0x5605602 dab60 "perccli1", handler= handler@ entry=0x5605602 f4340, ops=ops@ entry=0x7f6292c f8340 <start_ops>, data=data@ entry=0x7ffdb2f 002f8, lxcpath= lxcpath@ entry=0x5605602 f1590 "/home/ luk/.local/ share/lxc" , daemonize= daemonize@ entry=false, error_num= 0x5605602f16e0) at start.c:1937 dab60 "perccli1", argv=argv@ entry=0x7ffdb2f 003b0, handler= handler@ entry=0x5605602 f4340, lxcpath= 0x5605602f1590 "/home/ luk/.local/ share/lxc" , daemonize= <optimized out>, error_num= error_num@ entry=0x5605602 f16e0) at start.c:2053 0x5605602f16a0, useinit= useinit@ entry=0, argv=0x7ffdb2f0 03b0, argv@entry=0x0) at lxccontainer.c:1096
cgfsng_
lxc_spawn (handler=
__lxc_start (name=name@
lxc_start (name=0x5605602
do_lxcapi_start (c=c@entry=