RESOLVED FIXED 4795
leak inside DOM::DocumentImpl::DocumentImpl, seen running webkit tests
https://bugs.webkit.org/show_bug.cgi?id=4795
Summary leak inside DOM::DocumentImpl::DocumentImpl, seen running webkit tests
John Sullivan
Reported 2005-09-01 15:12:56 PDT
This bug is also in Radar as <rdar://4233800> This is split off from 4665. This is one of the many leaks found with these steps: 1. Build a development build of tip-of-tree WebKit 2. use run-webkit-tests --leaks Leak: 0x1fff3710 size=16 0x00000002 0x00000000 0x21d581f0 0x00010001 ........!....... Call stack: [thread 239f]: | 0x0 | start | _start | main | dumpRenderTree | -[NSRunLoop runMode:beforeDate:] | CFRunLoopRunSpecific | __CFRunLoopRun | __CFRunLoopDoSources0 | _sendCallbacks | -[NSURLConnection(NSURLConnectionInternal) _sendCallbacks] | -[NSURLConnection (NSURLConnectionInternal) _sendDidReceiveDataCallback] | -[WebLoader connection:didReceiveData:lengthReceived:] | -[WebMainResourceLoader didReceiveData:lengthReceived:] | -[WebLoader didReceiveData:lengthReceived:] | - [WebMainResourceLoader addData:] | -[WebDataSource(WebPrivate) _receivedData:] | - [WebHTMLRepresentation receivedData:withDataSource:] | -[WebBridge receivedData:textEncodingName:] | -[WebCoreBridge setEncoding:userChosen:] | KWQKHTMLPart::setEncoding(QString const&, bool) | KHTMLPart::receivedFirstData() | KHTMLPart::begin (KURL const&, int, int) | DOM::DOMImplementationImpl::createHTMLDocument(KHTMLView*) | DOM::HTMLDocumentImpl::HTMLDocumentImpl[in-charge](DOM::DOMImplementationImpl*, KHTMLView*) | DOM::HTMLDocumentImpl::HTMLDocumentImpl[unified] (DOM::DOMImplementationImpl*, KHTMLView*) | DOM::DocumentImpl::DocumentImpl[not-in-charge] (DOM::DOMImplementationImpl*, KHTMLView*) | DOM::DocumentImpl::DocumentImpl[unified] (DOM::DOMImplementationImpl*, KHTMLView*) | operator new(unsigned long) | malloc This one still sometimes occurs this morning (most of the other leaks from 4665 have been fixed). I haven't caught this one in a single-test leaks output, but I saw it once today with the output of run- webkit-tests --leaks.
Attachments
Darin Adler
Comment 1 2005-09-06 19:35:16 PDT
Checked in a fix that should fix the leak described in this bug, as well as two others. The three bugs are bug 4795, bug 4796, and bug 4797.
Note You need to log in before you can comment on or make changes to this bug.