Crash @ mozalloc_abort | NS_DebugBreak_P | mozilla::gl::GLContext::InitWithPrefix with abort message: "Desktop symbols failed to load"

RESOLVED FIXED in mozilla14

Status

()

Core
Graphics
--
critical
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: Scoobidiver (away), Assigned: jgilbert)

Tracking

({crash, regression})

11 Branch
mozilla14
x86
Windows 7
crash, regression
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

6 years ago
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

6 years ago
https://crash-stats.mozilla.com/report/index/bp-3fc48094-e68f-4ddf-9a78-9719a2120323

Sometimes it crashes if I visit a Github page.
(Assignee)

Comment 2

6 years ago
Why on earth are these NS_RUNTIMEABORT?

Man, this is why we need Bugkill.
(Assignee)

Comment 3

6 years ago
Created attachment 610012 [details] [diff] [review]
Gracefully fail when we lack GL functionality
Assignee: nobody → jgilbert
Status: NEW → ASSIGNED
Attachment #610012 - Flags: review?(bjacob)
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.
Attachment #610012 - Flags: review?(bjacob) → review+
(Assignee)

Comment 5

6 years ago
Created attachment 610365 [details] [diff] [review]
Gracefully fail when we lack GL functionality

Carried forward.
Attachment #610012 - Attachment is obsolete: true
Attachment #610365 - Flags: review+
(Assignee)

Updated

6 years ago
Whiteboard: [rplus]
(Assignee)

Comment 6

6 years ago
Waiting on Try build:
https://tbpl.mozilla.org/?tree=Try&rev=97af8f3a56ea
(Assignee)

Comment 7

6 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/70dda949e11d
Whiteboard: [rplus]
Target Milestone: --- → mozilla14

Comment 8

6 years ago
https://hg.mozilla.org/mozilla-central/rev/70dda949e11d
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.