Skip to contentSkip to conversation

Firefox crashing when opening about:support with WebGL2 enabled

Bug 99456 [email protected] 1 participant 9 messages Jan 19, 2017 – Jan 25, 2017

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=99456

Bug ID: 99456
Summary: Firefox crashing when opening about:support with
WebGL2 enabled
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Stack:

- firefox 50.1.0
- linux 4.8.13 and 4.10-RC4
- xorg-server 1.19.1
- mesa 17.0 180653c357
- llvm 5.0 292441

Hardware:
- R9 Fury

Steps to reproduce:
- open firefox
- open about:config
- set webgl.enable-webgl2 key to true
- open about:support
- firefox will crash with the following backtrace

#0  0x00007ffff7bc6ad0 in pthread_mutex_lock () at /usr/lib/libpthread.so.0
#1  0x00007fffc1de0d2c in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007fffc1de13fb in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007fffc1e00e82 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#4  0x00007fffc1f39eff in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#5  0x00007fffc211df49 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#6  0x00007fffc23c61a7 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#7  0x00007fffc23c83eb in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#8  0x00007fffc23d9a30 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#9  0x00007fffc2135634 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so

#10 0x00007fffc21353e7 in () at /usr/lib/xorg/modules/dri/radeonsi_dri.so #11 0x00007ffff7bc4454 in start_thread () at /usr/lib/libpthread.so.0 #12 0x00007ffff6e607df in clone () at /usr/lib/libc.so.6

Thread 48 "si_shader:1" received signal SIGSEGV, Segmentation fault.

Firefox Developer Edition from flatpak works properly.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99456

--- Comment #3 from Michel Dänzer <[email protected]> --- Created attachment 129042
--> https://bugs.freedesktop.org/attachment.cgi?id=129042&action=edit
Backtrace with debugging symbols

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99456

--- Comment #4 from Clément Guérin <[email protected]> ---
I did some bisecting yesterday, didn't have to finish but I'm really close. I'll update later today.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

author Tested-by Edmondo Tommasina Reviewed-by Nicolai Hähnle
#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99456

--- Comment #5 from Clément Guérin <[email protected]> --- bf75ef3f9201e11bb08a4d03dab20d5ff86f1ebc is the first bad commit commit bf75ef3f9201e11bb08a4d03dab20d5ff86f1ebc

Author: Marek Olšák <[email protected]>
Date:   Tue Nov 15 21:15:55 2016 +0100

radeonsi: remove all varyings for depth-only rendering or rasterization off

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99456

--- Comment #6 from Marek Olšák <[email protected]> --- Does this commit fix it?
https://cgit.freedesktop.org/mesa/mesa/commit/?id=35cd7551a443477147293e562d8c1adfbe00dea9

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99456

--- Comment #7 from Clément Guérin <[email protected]> --- Hi Marek,

No, the mesa build I was using when hitting the bug already included this commit.

I also tried with e0674e740bf8 (current master~1) and I get a crash too.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99456

Clément Guérin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #8 from Clément Guérin <[email protected]> ---
It looks like d9ef54923804d5fe44a1d3ad5c29e9b8e8382359 fixed the bug. Thanks, Marek!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel