Closed Bug 1298036 Opened 8 years ago Closed 8 years ago

Crash in OOM | large | mozalloc_abort | mozalloc_handle_oom | moz_xmalloc | std::_Allocate | std::vector<T>::_Reallocate

Categories

(Core :: Graphics, defect)

49 Branch
All
Windows
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 1176837
Tracking Status
firefox48 --- wontfix
firefox49 - wontfix
firefox50 --- wontfix
firefox51 --- wontfix

People

(Reporter: philipp, Unassigned)

References

Details

(Keywords: crash, regression)

Crash Data

This bug was filed from the Socorro interface and is 
report bp-506dce52-b678-4208-91e7-2a5512160825.
=============================================================
Crashing Thread (0)
Frame 	Module 	Signature 	Source
0 	mozglue.dll 	mozalloc_abort(char const* const) 	memory/mozalloc/mozalloc_abort.cpp:33
1 	mozglue.dll 	mozalloc_handle_oom(unsigned int) 	memory/mozalloc/mozalloc_oom.cpp:46
2 	mozglue.dll 	moz_xmalloc 	memory/mozalloc/mozalloc.cpp:85
3 	libglesv2.dll 	std::_Allocate(unsigned int, unsigned int, bool) 	vs2015u2/VC/include/xmemory0:69
4 	libglesv2.dll 	std::vector<unsigned char, std::allocator<unsigned char> >::_Reallocate(unsigned int) 	vs2015u2/VC/include/vector:1625
5 	libglesv2.dll 	rx::d3d11::GenerateInitialTextureData(int, rx::Renderer11DeviceCaps const&, unsigned int, unsigned int, unsigned int, unsigned int, std::vector<D3D11_SUBRESOURCE_DATA, std::allocator<D3D11_SUBRESOURCE_DATA> >*, std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >*) 	gfx/angle/src/libANGLE/renderer/d3d/d3d11/renderer11_utils.cpp:1373
6 	libglesv2.dll 	rx::Image11::createStagingTexture() 	gfx/angle/src/libANGLE/renderer/d3d/d3d11/Image11.cpp:570
7 	libglesv2.dll 	rx::Image11::getStagingTexture(ID3D11Resource**, unsigned int*) 	gfx/angle/src/libANGLE/renderer/d3d/d3d11/Image11.cpp:474
8 	libglesv2.dll 	gl::InternalFormat::computeBlockSize(unsigned int, int, int) 	gfx/angle/src/libANGLE/formatutils.cpp:715
9 	libglesv2.dll 	rx::Image11::map(D3D11_MAP, D3D11_MAPPED_SUBRESOURCE*) 	gfx/angle/src/libANGLE/renderer/d3d/d3d11/Image11.cpp:609

this windows crash signature is regressing in 49 (possibly with the switch to msvc2015).
[Tracking Requested - why for this release]:
FF49.0b5: 99 crashes


https://crash-stats.mozilla.com/signature/?product=Firefox&signature=OOM%20%7C%20large%20%7C%20mozalloc_abort%20%7C%20mozalloc_handle_oom%20%7C%20moz_xmalloc%20%7C%20std%3A%3A_Allocate%20%7C%20std%3A%3Avector%3CT%3E%3A%3A_Reallocate
Win7: 172 crashes


Maybe component should be "Memory Allocator".


FF51.0a1, 64-bit, Win7:
https://crash-stats.mozilla.com/report/index/4c5423fc-2acb-4b2b-993c-43ce52160826

Crashing Thread (0)
Frame 	Module 	Signature 	Source
0 	mozglue.dll 	mozalloc_abort(char const* const) 	memory/mozalloc/mozalloc_abort.cpp:33
1 	mozglue.dll 	mozalloc_handle_oom(unsigned __int64) 	memory/mozalloc/mozalloc_oom.cpp:46
2 	mozglue.dll 	moz_xmalloc 	memory/mozalloc/mozalloc.cpp:112
3 	xul.dll 	std::_Allocate(unsigned __int64, unsigned __int64, bool) 	vs2015u2/VC/include/xmemory0:69
4 	xul.dll 	std::vector<std::_List_unchecked_iterator<std::_List_val<std::_List_simple_types<std::pair<int const, mozilla::ipc::IProtocol*> > > >, std::_Wrap_alloc<std::allocator<std::_List_unchecked_iterator<std::_List_val<std::_List_simple_types<std::pair<int const, mozilla::ipc::IProtocol*> > > > > > >::_Reallocate(unsigned __int64) 	vs2015u2/VC/include/vector:1625
5 	xul.dll 	std::_Hash<stdext::_Hmap_traits<int, mozilla::ipc::IProtocol*, stdext::hash_compare<int, std::less<int> >, std::allocator<std::pair<int const, mozilla::ipc::IProtocol*> >, 0> >::_Init(unsigned __int64) 	vs2015u2/VC/include/xhash:867
6 	xul.dll 	std::_Hash<stdext::_Hmap_traits<int, mozilla::ipc::IProtocol*, stdext::hash_compare<int, std::less<int> >, std::allocator<std::pair<int const, mozilla::ipc::IProtocol*> >, 0> >::_Insert<std::pair<int const, mozilla::ipc::IProtocol*>&, std::_List_unchecked_iterator<std::_List_val<std::_List_simple_types<std::pair<int const, mozilla::ipc::IProtocol*> > > > >(std::pair<int const, mozilla::ipc::IProtocol*>&, std::_List_unchecked_iterator<std::_List_val<std::_List_simple_types<std::pair<int const, mozilla::ipc::IProtocol*> > > >) 	vs2015u2/VC/include/xhash:755
7 	xul.dll 	std::_Hash<stdext::_Hmap_traits<int, mozilla::ipc::IProtocol*, stdext::hash_compare<int, std::less<int> >, std::allocator<std::pair<int const, mozilla::ipc::IProtocol*> >, 0> >::emplace<std::pair<int, mozilla::ipc::IProtocol*> >(std::pair<int, mozilla::ipc::IProtocol*>&&) 	vs2015u2/VC/include/xhash:256
8 	xul.dll 	IDMap<mozilla::ipc::IProtocol>::AddWithID(mozilla::ipc::IProtocol*, int) 	ipc/chromium/src/base/id_map.h:61
9 	xul.dll 	mozilla::layers::PCompositorBridgeChild::Register(mozilla::ipc::IProtocol*) 	obj-firefox/ipc/ipdl/PCompositorBridgeChild.cpp:945
10 	xul.dll 	mozilla::ipc::PBackgroundChild::SendPBlobConstructor(mozilla::dom::PBlobChild*, mozilla::dom::BlobConstructorParams const&) 	obj-firefox/ipc/ipdl/PBackgroundChild.cpp:1271
11 	xul.dll 	mozilla::dom::BlobChild::GetOrCreateFromImpl<mozilla::ipc::PBackgroundChild>(mozilla::ipc::PBackgroundChild*, mozilla::dom::BlobImpl*) 	dom/ipc/Blob.cpp:3291
12 	xul.dll 	mozilla::dom::`anonymous namespace'::EnsureBlobForBackgroundManager 	dom/base/StructuredCloneHolder.cpp:553
13 	xul.dll 	mozilla::dom::`anonymous namespace'::ReadBlob 	dom/base/StructuredCloneHolder.cpp:629
14 	xul.dll 	mozilla::dom::StructuredCloneHolder::CustomReadHandler(JSContext*, JSStructuredCloneReader*, unsigned int, unsigned int) 	dom/base/StructuredCloneHolder.cpp:1040
15 	xul.dll 	mozilla::dom::`anonymous namespace'::StructuredCloneCallbacksRead 	dom/base/StructuredCloneHolder.cpp:67
16 	xul.dll 	JSStructuredCloneReader::startRead(JS::MutableHandle<JS::Value>) 	js/src/vm/StructuredClone.cpp:2024
17 	xul.dll 	JSStructuredCloneReader::read(JS::MutableHandle<JS::Value>) 	js/src/vm/StructuredClone.cpp:2316
18 	xul.dll 	ReadStructuredClone(JSContext*, JSStructuredCloneData&, JS::StructuredCloneScope, JS::MutableHandle<JS::Value>, JSStructuredCloneCallbacks const*, void*) 	js/src/vm/StructuredClone.cpp:503
19 	xul.dll 	mozilla::dom::ipc::StructuredCloneData::Read(JSContext*, JS::MutableHandle<JS::Value>, mozilla::ErrorResult&) 	dom/ipc/StructuredCloneData.cpp:65
20 	xul.dll 	nsFrameMessageManager::ReceiveMessage(nsISupports*, nsIFrameLoader*, bool, nsAString_internal const&, bool, mozilla::dom::ipc::StructuredCloneData*, mozilla::jsipc::CpowHolder*, nsIPrincipal*, nsTArray<mozilla::dom::ipc::StructuredCloneData>*) 	dom/base/nsFrameMessageManager.cpp:1182
21 	xul.dll 	mozilla::dom::TabParent::ReceiveMessage(nsString const&, bool, mozilla::dom::ipc::StructuredCloneData*, mozilla::jsipc::CpowHolder*, nsIPrincipal*, nsTArray<mozilla::dom::ipc::StructuredCloneData>*) 	dom/ipc/TabParent.cpp:2518
22 	xul.dll 	mozilla::dom::TabParent::RecvAsyncMessage(nsString const&, nsTArray<mozilla::jsipc::CpowEntry>&&, IPC::Principal const&, mozilla::dom::ClonedMessageData const&) 	dom/ipc/TabParent.cpp:1714
23 	xul.dll 	mozilla::dom::PBrowserParent::OnMessageReceived(IPC::Message const&) 	obj-firefox/ipc/ipdl/PBrowserParent.cpp:1978
24 	xul.dll 	mozilla::dom::PContentParent::OnMessageReceived(IPC::Message const&) 	obj-firefox/ipc/ipdl/PContentParent.cpp:4365
25 	xul.dll 	mozilla::ipc::MessageChannel::DispatchAsyncMessage(IPC::Message const&) 	ipc/glue/MessageChannel.cpp:1662
26 	xul.dll 	mozilla::ipc::MessageChannel::DispatchMessageW(IPC::Message&&) 	ipc/glue/MessageChannel.cpp:1600
27 	xul.dll 	mozilla::ipc::MessageChannel::OnMaybeDequeueOne() 	ipc/glue/MessageChannel.cpp:1567
28 	xul.dll 	mozilla::detail::RunnableMethodImpl<bool ( mozilla::ipc::MessageChannel::*)(void), 0, 1>::Run() 	obj-firefox/dist/include/nsThreadUtils.h:764
29 	xul.dll 	mozilla::ipc::MessageChannel::DequeueTask::Run() 	obj-firefox/dist/include/mozilla/ipc/MessageChannel.h:564
30 	xul.dll 	nsThread::ProcessNextEvent(bool, bool*) 	xpcom/threads/nsThread.cpp:1058
31 	xul.dll 	NS_ProcessNextEvent(nsIThread*, bool) 	xpcom/glue/nsThreadUtils.cpp:290
32 	xul.dll 	nsXULWindow::ShowModal() 	xpfe/appshell/nsXULWindow.cpp:408
33 	xul.dll 	nsWindowWatcher::OpenWindowInternal(mozIDOMWindowProxy*, char const*, char const*, char const*, bool, bool, bool, nsIArray*, float*, mozIDOMWindowProxy**) 	embedding/components/windowwatcher/nsWindowWatcher.cpp:1299
34 	xul.dll 	nsWindowWatcher::OpenWindow(mozIDOMWindowProxy*, char const*, char const*, char const*, nsISupports*, mozIDOMWindowProxy**) 	embedding/components/windowwatcher/nsWindowWatcher.cpp:372
35 	xul.dll 	XPTC__InvokebyIndex 	xpcom/reflect/xptcall/md/win32/xptcinvoke_asm_x86_64.asm:97
36 		@0x22dddf 	
37 	xul.dll 	XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) 	js/xpconnect/src/XPCWrappedNative.cpp:1352
38 	xul.dll 	XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) 	js/xpconnect/src/XPCWrappedNativeJSOps.cpp:1141
39 	xul.dll 	js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) 	js/src/vm/Interpreter.cpp:453
40 	xul.dll 	Interpret 	js/src/vm/Interpreter.cpp:2881
41 	xul.dll 	js::RunScript(JSContext*, js::RunState&) 	js/src/vm/Interpreter.cpp:399
42 	xul.dll 	js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) 	js/src/vm/Interpreter.cpp:471
43 	xul.dll 	JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) 	js/src/jsapi.cpp:2780
44 	xul.dll 	nsXPCWrappedJSClass::CallMethod(nsXPCWrappedJS*, unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) 	js/xpconnect/src/XPCWrappedJSClass.cpp:1211
45 	xul.dll 	nsXPCWrappedJS::CallMethod(unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) 	js/xpconnect/src/XPCWrappedJS.cpp:613
46 	xul.dll 	PrepareAndDispatch 	xpcom/reflect/xptcall/md/win32/xptcstubs_x86_64.cpp:174
47 	xul.dll 	SharedStub 	xpcom/reflect/xptcall/md/win32/xptcstubs_asm_x86_64.asm:57
48 	xul.dll 	nsGlobalWindow::ShowSlowScriptDialog() 	dom/base/nsGlobalWindow.cpp:11127
49 	xul.dll 	XPCJSRuntime::InterruptCallback(JSContext*) 	js/xpconnect/src/XPCJSRuntime.cpp:1446
50 	xul.dll 	InvokeInterruptCallback 	js/src/vm/Runtime.cpp:539
51 	xul.dll 	js::jit::CheckOverRecursedWithExtra(JSContext*, js::jit::BaselineFrame*, unsigned int, unsigned int) 	js/src/jit/VMFunctions.cpp:181
52 		@0x226a371a865
Not sure how worried we are with this one?
Flags: needinfo?(milan)
Flags: needinfo?(mh+mozilla)
This is really the same as bug 1176837, so not new to 49.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(milan)
Resolution: --- → DUPLICATE
Available Page File 	7,221,248 bytes (6.89 MB)
System Memory Use Percentage 	97
OOM Allocation Size 	33,554,471 bytes (32 MB)

That's a straightforward OOM.
Flags: needinfo?(mh+mozilla)
You need to log in before you can comment on or make changes to this bug.