On Nov 17, 2013, at 22:39, Adam R. Maxwell wrote: > Alex Montgomery sent me his .bib file, and I've got it crashing 100% reliably > in a place that makes no sense (running 10.9, FVWebViewIcon enabled). > > It's crashing in WebCore, but under -[BibDocument(UI) > displayTemplatedPreview:inTextView:], unrelated to icons. Here's the > backtrace, for all the good it does. Due to the randomness, I'm pretty > confident that it's a memory smasher due to a double autorelease somewhere, > but I don't know where. >
Does it crash with web icons disables? Does it always crash on the template display, or just sometimes? And only for the HTML template (or another template with accessory files)? Could it perhaps have to do with the connection, perhaps 10.9 tries to get the data async, even though it's used in a sync call? Perhaps a problem with the temp directory getting removed? Christiaan > #0 0x00007fff8e0372d4 in WebCore::ResourceHandle::start() () > #1 0x00007fff8e0365d8 in > WebCore::ResourceHandle::create(WebCore::NetworkingContext*, > WebCore::ResourceRequest const&, WebCore::ResourceHandleClient*, bool, bool) > () > #2 0x00007fff8e035fa6 in WebCore::ResourceLoader::start() () > #3 0x00007fff8e03599a in > WebCore::ResourceLoadScheduler::servePendingRequests(WebCore::ResourceLoadScheduler::HostInformation*, > WebCore::ResourceLoadPriority) () > #4 0x00007fff8e033f80 in > WebCore::ResourceLoadScheduler::scheduleSubresourceLoad(WebCore::Frame*, > WebCore::CachedResource*, WebCore::ResourceRequest const&, > WebCore::ResourceLoadPriority, WebCore::ResourceLoaderOptions const&) () > #5 0x00007fff8e033d48 in > WebCore::CachedResource::load(WebCore::CachedResourceLoader*, > WebCore::ResourceLoaderOptions const&) () > #6 0x00007fff8e031975 in > WebCore::CachedResourceLoader::requestResource(WebCore::CachedResource::Type, > WebCore::CachedResourceRequest&) () > #7 0x00007fff8e0a1815 in > WebCore::CachedResourceLoader::requestCSSStyleSheet(WebCore::CachedResourceRequest&) > () > #8 0x00007fff8e08c9f2 in WebCore::HTMLLinkElement::process() () > #9 0x00007fff8e08cb0b in > WebCore::HTMLLinkElement::insertedInto(WebCore::ContainerNode*) () > #10 0x00007fff8dfc9c77 in > WebCore::ChildNodeInsertionNotifier::notifyNodeInsertedIntoDocument(WebCore::Node*) > () > #11 0x00007fff8dfc9ba6 in > WebCore::ChildNodeInsertionNotifier::notify(WebCore::Node*) () > #12 0x00007fff8dfc9690 in > WebCore::ContainerNode::parserAppendChild(WTF::PassRefPtr<WebCore::Node>) () > #13 0x00007fff8dfc946c in > WebCore::executeTask(WebCore::HTMLConstructionSiteTask&) () > #14 0x00007fff8dfc9324 in > WebCore::HTMLConstructionSite::executeQueuedTasks() () > #15 0x00007fff8dfc6606 in > WebCore::HTMLDocumentParser::constructTreeFromHTMLToken(WebCore::HTMLToken&) > () > #16 0x00007fff8dfb5df9 in > WebCore::HTMLDocumentParser::pumpTokenizer(WebCore::HTMLDocumentParser::SynchronousMode) > () > #17 0x00007fff8e07e56b in > WebCore::HTMLDocumentParser::append(WTF::PassRefPtr<WTF::StringImpl>) () > #18 0x00007fff8e065325 in > WebCore::DecodedDataDocumentParser::appendBytes(WebCore::DocumentWriter*, > char const*, unsigned long) () > #19 0x00007fff8df9c774 in WebCore::DocumentLoader::commitData(char const*, > unsigned long) () > #20 0x00007fff81dd34c3 in -[WebHTMLRepresentation > receivedData:withDataSource:] () > #21 0x00007fff81dd33dd in -[WebDataSource(WebInternal) _receivedData:] () > #22 0x00007fff81dd3367 in > WebFrameLoaderClient::committedLoad(WebCore::DocumentLoader*, char const*, > int) () > #23 0x00007fff8e07a888 in WebCore::DocumentLoader::commitLoad(char const*, > int) () > #24 0x00007fff8e07a590 in > WebCore::DocumentLoader::dataReceived(WebCore::CachedResource*, char const*, > int) () > #25 0x00007fff8e07a07e in > WebCore::CachedRawResource::notifyClientsDataWasReceived(char const*, > unsigned int) () > #26 0x00007fff8e079c49 in > WebCore::CachedRawResource::addDataBuffer(WebCore::ResourceBuffer*) () > #27 0x00007fff8e079423 in > WebCore::SubresourceLoader::didReceiveDataOrBuffer(char const*, int, > WTF::PassRefPtr<WebCore::SharedBuffer>, long long, WebCore::DataPayloadType) > () > #28 0x00007fff8e0ac70c in > WebCore::SubresourceLoader::didReceiveBuffer(WTF::PassRefPtr<WebCore::SharedBuffer>, > long long, WebCore::DataPayloadType) () > #29 0x00007fff8e0ac639 in > WebCore::ResourceLoader::didReceiveBuffer(WebCore::ResourceHandle*, > WTF::PassRefPtr<WebCore::SharedBuffer>, int) () > #30 0x00007fff8e0ac575 in -[WebCoreResourceHandleAsDelegate > connection:didReceiveData:lengthReceived:] () > #31 0x00007fff833b871d in __65-[NSURLConnectionInternal > _withConnectionAndDelegate:onlyActive:]_block_invoke () > #32 0x00007fff833b864d in -[NSURLConnectionInternal > _withConnectionAndDelegate:onlyActive:] () > #33 0x00007fff833b853c in -[NSURLConnectionInternal > _withActiveConnectionAndDelegate:] () > #34 0x00007fff83475735 in _NSURLConnectionDidReceiveData_LengthReceived () > #35 0x00007fff86f7729d in > ___ZN27URLConnectionClient_Classic29_delegate_didReceiveDataArrayEv_block_invoke > () > #36 0x00007fff87030820 in > ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 > () > #37 0x00007fff86f5d3fc in > ___ZNK17CoreSchedulingSet13_performAsyncEPKcU13block_pointerFvvE_block_invoke > () > #38 0x00007fff8f713e94 in CFArrayApplyFunction () > #39 0x00007fff86f5d2db in RunloopBlockContext::perform() () > #40 0x00007fff86f5d183 in MultiplexerSource::perform() () > #41 0x00007fff86f5cfb2 in MultiplexerSource::_perform(void*) () > #42 0x00007fff8f7488f1 in > __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ () > #43 0x00007fff8f73a062 in __CFRunLoopDoSources0 () > #44 0x00007fff8f7397ef in __CFRunLoopRun () > #45 0x00007fff8f739275 in CFRunLoopRunSpecific () > #46 0x00007fff8cef2976 in -[NSHTMLReader _loadUsingWebKit] () > #47 0x00007fff8cef5a92 in -[NSHTMLReader attributedString] () > #48 0x00007fff8cd78fe4 in _NSReadAttributedStringFromURLOrData () > #49 0x00007fff8cd7b225 in > -[NSAttributedString(NSAttributedStringKitAdditions) > initWithURL:options:documentAttributes:error:] () > #50 0x000000010027862b in -[BibDocument(UI) > displayTemplatedPreview:inTextView:] at > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/BibDocument_UI.m:174 > #51 0x0000000100278fbb in -[BibDocument(UI) updateBottomPreviewPane] at > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/BibDocument_UI.m:232 > #52 0x0000000100277b24 in -[BibDocument(UI) doUpdatePreviews] at > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/BibDocument_UI.m:116 > #53 0x00007fff83364c57 in __NSFireDelayedPerform () > #54 0x00007fff8f77e724 in > __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ () > #55 0x00007fff8f77e25f in __CFRunLoopDoTimer () > #56 0x00007fff8f7ef76a in __CFRunLoopDoTimers () > #57 0x00007fff8f739aa5 in __CFRunLoopRun () > #58 0x00007fff8f739275 in CFRunLoopRunSpecific () > #59 0x00007fff88498f0d in RunCurrentEventLoopInMode () > #60 0x00007fff88498cb7 in ReceiveNextEventCommon () > #61 0x00007fff88498abc in _BlockUntilNextEventMatchingListInModeWithFilter > () > #62 0x00007fff8c9cd28e in _DPSNextEvent () > #63 0x00007fff8c9cc8db in -[NSApplication > nextEventMatchingMask:untilDate:inMode:dequeue:] () > #64 0x00007fff8c9c09cc in -[NSApplication run] () > #65 0x00007fff8c9ab803 in NSApplicationMain () > #66 0x0000000100002412 in main at > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/main.m:21 > #67 0x00000001000023e4 in start () ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Bibdesk-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bibdesk-develop
