<?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>4505</bug_id>
          
          <creation_ts>2005-08-17 23:47:45 -0700</creation_ts>
          <short_desc>LEAK: Leak when browsing previously cached site</short_desc>
          <delta_ts>2005-08-23 14:43:10 -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>DUPLICATE</resolution>
          <dup_id>4599</dup_id>
          
          <bug_file_loc>http://www.reviewjournal.com/columnists/clarke.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="David den Boer">denboer</reporter>
          <assigned_to name="Maciej Stachowiak">mjs</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>16920</commentid>
    <comment_count>0</comment_count>
    <who name="David den Boer">denboer</who>
    <bug_when>2005-08-17 23:47:45 -0700</bug_when>
    <thetext>Built and ran safari as per instructions on blog on 8/17/2005. This case is reproducible every time I try. 

Steps :
 - start safari with clean cache and go to : http://www.reviewjournal.com/columnists/clarke.html
 - click link on site to go to : http://www.reviewjournal.com/lvrj_home/2005/Aug-17-Wed-2005/
news/27062591.html
 - check leaks (none)
 - quit safari
 - re run safari from cmd line (run-safari)
 - go to same two pages
 - two leaks as outlined below :


Process 3281: 57159 nodes malloced for 9333 KB
Process 3281: 2 leaks for 176 total leaked bytes.
Leak: 0x0a72dec0  size=160
        0x0000000c 0x00000001 0x00000000 0x00000051     ...............Q
        0x92920268 0x0061b5c0 0x0000038c 0x9397b7e4     ...h.a..........
        0x006ea460 0x0000038d 0x9397b7e4 0x09a0d7c0     .n.`............
        0x00000381 0x9397b7e4 0x006eb510 0x0000036b     .........n.....k
        0x9397b7e4 0x006f5a70 0x0000036d 0x9397b7e4     .....oZp...m....
        0x006f0e70 0x00000374 0x9397b7e4 0x006ef320     .o.p...t.....n. 
        0x000000cf 0x9397b7e4 0x006fdf20 0x000000d0     .........o. ....
        0x9397b7e4 0x006f08a0 0x00000000 0x00000008     .....o..........
        ...
        Call stack: [thread 26df]: | 0x0 | 0x57190 | 0x26e0 | NSApplicationMain | -[NSApplication run] | 
0x7038 | -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent | 
BlockUntilNextEventMatchingListInMode | ReceiveNextEventCommon | RunCurrentEventLoopInMode | 
CFRunLoopRunSpecific | __CFRunLoopRun | __CFRunLoopDoObservers | _handleWindowNeedsDisplay | 
0x17598 | -[NSWindow displayIfNeeded] | -[NSView displayIfNeeded] | -[NSViewHierarchyLock 
lockForReadingWithExceptionHandler:] | _NSAddExceptionHandlerForLock | _NSAddAltHandler2 | malloc 
Leak: 0x0a7e8ca0  size=16       string &apos;Safari&apos;
        Call stack: [thread 9000fbf7]: | 0x0 | 0x57190 | 0x26e0 | NSApplicationMain | -[NSApplication 
run] | 0x7038 | -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent | 
BlockUntilNextEventMatchingListInMode | ReceiveNextEventCommon | RunCurrentEventLoopInMode | 
CFRunLoopRunSpecific | __CFRunLoopRun | __CFRunLoopDoSources0 | _sendCallbacks | -
[NSURLConnection(NSURLConnectionInternal) _sendCallbacks] | -[NSURLConnection
(NSURLConnectionInternal) _sendDidFinishLoadingCallback] | -[WebLoader 
connectionDidFinishLoading:] | -[WebSubresourceLoader didFinishLoading] | -[KWQResourceLoader 
finishJobAndHandle:] | KWQSignal::callWithData(KIO::Job*, NSData*) const | khtml::Loader::slotFinished
(KIO::Job*, NSData*) | khtml::CachedScript::data(QBuffer&amp;, bool) | khtml::CachedScript::checkNotify() | 
khtml::HTMLTokenizer::notifyFinished(khtml::CachedObject*) | khtml::HTMLTokenizer::scriptExecution
(QString const&amp;, QString, int) | KHTMLPart::executeScript(QString, int, DOM::NodeImpl*, QString const&amp;) 
| DOM::DocumentImpl::updateDocumentsRendering() | DOM::DocumentImpl::recalcStyle
(DOM::NodeImpl::StyleChange) | DOM::ElementImpl::recalcStyle(DOM::NodeImpl::StyleChange) | 
DOM::ElementImpl::recalcStyle(DOM::NodeImpl::StyleChange) | DOM::ElementImpl::recalcStyle
(DOM::NodeImpl::StyleChange) | DOM::HTMLObjectElementImpl::recalcStyle
(DOM::NodeImpl::StyleChange) | khtml::RenderPartObject::updateWidget() | KHTMLPart::requestObject
(khtml::RenderPart*, QString const&amp;, QString const&amp;, QStringList const&amp;, QStringList const&amp;) | 
KHTMLPart::requestObject(khtml::ChildFrame*, KURL const&amp;, KParts::URLArgs const&amp;) | 
KHTMLPart::processObjectRequest(khtml::ChildFrame*, KURL const&amp;, QString const&amp;) | 
KWQKHTMLPart::createPart(khtml::ChildFrame const&amp;, KURL const&amp;, QString const&amp;) | -[WebBridge 
viewForPluginWithURL:attributeNames:attributeValues:MIMEType:] | -
[WebNetscapePluginEmbeddedView 
initWithFrame:plugin:URL:baseURL:MIMEType:attributeKeys:attributeValues:] | -
[WebNetscapePluginPackage load] | 0x9cc09b4 | 0x9cc0ac8 | GetDiskFragment | 
PCFragPrepareClosureFromFile | malloc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17286</commentid>
    <comment_count>1</comment_count>
    <who name="John Sullivan">sullivan</who>
    <bug_when>2005-08-23 14:43:10 -0700</bug_when>
    <thetext>This is a QuickTime problem, also in bugzilla as 4599. Though this one is older, I&apos;m marking it a duplicate 
of that one since that one&apos;s already processed.

*** This bug has been marked as a duplicate of 4599 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>