Last Comment Bug 732765 - Crash @ mozalloc_abort | NS_DebugBreak_P | mozilla::gl::GLContext::InitWithPrefix with abort message: "Desktop symbols failed to load"
: Crash @ mozalloc_abort | NS_DebugBreak_P | mozilla::gl::GLContext::InitWithPr...
Status: RESOLVED FIXED
: crash, regression
Product: Core
Classification: Components
Component: Graphics (show other bugs)
: 11 Branch
: x86 Windows 7
: -- critical (vote)
: mozilla14
Assigned To: Jeff Gilbert [:jgilbert]
:
: Milan Sreckovic [:milan]
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-04 00:45 PST by Scoobidiver (away)
Modified: 2012-03-30 13:02 PDT (History)
3 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Gracefully fail when we lack GL functionality (5.59 KB, patch)
2012-03-27 21:29 PDT, Jeff Gilbert [:jgilbert]
jacob.benoit.1: review+
Details | Diff | Splinter Review
Gracefully fail when we lack GL functionality (5.17 KB, patch)
2012-03-28 16:41 PDT, Jeff Gilbert [:jgilbert]
jgilbert: review+
Details | Diff | Splinter Review

Description Scoobidiver (away) 2012-03-04 00:45:41 PST
It first appeared in 11.0a2/20111225.

Signature 	mozalloc_abort(char const* const) | NS_DebugBreak_P | mozilla::gl::GLContext::InitWithPrefix(char const*, bool) More Reports Search
UUID	2200ad32-58e1-4104-8229-6dc422120304
Date Processed	2012-03-04 03:11:32
Uptime	27666
Install Age	7.7 hours since version was first installed.
Install Time	2012-03-03 19:30:20
Product	Firefox
Version	13.0a1
Build ID	20120303031033
Release Channel	nightly
OS	Windows NT
OS Version	6.2.8250
Build Architecture	x86
Build Architecture Info	AuthenticAMD family 15 model 107 stepping 1
Crash Reason	EXCEPTION_BREAKPOINT
Crash Address	0x5e4619bd
App Notes 	
AdapterVendorID: 0x10de, AdapterDeviceID: 0x03d0, AdapterSubsysID: 2a61103c, AdapterDriverVersion: 8.17.12.8516
D2D? D2D- D3D10 Layers? D3D10 Layers- D3D9 Layers? D3D9 Layers- WebGL? EGL? EGL+ GL Context? GL Context- WGL? xpcom_runtime_abort(###!!! ABORT: Desktop symbols failed to load.: file e:/builds/moz2_slave/m-cen-w32-ntly/build/gfx/gl/GLContext.cpp, line 381)
EMCheckCompatibility	True	
Total Virtual Memory	2147352576
Available Virtual Memory	1489559552
System Memory Use Percentage	56
Available Page File	3808702464
Available Physical Memory	1337303040

Frame 	Module 	Signature [Expand] 	Source
0 	mozalloc.dll 	mozalloc_abort 	memory/mozalloc/mozalloc_abort.cpp:79
1 	xul.dll 	NS_DebugBreak_P 	xpcom/base/nsDebugImpl.cpp:375
2 	xul.dll 	mozilla::gl::GLContext::InitWithPrefix 	gfx/gl/GLContext.cpp:381
3 	xul.dll 	mozilla::gl::GLContextWGL::Init 	gfx/gl/GLContextProviderWGL.cpp:328
4 	xul.dll 	mozilla::gl::GLContextProviderWGL::GetGlobalContext 	gfx/gl/GLContextProviderWGL.cpp:811
5 	xul.dll 	mozilla::gl::WGLLibrary::EnsureInitialized 	gfx/gl/GLContextProviderWGL.cpp:261
6 	xul.dll 	mozilla::gl::GLContextProviderWGL::CreateOffscreen 	gfx/gl/GLContextProviderWGL.cpp:751
7 	xul.dll 	mozilla::WebGLContext::SetDimensions 	content/canvas/src/WebGLContext.cpp:501
8 	xul.dll 	nsHTMLCanvasElement::UpdateContext 	content/html/content/src/nsHTMLCanvasElement.cpp:650
9 	xul.dll 	nsHTMLCanvasElement::GetContext 	content/html/content/src/nsHTMLCanvasElement.cpp:571
10 	xul.dll 	nsIDOMHTMLCanvasElement_GetContext 	obj-firefox/js/xpconnect/src/dom_quickstubs.cpp:17669
11 	mozjs.dll 	js::InvokeKernel 	js/src/jsinterp.cpp:499
12 	mozjs.dll 	js::Interpret 	js/src/jsinterp.cpp:2699
13 	mozjs.dll 	js::RunScript 	js/src/jsinterp.cpp:446
14 	mozjs.dll 	js::ExecuteKernel 	js/src/jsinterp.cpp:657
15 	mozjs.dll 	js::Execute 	js/src/jsinterp.cpp:698

More reports at:
https://crash-stats.mozilla.com/report/list?signature=mozalloc_abort%28char%20const*%20const%29%20|%20NS_DebugBreak_P%20|%20mozilla%3A%3Agl%3A%3AGLContext%3A%3AInitWithPrefix%28char%20const*%2C%20bool%29
Comment 1 WL 2012-03-27 20:02:45 PDT
https://crash-stats.mozilla.com/report/index/bp-3fc48094-e68f-4ddf-9a78-9719a2120323

Sometimes it crashes if I visit a Github page.
Comment 2 Jeff Gilbert [:jgilbert] 2012-03-27 21:28:40 PDT
Why on earth are these NS_RUNTIMEABORT?

Man, this is why we need Bugkill.
Comment 3 Jeff Gilbert [:jgilbert] 2012-03-27 21:29:50 PDT
Created attachment 610012 [details] [diff] [review]
Gracefully fail when we lack GL functionality
Comment 4 Benoit Jacob [:bjacob] (mostly away) 2012-03-28 14:28:04 PDT
Comment on attachment 610012 [details] [diff] [review]
Gracefully fail when we lack GL functionality

Review of attachment 610012 [details] [diff] [review]:
-----------------------------------------------------------------

r=me with a suggestion:

::: gfx/gl/GLContext.cpp
@@ +426,5 @@
>                  { (PRFuncPtr*) &mSymbols.fGetTexLevelParameteriv, { "GetTexLevelParameteriv", NULL } },
>                  { NULL, { NULL } },
>          };
> +        if (!LoadSymbols(&auxSymbols[0], trygl, prefix)) {
> +            NS_WARNING("GL does not support glGetTexImage/glGetTexLevelParameteriv");

I wouldn't even warn about that. It's expected behavior on GLES.
Comment 5 Jeff Gilbert [:jgilbert] 2012-03-28 16:41:25 PDT
Created attachment 610365 [details] [diff] [review]
Gracefully fail when we lack GL functionality

Carried forward.
Comment 6 Jeff Gilbert [:jgilbert] 2012-03-28 16:55:02 PDT
Waiting on Try build:
https://tbpl.mozilla.org/?tree=Try&rev=97af8f3a56ea
Comment 8 Ed Morley [:emorley] 2012-03-30 13:02:12 PDT
https://hg.mozilla.org/mozilla-central/rev/70dda949e11d

Note You need to log in before you can comment on or make changes to this bug.