Bug 147274 - vmmap crash at JavaScriptCore: 0x31cd12f6 (the JavaScript malloc zone enumerator)
Summary: vmmap crash at JavaScriptCore: 0x31cd12f6 (the JavaScript malloc zone enumera...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Geoffrey Garen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-24 14:19 PDT by Geoffrey Garen
Modified: 2015-07-24 14:30 PDT (History)
1 user (show)

See Also:


Attachments
Patch (1.71 KB, patch)
2015-07-24 14:20 PDT, Geoffrey Garen
no flags Details | Formatted Diff | Diff
Patch (1.71 KB, patch)
2015-07-24 14:23 PDT, Geoffrey Garen
no flags Details | Formatted Diff | Diff
Patch (1.79 KB, patch)
2015-07-24 14:25 PDT, Geoffrey Garen
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Geoffrey Garen 2015-07-24 14:19:09 PDT
vmmap crash at JavaScriptCore: 0x31cd12f6 (the JavaScript malloc zone enumerator)
Comment 1 Geoffrey Garen 2015-07-24 14:20:24 PDT
Created attachment 257477 [details]
Patch
Comment 2 Joseph Pecoraro 2015-07-24 14:21:52 PDT
Comment on attachment 257477 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=257477&action=review

> Source/bmalloc/bmalloc/Zone.cpp:36
> +    // This read sometimes fails for uknown reasons (<rdar://problem/14093757>).

Typo: "uknown" => "unknown"
Comment 3 Geoffrey Garen 2015-07-24 14:23:00 PDT
Created attachment 257478 [details]
Patch
Comment 4 Geoffrey Garen 2015-07-24 14:25:44 PDT
Created attachment 257479 [details]
Patch
Comment 5 Anders Carlsson 2015-07-24 14:27:26 PDT
Comment on attachment 257479 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=257479&action=review

> Source/bmalloc/bmalloc/Zone.cpp:39
> +        fprintf(stderr, "bmalloc: error reading remote process: %d\n", error);

I find that kern_return_t values are easier to read as hex, so I suggest you use 0x%x here.
Comment 6 Geoffrey Garen 2015-07-24 14:30:26 PDT
Committed r187362: <http://trac.webkit.org/changeset/187362>