Closed Bug 847126 Opened 11 years ago Closed 9 years ago

crash in mozilla::dom::WebGLRenderingContextBinding::linkProgram @ libdricore9.0.2.so.1.0.0 with DRI

Categories

(Core :: Graphics: CanvasWebGL, defect)

20 Branch
x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: gmastererik, Unassigned)

References

()

Details

(Keywords: crash, reproducible)

Crash Data

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0
Build ID: 20130227063501

Steps to reproduce:

Selected one of the visualization demos from this page: http://schteppe.github.com/cannon.js/


Actual results:

On Beta 20.0, FF crashed outright, whereas a build of mozilla central stalled for a while before crashing


Expected results:

After trying this webpage in Opera, I received a message stating "Your graphics card does not seem to support WebGL". However, running a quick WebGL test found online within firefox showed there to be no out of the ordinary issues.
The Adblock and Ghostery addons were in use during the crash. I decided to see what output the nightly build gave running from the terminal. This is the output from right before the freeze/crash:

--DOCSHELL 0x7efec7d41800 == 5 [id = 7]
--DOMWINDOW == 13 (0x7efec7d434b8) [serial = 18] [outer = 0x7efec7d424b8] [url = about:blank]
--DOMWINDOW == 12 (0x7efec7d424b8) [serial = 17] [outer = (nil)] [url = about:blank]
++DOMWINDOW == 13 (0x7efec7d428b8) [serial = 19] [outer = 0x7efecb186cb8]
ATTENTION: default value of option force_s3tc_enable overridden by environment.
Assertion failure: formats.samples > 0, at ~/mozilla/gfx/gl/GLContext.cpp:1054

Program ~/mozilla/obj-MyFF/dist/bin/firefox (pid = 23595) received signal 11.
Stack:
UNKNOWN [/lib/x86_64-linux-gnu/libpthread.so.0 +0x0000FCB0]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x01A373FA]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x01A3BE9D]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x01A3C5EE]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x01A33943]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x01A40E36]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x01A43630]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x00CD6D4C]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x00D52D2A]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x00D537A8]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x01297F40]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x01F8824D]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x01F78507]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x01F8769D]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x01F87B4B]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x01F87F79]
JS::Evaluate(JSContext*, JS::Handle<JSObject*>, JS::CompileOptions, unsigned short const*, unsigned long, JS::Value*)+0x0000017D [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x01E8E4FD]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x00E76EFB]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x00C85C2A]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x00C86050]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x00C86E16]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x00C83715]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x0103C196]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x0103CFC5]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x0103E1F2]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x0103E329]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x019750A1]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x01932992]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x0162E68F]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x019A633C]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x019A6364]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x0153DDCD]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x01384BDD]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x0074B766]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x0074BA35]
XRE_main+0x000000DD [~/mozilla/obj-MyFF/dist/bin/libxul.so +0x0074BCA9]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/firefox +0x00002DEE]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/firefox +0x00002F1F]
__libc_start_main+0x000000ED [/lib/x86_64-linux-gnu/libc.so.6 +0x0002176D]
UNKNOWN [~/mozilla/obj-MyFF/dist/bin/firefox +0x000023B9]
Sleeping for 300 seconds.
Type 'gdb ~/mozilla/obj-MyFF/dist/bin/firefox 23595' to attach your debugger to this thread.
Please provide the crash ID from about:crashes or a stack trace (see https://developer.mozilla.org/docs/How_to_get_a_stacktrace_for_a_bug_report#Linux).
Does it happen in Safe Mode (see https://support.mozilla.org/kb/troubleshoot-firefox-issues-using-safe-mode)?
Severity: normal → critical
Flags: needinfo?(gmastererik)
Keywords: crash, stackwanted
Crash ID: bp-04fa191e-65e0-4795-9b1c-7bfd22130303
I tried safe mode in nightly and still had the crash occur. This is my first "real" bug report so tell me if further details are needed. Would like to see if this issues pops up with others.
Flags: needinfo?(gmastererik)
Status: UNCONFIRMED → NEW
Crash Signature: [@ libdricore9.0.2.so.1.0.0@0x230172 ] [@ libdricore9.1.0.so.1.0.0@0x210682 ]
Component: Untriaged → Canvas: WebGL
Ever confirmed: true
Product: Firefox → Core
Summary: Javascript related freeze & crash - reproducible → crash in mozilla::dom::WebGLRenderingContextBinding::linkProgram @ libdricore9.0.2.so.1.0.0 with DRI
There seem to be two separate issues described here.

The first is the assert you're hitting in GLContext.cpp.
The second looks very much like a Mesa bug in their implementation of glLinkProgram.

The first should be very solvable. The second should be filed with Mesa.
I have tried this site on other computers and FF has worked fine (albeit in windows) and even on android. Seems like the issue is specific to one of my laptops, so I can't tell what this is a hardware/software issue on my end with my setup or a specific problem that occasionally occurs with WebGL.
Does this still reproduce for you?
Flags: needinfo?(gmastererik)
No, I'm no longer able to reproduce. You can go ahead and close out the issue
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(gmastererik)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.