On Jan 6, 2008, at 1:14 PM, Christiaan Hofman wrote: > > On 6 Jan 2008, at 10:04 PM, Adam R. Maxwell wrote: > >> >> On Jan 6, 2008, at 12:41 PM, Christiaan Hofman wrote: >> >>> Sorry, I have to come back to that. I just got an assertion failure >>> in the test program: >>> >>> 2008-01-06 21:37:44.165 FileView Program[13435] *** Assertion >>> failure in -[FVWebViewIcon renderOffscreen], /Users/hofman/ >>> Development/Bibdesk/trunk/bibdesk/vendorsrc/amaxwell/FileView/ >>> FVWebViewIcon.m:435 >>> 2008-01-06 21:37:44.179 FileView Program[13435] An uncaught >>> exception was raised >>> 2008-01-06 21:37:44.189 FileView Program[13435] Invalid parameter >>> not satisfying: NULL == _fullImageRef >>> 2008-01-06 21:37:44.198 FileView Program[13435] *** Uncaught >>> exception: <NSInternalInconsistencyException> Invalid parameter not >>> satisfying: NULL == _fullImageRef >> >> I can't reproduce that, even if I disable a core. What URL does it >> happen with? One that works or fails? It's not a critical >> assertion, >> but needsRenderForSize: shouldn't return YES if the full image was >> non- >> NULL. Obviously I'm missing something.... > > I only got it once, no idea with which URL. Apparently it is > possible. I also don't see from the logic of needsRenderForSize: why > this could not happen. E.g., couldn't it be that the size is small > but there is a _fullImageRef?
That shouldn't happen; if _fullImageRef is non-NULL, _thumbnailRef is also non-NULL. They're created in pairs in the same lock/unlock, and releaseResources never releases the thumbnail after it's created. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bibdesk-develop mailing list Bibdesk-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-develop