Bug 196388 - CFDictionary encoder crashes on non-string keys
Summary: CFDictionary encoder crashes on non-string keys
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Timothy Hatcher
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-03-28 20:30 PDT by Timothy Hatcher
Modified: 2019-03-28 21:57 PDT (History)
5 users (show)

See Also:


Attachments
Patch (4.70 KB, patch)
2019-03-28 20:35 PDT, Timothy Hatcher
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Hatcher 2019-03-28 20:30:14 PDT
Crashing on exception: -[__NSCFNumber length]: unrecognized selector sent to instance 0xdb1a3f98a109385

Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff45b1bc03 __exceptionPreprocess + 250
1   libobjc.A.dylib                     0x00007fff7af91a56 objc_exception_throw + 48
2   CoreFoundation                      0x00007fff45bad30d -[NSObject(NSObject) __retain_OA] + 0
3   CoreFoundation                      0x00007fff45ba646a ___forwarding___.cold.3 + 10
4   CoreFoundation                      0x00007fff45ac2e4f ___forwarding___ + 1422
5   CoreFoundation                      0x00007fff45ac2838 _CF_forwarding_prep_0 + 120
6   WebKit                              0x00007fff55b1b17e _ZN3IPC6encodeERNS_7EncoderEPK10__CFString + 34
7   WebKit                              0x00007fff55b1af71 _ZN3IPC6encodeERNS_7EncoderEPK14__CFDictionary + 292
8   WebKit                              0x00007fff55b1af93 _ZN3IPC6encodeERNS_7EncoderEPK14__CFDictionary + 326
9   WebKit                              0x00007fff55c51e80 _ZNK6WebKit21PlatformPopupMenuData6encodeERN3IPC7EncoderE + 18
10  WebKit                              0x00007fff55eba8a4 _ZN3IPC10Connection4sendIN8Messages12WebPageProxy13ShowPopupMenuEEEbOT_yN3WTF9OptionSetINS_10SendOptionEEE + 98

<rdar://problem/49339242>
Comment 1 Radar WebKit Bug Importer 2019-03-28 20:31:39 PDT Comment hidden (obsolete)
Comment 2 Timothy Hatcher 2019-03-28 20:35:18 PDT
Created attachment 366241 [details]
Patch
Comment 3 Timothy Hatcher 2019-03-28 20:38:54 PDT Comment hidden (obsolete)
Comment 4 WebKit Commit Bot 2019-03-28 21:57:17 PDT
Comment on attachment 366241 [details]
Patch

Clearing flags on attachment: 366241

Committed r243640: <https://trac.webkit.org/changeset/243640>
Comment 5 WebKit Commit Bot 2019-03-28 21:57:19 PDT
All reviewed patches have been landed.  Closing bug.