Date: Wed, 02 Sep 2015 19:22:07 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-x11@FreeBSD.org Subject: [Bug 202643] x11/xorg: illegal instruction starting xorg in FreeBSD 10.2 in kvm/qemu virtulization Message-ID: <bug-202643-8047-qRLZApKrP4@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-202643-8047@https.bugs.freebsd.org/bugzilla/> References: <bug-202643-8047@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202643 --- Comment #4 from Dimitry Andric <dim@FreeBSD.org> --- Actually tried it on kvm, where you indeed get this crash. It looks like a bug in xf86SlowBcopy: Program received signal SIGILL, Illegal instruction. [Switching to Thread 803406400 (LWP 100055/Xorg)] 0x00000000004a40d0 in xf86SlowBcopy () (gdb) disassemble Dump of assembler code for function xf86SlowBcopy: [...snip...] 0x00000000004a40d0 <xf86SlowBcopy+128>: movups (%rdi,%rax,1),%xmm0 0x00000000004a40d4 <xf86SlowBcopy+132>: movups 0x10(%rdi,%rax,1),%xmm1 0x00000000004a40d9 <xf86SlowBcopy+137>: movups %xmm0,(%rsi,%rax,1) 0x00000000004a40dd <xf86SlowBcopy+141>: movups %xmm1,0x10(%rsi,%rax,1) 0x00000000004a40e2 <xf86SlowBcopy+146>: add $0x20,%rax 0x00000000004a40e6 <xf86SlowBcopy+150>: cmp %rax,%rdx 0x00000000004a40e9 <xf86SlowBcopy+153>: jne 0x4a40d0 <xf86SlowBcopy+128> E.g. it crashes on that movups. No idea why it thinks that is an illegal instruction, though. It certainly isn't, on amd64. The registers are: (gdb) info registers rax 0x0 0 rbx 0x803452280 34414600832 rcx 0x0 0 rdx 0x2000 8192 rsi 0x803502000 34415321088 rdi 0x800899000 34368753664 rbp 0x7fffffffe8d0 0x7fffffffe8d0 rsp 0x7fffffffe8d0 0x7fffffffe8d0 r8 0x2000 8192 r9 0x80089b000 34368761856 r10 0x803504000 34415329280 r11 0x803401830 34414270512 r12 0x803452280 34414600832 r13 0x3c4 964 r14 0x3c5 965 r15 0x1 1 rip 0x4a40d0 0x4a40d0 <xf86SlowBcopy+128> eflags 0x13246 78406 cs 0x43 67 ss 0x3b 59 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 I restarted it a bunch of times, and it crashes with SIGILL about half of the time. The other times it starts OK, and seems to work... -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202643-8047-qRLZApKrP4>