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

Issue 1980203002: [Findit] Filter inline function path frames (Closed)

Created:
4 years, 7 months ago by Sharu Jiang
Modified:
4 years, 7 months ago
CC:
chromium-reviews, infra-reviews+infra_chromium.org, mmandlis, aarya
Base URL:
https://chromium.googlesource.com/infra/infra.git@master
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

[Findit] Filter inline function path frames Change GetCrashStack() function of stacktrace to computed property crash_stack, using signature to determine the crash stack, and filter frames before signature while computing main stack. Remove the FilterFramesBeforeSignature function in callstack_filters. Add FilterInlineFunctionFrames to filter those inline function frames, because for these frames, the file paths are not the oringinal file paths. BUG=611876 Committed: https://chromium.googlesource.com/infra/infra/+/adaf864ffb6be7ae85c71c1cd4adbd3ec677a0e2

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Rebase and fix nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -56 lines) Patch
M appengine/findit/crash/callstack_filters.py View 1 1 chunk +20 lines, -13 lines 0 comments Download
M appengine/findit/crash/findit_for_crash.py View 1 chunk +1 line, -1 line 0 comments Download
M appengine/findit/crash/fracas_parser.py View 3 chunks +5 lines, -3 lines 0 comments Download
M appengine/findit/crash/stacktrace.py View 1 2 chunks +39 lines, -5 lines 0 comments Download
M appengine/findit/crash/test/callstack_filters_test.py View 2 chunks +22 lines, -25 lines 0 comments Download
M appengine/findit/crash/test/fracas_parser_test.py View 2 chunks +2 lines, -2 lines 0 comments Download
M appengine/findit/crash/test/stacktrace_test.py View 1 1 chunk +57 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (10 generated)
Sharu Jiang
PTAL :)
4 years, 7 months ago (2016-05-16 22:48:14 UTC) #4
stgao
lgtm with nits. https://codereview.chromium.org/1980203002/diff/20001/appengine/findit/crash/callstack.py File appengine/findit/crash/callstack.py (right): https://codereview.chromium.org/1980203002/diff/20001/appengine/findit/crash/callstack.py#newcode86 appengine/findit/crash/callstack.py:86: super(CallStack, self).__init__(frame_list) This seems addressed in ...
4 years, 7 months ago (2016-05-17 00:30:35 UTC) #7
Sharu Jiang
https://codereview.chromium.org/1980203002/diff/20001/appengine/findit/crash/callstack.py File appengine/findit/crash/callstack.py (right): https://codereview.chromium.org/1980203002/diff/20001/appengine/findit/crash/callstack.py#newcode86 appengine/findit/crash/callstack.py:86: super(CallStack, self).__init__(frame_list) On 2016/05/17 00:30:34, stgao wrote: > This ...
4 years, 7 months ago (2016-05-17 18:34:59 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1980203002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1980203002/40001
4 years, 7 months ago (2016-05-17 18:38:09 UTC) #12
Martin Barbella
I'm fine with this temporarily, but as discussed during our last meeting I don't think ...
4 years, 7 months ago (2016-05-17 18:40:05 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:40001) as https://chromium.googlesource.com/infra/infra/+/adaf864ffb6be7ae85c71c1cd4adbd3ec677a0e2
4 years, 7 months ago (2016-05-17 18:42:09 UTC) #16
Sharu Jiang
4 years, 7 months ago (2016-05-17 19:44:42 UTC) #17
Message was sent while issue was closed.
On 2016/05/17 18:40:05, Martin Barbella wrote:
> I'm fine with this temporarily, but as discussed during our last meeting I
don't
> think this approach will actually solve the problem. I suspect there are still
> going to be cases where file paths seem wrong due to inlined frames in actual
> chromium code.

I think so, but I cannot think of a good way now, will change this once I found
a better way later.

Powered by Google App Engine
This is Rietveld 408576698