Bug 284476
| Summary: | run-leaks fails: Can't use string as an ARRAY ref while "strict refs" in use | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
| Component: | Tools / Tests | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
David Kilzer (:ddkilzer)
run-leaks fails: Can't use string as an ARRAY ref while "strict refs" in use
Occurs when running `run-webkit-tests --leaks`.
```
10:46:48.847 74489 Checking for leaks in WebKitTestRunner
10:47:45.862 74489 "Tools/Scripts/run-leaks --exclude-callstack=WTF::BitVector::OutOfLineBits::create --exclude-callstack=WTF::BitVector::resizeOutOfLine --exclude-callstack=WebCore::createPrivateStorageSession --exclude-callstack=CIDeviceManagerStartMonitoring --exclude-callstack=NSSpellChecker init --exclude-callstack=NSColor controlHighlightColor --output-file=OpenSource/wk2-leaks/WebKitTestRunner-74652-leaks.txt --memgraph-file=OpenSource/wk2-leaks/WebKitTestRunner-74652.memgraph 74652" took 57.02s
10:47:45.862 74489 Failed to run leaks tool: Failed to run "['Tools/Scripts/run-leaks', '--exclude-callstack=WTF::BitVector::OutOfLineBits::create', '--exclude-callstack=WTF::BitVector::resizeOutOfLine', '--exclude-callstack=WebCore::createPrivateStorageSession', '--exclude-callstack=CIDeviceManagerStartMonitoring', '--exclude-callstack=NSSpellChecker init', '--exclude-callstack=NSColor controlHighlightColor', '--output-file=OpenSource/wk2-leaks/WebKitTestRunner-74652-leaks.txt', '--memgraph-file=OpenSource/wk2-leaks/WebKitTestRunner-74652.memgraph', 74652]" exit_code: 255 cwd: OpenSource
b'Can\'t use string ("Process: WebKitTestRunne"...) as an ARRAY ref while "strict refs" in use at Tools/Scripts/run-leaks line 85.\n'
```
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/141300372>
David Kilzer (:ddkilzer)
Pull request: https://github.com/WebKit/WebKit/pull/37789
EWS
Committed 287690@main (f2662d86cf7b): <https://commits.webkit.org/287690@main>
Reviewed commits have been landed. Closing PR #37789 and removing active labels.