Closed
Bug 681333
Opened 13 years ago
Closed 13 years ago
crash [@ libc.so@0x14bd8][@ mozilla::gl::GLContext::InitExtensions ]
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla9
Tracking | Status | |
---|---|---|
firefox9 | --- | fixed |
People
(Reporter: nhirata, Assigned: BenWa)
References
Details
Crash Data
Attachments
(2 files, 1 obsolete file)
1.07 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
1.45 KB,
patch
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is report bp-5ee56f70-1e5b-4ff5-a10c-c2e022110819 . ============================================================= Frame Module Signature [Expand] Source 0 libc.so libc.so@0x14bd8 1 libEGL.so libEGL.so@0x3aee 2 libmozalloc.so moz_strdup memory/mozalloc/mozalloc.cpp:169 3 libxul.so mozilla::gl::GLContext::InitExtensions gfx/thebes/GLContext.cpp:464 4 libxul.so mozilla::gl::GLContext::InitWithPrefix gfx/thebes/GLContext.cpp:382 5 libxul.so mozilla::gl::GLContextEGL::Init gfx/thebes/GLContextProviderEGL.cpp:723 6 libxul.so mozilla::gl::GLContextEGL::CreateEGLPBufferOffscreenContext gfx/thebes/GLContextProviderEGL.cpp:2024 7 libxul.so mozilla::gl::GLContextProviderEGL::CreateOffscreen gfx/thebes/GLContextProviderEGL.cpp:2214 8 libxul.so mozilla::WebGLContext::SetDimensions nsAutoPtr.h:954 9 libxul.so nsHTMLCanvasElement::UpdateContext content/html/content/src/nsHTMLCanvasElement.cpp:597 10 libxul.so nsHTMLCanvasElement::GetContext content/html/content/src/nsHTMLCanvasElement.cpp:515 11 libxul.so nsIDOMHTMLCanvasElement_GetContext obj-firefox/js/src/xpconnect/src/dom_quickstubs.cpp:22377 12 libxul.so js::Invoke js/src/jscntxtinlines.h:286 13 libxul.so js::Interpret js/src/jsinterp.cpp:4016 14 libxul.so js::ExternalInvoke js/src/jsinterp.cpp:614 15 libxul.so JS_CallFunctionValue js/src/jsapi.cpp:5043 16 libxul.so nsXPCWrappedJSClass::CallMethod js/src/xpconnect/src/xpcwrappedjsclass.cpp:1659 17 libxul.so nsXPCWrappedJS::CallMethod js/src/xpconnect/src/xpcwrappedjs.cpp:586 18 libxul.so PrepareAndDispatch xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm.cpp:133 19 libxul.so libxul.so@0x8f89b8 20 libxul.so nsEventListenerManager::HandleEventSubType content/events/src/nsEventListenerManager.cpp:865 21 @0xbeda862f 22 libxul.so nsEventListenerManager::HandleEventInternal content/events/src/nsEventListenerManager.cpp:919 23 libxul.so nsEventTargetChainItem::HandleEvent content/events/src/nsEventListenerManager.h:147 24 libxul.so nsEventTargetChainItem::HandleEventTargetChain content/events/src/nsEventDispatcher.cpp:346 25 libxul.so nsEventDispatcher::Dispatch content/events/src/nsEventDispatcher.cpp:674 26 libxul.so DocumentViewerImpl::LoadComplete layout/base/nsDocumentViewer.cpp:1068 27 libxul.so nsDocShell::EndPageLoad docshell/base/nsDocShell.cpp:6163 28 libxul.so nsDocShell::OnStateChange nsCOMPtr.h:492 29 libxul.so nsDocLoader::FireOnStateChange uriloader/base/nsDocLoader.cpp:1323 30 libxul.so nsDocLoader::doStopDocumentLoad uriloader/base/nsDocLoader.cpp:958 31 libxul.so nsDocLoader::DocLoaderIsEmpty uriloader/base/nsDocLoader.cpp:825 32 libxul.so nsDocLoader::OnStopRequest uriloader/base/nsDocLoader.cpp:711 33 libxul.so nsLoadGroup::RemoveRequest netwerk/base/src/nsLoadGroup.cpp:734 34 libxul.so nsDocument::DoUnblockOnload nsCOMPtr.h:492 35 libxul.so nsDocument::UnblockOnload content/base/src/nsDocument.cpp:7167 36 libxul.so nsLoadBlockingPLDOMEvent::~nsLoadBlockingPLDOMEvent nsCOMPtr.h:492 37 libxul.so nsLoadBlockingPLDOMEvent::~nsLoadBlockingPLDOMEvent mozalloc.h:253 38 libxul.so nsRunnable::Release obj-firefox/xpcom/build/nsThreadUtils.cpp:55 39 libxul.so nsCOMPtr_base::~nsCOMPtr_base obj-firefox/xpcom/build/nsCOMPtr.cpp:82 40 libxul.so nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:639 41 libxul.so NS_ProcessNextEvent_P obj-firefox/xpcom/build/nsThreadUtils.cpp:245 42 libxul.so mozilla::ipc::MessagePump::Run ipc/glue/MessagePump.cpp:111 43 libxul.so mozilla::ipc::MessagePumpForChildProcess::Run ipc/glue/MessagePump.cpp:230 44 libxul.so MessageLoop::RunInternal ipc/chromium/src/base/message_loop.cc:222 45 libxul.so MessageLoop::Run ipc/chromium/src/base/message_loop.cc:514 46 libxul.so nsBaseAppShell::Run widget/src/xpwidgets/nsBaseAppShell.cpp:191 47 libxul.so XRE_RunAppShell toolkit/xre/nsEmbedFunctions.cpp:673 48 libxul.so mozilla::ipc::MessagePumpForChildProcess::Run ipc/glue/MessagePump.cpp:222 49 libxul.so MessageLoop::RunInternal ipc/chromium/src/base/message_loop.cc:222 50 libxul.so MessageLoop::Run ipc/chromium/src/base/message_loop.cc:514 51 libxul.so XRE_InitChildProcess nsAutoPtr.h:155 52 libmozutils.so ChildProcessInit other-licenses/android/APKOpen.cpp:794 53 plugin-container main ipc/app/MozillaRuntimeMainAndroid.cpp:69 54 libc.so libc.so@0x14b54 More signatures: https://crash-stats.mozilla.com/report/list?range_value=7&range_unit=days&date=2011-08-22%2012%3A00%3A00&signature=libc.so%400x14bd8&version=Fennec%3A8.0a2
Reporter | ||
Updated•13 years ago
|
Crash Signature: [@ libc.so@0x14bd8] → [@ libc.so@0x14bd8]
[@ mozilla::gl::GLContext::InitExtensions ]
Summary: crash [@ libc.so@0x14bd8] → crash [@ libc.so@0x14bd8][@ mozilla::gl::GLContext::InitExtensions ]
Assignee | ||
Updated•13 years ago
|
Blocks: opengl-mobile
Assignee | ||
Comment 1•13 years ago
|
||
I wonder if we are getting a bad GL_EXTENSIONS string.
Assignee | ||
Comment 2•13 years ago
|
||
bionic source for strdup: https://android.git.kernel.org/?p=platform/bionic.git;a=blob;f=libc/string/strdup.c;hb=HEAD
Assignee | ||
Comment 3•13 years ago
|
||
glGetString can return NULL if we don't have a proper current context.
Assignee | ||
Comment 4•13 years ago
|
||
Attachment #556989 -
Flags: review?(jmuizelaar)
Comment 5•13 years ago
|
||
Comment on attachment 556989 [details] [diff] [review] Check MakeCurrent rv on init Make sure the caller handles this. Also, it's probably worth logging these failure with gfx::LogFailure() so that we find out if they are common.
Attachment #556989 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 6•13 years ago
|
||
This error is actually an WebGL error, not a GL Layers error. I check that it's handle properly manually. Its bubbles a null context up to here: http://mxr.mozilla.org/mozilla-central/source/content/canvas/src/WebGLContext.cpp#659 I'll add the LogFailure and land this.
Assignee | ||
Comment 7•13 years ago
|
||
Assignee | ||
Comment 8•13 years ago
|
||
Attachment #557160 -
Attachment is obsolete: true
Assignee | ||
Comment 9•13 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/6006d67f5a09
Assignee | ||
Updated•13 years ago
|
status-firefox9:
--- → fixed
Whiteboard: [inbound]
Comment 10•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/6006d67f5a09
Assignee: nobody → bgirard
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla9
You need to log in
before you can comment on or make changes to this bug.
Description
•