Uploaded image for project: 'ListenBrainz'
  1. ListenBrainz
  2. LB-23

LB Scraper crashes Safari page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • import tools
    • None

      Twice I've run the scraper and it crashes midway through the import. I think it was at 65/118 on my last try.

      Safari Version 8.0.8 (10600.8.9)
      OS X Version 10.10.5 (14F27)

      Here is the crashed thread from WebKit:

      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0   com.apple.JavaScriptCore      	0x00007fff8a18fc87 JSC::JSArray::push(JSC::ExecState*, JSC::JSValue) + 247
      1   com.apple.JavaScriptCore      	0x00007fff8a18f592 JSC::arrayProtoFuncPush(JSC::ExecState*) + 242
      2   ???                           	0x00003c229b801034 0 + 66119335415860
      3   ???                           	0x00003c229c17e961 0 + 66119345367393
      4   ???                           	0x00003c229c17f1f3 0 + 66119345369587
      5   ???                           	0x00003c229c17fc27 0 + 66119345372199
      6   ???                           	0x00003c229c18116b 0 + 66119345377643
      7   com.apple.JavaScriptCore      	0x00007fff8a5004a1 callToJavaScript + 311
      8   com.apple.JavaScriptCore      	0x00007fff8a4845e3 JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) + 35
      9   com.apple.JavaScriptCore      	0x00007fff8a1480be JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 462
      10  com.apple.JavaScriptCore      	0x00007fff8a31db9f JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, JSC::JSValue*) + 63
      11  com.apple.WebCore             	0x00007fff926b23e8 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext*, WebCore::Event*) + 952
      12  com.apple.WebCore             	0x00007fff926b1ea4 WebCore::EventTarget::fireEventListeners(WebCore::Event*, WebCore::EventTargetData*, WTF::Vector<WebCore::RegisteredEventListener, 1ul, WTF::CrashOnOverflow>&) + 692
      13  com.apple.WebCore             	0x00007fff92586807 WebCore::EventTarget::fireEventListeners(WebCore::Event*) + 167
      14  com.apple.WebCore             	0x00007fff926af9b5 WebCore::EventTarget::dispatchEvent(WTF::PassRefPtr<WebCore::Event>) + 85
      15  com.apple.WebCore             	0x00007fff926af907 WebCore::XMLHttpRequestProgressEventThrottle::dispatchEvent(WTF::PassRefPtr<WebCore::Event>) + 199
      16  com.apple.WebCore             	0x00007fff933a2ce5 WebCore::XMLHttpRequestProgressEventThrottle::dispatchProgressEvent(WTF::AtomicString const&) + 165
      17  com.apple.WebCore             	0x00007fff926af66e WebCore::XMLHttpRequest::callReadyStateChangeListener() + 286
      18  com.apple.WebCore             	0x00007fff926d5380 WebCore::XMLHttpRequest::didFinishLoading(unsigned long, double) + 368
      19  com.apple.WebCore             	0x00007fff9263b91a WebCore::CachedResource::checkNotify() + 170
      20  com.apple.WebCore             	0x00007fff9263b7bf WebCore::CachedRawResource::finishLoading(WebCore::ResourceBuffer*) + 207
      21  com.apple.WebCore             	0x00007fff9263b65c WebCore::SubresourceLoader::didFinishLoading(double) + 92
      22  com.apple.WebKit              	0x00007fff905ffb2e WebKit::WebResourceLoader::didReceiveWebResourceLoaderMessage(IPC::Connection*, IPC::MessageDecoder&) + 630
      23  com.apple.WebKit              	0x00007fff904a1ee0 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::MessageDecoder, std::__1::default_delete<IPC::MessageDecoder> >) + 94
      24  com.apple.WebKit              	0x00007fff904a4058 IPC::Connection::dispatchOneMessage() + 114
      25  com.apple.JavaScriptCore      	0x00007fff8a5a8082 WTF::RunLoop::performWork() + 850
      26  com.apple.JavaScriptCore      	0x00007fff8a5a85a2 WTF::RunLoop::performWork(void*) + 34
      27  com.apple.CoreFoundation      	0x00007fff95e2ba01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      28  com.apple.CoreFoundation      	0x00007fff95e1db8d __CFRunLoopDoSources0 + 269
      29  com.apple.CoreFoundation      	0x00007fff95e1d1bf __CFRunLoopRun + 927
      30  com.apple.CoreFoundation      	0x00007fff95e1cbd8 CFRunLoopRunSpecific + 296
      31  com.apple.HIToolbox           	0x00007fff8c05d56f RunCurrentEventLoopInMode + 235
      32  com.apple.HIToolbox           	0x00007fff8c05d2ea ReceiveNextEventCommon + 431
      33  com.apple.HIToolbox           	0x00007fff8c05d12b _BlockUntilNextEventMatchingListInModeWithFilter + 71
      34  com.apple.AppKit              	0x00007fff939f48ab _DPSNextEvent + 978
      35  com.apple.AppKit              	0x00007fff939f3e58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
      36  com.apple.AppKit              	0x00007fff939e9af3 -[NSApplication run] + 594
      37  com.apple.AppKit              	0x00007fff93966244 NSApplicationMain + 1832
      38  libxpc.dylib                  	0x00007fff8a785928 _xpc_objc_main + 793
      39  libxpc.dylib                  	0x00007fff8a787030 xpc_main + 490
      40  com.apple.WebKit.WebContent   	0x000000010a2adb40 0x10a2ad000 + 2880
      41  libdyld.dylib                 	0x00007fff8ccca5c9 start + 1
      

      Here is another crash:

      Thread 7 Crashed:: JavaScriptCore::Marking
      0   com.apple.JavaScriptCore      	0x00007fff8a57c334 JSC::speculationFromCell(JSC::JSCell*) + 52
      1   com.apple.JavaScriptCore      	0x00007fff8a32bf12 JSC::CodeBlock::updateAllPredictionsAndCountLiveness(unsigned int&, unsigned int&) + 290
      2   com.apple.JavaScriptCore      	0x00007fff8a22771d JSC::CodeBlock::stronglyVisitStrongReferences(JSC::SlotVisitor&) + 1933
      3   com.apple.JavaScriptCore      	0x00007fff8a226dd7 JSC::CodeBlock::visitAggregate(JSC::SlotVisitor&) + 1159
      4   com.apple.JavaScriptCore      	0x00007fff8a226e59 JSC::FunctionExecutable::visitChildren(JSC::JSCell*, JSC::SlotVisitor&) + 73
      5   com.apple.JavaScriptCore      	0x00007fff8a11773b JSC::SlotVisitor::drain() + 299
      6   com.apple.JavaScriptCore      	0x00007fff8a1172e8 JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) + 312
      7   com.apple.JavaScriptCore      	0x00007fff8a0fc92a JSC::GCThread::gcThreadMain() + 74
      8   com.apple.JavaScriptCore      	0x00007fff8a0f1cff WTF::wtfThreadEntryPoint(void*) + 15
      9   libsystem_pthread.dylib       	0x00007fff8a0bb05a _pthread_body + 131
      10  libsystem_pthread.dylib       	0x00007fff8a0bafd7 _pthread_start + 176
      11  libsystem_pthread.dylib       	0x00007fff8a0b83ed thread_start + 13
      

            bitmap Michael Wiencek
            cyberskull Trevor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package