Bug 188569 - Crashes in Quip under _dictionaryPopupInfoForRange, in setObject:forKey:
Summary: Crashes in Quip under _dictionaryPopupInfoForRange, in setObject:forKey:
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Horton
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-08-14 11:50 PDT by Tim Horton
Modified: 2018-08-15 14:00 PDT (History)
7 users (show)

See Also:


Attachments
Patch (3.99 KB, patch)
2018-08-14 11:51 PDT, Tim Horton
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Horton 2018-08-14 11:50:41 PDT
Crashes in Quip under _dictionaryPopupInfoForRange, in setObject:forKey:
Comment 1 Tim Horton 2018-08-14 11:51:21 PDT
Created attachment 347097 [details]
Patch
Comment 2 Megan Gardner 2018-08-14 14:02:53 PDT
Comment on attachment 347097 [details]
Patch

Since this is speculative, I think a comment mentioning the radar might be helpful.
Comment 3 Tim Horton 2018-08-15 11:11:32 PDT
I'm going to refrain from adding a comment for two reasons: 1) it'll definitely fix the crash; there's no longer any way to get nil in the setObject:forKey:, and 2) we'll never revisit this, so the comment will live forever. The speculativeness is more about the "how we got here" than the fix.
Comment 4 Tim Horton 2018-08-15 11:11:40 PDT
Thank you for your review!
Comment 5 EWS 2018-08-15 11:12:24 PDT
Comment on attachment 347097 [details]
Patch

Rejecting attachment 347097 [details] from review queue.

megan_gardner@apple.com does not have reviewer permissions according to https://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/contributors.json.

- If you do not have reviewer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags.

- If you have reviewer rights please correct the error in Tools/Scripts/webkitpy/common/config/contributors.json by adding yourself to the file (no review needed).  The commit-queue restarts itself every 2 hours.  After restart the commit-queue will correctly respect your reviewer rights.
Comment 6 Tim Horton 2018-08-15 11:19:10 PDT
<rdar://problem/34201095>
Comment 7 EWS 2018-08-15 11:19:51 PDT
Comment on attachment 347097 [details]
Patch

Rejecting attachment 347097 [details] from review queue.

megan_gardner@apple.com does not have reviewer permissions according to https://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/contributors.json.

- If you do not have reviewer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags.

- If you have reviewer rights please correct the error in Tools/Scripts/webkitpy/common/config/contributors.json by adding yourself to the file (no review needed).  The commit-queue restarts itself every 2 hours.  After restart the commit-queue will correctly respect your reviewer rights.
Comment 8 WebKit Commit Bot 2018-08-15 14:00:04 PDT
Comment on attachment 347097 [details]
Patch

Clearing flags on attachment: 347097

Committed r234900: <https://trac.webkit.org/changeset/234900>
Comment 9 WebKit Commit Bot 2018-08-15 14:00:06 PDT
All reviewed patches have been landed.  Closing bug.