[pkg-lxc-devel] Bug#837743: lxc: Segfault (symbol size mismatch) when starting container created with "download" template

Michael Gardner gardnermj at gmail.com
Wed Sep 14 10:32:28 UTC 2016


> On Sep 14, 2016, at 03:22, Evgeni Golov <evgeni at debian.org> wrote:
> 
> control: tag -1 moreinfo
> Hi Michael,
> 
> On Tue, Sep 13, 2016 at 10:29:39PM -0700, Michael Gardner wrote:
>> I created an unpriviliged Ubuntu (xenial, amd64) container using "lxc-create -n foo -t download", and it seemed to complete with no problems. But when I try to start this container using "lxc-start -n foo", I get this error:
>> 
>>> lxc-start: Symbol `ns_info' has different size in shared object, consider re-linking
>>> Segmentation fault
>> 
>> Lxc doesn't provide any more logging information or output, even when I set --logpriority to something high. I also tried creating a Debian (sid, amd64) container using the download template and got the same error.
> 
> Thanks for the report.
> 
> Sadly, I cannot reproduce it here on Sid:
> 
> evgeni at debian:~$ lxc-create -n foo -t download -- -d ubuntu -r xenial -a amd64
> evgeni at debian:~$ lxc-start -n foo
> evgeni at debian:~$ lxc-attach -n foo
> root at foo:/# uname -a
> Linux foo 4.7.0-1-amd64 #1 SMP Debian 4.7.2-1 (2016-08-28) x86_64 x86_64
> x86_64 GNU/Linux
> root at foo:/# exit
> evgeni at debian:~$ lxc-stop -n foo
> evgeni at debian:~$ 
> 
> ns_info is an internal LXC symbol, so I wonder how it fails the size
> check for you. :(
> 
> Greets
> Evgeni

Thanks for looking into this.

How can I debug further? LXC isn't giving me much to go on, so I'm at a loss.


More information about the Pkg-lxc-devel mailing list