<?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>261733</bug_id>
          
          <creation_ts>2023-09-19 05:52:27 -0700</creation_ts>
          <short_desc>[GTK] Playing videos on odysee.com breaks network process</short_desc>
          <delta_ts>2023-11-13 13:09:36 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>nekohayo</cc>
    
    <cc>pgriffis</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1978254</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-09-19 05:52:27 -0700</bug_when>
    <thetext>Visit https://odysee.com/@GraysonPeddie:6/gnome-mag-obs:5 and try to play the video. Networking will break in all browser tabs.

My always-open Element tab says:

&quot;&quot;&quot;
Database unexpectedly closed

This may be caused by having the app open in multiple tabs or due to clearing browser data.
&quot;&quot;&quot;

In practice, this error message usually corresponds to a WebKitNetworkProcess crash; however, in this case, the network process does not crash.

Trying to load other websites in new tabs results in the &quot;WebKit encountered an internal error&quot; error page that also generally corresponds to a network process crash.

The odysee page itself will display one of two error messages. It might present the error &quot;A network error caused the media download to fail part-way&quot; on top of the video itself, or it might display a banner at the bottom of the page warning that you are offline.

Suffice to say, something is wrong in the network process. It&apos;s a real shame that it&apos;s not actually crashing, because that would make it much easier to figure out what is wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992212</commentid>
    <comment_count>1</comment_count>
    <who name="Patrick Griffis">pgriffis</who>
    <bug_when>2023-11-13 12:03:29 -0800</bug_when>
    <thetext>It crashes here but I don&apos;t have a great callstack:

__cxa_throw (@__cxa_throw:3)
___lldb_unnamed_symbol355 (@___lldb_unnamed_symbol355:13)
px_proxy_factory_get_proxies (@px_proxy_factory_get_proxies:1622)
___lldb_unnamed_symbol105 (@___lldb_unnamed_symbol105:37)
___lldb_unnamed_symbol5310 (@___lldb_unnamed_symbol5310:32)
___lldb_unnamed_symbol2644 (@___lldb_unnamed_symbol2644:102)
___lldb_unnamed_symbol2629 (@___lldb_unnamed_symbol2629:25)
start_thread (@start_thread:163)
__clone3 (@__clone3:20)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992244</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-11-13 13:09:36 -0800</bug_when>
    <thetext>Well yours is crashing in libproxy so I&apos;m pretty sure your bug is different from mine. I&apos;m curious to know what your system proxy config looks like. For myself and most users, it&apos;s empty.

My WebKit is definitely not crashing. This has recently become a frequent problem affecting many websites; in fact, I saw this bug again earlier today, but don&apos;t remember on which website. It just happens randomly anywhere. I think we decided that nghttp2 can return &quot;internal error&quot; to libsoup; maybe libsoup is passing that along to WebKit somehow?

It&apos;s coming from here:

WebCore/platform/network/ResourceErrorBase.cpp:    return ResourceError(&quot;WebKitErrorDomain&quot;_s, 300, url, WEB_UI_STRING(&quot;WebKit encountered an internal error&quot;, &quot;WebKitErrorInternal description&quot;));</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>