Bug 1301406

Summary: opengl programs crash with an illegal instruction(ie glxgears)
Product: [Fedora] Fedora Reporter: Steve Singer <steve>
Component: mesaAssignee: Adam Jackson <ajax>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: ajax, fschwarz, ignatenko
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-07 09:57:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Steve Singer 2016-01-24 21:35:15 UTC
Description of problem:


Programs that use opengl such as glxgears or other mesa-demos crash with an illegal instruction. 

This is with software rendering on Xvnc (The machine has no video card) 

This is a IBM p520 (ppc64)



Version-Release number of selected component (if applicable):


How reproducible:

Everytime


Steps to Reproduce:
1. run glxgears

Actual results:
Program received signal SIGILL, Illegal instruction.
0x00003fffb6c6987c in 000001cf.plt_call.LLVMBuildFSub ()
   from /usr/lib64/dri/swrast_dri.so
(gdb) where
#0  0x00003fffb6c6987c in 000001cf.plt_call.LLVMBuildFSub ()
   from /usr/lib64/dri/swrast_dri.so
#1  0x00003fffb6c699bc in 000001cf.plt_call.LLVMBuildFSub ()
   from /usr/lib64/dri/swrast_dri.so
#2  0x00003fffb6f7a374 in 000001cf.plt_call.LLVMBuildFSub ()
   from /usr/lib64/dri/swrast_dri.so
#3  0x00003fffb6907828 in 000001cf.plt_call.LLVMBuildFSub ()
   from /usr/lib64/dri/swrast_dri.so
#4  0x00003fffb6bfbb88 in 000001cf.plt_call.LLVMBuildFSub ()
#5  0x00003fffb6bf87e4 in 000001cf.plt_call.LLVMBuildFSub ()
   from /usr/lib64/dri/swrast_dri.so
#6  0x00003fffb7ebd004 in 0000002e.plt_call.xcb_dri2_get_msc_reply ()
   from /lib64/libGL.so.1
#7  0x00003fffb7e8ba30 in 0000002e.plt_call.xcb_dri2_get_msc_reply ()
   from /lib64/libGL.so.1
#8  0x00003fffb7e86340 in 0000002e.plt_call.xcb_dri2_get_msc_reply ()
   from /lib64/libGL.so.1
#9  0x00003fffb7e865a0 in .glXChooseVisual () from /lib64/libGL.so.1
#10 0x00000000100039b4 in 0000003e.plt_call.__printf_chk@@GLIBC_2.4 ()
#11 0x0000000010001bb4 in 0000003e.plt_call.__printf_chk@@GLIBC_2.4 ()
#12 0x00003fffb79d4e08 in .generic_start_main.isra () from /lib64/libc.so.6
#13 0x00003fffb79d5038 in .__libc_start_main () from /lib64/libc.so.6
---Type <return> to continue, or q <return> to quit---
#14 0x0000000000000000 in ?? ()




Expected results:

glxgears runs

Additional info:

OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits)

Comment 1 Igor Gnatenko 2016-07-07 09:57:13 UTC
LLVM 3.5 is outdated, try on F24 please.