<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>147674</bug_id>
          
          <creation_ts>2015-08-04 18:34:20 -0700</creation_ts>
          <short_desc>editing/mac/pasteboard/5583362.html is throwing Obj-C exceptions in WK1</short_desc>
          <delta_ts>2024-05-06 14:29:28 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>enrica</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1114932</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2015-08-04 18:34:20 -0700</bug_when>
    <thetext>Running webkit tests with -1 makes editing/mac/pasteboard/5583362.html timeout, because of this:

2015-08-04 18:30:28.030 DumpRenderTree[6994:656531] -[WebUndefined length]: unrecognized selector sent to instance 0x7f9f7a4334e0
2015-08-04 18:30:28.047 DumpRenderTree[6994:656531] An uncaught exception was raised
2015-08-04 18:30:28.047 DumpRenderTree[6994:656531] -[WebUndefined length]: unrecognized selector sent to instance 0x7f9f7a4334e0
2015-08-04 18:30:28.047 DumpRenderTree[6994:656531] (
	0   CoreFoundation                      0x00007fff8fb7c7cc __exceptionPreprocess + 172
	1   libobjc.A.dylib                     0x00007fff93653810 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff8fb7f88d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
	3   CoreFoundation                      0x00007fff8fab8e61 ___forwarding___ + 1009
	4   CoreFoundation                      0x00007fff8fab89e8 _CF_forwarding_prep_0 + 120
	5   CoreFoundation                      0x00007fff8fb05aac CFPasteboardCreateStringFromData + 28
	6   AppKit                              0x00007fff87ba8281 +[NSPasteboard _convertDataToString:] + 25
	7   WebCore                             0x00000001055189a4 _ZN7WebCore18PlatformPasteboard13stringForTypeERKN3WTF6StringE + 180
	8   WebKitLegacy                        0x000000010713886d _ZThn56_N21WebPlatformStrategies13stringForTypeERKN3WTF6StringES3_ + 45
	9   WebCore                             0x00000001054ff60d _ZN7WebCore10Pasteboard4readERNS_26PasteboardWebContentReaderE + 4173
	10  WebCore                             0x0000000104d89d16 _ZN7WebCore6Editor19pasteWithPasteboardEPNS_10PasteboardEbNS_22MailBlockquoteHandlingE + 198
	11  WebCore                             0x0000000104d7a369 _ZN7WebCore6Editor5pasteERNS_10PasteboardE + 169
	12  WebCore                             0x0000000104d7a27e _ZN7WebCore6Editor5pasteEv + 30
	13  WebCore                             0x0000000104d87c9e _ZN7WebCoreL12executePasteERNS_5FrameEPNS_5EventENS_19EditorCommandSourceERKN3WTF6StringE + 30
	14  WebCore                             0x0000000104d852f6 _ZNK7WebCore6Editor7Command7executeERKN3WTF6StringEPNS_5EventE + 182
	15  WebCore                             0x0000000104cc8eb6 _ZN7WebCore8Document11execCommandERKN3WTF6StringEbS4_ + 214
	16  WebCore                             0x00000001050f1d04 _ZN7WebCore38jsDocumentPrototypeFunctionExecCommandEPN3JSC9ExecStateE + 420
	17  ???                                 0x0000598889401028 0x0 + 98442953101352
	18  JavaScriptCore                      0x00000001039d5823 llint_entry + 22730
	19  JavaScriptCore                      0x00000001039d5823 llint_entry + 22730
	20  JavaScriptCore                      0x00000001039cfd49 vmEntryToJavaScript + 326
	21  JavaScriptCore                      0x0000000103898919 _ZN3JSC7JITCode7executeEPNS_2VMEPNS_14ProtoCallFrameE + 169
	22  JavaScriptCore                      0x000000010387f414 _ZN3JSC11Interpreter7executeEPNS_17ProgramExecutableEPNS_9ExecStateEPNS_8JSObjectE + 10436
	23  JavaScriptCore                      0x00000001035a1565 _ZN3JSC8evaluateEPNS_9ExecStateERKNS_10SourceCodeENS_7JSValueERN3WTF8NakedPtrINS_9ExceptionEEE + 469
	24  WebCore                             0x000000010573175c _ZN7WebCore16ScriptController15evaluateInWorldERKNS_16ScriptSourceCodeERNS_15DOMWrapperWorldE + 284
	25  WebCore                             0x0000000105731999 _ZN7WebCore16ScriptController8evaluateERKNS_16ScriptSourceCodeE + 41
	26  WebCore                             0x00000001057378ac _ZN7WebCore13ScriptElement13executeScriptERKNS_16ScriptSourceCodeE + 316
	27  WebCore                             0x0000000105736556 _ZN7WebCore13ScriptElement13prepareScriptERKN3WTF12TextPositionENS0_17LegacyTypeSupportE + 1046
	28  WebCore                             0x0000000104f49e5b _ZN7WebCore16HTMLScriptRunner9runScriptEPNS_7ElementERKN3WTF12TextPositionE + 347
	29  WebCore                             0x0000000104f49cb0 _ZN7WebCore16HTMLScriptRunner7executeEN3WTF10PassRefPtrINS_7ElementEEERKNS1_12TextPositionE + 48
	30  WebCore                             0x0000000104eee346 _ZN7WebCore18HTMLDocumentParser30runScriptsForPausedTreeBuilderEv + 86
	31  WebCore                             0x0000000104eee40d _ZN7WebCore18HTMLDocumentParser16canTakeNextTokenENS0_15SynchronousModeERNS_11PumpSessionE + 93
	32  WebCore                             0x0000000104eedfa3 _ZN7WebCore18HTMLDocumentParser13pumpTokenizerENS0_15SynchronousModeE + 595
	33  WebCore                             0x0000000104eeecbd _ZN7WebCore18HTMLDocumentParser6appendEN3WTF10PassRefPtrINS1_10StringImplEEE + 669
	34  WebCore                             0x0000000104c9df5c _ZN7WebCore25DecodedDataDocumentParser5flushERNS_14DocumentWriterE + 92
	35  WebCore                             0x0000000104cf2fbb _ZN7WebCore14DocumentWriter3endEv + 43
	36  WebCore                             0x0000000104cdbd1c _ZN7WebCore14DocumentLoader15finishedLoadingEd + 268
	37  WebCore                             0x0000000104b1c8a9 _ZN7WebCore14CachedResource11checkNotifyEv + 153
	38  WebCore                             0x0000000104b18cd3 _ZN7WebCore17CachedRawResource13finishLoadingEPNS_12SharedBufferE + 227
	39  WebCore                             0x0000000105864711 _ZN7WebCore17SubresourceLoader16didFinishLoadingEd + 1153
	40  CFNetwork                           0x00007fff89ca58c2 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 69
	41  CFNetwork                           0x00007fff89ca573e -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 233
	42  CFNetwork                           0x00007fff89ca5643 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 48
	43  CFNetwork                           0x00007fff89ca6654 ___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke + 104
	44  CFNetwork                           0x00007fff89d836eb ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 100
	45  libdispatch.dylib                   0x00007fff92540409 _dispatch_client_callout + 8
	46  libdispatch.dylib                   0x00007fff925569f8 _dispatch_block_invoke + 474
	47  CFNetwork                           0x00007fff89bff9c0 _ZN19RunloopBlockContext13_invoke_blockEPKvPv + 24
	48  CoreFoundation                      0x00007fff8fa59144 CFArrayApplyFunction + 68
	49  CFNetwork                           0x00007fff89bff8b9 _ZN19RunloopBlockContext7performEv + 137
	50  CFNetwork                           0x00007fff89bff690 _ZN17MultiplexerSource7performEv + 282
	51  CFNetwork                           0x00007fff89bff4b2 _ZN17MultiplexerSource8_performEPv + 72
	52  CoreFoundation                      0x00007fff8fa8ce21 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	53  CoreFoundation                      0x00007fff8fa7ec4c __CFRunLoopDoSources0 + 556
	54  CoreFoundation                      0x00007fff8fa7e16f __CFRunLoopRun + 927
	55  CoreFoundation                      0x00007fff8fa7db68 CFRunLoopRunSpecific + 296
	56  DumpRenderTree                      0x0000000103398c8f _ZL7runTestRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE + 2463
	57  DumpRenderTree                      0x00000001033980b9 _Z14dumpRenderTreeiPPKc + 2928
	58  DumpRenderTree                      0x0000000103399572 _Z18DumpRenderTreeMainiPPKc + 1388</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1114934</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2015-08-04 18:37:07 -0700</bug_when>
    <thetext>Not sure if this is related to bug 123029.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2033574</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2024-05-06 14:29:28 -0700</bug_when>
    <thetext>This is still reproducing. Slightly different but similar error:

*** Terminating app due to uncaught exception &apos;NSInvalidArgumentException&apos;, reason: &apos;Calling -setData:forType: on NSPasteboardItem with object of type WebUndefined instead of NSData.&apos;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>