RESOLVED FIXED 59938
"malloc: * auto malloc[731]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug."
https://bugs.webkit.org/show_bug.cgi?id=59938
Summary "malloc: * auto malloc[731]: error: GC operation on unregistered thread. Thre...
qiulang
Reported 2011-05-02 07:58:08 PDT
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!
Attachments
Alexey Proskuryakov
Comment 1 2011-05-02 11:27:32 PDT
Is this something that you are seeing with shipping WebKit, or only when running against a nightly (or local) build?
qiulang
Comment 2 2011-05-02 16:59:33 PDT
Hi, I use xcode 3.2. I did not use nightly build. Thanks!
qiulang
Comment 3 2011-05-03 09:04:48 PDT
I find that the page with flash would cause the error. For example if I open www.apple.com, not problem at all. But if I open www.taobao.com, the error will happen. Thanks!
qiulang
Comment 4 2011-05-03 09:12:40 PDT
Sorry www.taobao.com is a Chinese website. If you guys can't read Chinese you can just try http://www.adobe.com/products/flashplayer/ (also cause the error)
qiulang
Comment 5 2011-05-04 08:06:03 PDT
Hi, I used xcode 4.0 to build the project but the problem still exists. As long as the page has flash and I turn on garbage collection, that malloc error will be thrown. It is rather easy to reproduce problem. Thanks! Qiulang
Mark Rowe (bdash)
Comment 6 2011-05-04 12:36:01 PDT
This was fixed back in r81825. It’s a harmless message that can be ignored.
qiulang
Comment 7 2011-05-04 20:57:35 PDT
I see. Thanks!
Note You need to log in before you can comment on or make changes to this bug.