Bug#902437: xwayland: Firefox crashes Wayland on some web pages

2018-08-26 Thread Hector Oron
Hello,
Missatge de Lars Wirzenius  del dia dt., 26 de juny 2018 a
les 19:51:
>
> Package: xwayland
> Version: 2:1.20.0-2
> Severity: important

> After much headbanging and wailing, I've manged to find way to
> reproduce the crash. I use Firefox as my web browser, and certain web
> pages trigger the crash reproducibly. One such web page is here:
>
> http://johannesbrodwall.com/2018/06/24/forget-about-clean-code-lets-embrace-compassionate-code/

Using xwayland 2:1.20.0-3 I have been able to reproduce by opening
above pointer on X220 machine.

Regards
-- 
 Héctor Orón  -.. . -... .. .- -.   -.. . ...- . .-.. --- .--. . .-.



Bug#902437: xwayland: Firefox crashes Wayland on some web pages

2018-08-15 Thread Lars Wirzenius
On Tue, 2018-06-26 at 20:10 +0100, Steve McIntyre wrote:
> Confirmed here on a fresh install of sid on another X220...

This seems to work on my Yoga laptop now.



signature.asc
Description: This is a digitally signed message part


Bug#902437:

2018-06-30 Thread Facundo Gaich
Hi,

This is a duplicate of
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901883


Bug#902437: xwayland: Firefox crashes Wayland on some web pages

2018-06-26 Thread Steve McIntyre
On Tue, Jun 26, 2018 at 08:50:10PM +0300, Lars Wirzenius wrote:
>Package: xwayland
>Version: 2:1.20.0-2
>Severity: important
>
>Dear Maintainer,
>
>My apologies for ruining your day with what looks like a tricky driver
>bug. I hate debugging such things, myself.
>
>I'm marking this "important", because the issue makes me not dare to
>browse the web: I've had to reboot my system several times a day
>lately. If you think it should be a lower severity, please downgrade.
>
>Also, I made a wild guess at which package to report this issue
>against, and I am so utterly, comically ignorant of everything in a
>modern Debian desktop system that I may have guessed wrongly; please
>reassign if so.
>
>I run Debian sid on two different laptops: a Lenovo Thinkpad X220, and
>a Lenovo Yoga 900. Both use an Intel graphics card or chip. For the
>past week or two, the X220 has been crashing from time to time. I
>thought it might be bad memory in the laptop, so I switched to the
>Yoga. Then the Yoga started crashing.
>
>After much headbanging and wailing, I've manged to find way to
>reproduce the crash. I use Firefox as my web browser, and certain web
>pages trigger the crash reproducibly. One such web page is here:
>
>http://johannesbrodwall.com/2018/06/24/forget-about-clean-code-lets-embrace-compassionate-code/
>
>What happens is that Firefox does not render that page, only updates
>the page title in the window title, and then becomes unresponsive.
>Menus don't react in anyway. i can't close the tab or window with
>Ctrl-W, or by clicking on the window close button. After a few more
>seconds, the whole desktop stops working, meaning that pressing the
>capslock key no longer toggles the LED. The mouse cursor may or may
>not work. If it does work, moving it to the top left corner of the
>GNOME desktop makes the mouse not work anymore. Also, the desktop does
>not do the "whoosh" feature of GNOME where it shows all windows on the
>current virtual desktop, and the "dock" on the left side of the
>screen.
>
>The machine seems to work otherwise: I can log into it via ssh, and
>run commands on the command line. I can restart gdm3 from the ssh
>session, but if I log back in, it doesn't work: I get a dark grey
>screen, no windows, and nothing else for about half a minute, and then
>it's back to the gdm3 login screen. Logging in as a different user
>seems to work.
>
>There's nothing new in dmesg output, when the crash happens. I've run
>the in-kernel memtest on the Yoga, and it resports no problems. (I've
>not bothered to run it on the X220 yet. I can, if it'd be helpful to
>you.)
>
>I reconfigured gdm3 on the Yoga to start Xorg instead of Wayland, and
>now the web page above works fine in Firefox. No crash.. The webpage
>renders fine under Wayland using Chromium.
>
>I am OK with this workaround, but I assume the bug should be fixed if
>Wayland is to be the default in Debian. The problem is reproducible
>for me. If others can reproduce it, it should be doable on any X220,
>which is, or used to be, a common laptop. I will be keeping mine
>in storage for a while, so that if there's a need, I can try new
>package versions to see if they fix the problem.
>
>Happy hunting.
>
>
>
>-- System Information:
>Debian Release: buster/sid
>  APT prefers unstable
>  APT policy: (500, 'unstable'), (500, 'stable')
>Architecture: amd64 (x86_64)
>
>Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
>Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
>LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
>Shell: /bin/sh linked to /bin/dash
>Init: systemd (via /run/systemd/system)
>
>Versions of packages xwayland depends on:
>ii  libaudit1   1:2.8.3-1
>ii  libbsd0 0.9.1-1
>ii  libc6   2.27-3
>ii  libdrm2 2.4.92-1
>ii  libegl1 1.0.0+git20180308-3
>ii  libepoxy0   1.4.3-1
>ii  libgbm1 18.1.2-1
>ii  libgcrypt20 1.8.3-1
>ii  libgl1  1.0.0+git20180308-3
>ii  libpixman-1-0   0.34.0-2
>ii  libselinux1 2.8-1
>ii  libsystemd0 239-1
>ii  libwayland-client0  1.15.0-2
>ii  libxau6 1:1.0.8-1+b2
>ii  libxdmcp6   1:1.1.2-3
>ii  libxfont2   1:2.0.3-1
>ii  libxshmfence1   1.3-1
>ii  xserver-common  2:1.20.0-2

Confirmed here on a fresh install of sid on another X220...

-- 
Steve



Bug#902437: xwayland: Firefox crashes Wayland on some web pages

2018-06-26 Thread Lars Wirzenius
Package: xwayland
Version: 2:1.20.0-2
Severity: important

Dear Maintainer,

My apologies for ruining your day with what looks like a tricky driver
bug. I hate debugging such things, myself.

I'm marking this "important", because the issue makes me not dare to
browse the web: I've had to reboot my system several times a day
lately. If you think it should be a lower severity, please downgrade.

Also, I made a wild guess at which package to report this issue
against, and I am so utterly, comically ignorant of everything in a
modern Debian desktop system that I may have guessed wrongly; please
reassign if so.

I run Debian sid on two different laptops: a Lenovo Thinkpad X220, and
a Lenovo Yoga 900. Both use an Intel graphics card or chip. For the
past week or two, the X220 has been crashing from time to time. I
thought it might be bad memory in the laptop, so I switched to the
Yoga. Then the Yoga started crashing.

After much headbanging and wailing, I've manged to find way to
reproduce the crash. I use Firefox as my web browser, and certain web
pages trigger the crash reproducibly. One such web page is here:

http://johannesbrodwall.com/2018/06/24/forget-about-clean-code-lets-embrace-compassionate-code/

What happens is that Firefox does not render that page, only updates
the page title in the window title, and then becomes unresponsive.
Menus don't react in anyway. i can't close the tab or window with
Ctrl-W, or by clicking on the window close button. After a few more
seconds, the whole desktop stops working, meaning that pressing the
capslock key no longer toggles the LED. The mouse cursor may or may
not work. If it does work, moving it to the top left corner of the
GNOME desktop makes the mouse not work anymore. Also, the desktop does
not do the "whoosh" feature of GNOME where it shows all windows on the
current virtual desktop, and the "dock" on the left side of the
screen.

The machine seems to work otherwise: I can log into it via ssh, and
run commands on the command line. I can restart gdm3 from the ssh
session, but if I log back in, it doesn't work: I get a dark grey
screen, no windows, and nothing else for about half a minute, and then
it's back to the gdm3 login screen. Logging in as a different user
seems to work.

There's nothing new in dmesg output, when the crash happens. I've run
the in-kernel memtest on the Yoga, and it resports no problems. (I've
not bothered to run it on the X220 yet. I can, if it'd be helpful to
you.)

I reconfigured gdm3 on the Yoga to start Xorg instead of Wayland, and
now the web page above works fine in Firefox. No crash.. The webpage
renders fine under Wayland using Chromium.

I am OK with this workaround, but I assume the bug should be fixed if
Wayland is to be the default in Debian. The problem is reproducible
for me. If others can reproduce it, it should be doable on any X220,
which is, or used to be, a common laptop. I will be keeping mine
in storage for a while, so that if there's a need, I can try new
package versions to see if they fix the problem.

Happy hunting.



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xwayland depends on:
ii  libaudit1   1:2.8.3-1
ii  libbsd0 0.9.1-1
ii  libc6   2.27-3
ii  libdrm2 2.4.92-1
ii  libegl1 1.0.0+git20180308-3
ii  libepoxy0   1.4.3-1
ii  libgbm1 18.1.2-1
ii  libgcrypt20 1.8.3-1
ii  libgl1  1.0.0+git20180308-3
ii  libpixman-1-0   0.34.0-2
ii  libselinux1 2.8-1
ii  libsystemd0 239-1
ii  libwayland-client0  1.15.0-2
ii  libxau6 1:1.0.8-1+b2
ii  libxdmcp6   1:1.1.2-3
ii  libxfont2   1:2.0.3-1
ii  libxshmfence1   1.3-1
ii  xserver-common  2:1.20.0-2

xwayland recommends no packages.

xwayland suggests no packages.

-- no debconf information