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

Issue 1207433002: Assertion failure when using --log-regexp (Closed)

Created:
5 years, 6 months ago by Djordje.Pesic
Modified:
5 years, 5 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Assertion failure when using --log-regexp RegExpCompileEvent acquieres mutex from Log class during MessageBuilder creation. LogRegExpSource, called from RegExpCompileEvent creates another MessageBuilder object which also acquires the same mutex. This mutex is not recursive, so during second acquirement, assertion fail is happening. Solution: LogRegExpSource should use the same MessageBuilder object as RegExpCompileEvent. Committed: https://crrev.com/7be96aa2e7995a19ec96dc04da38216837f1eb6e Cr-Commit-Position: refs/heads/master@{#29347}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed comments #

Patch Set 3 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -24 lines) Patch
M src/log.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M src/log.cc View 1 2 1 chunk +22 lines, -21 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
dusmil.imgtec
Lgtm, needs approval from Google team.
5 years, 6 months ago (2015-06-24 13:33:05 UTC) #2
Jakob Kummerow
General approach is fine, but I have style nits. https://codereview.chromium.org/1207433002/diff/1/src/log.h File src/log.h (right): https://codereview.chromium.org/1207433002/diff/1/src/log.h#newcode13 src/log.h:13: ...
5 years, 6 months ago (2015-06-24 13:40:01 UTC) #3
Djordje.Pesic
https://codereview.chromium.org/1207433002/diff/1/src/log.h File src/log.h (right): https://codereview.chromium.org/1207433002/diff/1/src/log.h#newcode13 src/log.h:13: #include "src/flags.h" On 2015/06/24 13:40:01, Jakob wrote: > I ...
5 years, 6 months ago (2015-06-25 08:06:16 UTC) #4
Djordje.Pesic
> So, I used const reference. Typo, I used pointer.
5 years, 6 months ago (2015-06-25 08:08:07 UTC) #5
Jakob Kummerow
Sorry for the delay, I was OOO. https://codereview.chromium.org/1207433002/diff/1/src/log.h File src/log.h (right): https://codereview.chromium.org/1207433002/diff/1/src/log.h#newcode13 src/log.h:13: #include "src/flags.h" ...
5 years, 5 months ago (2015-06-29 09:11:50 UTC) #6
Sven Panne
On 2015/06/24 13:40:01, Jakob wrote: > The style guide forbids non-const references. Either use a ...
5 years, 5 months ago (2015-06-29 09:25:16 UTC) #7
Sven Panne
DBC
5 years, 5 months ago (2015-06-29 09:25:25 UTC) #9
Djordje.Pesic
https://codereview.chromium.org/1207433002/diff/1/src/log.h File src/log.h (right): https://codereview.chromium.org/1207433002/diff/1/src/log.h#newcode13 src/log.h:13: #include "src/flags.h" On 2015/06/29 09:11:50, Jakob wrote: > On ...
5 years, 5 months ago (2015-06-29 13:08:38 UTC) #10
Jakob Kummerow
LGTM, thanks!
5 years, 5 months ago (2015-06-29 13:10:06 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1207433002/40001
5 years, 5 months ago (2015-06-29 13:26:47 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 5 months ago (2015-06-29 13:54:04 UTC) #15
commit-bot: I haz the power
5 years, 5 months ago (2015-06-29 13:54:18 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7be96aa2e7995a19ec96dc04da38216837f1eb6e
Cr-Commit-Position: refs/heads/master@{#29347}

Powered by Google App Engine
This is Rietveld 408576698