Bug 9478

Summary: REGRESSION: http tests broken in WebKit ToT debug build due to icon database
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: beidson
Priority: P1 Keywords: Regression
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   

David Kilzer (:ddkilzer)
Reported 2006-06-16 23:04:04 PDT
The http tests seem to be broken in WebKit ToT (r14895) on a debug build on Mac OS X 10.4.6 (8I127/PowerPC). This is the output from run-webkit-tests: Running tests from /Users/ddkilzer/Projects/Cocoa/WebKit/LayoutTests Testing 34 test cases. http/tests . httpd is already running: pid 12571, killing... ================= ERROR: WebIconDatabase used to contain http://127.0.0.1:8000/favicon.ico, but the icon file is missing. Now forgetting that we ever knew about this icon. (/Users/ddkilzer/Projects/Cocoa/WebKit/WebKit/Misc/WebIconDatabase.m:186 -[WebIconDatabase iconForURL:withSize:cache:]) ================= http/tests/incremental .================= ASSERTION FAILED: retainCount > 0 (/Users/ddkilzer/Projects/Cocoa/WebKit/WebKit/Misc/WebIconDatabase.m:782 -[WebIconDatabase(WebInternal) _releaseIconForIconURLString:]) ================= Segmentation fault LEAK: 6 Node LEAK: 6 RenderObject LEAK: 1 Frame http/tests/incremental/slow-utf8-text.pl -> failed .Broken pipe And a stack trace: Command: DumpRenderTree Path: /Users/ddkilzer/Projects/Cocoa/WebKit/WebKitBuild/Debug/DumpRenderTree Parent: perl [12640] Version: ??? (???) PID: 12684 Thread: 0 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0xbbadbeef Thread 0 Crashed: 0 com.apple.WebKit 0x00210c9c -[WebIconDatabase(WebInternal) _releaseIconForIconURLString:] + 188 (WebIconDatabase.m:782) 1 com.apple.WebKit 0x00210ebc -[WebIconDatabase(WebInternal) _releaseOriginalIconsOnDisk] + 160 (WebIconDatabase.m:815) 2 com.apple.Foundation 0x92980bf8 __NSFireDelayedPerform + 304 3 com.apple.CoreFoundation 0x907f7550 __CFRunLoopDoTimer + 184 4 com.apple.CoreFoundation 0x907e3ec8 __CFRunLoopRun + 1680 5 com.apple.CoreFoundation 0x907e347c CFRunLoopRunSpecific + 268 6 com.apple.Foundation 0x92985164 -[NSRunLoop runMode:beforeDate:] + 172 7 DumpRenderTree 0x00008ac4 dumpRenderTree + 904 (DumpRenderTree.m:744) 8 DumpRenderTree 0x00005d48 main + 3672 (DumpRenderTree.m:321) 9 DumpRenderTree 0x000024f0 _start + 340 (crt.c:272) 10 DumpRenderTree 0x00002398 start + 60
Attachments
David Kilzer (:ddkilzer)
Comment 1 2006-06-17 12:50:17 PDT
I fixed this by removing the ~/Libraries/Icons directory, then rerunning the tests. Thanks Mitz! $ rm -rf ~/Library/Icons $ run-webkit-tests http Changing status to RESOLVED/WORKSFORME.
Note You need to log in before you can comment on or make changes to this bug.