[Webkit-unassigned] [Bug 59938] New: "malloc: * auto malloc[731]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug."

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 2 07:58:08 PDT 2011


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

           Summary: "malloc: * auto malloc[731]: error: GC operation on
                    unregistered thread. Thread registered implicitly.
                    Break on auto_zone_thread_registration_error() to
                    debug."
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit API
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: qiulang at gmail.com


Hi,

I hit this error when using WebKit with garbage collection on, "malloc: * auto malloc[731]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug." 

And when I turned off garbage collection, the error did go way!

My app works like this , when users double click a row in my NSTableView, it will get a URL from that row, then ask WebView to load the page from that URL:

//code snippet

   [tableView setDoubleAction:@selector(doubleClickAction:)]; 
    ...

   - (IBAction)doubleClickAction:(id)sender { 
       ...
       /* cause that malloc error */
      [[webView mainFrame] loadRequest: [NSURLRequest requestWithURL: row.url]];   
   } 

When the error happens, the app does not crash, it continues to work. Actually It seems no harm at all. 

I am not sure if this is a bug or I just did not use the webkit api in a correct way. 

Thanks!

-- 
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