Bug 196388

Summary: CFDictionary encoder crashes on non-string keys
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: WebKit Misc.Assignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, rniwa, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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.