Bug 29351 - Segfaults in glCompileShader since 566430 with clang
Summary: Segfaults in glCompileShader since 566430 with clang
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Cedric Vivier
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-01 22:12 UTC by Cedric Vivier
Modified: 2010-08-03 20:16 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Cedric Vivier 2010-08-01 22:12:00 UTC
glCompileShader segfaults and/or fails to compile valid shaders with errors like "gl_Position not written in vertex shader".

Bisected first bad commit is 566430, which seems to be the first part of a two-part commit to fix #29305.
Comment 1 Brian Paul 2010-08-02 07:31:56 UTC
Please try a clean rebuild.
Comment 2 Cedric Vivier 2010-08-02 07:54:26 UTC
(In reply to comment #1)
> Please try a clean rebuild.

I discussed with Vinson who suggested the same, this made me realize that I was building with clang... as I've been experimenting with it for quite some time without problems I forgot Mesa was built with it on my experimental setup.

So the issue is probably triggered by a Clang bug, or perhaps but very unlikely a gcc bug.

Should I close the bug now as Clang is not supposed to be supported (I think?) or keep it open while I've not yet investigated the real underlying issue ?
Comment 3 Vinson Lee 2010-08-02 11:07:56 UTC
Cedric,

I'll reassign this bug to you. If you choose to continue investigating and if it turns out that there's something for Mesa, reassign it back to mesa-dev. Otherwise, feel free to close this issue.
Comment 4 Cedric Vivier 2010-08-03 20:16:56 UTC
Problem is gone with clang-devel (as of rev. 110034).

Closing the bug.


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.