Bug 88887 - Grim Fandango Remastered segfaults within radeon_llvm_compile->...->llvm::BasicBlock::getTerminator
Summary: Grim Fandango Remastered segfaults within radeon_llvm_compile->...->llvm::Bas...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-31 17:51 UTC by Andrian Nord
Modified: 2015-08-02 22:53 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Backtrace for all threads (6.11 KB, text/plain)
2015-01-31 17:51 UTC, Andrian Nord
Details

Description Andrian Nord 2015-01-31 17:51:55 UTC
Created attachment 112998 [details]
Backtrace for all threads

Crash within
#0  0xf62be474 in llvm::BasicBlock::getTerminator() () from /usr/lib32/libLLVM-3.5.so
...
#9  0xf723bdae in radeon_llvm_compile () from /usr/lib32/dri/radeonsi_dri.so
...
#22 0x081b1014 in zg_RenderContext_DrawIndexedPrimitives ()
...


Full backtrace attached.
Crashes just after an intro movie, 100% reproducable.

There is a message in the game's log: "No matching vertex attribute 'vs_TexCoord' in shader 'color_quad' for QuadVertex::TexCoord" just before the movie end.

Mesa version: Mesa 10.5.0 devel (on earlier versions too, tested up to 10.3.7)
LLVM version: 3.5.1
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]
xf86-video-ati: recent git version
Comment 1 smoki 2015-01-31 18:09:58 UTC
 Yes i tried that game few days ago and can reproduce that with llvm 3.5, but it works if mesa use (is compiled against) llvm 3.6 or llvm 3.7svn
Comment 2 Daniel Scharrer 2015-03-01 17:49:42 UTC
No crash here either with Mesa f8f3aa7 and LLVM r230332 (TAHITI, Radeon HD 7950).
Comment 3 smoki 2015-08-02 22:53:27 UTC
 I will close this as i have a game and it was working on day one with llvm 3.6+ and it works now with llvm 3.8.

 Please reopen if this is still an issue for you with llvm 3.6 or later.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.