Re: [dev] [surf][bug] bug in pipe communication to extension

From: Jochen Sprickerhof <dwm_AT_jochen.sprickerhof.de>
Date: Sat, 17 Oct 2020 10:56:31 +0200

Hi Jona,

* Jona Ackerschott <jona.a99_AT_gmail.com> [2020-10-17 09:53]:
>To reproduce this bug, execute mainline surf without patches, go to 'google.com'
>(Exactly this, combinations of 'http(s)' or 'www' added to this
>can change the behaviour) and then to 'twitter.com' (Again extactly this).
>These sites are just one example, this also happens with other sites,
>mostly pretty bloated ones.
>You should see that 'twitter.com' is not loading and the error messages
>'webext: error sending: i', 'webext: message too short: %i' (where %i is
>some negative integer).
>There is also a variation of this bug, where you find only the first
>error message and the page is loading in a finite amount of time.

Confirmed.

>I think all this behaviour can be traced back to the fact, that the
>pipes are being closed to early in readpipe, because they could be
>needed again.
>A fix could be to let those pipes open during runtime and only close
>them in the 'cleanup' function.
>At least this fixes all the problems i have talked about.

Please send a patch for discussion.

Cheers Jochen

Received on Sat Oct 17 2020 - 10:56:31 CEST

This archive was generated by hypermail 2.3.0 : Sun Oct 18 2020 - 07:24:08 CEST