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

Issue 2039443002: fix windows assert (Closed)

Created:
4 years, 6 months ago by caryclark
Modified:
4 years, 6 months ago
Reviewers:
herb_g, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

fix windows assert Windows asserts trigger out of memory stack traces that are confusing. This permits windows to break more directly, stopping the IDE at the assert and providing a less confusing stacktrace outside of the IDE. R=reed@google.com,herb@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2039443002 Committed: https://skia.googlesource.com/skia/+/ae92262f3ba5b3412ff468877277d817f1b61308

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M include/core/SkTypes.h View 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 13 (5 generated)
caryclark
4 years, 6 months ago (2016-06-03 14:36:27 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2039443002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2039443002/1
4 years, 6 months ago (2016-06-03 14:36:29 UTC) #4
herb_g
lgtm
4 years, 6 months ago (2016-06-03 14:50:09 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-03 14:56:00 UTC) #7
reed1
lgtm
4 years, 6 months ago (2016-06-03 16:05:06 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2039443002/1
4 years, 6 months ago (2016-06-03 16:42:00 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/ae92262f3ba5b3412ff468877277d817f1b61308
4 years, 6 months ago (2016-06-03 16:42:57 UTC) #12
brucedawson
4 years, 6 months ago (2016-06-03 22:53:40 UTC) #13
Message was sent while issue was closed.
On 2016/06/03 16:42:57, commit-bot: I haz the power wrote:
> Committed patchset #1 (id:1) as
> https://skia.googlesource.com/skia/+/ae92262f3ba5b3412ff468877277d817f1b61308

FWIW, the usual reason for the madness is that the assert dialog runs a message
pump which then causes messages to be dispatched which leads to unexpected
recursion, possibly arbitrarily deep - the assert dialog breaks all sorts of
pre-conditions. Madness.

The fix I have used in the past (when a debugger is not attached) is to put the
assert dialog on its own thread so that it doesn't pump messages for the main
window. So, invoking the assert dialog requires some inter-thread communication.
Messier, but possible.

Anyway, just an FYI.

Powered by Google App Engine
This is Rietveld 408576698