Package: kvmtool
Version: 0.20161128-1
Severity: normal

Dear Maintainer,

I have near zero knowledge about lkvm, so I don't know if I do sth. wrong,
but this seems to be a bug in lkvm.

with a nonexistant .lkvm directory with linux 4.4.83 (from mainline-ppa),
on stretch amd64:

   # lkvm setup test
   Fatal: Fail to setup /root/.lkvm/test/virt/init

strace shows some weird write() calls:

open("/root/.lkvm/test/virt/pre_init", O_WRONLY|O_CREAT|O_EXCL, 0755) = 3
   write(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\2\0>\0\1\0\0\0\f\1@\0\0\0\0\0"..., 
4294968080) = 114688
   close(3)                                = 0
   open("/root/.lkvm/test/virt/init", O_WRONLY|O_CREAT|O_EXCL, 0755) = 3
   write(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\10\0\0\0\0\0\0"..., 
4294980768) = -1 EFAULT (Bad address)
   write(2, "  Fatal: Fail to setup /root/.lk"..., 50  Fatal: Fail to setup 
/root/.lkvm/test/virt/init) = 50
   exit_group(128)                         = ?
   +++ exited with 128 +++

Note the length arg to both writes - the first is 0x100000310, the second
0x1000034a0, which looks like some 32/64 bit issue (as in, passing an int
for a size_t or so).

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.83-040483-generic (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages kvmtool depends on:
ii  libaio1          0.3.110-3
ii  libc6            2.24-11+deb9u1
ii  libsdl1.2debian  1.2.15+dfsg1-4
ii  libvncserver1    0.9.11+dfsg-1
ii  zlib1g           1:1.2.8.dfsg-5

kvmtool recommends no packages.

kvmtool suggests no packages.

-- no debconf information

Reply via email to