Bug 14493

Summary: ASSERTION FAILED: !containsImage || MimeTypeRegistry::isSupportedImageResourceMIMEType([resource MIMEType])
Product: WebKit Reporter: Matt Lilek <dev+webkit>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: burg
Priority: P2 Keywords: NeedsReduction
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.4   

Matt Lilek
Reported 2007-07-01 17:46:25 PDT
Open the inspector and drag one of the source view/DOM view buttons (it'll drag the icon). Make sure it's highlighted then quit Safari -> *boom* This doesn't seem to do anything bad in a release build. ASSERTION FAILED: !containsImage || MimeTypeRegistry::isSupportedImageResourceMIMEType([resource MIMEType]) (/WebKit/WebKit/Misc/WebNSPasteboardExtras.mm:242 -[NSPasteboard(WebExtras) _web_writePromisedRTFDFromArchive:containsImage:]) Thread 0 Crashed: 0 com.apple.WebKit 0x0031284c -[NSPasteboard(WebExtras) _web_writePromisedRTFDFromArchive:containsImage:] + 744 (WebNSPasteboardExtras.mm:242) 1 com.apple.WebKit 0x003498f8 -[WebHTMLView(WebPrivate) pasteboard:provideDataForType:] + 464 (WebHTMLView.mm:1317) 2 com.apple.AppKit 0x938edeec __NSPasteboardProvideData + 172 3 com.apple.CoreFoundation 0x90833ff0 __CFPasteboardResolvePromiseForItemLocal + 244 4 com.apple.CoreFoundation 0x9082307c CFPasteboardResolveAllPromisedData + 400 5 com.apple.AppKit 0x93840f7c -[NSApplication terminate:] + 464 6 com.apple.AppKit 0x9383ec4c -[NSApplication sendAction:to:from:] + 108 7 com.apple.Safari 0x0001a020 0x1000 + 102432 8 com.apple.AppKit 0x938994b8 -[NSMenu performActionForItemAtIndex:] + 392 9 com.apple.AppKit 0x9389923c -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 104 10 com.apple.AppKit 0x93898ce4 -[NSMenu performKeyEquivalent:] + 272 11 com.apple.AppKit 0x93898930 -[NSApplication _handleKeyEquivalent:] + 328 12 com.apple.AppKit 0x937a2408 -[NSApplication sendEvent:] + 2944 13 com.apple.Safari 0x00016444 0x1000 + 87108 14 com.apple.AppKit 0x93799d10 -[NSApplication run] + 508 15 com.apple.AppKit 0x9388a87c NSApplicationMain + 452 16 com.apple.Safari 0x0000246c 0x1000 + 5228 17 com.apple.Safari 0x0004f1b0 0x1000 + 319920
Attachments
Eric Seidel (no email)
Comment 1 2007-09-25 08:05:52 PDT
This crashes every time on the feature-branch (and probably trunk as well) for: http://6v8.gamboni.org/?page=test-svg Just click on one of the images in the SVG to see it crash.
Matt Lilek
Comment 2 2008-09-07 17:57:30 PDT
I've been hitting this quite a bit lately on quit. Not every time I quit Safari, but at least once or twice a day, haven't been able to narrow it down. This is the first time I've hit it since I added an NSLog of [resource MIMEType] and it told me it was text/html.
Brian Burg
Comment 3 2015-02-12 09:30:10 PST
Cannot reproduce this anymore, since the icons in Web Inspector aren't draggable. Quitting while dragging didn't seem to trigger anything.
Note You need to log in before you can comment on or make changes to this bug.