Skip to content

Instantly share code, notes, and snippets.

@tene
Last active August 29, 2015 14:03
Show Gist options
  • Save tene/69ba69495579dcf6e99d to your computer and use it in GitHub Desktop.
Save tene/69ba69495579dcf6e99d to your computer and use it in GitHub Desktop.
(gdb) bt
#0 mozalloc_abort (msg=msg@entry=0x7fffffffbd96 "out of memory: 0x", '0' <repeats 14 times>, "10 bytes requested") at /build/buildd/firefox-30.0+build1/memory/mozalloc/mozalloc_abort.cpp:30
#1 0x00007ffff559149a in mozalloc_handle_oom (size=0, size@entry=16) at /build/buildd/firefox-30.0+build1/memory/mozalloc/mozalloc_oom.cpp:50
#2 0x00007ffff5591284 in moz_xmalloc (size=16) at /build/buildd/firefox-30.0+build1/memory/mozalloc/mozalloc.cpp:54
#3 0x00007ffff2ac19d1 in operator new (size=16) at ../../dist/include/mozilla/mozalloc.h:201
#4 nsHTMLStyleSheet::nsHTMLStyleSheet (this=0x7fffd1a89c40, aDocument=<optimized out>) at /build/buildd/firefox-30.0+build1/layout/style/nsHTMLStyleSheet.cpp:234
#5 0x00007ffff2810fee in nsDocument::ResetStylesheetsToURI (this=this@entry=0x7fffd1a9b000, aURI=aURI@entry=0x7fffd25c7be0) at /build/buildd/firefox-30.0+build1/content/base/src/nsDocument.cpp:2428
#6 0x00007ffff281121d in nsDocument::ResetToURI (this=0x7fffd1a9b000, aURI=0x7fffd25c7be0, aLoadGroup=0x7fffd1a8fbe0, aPrincipal=0x7fffd278bc10)
at /build/buildd/firefox-30.0+build1/content/base/src/nsDocument.cpp:2282
#7 0x00007ffff2800ac2 in nsDocument::Reset (this=0x7fffd1a9b000, aChannel=0x7fffd7965bc0, aLoadGroup=0x7fffd1a8fbe0) at /build/buildd/firefox-30.0+build1/content/base/src/nsDocument.cpp:2211
#8 0x00007ffff2806f9a in nsDocument::StartDocumentLoad (this=this@entry=0x7fffd1a9b000, aCommand=aCommand@entry=0x7ffff38abc0e "external-resource", aChannel=aChannel@entry=0x7fffd7965bc0,
aLoadGroup=0x7fffd1a8fbe0, aContainer=aContainer@entry=0x0, aDocListener=aDocListener@entry=0x7fffffffc3f0, aReset=aReset@entry=true, aSink=aSink@entry=0x0)
at /build/buildd/firefox-30.0+build1/content/base/src/nsDocument.cpp:2555
#9 0x00007ffff29dcf96 in mozilla::dom::XMLDocument::StartDocumentLoad (this=0x7fffd1a9b000, aCommand=0x7ffff38abc0e "external-resource", aChannel=0x7fffd7965bc0, aLoadGroup=<optimized out>, aContainer=0x0,
aDocListener=0x7fffffffc3f0, aReset=true, aSink=0x0) at /build/buildd/firefox-30.0+build1/content/xml/document/src/XMLDocument.cpp:505
#10 0x00007ffff25ccda2 in nsContentDLF::CreateDocument (this=this@entry=0x7fffdb1023b0, aCommand=aCommand@entry=0x7ffff38abc0e "external-resource", aChannel=aChannel@entry=0x7fffd7965bc0,
aLoadGroup=aLoadGroup@entry=0x7fffd1a8fbe0, aContainer=aContainer@entry=0x0, aDocumentCID=..., aDocListener=0x7fffffffc3f0, aContentViewer=0x7fffffffc3e8)
at /build/buildd/firefox-30.0+build1/layout/build/nsContentDLF.cpp:405
#11 0x00007ffff25cd246 in nsContentDLF::CreateInstance (this=this@entry=0x7fffdb1023b0, aCommand=aCommand@entry=0x7ffff38abc0e "external-resource", aChannel=0x7fffd7965bc0, aLoadGroup=0x7fffd1a8fbe0,
aContentType=aContentType@entry=0x7ffff3924a02 "image/svg+xml", aContainer=aContainer@entry=0x0, aExtraInfo=aExtraInfo@entry=0x0, aDocListener=0x7fffffffc3f0, aDocViewer=aDocViewer@entry=0x7fffffffc3e8)
at /build/buildd/firefox-30.0+build1/layout/build/nsContentDLF.cpp:217
#12 0x00007ffff224c971 in mozilla::image::SVGDocumentWrapper::SetupViewer (this=this@entry=0x7fffd0ddb560, aRequest=aRequest@entry=0x7fffd7965bc0, aViewer=0x7fffd0ddb588,
aLoadGroup=aLoadGroup@entry=0x7fffd0ddb590) at /build/buildd/firefox-30.0+build1/image/src/SVGDocumentWrapper.cpp:350
#13 0x00007ffff224cb3a in mozilla::image::SVGDocumentWrapper::OnStartRequest (this=0x7fffd0ddb560, aRequest=aRequest@entry=0x7fffd7965bc0, ctxt=ctxt@entry=0x0)
at /build/buildd/firefox-30.0+build1/image/src/SVGDocumentWrapper.cpp:243
#14 0x00007ffff224ff8e in mozilla::image::VectorImage::OnStartRequest (this=0x7fffd1876580, aRequest=0x7fffd7965bc0, aCtxt=0x0) at /build/buildd/firefox-30.0+build1/image/src/VectorImage.cpp:1005
#15 0x00007ffff224b24a in mozilla::image::ImageFactory::CreateVectorImage (aRequest=aRequest@entry=0x7fffd7965bc0, aStatusTracker=aStatusTracker@entry=0x7fffd25cdbe0, aMimeType=...,
aURI=aURI@entry=0x7fffd26d2f50, aImageFlags=aImageFlags@entry=0, aInnerWindowId=aInnerWindowId@entry=4) at /build/buildd/firefox-30.0+build1/image/src/ImageFactory.cpp:258
#16 0x00007ffff224b667 in mozilla::image::ImageFactory::CreateImage (aRequest=aRequest@entry=0x7fffd7965bc0, aStatusTracker=0x7fffd25cdbe0, aMimeType=..., aURI=<optimized out>, aIsMultiPart=<optimized out>,
aInnerWindowId=4) at /build/buildd/firefox-30.0+build1/image/src/ImageFactory.cpp:108
#17 0x00007ffff223cbdc in imgRequest::OnDataAvailable (this=0x7fffd25688a0, aRequest=0x7fffd7965bc0, ctxt=0x0, inStr=0x7fffd259b110, sourceOffset=0, count=2327)
at /build/buildd/firefox-30.0+build1/image/src/imgRequest.cpp:813
#18 0x00007ffff2024598 in nsJARChannel::OnDataAvailable (this=0x7fffd7965bc0, req=<optimized out>, ctx=<optimized out>, stream=<optimized out>, offset=0, count=2327)
at /build/buildd/firefox-30.0+build1/modules/libjar/nsJARChannel.cpp:1008
#19 0x00007ffff1ddf38a in nsInputStreamPump::OnStateTransfer (this=this@entry=0x7fffd26efd30) at /build/buildd/firefox-30.0+build1/netwerk/base/src/nsInputStreamPump.cpp:593
#20 0x00007ffff1ddf5fe in nsInputStreamPump::OnInputStreamReady (this=0x7fffd26efd30, stream=<optimized out>) at /build/buildd/firefox-30.0+build1/netwerk/base/src/nsInputStreamPump.cpp:434
#21 0x00007ffff1d867ee in nsInputStreamReadyEvent::Run (this=0x7fffd25f2160) at /build/buildd/firefox-30.0+build1/xpcom/io/nsStreamUtils.cpp:85
#22 0x00007ffff1d92f77 in nsThread::ProcessNextEvent (this=0x7ffff6caa5e0, mayWait=<optimized out>, result=0x7fffffffc88f) at /build/buildd/firefox-30.0+build1/xpcom/threads/nsThread.cpp:694
#23 0x00007ffff1d53b9c in NS_ProcessNextEvent (thread=<optimized out>, mayWait=mayWait@entry=false) at /build/buildd/firefox-30.0+build1/xpcom/glue/nsThreadUtils.cpp:263
#24 0x00007ffff1f2dba6 in mozilla::ipc::MessagePump::Run (this=0x7fffe8a2cb40, aDelegate=0x7ffff6c5c1c0) at /build/buildd/firefox-30.0+build1/ipc/glue/MessagePump.cpp:95
#25 0x00007ffff1f1faa5 in RunHandler (this=0x7ffff6c5c1c0) at /build/buildd/firefox-30.0+build1/ipc/chromium/src/base/message_loop.cc:219
#26 MessageLoop::Run (this=0x7ffff6c5c1c0) at /build/buildd/firefox-30.0+build1/ipc/chromium/src/base/message_loop.cc:193
#27 0x00007ffff25b35fd in nsBaseAppShell::Run (this=0x7fffe3b3b5f0) at /build/buildd/firefox-30.0+build1/widget/xpwidgets/nsBaseAppShell.cpp:164
#28 0x00007ffff2e6ebb6 in nsAppStartup::Run (this=0x7fffe3b52b50) at /build/buildd/firefox-30.0+build1/toolkit/components/startup/nsAppStartup.cpp:276
#29 0x00007ffff2e30966 in XREMain::XRE_mainRun (this=this@entry=0x7fffffffcb20) at /build/buildd/firefox-30.0+build1/toolkit/xre/nsAppRunner.cpp:4010
#30 0x00007ffff2e30bf4 in XREMain::XRE_main (this=this@entry=0x7fffffffcb20, argc=argc@entry=1, argv=argv@entry=0x7fffffffe018, aAppData=aAppData@entry=0x7fffffffcd20)
at /build/buildd/firefox-30.0+build1/toolkit/xre/nsAppRunner.cpp:4079
#31 0x00007ffff2e30e41 in XRE_main (argc=1, argv=0x7fffffffe018, aAppData=0x7fffffffcd20, aFlags=<optimized out>) at /build/buildd/firefox-30.0+build1/toolkit/xre/nsAppRunner.cpp:4291
#32 0x00005555555583c1 in do_main (argc=1, argv=0x7fffffffe018, xreDirectory=0x7ffff6c2a6c0) at /build/buildd/firefox-30.0+build1/browser/app/nsBrowserApp.cpp:282
#33 0x0000555555557b7c in main (argc=1, argv=0x7fffffffe018) at /build/buildd/firefox-30.0+build1/browser/app/nsBrowserApp.cpp:643
NS_ABORT_OOM (size=<optimized out>) at /build/buildd/firefox-30.0+build1/xpcom/base/nsDebugImpl.cpp:573
573 /build/buildd/firefox-30.0+build1/xpcom/base/nsDebugImpl.cpp: No such file or directory.
(gdb) bt
#0 NS_ABORT_OOM (size=<optimized out>) at /build/buildd/firefox-30.0+build1/xpcom/base/nsDebugImpl.cpp:573
#1 0x00007ffff1d58e8a in nsACString_internal::BeginWriting (this=0x7fffffffbf60, this@entry=0x7fffffffbf50) at ../../../dist/include/nsTSubstring.h:133
#2 0x00007ffff1d59ade in BeginWriting (iter=<synthetic pointer>, this=0x7fffffffbf50) at ../../../dist/include/nsTSubstring.h:158
#3 ToLowerCase (aCString=...) at /build/buildd/firefox-30.0+build1/xpcom/string/src/nsReadableUtils.cpp:670
#4 0x00007ffff26d9729 in mozilla::dom::EncodingUtils::FindEncodingForLabel (aLabel=..., aOutEncoding=...) at /build/buildd/firefox-30.0+build1/dom/encoding/EncodingUtils.cpp:33
#5 0x00007ffff27fca2d in nsDocument::TryChannelCharset (this=this@entry=0x7fffd129b000, aChannel=aChannel@entry=0x7fffd7965bc0, aCharsetSource=@0x7fffffffc0d4: 3, aCharset=..., aExecutor=aExecutor@entry=0x0)
at /build/buildd/firefox-30.0+build1/content/base/src/nsDocument.cpp:3594
#6 0x00007ffff29dd04b in mozilla::dom::XMLDocument::StartDocumentLoad (this=0x7fffd129b000, aCommand=0x7ffff38abc0e "external-resource", aChannel=0x7fffd7965bc0, aLoadGroup=<optimized out>, aContainer=0x0,
aDocListener=0x7fffffffc3f0, aReset=true, aSink=0x0) at /build/buildd/firefox-30.0+build1/content/xml/document/src/XMLDocument.cpp:516
#7 0x00007ffff25ccda2 in nsContentDLF::CreateDocument (this=this@entry=0x7fffdb1023b0, aCommand=aCommand@entry=0x7ffff38abc0e "external-resource", aChannel=aChannel@entry=0x7fffd7965bc0,
aLoadGroup=aLoadGroup@entry=0x7fffd128fbe0, aContainer=aContainer@entry=0x0, aDocumentCID=..., aDocListener=0x7fffffffc3f0, aContentViewer=0x7fffffffc3e8)
at /build/buildd/firefox-30.0+build1/layout/build/nsContentDLF.cpp:405
#8 0x00007ffff25cd246 in nsContentDLF::CreateInstance (this=this@entry=0x7fffdb1023b0, aCommand=aCommand@entry=0x7ffff38abc0e "external-resource", aChannel=0x7fffd7965bc0, aLoadGroup=0x7fffd128fbe0,
aContentType=aContentType@entry=0x7ffff3924a02 "image/svg+xml", aContainer=aContainer@entry=0x0, aExtraInfo=aExtraInfo@entry=0x0, aDocListener=0x7fffffffc3f0, aDocViewer=aDocViewer@entry=0x7fffffffc3e8)
at /build/buildd/firefox-30.0+build1/layout/build/nsContentDLF.cpp:217
#9 0x00007ffff224c971 in mozilla::image::SVGDocumentWrapper::SetupViewer (this=this@entry=0x7fffd05d7600, aRequest=aRequest@entry=0x7fffd7965bc0, aViewer=0x7fffd05d7628,
aLoadGroup=aLoadGroup@entry=0x7fffd05d7630) at /build/buildd/firefox-30.0+build1/image/src/SVGDocumentWrapper.cpp:350
#10 0x00007ffff224cb3a in mozilla::image::SVGDocumentWrapper::OnStartRequest (this=0x7fffd05d7600, aRequest=aRequest@entry=0x7fffd7965bc0, ctxt=ctxt@entry=0x0)
at /build/buildd/firefox-30.0+build1/image/src/SVGDocumentWrapper.cpp:243
#11 0x00007ffff224ff8e in mozilla::image::VectorImage::OnStartRequest (this=0x7fffd1076580, aRequest=0x7fffd7965bc0, aCtxt=0x0) at /build/buildd/firefox-30.0+build1/image/src/VectorImage.cpp:1005
#12 0x00007ffff224b24a in mozilla::image::ImageFactory::CreateVectorImage (aRequest=aRequest@entry=0x7fffd7965bc0, aStatusTracker=aStatusTracker@entry=0x7fffd1dd5be0, aMimeType=...,
aURI=aURI@entry=0x7fffd1d14f50, aImageFlags=aImageFlags@entry=0, aInnerWindowId=aInnerWindowId@entry=4) at /build/buildd/firefox-30.0+build1/image/src/ImageFactory.cpp:258
#13 0x00007ffff224b667 in mozilla::image::ImageFactory::CreateImage (aRequest=aRequest@entry=0x7fffd7965bc0, aStatusTracker=0x7fffd1dd5be0, aMimeType=..., aURI=<optimized out>, aIsMultiPart=<optimized out>,
aInnerWindowId=4) at /build/buildd/firefox-30.0+build1/image/src/ImageFactory.cpp:108
#14 0x00007ffff223cbdc in imgRequest::OnDataAvailable (this=0x7fffd1d658a0, aRequest=0x7fffd7965bc0, ctxt=0x0, inStr=0x7fffd1d9b110, sourceOffset=0, count=2327)
at /build/buildd/firefox-30.0+build1/image/src/imgRequest.cpp:813
#15 0x00007ffff2024598 in nsJARChannel::OnDataAvailable (this=0x7fffd7965bc0, req=<optimized out>, ctx=<optimized out>, stream=<optimized out>, offset=0, count=2327)
at /build/buildd/firefox-30.0+build1/modules/libjar/nsJARChannel.cpp:1008
#16 0x00007ffff1ddf38a in nsInputStreamPump::OnStateTransfer (this=this@entry=0x7fffd1dcbee0) at /build/buildd/firefox-30.0+build1/netwerk/base/src/nsInputStreamPump.cpp:593
#17 0x00007ffff1ddf5fe in nsInputStreamPump::OnInputStreamReady (this=0x7fffd1dcbee0, stream=<optimized out>) at /build/buildd/firefox-30.0+build1/netwerk/base/src/nsInputStreamPump.cpp:434
#18 0x00007ffff1d867ee in nsInputStreamReadyEvent::Run (this=0x7fffd20bc160) at /build/buildd/firefox-30.0+build1/xpcom/io/nsStreamUtils.cpp:85
#19 0x00007ffff1d92f77 in nsThread::ProcessNextEvent (this=0x7ffff6caa5e0, mayWait=<optimized out>, result=0x7fffffffc88f) at /build/buildd/firefox-30.0+build1/xpcom/threads/nsThread.cpp:694
#20 0x00007ffff1d53b9c in NS_ProcessNextEvent (thread=<optimized out>, mayWait=mayWait@entry=false) at /build/buildd/firefox-30.0+build1/xpcom/glue/nsThreadUtils.cpp:263
#21 0x00007ffff1f2dba6 in mozilla::ipc::MessagePump::Run (this=0x7fffe8a2cb40, aDelegate=0x7ffff6c5c1c0) at /build/buildd/firefox-30.0+build1/ipc/glue/MessagePump.cpp:95
#22 0x00007ffff1f1faa5 in RunHandler (this=0x7ffff6c5c1c0) at /build/buildd/firefox-30.0+build1/ipc/chromium/src/base/message_loop.cc:219
#23 MessageLoop::Run (this=0x7ffff6c5c1c0) at /build/buildd/firefox-30.0+build1/ipc/chromium/src/base/message_loop.cc:193
#24 0x00007ffff25b35fd in nsBaseAppShell::Run (this=0x7fffe3b3b5f0) at /build/buildd/firefox-30.0+build1/widget/xpwidgets/nsBaseAppShell.cpp:164
#25 0x00007ffff2e6ebb6 in nsAppStartup::Run (this=0x7fffe3b49bf0) at /build/buildd/firefox-30.0+build1/toolkit/components/startup/nsAppStartup.cpp:276
#26 0x00007ffff2e30966 in XREMain::XRE_mainRun (this=this@entry=0x7fffffffcb20) at /build/buildd/firefox-30.0+build1/toolkit/xre/nsAppRunner.cpp:4010
#27 0x00007ffff2e30bf4 in XREMain::XRE_main (this=this@entry=0x7fffffffcb20, argc=argc@entry=1, argv=argv@entry=0x7fffffffe018, aAppData=aAppData@entry=0x7fffffffcd20)
at /build/buildd/firefox-30.0+build1/toolkit/xre/nsAppRunner.cpp:4079
#28 0x00007ffff2e30e41 in XRE_main (argc=1, argv=0x7fffffffe018, aAppData=0x7fffffffcd20, aFlags=<optimized out>) at /build/buildd/firefox-30.0+build1/toolkit/xre/nsAppRunner.cpp:4291
#29 0x00005555555583c1 in do_main (argc=1, argv=0x7fffffffe018, xreDirectory=0x7ffff6c2a6c0) at /build/buildd/firefox-30.0+build1/browser/app/nsBrowserApp.cpp:282
#30 0x0000555555557b7c in main (argc=1, argv=0x7fffffffe018) at /build/buildd/firefox-30.0+build1/browser/app/nsBrowserApp.cpp:643
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment