[Pkg-libvirt-maintainers] Bug#866949: Bug#866949: gvncviewer segfaults on Unix sockets
Guido Günther
agx at sigxcpu.org
Mon Jul 3 05:59:23 UTC 2017
On Mon, Jul 03, 2017 at 01:23:24AM +0300, Sakari Ailus wrote:
> Package: gvncviewer
> Version: 0.6.0-3
>
> gvncviewer crashes with SIGSEGV when trying to connect to Unix sockets.
> With strace (/home/sailus/kvm/kekkonen is the Unix socket):
>
> ----------8<-----------
> ...
> clock_gettime(CLOCK_MONOTONIC, {tv_sec=23050, tv_nsec=537731854}) = 0
> poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=5, events=POLLIN}], 3, 0) = 0 (Timeout)
> recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
> clock_gettime(CLOCK_MONOTONIC, {tv_sec=23050, tv_nsec=537937678}) = 0
> poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=5, events=POLLIN}], 3, 0) = 0 (Timeout)
> recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
> clock_gettime(CLOCK_MONOTONIC, {tv_sec=23050, tv_nsec=538133305}) = 0
> poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=5, events=POLLIN}], 3, 0) = 0 (Timeout)
> mmap2(NULL, 16777216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf2d00000
> sigprocmask(SIG_BLOCK, NULL, []) = 0
> sigprocmask(SIG_BLOCK, NULL, []) = 0
> sigprocmask(SIG_SETMASK, [], []) = 0
> socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 10
> fcntl64(10, F_GETFL) = 0x2 (flags O_RDWR)
> fcntl64(10, F_SETFL, O_RDWR|O_NONBLOCK) = 0
> clock_gettime(CLOCK_MONOTONIC, {tv_sec=23050, tv_nsec=538741209}) = 0
> connect(10, {sa_family=AF_UNIX, sun_path="/home/sailus/kvm/kekkonen"}, 110) = 0
> --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x8} ---
> +++ killed by SIGSEGV +++
> Segmentation fault
> ----------8<-----------
>
> This started happening on Stretch; on Jessie and before it this worked
> fine.
>
> I'm using i386 architecture version of the gvncviewer.
Can you attach the XML (or the qemu command line) of the dmoain you're
attaching to?
Cheers,
-- Guido
More information about the Pkg-libvirt-maintainers
mailing list