Bug#894686: surf: segmentation fault accessing youtube.com

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#894686: surf: segmentation fault accessing youtube.com

Matsievskiy S.V.
Package: surf
Version: 2.0-5
Severity: normal

Dear Maintainer,

Encountered segmentation fault when accessing youtube.com.

   * What led up to the situation?
Accessing youtube.com
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
When GIGACAGE_ENABLED=no was set, surf just crushed.
When it was not set, graphics stopped responding and did not come back up after restarting lightdm and Xorg.
   * What was the outcome of this action?
Kernel logs contained messages:
nouveau 0000:04:00.0: ositorWorkQueue[2259]: failed to idle channel 7 [ositorWorkQueue[2259]]
surf[2042]: segfault at 90 ip 00007fda15cc0988 sp 00007fffa3f2ec50 error 4 in libgdk-3.so.0.2200.29[7fda15c63000+ea000]
   * What outcome did you expect instead?
No segfaults

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

Kernel: Linux 4.15.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:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages surf depends on:
ii  libc6                 2.27-2
ii  libglib2.0-0          2.56.0-4
ii  libgtk-3-0            3.22.29-2
ii  libwebkit2gtk-4.0-37  2.20.0-2
ii  libx11-6              2:1.6.5-1

Versions of packages surf recommends:
ii  curl                          7.58.0-2
ii  stterm [x-terminal-emulator]  0.6-1
ii  suckless-tools                43-1
ii  x11-utils                     7.7+4
ii  xterm [x-terminal-emulator]   331-1

Versions of packages surf suggests:
ii  apparmor                 2.12-4
pn  apparmor-profiles-extra  <none>

-- no debconf information

Reply | Threaded
Open this post in threaded view
|

Bug#894686: surf: segmentation fault accessing youtube.com

Matsievskiy S.V.
It appears that problem is not limited to youtube.com and applies to all
video files and gifs.

Reply | Threaded
Open this post in threaded view
|

Bug#894686: surf: segmentation fault accessing youtube.com

Reiner Herrmann
In reply to this post by Matsievskiy S.V.
Hi Matsievskiy,

On Tue, Apr 03, 2018 at 12:00:10PM +0300, Matsievskiy S.V. wrote:

> Encountered segmentation fault when accessing youtube.com.
>
>    * What led up to the situation?
> Accessing youtube.com
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> When GIGACAGE_ENABLED=no was set, surf just crushed.
> When it was not set, graphics stopped responding and did not come back up after restarting lightdm and Xorg.
>    * What was the outcome of this action?
> Kernel logs contained messages:
> nouveau 0000:04:00.0: ositorWorkQueue[2259]: failed to idle channel 7 [ositorWorkQueue[2259]]
> surf[2042]: segfault at 90 ip 00007fda15cc0988 sp 00007fffa3f2ec50 error 4 in libgdk-3.so.0.2200.29[7fda15c63000+ea000]
>    * What outcome did you expect instead?
> No segfaults
I'm not able to reproduce a segmentation fault.
Can you please provide some help with debugging this issue?
A backtrace would be really helpful. How to obtain one is explained
here:  https://wiki.debian.org/HowToGetABacktrace

You basically install the surf-dbgsym package (after enabling the -debug
repository), then run surf in gdb:  $ gdb surf
After it crashes again, type "bt full" in the gdb prompt.

Thanks!

Kind regards,
   Reiner

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#894686: surf: segmentation fault accessing youtube.com

Matsievskiy S.V.
I cannot reproduce segfault on current version 2.0+git20180223-1.
However it still crashes the Xserver. Problem seems to be specific to
nouveau drivers. Browser works fine with nvidia drivers.

dmesg.log (994 bytes) Download Attachment
gdb.log (1K) Download Attachment