Bug 46239

Summary: browser crashes in libGL.so
Product: Mesa Reporter: Ferdinand <ferdinandw+bugs>
Component: Drivers/DRI/i915Assignee: Ian Romanick <idr>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: 7.11   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: backtrace
dmesg
glxinfo
bt full
glxinfo for v8.0.1
bt full for v8.0.1

Description Ferdinand 2012-02-17 09:59:59 UTC
Created attachment 57219 [details]
backtrace

I've been experiencing crashes recently in firefox that are apparently not caused by code in the browser but by the mesa driver. This case happened trying to open www.telfort.nl in firefox-10.0.0.1-1.fc16, mesa version 7.11.2-1.fc16.i686 under an updated fedora 16 install. The crash details in firefox mentioned texture_from_pixmap, but running it in gdb after installing debuginfo shows the following:

Mesa 7.11.2 implementation error: unexpected format in _mesa_choose_tex_format()
Please report at bugs.freedesktop.org
Mesa 7.11.2 implementation error: unexpected MESA_FORMAT for renderbuffer
Please report at bugs.freedesktop.org

Program received signal SIGFPE, Arithmetic exception.
0x02286c04 in intel_region_alloc (screen=0xb59f8a40, tiling=1, cpp=0, 
    width=300, height=150, expect_accelerated_upload=1 '\001')
    at intel_regions.c:190
190	                                        aligned_pitch / cpp, tiling, buffer);

If you need more information, please ask. I'll attach backtrace & dmesg & glxinfo.
Comment 1 Ferdinand 2012-02-17 10:01:02 UTC
Created attachment 57220 [details]
dmesg
Comment 2 Ferdinand 2012-02-17 10:01:29 UTC
Created attachment 57221 [details]
glxinfo
Comment 3 Ian Romanick 2012-02-17 10:24:37 UTC
Two things:

1. Could you attach the output of 'bt full' from GDB?

2. Can you try to reproduce this issue with the 8.0.1 release?
Comment 4 Ferdinand 2012-02-17 13:32:50 UTC
After installing mesa 8.0-1.fc17.i686 (easier for me than 8.0.1) the crash is gone. So that bug's been squashed somewhere in between. I'll attach bt full of 7.11.2 for the sake of completeness.
Comment 5 Ferdinand 2012-02-17 14:15:26 UTC
Created attachment 57233 [details]
bt full
Comment 6 Ferdinand 2012-02-18 10:31:29 UTC
Created attachment 57240 [details]
glxinfo for v8.0.1

Sorry, I spoke too soon. First of all installing the fc17
packages simply broke mesa (symbol lookup error). So I
compiled and installed 8.0.1, no crash. But that was because
firefox had blacklisted the gl driver. A new profile crashes
in 8.0.1 as well.

Mesa 8.0.1 implementation error: unexpected format GL_DEPTH_COMPONENT24 in _mesa_choose_tex_format()
Please report at bugs.freedesktop.org

Program received signal SIGFPE, Arithmetic exception.
0x02280d7f in intel_region_alloc (screen=0xa790d440, tiling=1, cpp=0, 
    width=300, height=150, expect_accelerated_upload=true)
    at intel_regions.c:204
204	                                        aligned_pitch / cpp, tiling, buffer);

Glxinfo added, will add bt full later.
Comment 7 Ferdinand 2012-02-18 10:57:17 UTC
Created attachment 57241 [details]
bt full for v8.0.1
Comment 8 Ian Romanick 2012-02-23 09:08:43 UTC

*** This bug has been marked as a duplicate of bug 42128 ***

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.