WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
180379
Exclude some more leak callstacks
https://bugs.webkit.org/show_bug.cgi?id=180379
Summary
Exclude some more leak callstacks
Joseph Pecoraro
Reported
2017-12-04 14:14:18 PST
Exclude some more leak callstacks And fix a typo in related code.
Attachments
[PATCH] Proposed Fix
(3.33 KB, patch)
2017-12-04 14:17 PST
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Joseph Pecoraro
Comment 1
2017-12-04 14:17:52 PST
Created
attachment 328390
[details]
[PATCH] Proposed Fix I spent 30 minutes trying to figure out how to run: Tools/Scripts/webkitpy/port/leakdetector_unittest.py without success. However it looks like the perl under the hood turns this string into a Regex so I can't just do '-[NSSpellChecker init]'.
EWS Watchlist
Comment 2
2017-12-04 14:19:08 PST
Attachment 328390
[details]
did not pass style-queue: ERROR: Tools/Scripts/webkitpy/port/leakdetector.py:51: [LeakDetector._types_to_exclude_from_leaks] An attribute affected in webkitpy.port.leakdetector_unittest line 52 hide this method [pylint/E0202] [5] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Alexey Proskuryakov
Comment 3
2017-12-04 14:25:48 PST
Comment on
attachment 328390
[details]
[PATCH] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=328390&action=review
> I spent 30 minutes trying to figure out how to run:
>
> Tools/Scripts/webkitpy/port/leakdetector_unittest.py
test-webkitpy is the script to run. It passed in EWS. Please update the radars saying that you added these exclusions!
> Tools/Scripts/webkitpy/port/leakdetector.py:60 > + 'NSSpellChecker init', # <
rdar://problem/35434615
>
This seems acceptable for now, but really this silences all leaks in NSSpellChecker initialisation, which may be too much. FWIW, see <
http://trac.webkit.org/browser/webkit/trunk/Tools/Scripts/webkitpy/port/leakdetector.py?rev=225239
> for how to make these exclusions conditional based on macOS version.
Joseph Pecoraro
Comment 4
2017-12-04 14:46:22 PST
> > I spent 30 minutes trying to figure out how to run: > > > > Tools/Scripts/webkitpy/port/leakdetector_unittest.py > > test-webkitpy is the script to run. It passed in EWS.
test-webkitpy never completes for me when run locally. It seems to hang with 7 tests left, forever (or at least more then a few minutes which is when I killed it) I also can't figure out how to run just a subset of tests with it.
WebKit Commit Bot
Comment 5
2017-12-04 14:51:17 PST
Comment on
attachment 328390
[details]
[PATCH] Proposed Fix Clearing flags on attachment: 328390 Committed
r225496
: <
https://trac.webkit.org/changeset/225496
>
WebKit Commit Bot
Comment 6
2017-12-04 14:51:18 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7
2017-12-04 14:52:20 PST
<
rdar://problem/35840167
>
Alexey Proskuryakov
Comment 8
2017-12-04 15:15:15 PST
> test-webkitpy never completes for me when run locally. It seems to hang with 7 tests left, forever (or at least more then a few minutes which is when I killed it)
That would be a bad bug. Please run with --verbose, and file a bug about this.
Joseph Pecoraro
Comment 9
2017-12-04 15:46:07 PST
> That would be a bad bug. Please run with --verbose, and file a bug about this.
I worked this out with Safari engineers on IRC. It has to deal with my PYTHONPATH including some things that changes test-webkitpy behavior. I have a workaround. -- For the purposes of this bug, what I really wanted was this: $ Tools/Scripts/test-webkitpy webkitpy.port.leakdetector_unittest Where the magic identifier is the path to leakdetector_unittest.py with '/' characters replaced with '.'s.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug