[Webkit-unassigned] [Bug 40352] New: [Qt] instance objects created for QObjects are somtimes GC'd

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 8 23:23:47 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=40352

           Summary: [Qt] instance objects created for QObjects are
                    somtimes GC'd
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: smagnuson at netflix.com


I have an QObject (A) with a child object (B). B's only reference in the JS engine is through A (ie A.B). I've attached some JS properties (in fact function handlers) to B, and I'm finding that at some point B was getting GC'd. Upon investigation I found that I could create a global reference to B (ie var keep_b = A.B) and the problem would go away - however this is clearly error prone and probably not as intended. I've fixed qt_instance so that it will go about marking

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list