Re: WebTransport crashes the tab

22 views
Skip to first unread message
Message has been deleted

Yutaka Hirano

unread,
Nov 2, 2021, 10:16:57 AM11/2/21
to guest271314, web-transport-dev
Can you navigate to chrome://crashes, find the appropriate entry and file a bug with "Provide additional details"?

On Tue, Nov 2, 2021 at 2:18 PM guest271314 <guest...@gmail.com> wrote:
In https://groups.google.com/a/chromium.org/g/web-transport-dev/c/-4q9fmbQEKQ I described trying to stream STDOUT from Popen().

Using updated webtransport_server.py from GoogleChrome/samples https://github.com/GoogleChrome/samples/pull/749 yields the same result as before the update, no data streamed to the browser, additionally the tab consistently crashes now.

At one time I was able to stream data using QuicTransport. I am not sure what has happened since then. Still not able to stream data using WebTransport. 1 and 2 byte tests at WPT are insufficient.

To consistently crash the tab on Chromium 97 run the following code, enter any value in the textarea, select create bidirectional stream, then press send data.

python3 webtransport_server.py certificate.pem certificate.key

The critical part of the code that I changed is streaming random data instead of media to demonstrate 100% crash rate.

if isinstance(event, WebTransportStreamDataReceived):
            if event.data != b'':
                # stream random data instead of media 
                for c in iter(lambda: ''.join(choice(digits) for i in range(512)).encode(), b''):
                    if c is not None:
                        self._http._quic.send_stream_data(
                            event.stream_id, c, end_stream=False)                        
                        print(c)

Screenshot_2021-11-01_21-03-12.png

--
You received this message because you are subscribed to the Google Groups "web-transport-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web-transport-...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/web-transport-dev/f6a6bb71-1c87-4373-8512-d8e8074373bfn%40chromium.org.

guest271314

unread,
Nov 3, 2021, 6:14:32 AM11/3/21
to Yutaka Hirano, web-transport-dev
Chromium team banned me from bugs.chromium.org.

guest271314

unread,
Nov 3, 2021, 10:57:27 AM11/3/21
to web-transport-dev, guest271314, web-transport-dev, yhi...@chromium.org
Steps to reproduce: https://gist.github.com/guest271314/5f567517f94572e84026e76ec6e7cd89. Select create bidirectional stream, inout a non-space characgter into textarea, send. See also https://github.com/aiortc/aioquic/issues/226.
Reply all
Reply to author
Forward
0 new messages