Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8357786

Debug build asserts on headerValue.is8Bit()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx24
    • javafx
    • None
    • web
    • aarch64
    • os_x

      During execution simple webpage with sort of ad frame (https://www.w3schools.com/js/tryit.asp?filename=tryjs_timing1) runtime crashes with the following stacktrace:
      ```
      Received 'https://script.4dex.io/localstore.js'.
      ASSERTION FAILED: headerValue.is8Bit()
      modules/javafx.web/src/main/native/Source/WebCore/loader/ServerTimingParser.cpp(44) : Vector<WebCore::ServerTiming> WebCore::ServerTimingParser::parseServerTiming(const WTF::String &)
      1 0x329bb9a40 WebCore::ServerTimingParser::parseServerTiming(WTF::String const&)
      2 0x329bb9740 WebCore::ResourceTiming::ResourceTiming(WTF::URL const&, WTF::String const&, WebCore::ResourceLoadTiming const&, WebCore::NetworkLoadMetrics const&, WebCore::ResourceResponse const&, WebCore::SecurityOrigin const&)
      3 0x329bb95a8 WebCore::ResourceTiming::ResourceTiming(WTF::URL const&, WTF::String const&, WebCore::ResourceLoadTiming const&, WebCore::NetworkLoadMetrics const&, WebCore::ResourceResponse const&, WebCore::SecurityOrigin const&)
      4 0x329bb962c WebCore::ResourceTiming::fromLoad(WebCore::CachedResource&, WTF::URL const&, WTF::String const&, WebCore::ResourceLoadTiming const&, WebCore::NetworkLoadMetrics const&, WebCore::SecurityOrigin const&)
      5 0x329bd1864 WebCore::SubresourceLoader::reportResourceTiming(WebCore::NetworkLoadMetrics const&)
      6 0x329bce90c WebCore::SubresourceLoader::didFinishLoading(WebCore::NetworkLoadMetrics const&)
      7 0x329bb8d20 WebCore::ResourceLoader::didFinishLoading(WebCore::ResourceHandle*, WebCore::NetworkLoadMetrics const&)
      8 0x32a58b2d0 WebCore::URLLoader::AsynchronousTarget::didFinishLoading()
      9 0x32a58c3d4 Java_com_sun_webkit_network_URLLoaderBase_twkDidFinishLoading
      10 0x11430d2ec 9 ??? 0x000000011430d2ec 0x0 + 4633711340
      11 0x114308bec 10 ??? 0x0000000114308bec 0x0 + 4633693164
      12 0x114308bec 11 ??? 0x0000000114308bec 0x0 + 4633693164
      13 0x10d1f4900 12 ??? 0x000000010d1f4900 0x0 + 4515121408
      14 0x102f17afc JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)
      15 0x102ff7140 jni_invoke_nonstatic(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, JavaThread*)
      16 0x102fffaac jni_CallVoidMethod
      17 0x12a0733e4 -[GlassRunnable run]
      18 0x189f20f74 __NSThreadPerformPerform
      19 0x188935cd4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
      20 0x188935c68 __CFRunLoopDoSource0
      21 0x1889359d4 __CFRunLoopDoSources0
      22 0x188934628 __CFRunLoopRun
      23 0x188933c58 CFRunLoopRunSpecific
      24 0x1943c827c RunCurrentEventLoopInMode
      25 0x1943cb4e8 ReceiveNextEventCommon
      26 0x194556484 _BlockUntilNextEventMatchingListInModeWithFilter
      27 0x18c85bab4 _DPSNextEvent
      28 0x18d1fa5b0 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
      29 0x18c84ec64 -[NSApplication run]
      30 0x12a076708 -[GlassApplication runLoop:]
      31 0x189f20f74 __NSThreadPerformPerform
      ```

            gpattnaik Gopal Pattnaik
            snazarki Sergey Nazarkin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: