Bug 11194

Summary: SpinneretWebHost doesn't set refcount properly
Product: WebKit Reporter: Krzysztof Kowalczyk <kkowalczyk>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Blocker    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   

Krzysztof Kowalczyk
Reported 2006-10-06 13:53:15 PDT
SpinneretWebHost doesn't have a constructor and its m_refCount field is not set properly. You can verify this by setting a brakpoint in debug version in Spinerette.cpp at line ~187: gWebHost = new SpinneretWebHost(); <-- in debug here gWebHost->m_refCount is 0xcdcdcdcd, which means "uninitialized" gWebHost->AddRef(); No patch but the fix should be trivial: supply SpinneretWebHost::SpinneretWebHost() : m_refCount(0) {} (unless for some reason SpinneretWebHost is not supposed to have a constructor)
Attachments
Krzysztof Kowalczyk
Comment 1 2006-10-16 01:53:22 PDT
Has been fixed in another checkin.
Note You need to log in before you can comment on or make changes to this bug.