<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - VLC fullscreen, progress bar flickers, and then halts weston, xwayland"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99445#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - VLC fullscreen, progress bar flickers, and then halts weston, xwayland"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99445">bug 99445</a>
              from <span class="vcard"><a class="email" href="mailto:soloturn@gmail.com" title="soloturn@gmail.com">soloturn@gmail.com</a>
</span></b>
        <pre>interesting thanks for the pointers. this time i started both applications from
gnome terminals, using:
  nohup weston &
  cd tmp
  export DISPLAY=:1
  nohup vlc &

i have vlc running with minimal interface so i do not see the vlc's progress
bar unless in full screen. so i tried to show it via right click to test if
this happens when not in full screen. vlc hanged weston's display after
displaying is menu. weston takes 100% of one core. one cannot move the weston
window any more, the mouse pointer is still shown on the menu. both
applications still run. 

the vlc log shows:
$ tail -f nohup.out 
[0000000001758148] core libvlc: Running vlc with the default interface. Use
'cvlc' to use vlc without interface.
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object
file: No such file or directory
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object
file: No such file or directory
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object
file: No such file or directory

<a href="https://bbs.archlinux.org/viewtopic.php?id=205292">https://bbs.archlinux.org/viewtopic.php?id=205292</a> says the microcode could be a
problem as well, i have not installed it, but will try later just to be sure.

i tried to debug weston - but i never really did something like this tbh.
strace shows nothing. gdb shows:

$ sudo gdb -p 1170
...
Attaching to process 1170
Reading symbols from /usr/bin/weston...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libweston-1.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libwayland-server.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libunwind.so.8...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libdl.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libinput.so.10...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libc.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libpixman-1.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libxkbcommon.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libm.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libffi.so.6...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/librt.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libpthread.so.0...(no debugging symbols
found)...done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/liblzma.so.5...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libmtdev.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libudev.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libevdev.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libwacom.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libresolv.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libcap.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libgudev-1.0.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libgobject-2.0.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libglib-2.0.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libgio-2.0.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libpcre.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libgmodule-2.0.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libmount.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libblkid.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libuuid.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libweston-1/wayland-backend.so...(no debugging
symbols found)...done.
Reading symbols from /usr/lib/libwayland-egl.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libwayland-client.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libwayland-cursor.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libcairo.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libpng16.so.16...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libjpeg.so.8...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libfontconfig.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libfreetype.so.6...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libEGL.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libxcb-shm.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libxcb.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libxcb-render.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libXrender.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libX11.so.6...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libXext.so.6...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libGL.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libexpat.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libbz2.so.1.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libharfbuzz.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libX11-xcb.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libxcb-dri2.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libxcb-xfixes.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libxcb-dri3.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libxcb-present.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libxcb-sync.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libxshmfence.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libgbm.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libdrm.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libXau.so.6...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libXdmcp.so.6...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libglapi.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libXdamage.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libXfixes.so.3...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libxcb-glx.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libXxf86vm.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libgraphite2.so.3...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libweston-1/gl-renderer.so...(no debugging
symbols found)...done.
Reading symbols from /usr/lib/libGLESv2.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/xorg/modules/dri/i965_dri.so...(no debugging
symbols found)...done.
Reading symbols from /usr/lib/libgcrypt.so.20...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libdrm_intel.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libdrm_nouveau.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libdrm_radeon.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libstdc++.so.6...done.
Reading symbols from /usr/lib/libgcc_s.so.1...done.
Reading symbols from /usr/lib/libgpg-error.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libpciaccess.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libtxc_dxtn.so...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/weston/desktop-shell.so...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libweston-desktop-1.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libweston-1/xwayland.so...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libxcb-composite.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libXcursor.so.1...(no debugging symbols
found)...done.
0x00007f6b6d59c36f in wl_list_remove () from /usr/lib/libwayland-server.so.0
(gdb) frame
#0  0x00007f6b6d59c36f in wl_list_remove () from
/usr/lib/libwayland-server.so.0
(gdb) info registers
rax            0x858dd8 8752600
rbx            0x858d90 8752528
rcx            0xf0bdc000       4038967296
rdx            0x858dd8 8752600
rsi            0x0      0
rdi            0x858dd8 8752600
rbp            0x858dd8 0x858dd8
rsp            0x7ffd658dfba8   0x7ffd658dfba8
r8             0x9d7ea0 10321568
r9             0xa12700 10561280
r10            0x7ffd658df958   140726307256664
r11            0x7ffd658df900   140726307256576
r12            0x0      0
r13            0xf0bdc000       4038967296
r14            0xf0bdc000       4038967296
r15            0x0      0
rip            0x7f6b6d59c36f   0x7f6b6d59c36f <wl_list_remove+15>
eflags         0x246    [ PF ZF IF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0
(gdb) next
Single stepping until exit from function wl_list_remove,
which has no line number information.
0x00007f6b6d7bb3b0 in weston_pointer_set_focus () from
/usr/lib/libweston-1.so.0
(gdb) next
Single stepping until exit from function weston_pointer_set_focus,
which has no line number information.
0x00007f6b6d596e44 in ?? () from /usr/lib/libwayland-server.so.0
(gdb) next
Cannot find bounds of current function
(gdb) next
Cannot find bounds of current function


then vlc:

Attaching to process 1547
[New LWP 1548]
[New LWP 1549]
[New LWP 1551]
[New LWP 1553]
[New LWP 1557]
[New LWP 1562]
[New LWP 2379]
[New LWP 2381]
[New LWP 2382]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007f7b7ebcac37 in do_sigwait () from /usr/lib/libpthread.so.0
(gdb) frame
#0  0x00007f7b7ebcac37 in do_sigwait () from /usr/lib/libpthread.so.0


$ ps -ef | grep weston
1170   808  7 Jan19 pts/0    00:23:31 weston
1171  1170  0 Jan19 pts/0    00:00:00 /usr/lib/weston/weston-keyboard
1172  1170  0 Jan19 pts/0    00:00:00 /usr/lib/weston/weston-desktop-shell

then i killed vlc. weston still uses 100% of a core. i can still not interact
with its window. 

$ ps -ef | grep weston
1170   808 12 Jan19 pts/0    00:46:20 weston
1171  1170  0 Jan19 pts/0    00:00:00 [weston-keyboard] <defunct>
1172  1170  0 Jan19 pts/0    00:00:00 [weston-desktop-] <defunct>
2428   808  0 05:55 pts/0    00:00:00 grep weston

vlc's nohup then ends with:
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object
file: No such file or directory
[00007f7b60c38ee8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late
(pts_delay increased to 300 ms)
[00007f7b60c38ee8] core input error: ES_OUT_RESET_PCR called
[mpeg4 @ 0x7f7b48c75f40] warning: first frame is no keyframe
[00007f7b60c38ee8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late
(jitter of 12176 ms ignored)


i did it again because i forgot to get a backtrace. it hangs when pressing on
the popped up menu. for weston

(gdb) backtrace
#0  0x00007f348b3f7e44 in  () at /usr/lib/libwayland-server.so.0
#1  0x00007f348b3f87e4 in wl_resource_destroy () at
/usr/lib/libwayland-server.so.0
#2  0x00007f348a0151c8 in ffi_call_unix64 () at /usr/lib/libffi.so.6
#3  0x00007f348a014c2a in ffi_call () at /usr/lib/libffi.so.6
#4  0x00007f348b3fcabe in  () at /usr/lib/libwayland-server.so.0
#5  0x00007f348b3f8cb7 in  () at /usr/lib/libwayland-server.so.0
#6  0x00007f348b3fad32 in wl_event_loop_dispatch () at
/usr/lib/libwayland-server.so.0
#7  0x00007f348b3f91da in wl_display_run () at /usr/lib/libwayland-server.so.0
#8  0x0000000000405207 in  ()
#9  0x00007f348aa24291 in __libc_start_main () at /usr/lib/libc.so.6
#10 0x00000000004059ca in _start ()


for gnome the behaviour was different, it just would crash it on right click
and choosing a menu entry.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>