Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Issue 1718123002: Added errno (or GetLastError code) to crash dump when systemAllocPages fails. (Closed)

Created:
4 years, 10 months ago by tasak
Modified:
4 years, 10 months ago
Reviewers:
haraken, sof, tzik
CC:
chromium-reviews, oilpan-reviews, Mads Ager (chromium), blink-reviews, blink-reviews-wtf_chromium.org, kouhei+heap_chromium.org, Mikhail
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added errno (or GetLastError code) to crash dump when systemAllocPages fails. To understand WTF::initializeWithoutV8 crashes, we need more information about the crashes' reason. I guess, such crashes might occur because of systemAllocPages (i.e. mmap or VirtualAlloc) failures. So added errno (or GetLastError() code) to crash dumps when systemAllocPages fails. BUG=584628 Committed: https://crrev.com/3b1a0eabd9367582b35ffea641da1ee07baf4501 Cr-Commit-Position: refs/heads/master@{#377245}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : modify handleOutOfMemory #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -1 line) Patch
M third_party/WebKit/Source/wtf/PageAllocator.h View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/wtf/PageAllocator.cpp View 5 chunks +14 lines, -1 line 0 comments Download
M third_party/WebKit/Source/wtf/Partitions.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
tasak
Would you review this CL? I'm afraid that I misunderstand base::debug::alias and so on.
4 years, 10 months ago (2016-02-23 03:45:27 UTC) #6
sof
https://codereview.chromium.org/1718123002/diff/80001/third_party/WebKit/Source/wtf/Partitions.cpp File third_party/WebKit/Source/wtf/Partitions.cpp (left): https://codereview.chromium.org/1718123002/diff/80001/third_party/WebKit/Source/wtf/Partitions.cpp#oldcode191 third_party/WebKit/Source/wtf/Partitions.cpp:191: base::debug::Alias(&signature); If Alias() makes its (aliased) local variable persisted ...
4 years, 10 months ago (2016-02-23 07:27:25 UTC) #7
tzik
lgtm
4 years, 10 months ago (2016-02-24 02:12:27 UTC) #8
tasak
Thank you, tzik and sof. +haraken Would you review this CL? https://codereview.chromium.org/1718123002/diff/80001/third_party/WebKit/Source/wtf/Partitions.cpp File third_party/WebKit/Source/wtf/Partitions.cpp (left): ...
4 years, 10 months ago (2016-02-24 03:53:33 UTC) #10
sof
On 2016/02/24 03:53:33, tasak wrote: > Thank you, tzik and sof. > > +haraken > ...
4 years, 10 months ago (2016-02-24 06:17:06 UTC) #11
haraken
LGTM
4 years, 10 months ago (2016-02-24 07:32:24 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1718123002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1718123002/100001
4 years, 10 months ago (2016-02-24 07:46:46 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:100001)
4 years, 10 months ago (2016-02-24 09:05:24 UTC) #16
commit-bot: I haz the power
4 years, 10 months ago (2016-02-24 09:06:52 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3b1a0eabd9367582b35ffea641da1ee07baf4501
Cr-Commit-Position: refs/heads/master@{#377245}

Powered by Google App Engine
This is Rietveld 408576698