<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>9478</bug_id>
          
          <creation_ts>2006-06-16 23:04:04 -0700</creation_ts>
          <short_desc>REGRESSION: http tests broken in WebKit ToT debug build due to icon database</short_desc>
          <delta_ts>2006-06-17 12:50:17 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>beidson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>46019</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-06-16 23:04:04 -0700</bug_when>
    <thetext>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 &gt; 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 -&gt; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46105</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-06-17 12:50:17 -0700</bug_when>
    <thetext>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.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>