Bug 32541

Summary: Segmentation Fault while running an HDR (high dynamic range) rendering demo
Product: Mesa Reporter: Jaime Rave <jaimerave>
Component: Drivers/DRI/i965Assignee: Eric Anholt <eric>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
URL: http://www.humus.name/index.php?page=3D&ID=62
Whiteboard:
i915 platform: i915 features:
Attachments: Crash on Native Linux program
Crash on wine
GLXInfo

Description Jaime Rave 2010-12-20 21:06:21 UTC
Created attachment 41329 [details]
Crash on Native Linux program

I've been trying to run a HDR demo that I have downloaded from:

http://www.humus.name/index.php?page=3D&ID=62

There's a Windows and Linux version of the demo and both (the one for Windows running under Wine) are crashing when I try to run them.

This is on Ubuntu 10.10 + Drivers and Kernel from Xorg-edgers, GM45 video card:
Linux rave-dell 2.6.37-9-generic-pae #22-Ubuntu SMP Fri Dec 10 16:46:16 UTC 2010 i686 GNU/Linux

00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)

I'm attaching both backtraces. The source code of the demo is available in the link I gave you before.
Comment 1 Jaime Rave 2010-12-20 21:07:23 UTC
Created attachment 41330 [details]
Crash on wine

This is Wine 1.3.9
Comment 2 Jaime Rave 2010-12-20 21:08:35 UTC
Created attachment 41331 [details]
GLXInfo
Comment 3 Chris Wilson 2010-12-21 03:59:30 UTC
ommit 8b9570e685f010745e2dfb1bff00d555e2e5f6ba
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Dec 21 11:55:11 2010 +0000

    intel: Check for unsupported texture when finishing using as a render target
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32541
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 4 Shuang He 2010-12-21 07:34:57 UTC
(In reply to comment #3)
> ommit 8b9570e685f010745e2dfb1bff00d555e2e5f6ba
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Tue Dec 21 11:55:11 2010 +0000
>     intel: Check for unsupported texture when finishing using as a render
> target
>     Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32541
>     Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

For your information, this fix will also fix one segmentation fault with OpenGL ES 2.0 conformance test suite

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.