[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#763705: vlc: [kfreebsd] quits after ~30 seconds: xdg_screensaver_plugin



Package: vlc
Version: 2.2.0~pre3-1
Severity: important
File: /usr/lib/vlc/plugins/misc/libxdg_screensaver_plugin.so
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
Control: found -1 vlc/2.1.5-1
X-Debbugs-Cc: debian-bsd@lists.debian.org

Hi,

On kfreebsd, vlc quits after ~30 seconds playback.

I identified the XDG screensaver inhibitor plugin as the cause of this.
It happens whether xdg-utils is installed or not.  If it is installed,
it successfully forks `xscreensaver-command -deactivate` but triggers
a clean exit from vlc immediately after.

[0000000848001268] core vout display debug: auto hiding mouse cursor
...30 seconds of playback...
[0000000000604358] core libvlc debug: removing all interfaces
[0000000000604358] core libvlc debug: exiting
...etc. (cleanly shuts down)

Attached is output from kFreeBSD's ktrace, showing:
pid, thread ID, process name, elapsed time (seconds), and syscalls

All I have to do is move misc/libxdg_screensaver_plugin.so out of the
plugins dir and VLC is fine to play a full movie on kfreebsd.

Thanks.

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

Kernel: kFreeBSD 10.1-0-amd64
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vlc depends on:
ii  fonts-freefont-ttf          20120503-4
ii  libaa1                      1.4p5-41
ii  libavcodec56                6:11-1
ii  libavutil54                 6:11-1
ii  libc0.1                     2.19-11
ii  libcaca0                    0.99.beta18-1
ii  libegl1-mesa [libegl1-x11]  10.1.2-1
ii  libfreetype6                2.5.2-2
ii  libfribidi0                 0.19.5-2
ii  libgcc1                     1:4.9.1-14
ii  libgl1-mesa-glx [libgl1]    10.2.6-1
ii  libgles1-mesa [libgles1]    10.2.6-1
ii  libgles2-mesa [libgles2]    10.2.6-1
ii  libice6                     2:1.0.9-1
ii  libpulse0                   4.0-6
ii  libqtcore4                  4:4.8.6+git64-g5dc8b2b+dfsg-2
ii  libqtgui4                   4:4.8.6+git64-g5dc8b2b+dfsg-2
ii  libsdl-image1.2             1.2.12-5+b2
ii  libsdl1.2debian             1.2.15-8
ii  libsm6                      2:1.2.2-1
ii  libstdc++6                  4.9.1-14
ii  libva-drm1                  1.3.1-3
ii  libva-x11-1                 1.3.1-3
ii  libva1                      1.3.1-1
ii  libvlccore8                 2.2.0~pre3-1
ii  libvncclient0               0.9.9+dfsg-6
ii  libx11-6                    2:1.6.2-3
ii  libxcb-composite0           1.10-3
ii  libxcb-keysyms1             0.3.9-2
ii  libxcb-randr0               1.10-3
ii  libxcb-render0              1.9.1-3.1
ii  libxcb-shape0               1.9.1-3.1
ii  libxcb-shm0                 1.9.1-3.1
ii  libxcb-xfixes0              1.9.1-3.1
ii  libxcb-xv0                  1.10-3
ii  libxcb1                     1.10-3
ii  libxext6                    2:1.3.2-1
ii  libxinerama1                2:1.1.3-1
ii  libxpm4                     1:3.5.10-1
ii  vlc-nox                     2.2.0~pre3-1
ii  zlib1g                      1:1.2.8.dfsg-2

Versions of packages vlc recommends:
ii  vlc-plugin-notify  2.2.0~pre3-1
ii  vlc-plugin-samba   2.2.0~pre3-1
pn  xdg-utils          <none>

Versions of packages vlc suggests:
pn  videolan-doc  <none>

Versions of packages vlc-nox depends on:
ii  liba52-0.7.4               0.7.4-17
ii  libass5                    0.10.2-3
ii  libavahi-client3           0.6.31-2
ii  libavahi-common3           0.6.31-2
ii  libavcodec56               6:11-1
ii  libavformat56              6:11-1
ii  libavutil54                6:11-1
ii  libbasicusageenvironment0  2014.01.13-1
ii  libbluray1                 1:0.6.2-1
ii  libc0.1                    2.19-11
ii  libcam6                    10.1~svn271690-1
ii  libcddb2                   1.3.2-4
ii  libcdio13                  0.83-4.1
ii  libchromaprint0            1.1-1+b2
ii  libdbus-1-3                1.8.6-2
ii  libdca0                    0.0.5-6
ii  libdirectfb-1.2-9          1.2.10.0-5
ii  libdvbpsi9                 1.2.0-1
ii  libdvdnav4                 4.2.0+20130225-4
ii  libdvdread4                4.2.0+20130219-3
ii  libebml4                   1.3.0-2
ii  libfaad2                   2.7-8
ii  libflac8                   1.3.0-2
ii  libfontconfig1             2.11.0-6.1
ii  libfreetype6               2.5.2-2
ii  libfribidi0                0.19.5-2
ii  libgcc1                    1:4.9.1-14
ii  libgcrypt20                1.6.2-3
ii  libgnutls-deb0-28          3.3.7-2
ii  libgpg-error0              1.13-0.2
ii  libgroupsock1              2014.01.13-1
ii  libiso9660-8               0.83-4.1
ii  libjpeg62                  1:1.3.1-3
ii  libkate1                   0.4.1-1
ii  liblircclient0             0.9.0~pre1-1
ii  liblivemedia23             2014.01.13-1
ii  liblua5.2-0                5.2.3-1
ii  libmad0                    0.15.1b-8
ii  libmatroska6               1.4.1-2
ii  libmodplug1                1:0.8.8.4-4
ii  libmpcdec6                 2:0.1~r459-4
ii  libmpeg2-4                 0.5.1-5
ii  libmtp9                    1.1.8-1+b1
ii  libncursesw5               5.9+20130608-1
ii  libogg0                    1.3.1-1
ii  libopus0                   1.1-1
ii  libpng12-0                 1.2.50-2
ii  libpostproc52              6:0.git20120821-4
ii  libresid-builder0c2a       2.1.1-14
ii  libsamplerate0             0.1.8-5
ii  libschroedinger-1.0-0      1.0.11-2
ii  libshine3                  3.1.0-2
ii  libshout3                  2.3.1-3
ii  libsidplay2                2.1.1-14
ii  libspeex1                  1.2~rc1.1-1
ii  libspeexdsp1               1.2~rc1.1-1
ii  libstdc++6                 4.9.1-14
ii  libswscale3                6:11-1
ii  libtag1c2a                 1.9.1-2.1
ii  libtheora0                 1.1.1+dfsg.1-3.1
ii  libtinfo5                  5.9+20130608-1
ii  libtwolame0                0.3.13-1
ii  libupnp6                   1:1.6.17-1.2
ii  libusageenvironment1       2014.01.13-1
ii  libusb3                    10.0-6
ii  libvcdinfo0                0.7.24+dfsg-0.1
ii  libvlc5                    2.2.0~pre3-1
ii  libvlccore8                2.2.0~pre3-1
ii  libvorbis0a                1.3.2-1.3
ii  libvorbisenc2              1.3.2-1.3
ii  libx264-142                2:0.142.2389+git956c8d8-5
ii  libxml2                    2.9.1+dfsg1-3
ii  zlib1g                     1:1.2.8.dfsg-2

Versions of packages vlc-nox suggests:
pn  libdvdcss2  <none>

Versions of packages libvlc5 depends on:
ii  libc0.1      2.19-11
ii  libvlccore8  2.2.0~pre3-1

Versions of packages libvlccore8 depends on:
ii  libc0.1         2.19-11
ii  libdbus-1-3     1.8.6-2
ii  libidn11        1.29-1
ii  libproxy-tools  0.4.11-4
ii  vlc-data        2.2.0~pre3-1

Versions of packages vlc is related to:
pn  libavutil50  <none>
ii  libavutil51  6:0.8.9-1

-- no debconf information
  7298 100609 vlc      48.510852 RET   fork 0
  7298 100609 vlc      48.510920 CALL  getpid
  7296 101113 vlc      48.510934 CALL  _umtx_op(0x8011ba738,0x10,0x1,0,0)
  7298 100609 vlc      48.510939 RET   getpid 7298/0x1c82
  7296 101113 vlc      48.510966 RET   _umtx_op 0
  7298 100609 vlc      48.510983 CALL  thr_self(0x81ed34990)
  7296 101113 vlc      48.511005 CALL  wait4(0x1c82,0x81ed33e3c,0,0)
  7298 100609 vlc      48.511030 RET   thr_self 0
  7296 101108 vlc      48.511053 RET   _umtx_op 0
  7296 101108 vlc      48.511084 CALL  _umtx_op(0x8011ba738,0x10,0x1,0,0)
  7296 101108 vlc      48.511100 RET   _umtx_op 0
  7296 101108 vlc      48.511217 CALL  _umtx_op(0x8340098dc,0x10,0x1,0,0)
  7296 101108 vlc      48.511238 RET   _umtx_op 0
  7296 101112 vlc      48.511258 RET   _umtx_op 0
  7296 101112 vlc      48.511296 CALL  _umtx_op(0x8340098d8,0xf,0x2,0,0)
  7296 101108 vlc      48.511318 CALL  _umtx_op(0x8340098d8,0x10,0x1,0,0)
  7296 101108 vlc      48.511337 RET   _umtx_op 0
  7296 101112 vlc      48.511354 RET   _umtx_op 0
  7296 101112 vlc      48.511371 CALL  _umtx_op(0x8340098d8,0x10,0x1,0,0)
  7296 101112 vlc      48.511387 RET   _umtx_op 0
  7296 101112 vlc      48.511404 CALL  _umtx_op(0x8340098b0,0xf,0x2,0,0)
  7298 100609 vlc      48.511416 CALL  sigprocmask(SIG_SETMASK,0x848002360,0)
  7296 101108 vlc      48.511423 CALL  _umtx_op(0x8340098b0,0x10,0x1,0,0)
  7298 100609 vlc      48.511444 RET   sigprocmask 0
  7296 101108 vlc      48.511462 RET   _umtx_op 0
  7298 100609 vlc      48.511481 CALL  sigaction(SIGPIPE,0x81ed33db0,0)
  7296 101112 vlc      48.511500 RET   _umtx_op 0
  7298 100609 vlc      48.511520 RET   sigaction 0
  7296 101112 vlc      48.511539 CALL  _umtx_op(0x8340098b0,0x10,0x1,0,0)
  7298 100609 vlc      48.511563 CALL  execve(0x81ed33d2a,0x81ed33e40,0x7fffffffe3f0)
  7296 101112 vlc      48.511578 RET   _umtx_op 0
  7298 100609 vlc      48.511615 NAMI  "/usr/local/bin/xdg-screensaver"
  7296 101112 vlc      48.511617 CALL  clock_gettime(0x4,0x817fe4d60)
  7296 101112 vlc      48.511657 RET   clock_gettime 0
  7296 101112 vlc      48.511691 CALL  recvmsg(0x4,0x817fe4ac0,0)
  7296 101112 vlc      48.511715 RET   recvmsg -1 errno 35 Resource temporarily unavailable
  7296 101112 vlc      48.511733 CALL  clock_gettime(0x4,0x817fe4c10)
  7296 101112 vlc      48.511754 RET   clock_gettime 0
  7298 100609 vlc      48.511678 RET   execve -1 errno 2 No such file or directory
  7296 101112 vlc      48.511772 CALL  clock_gettime(0x4,0x817fe4d30)
  7298 100609 vlc      48.511794 CALL  execve(0x81ed33d30,0x81ed33e40,0x7fffffffe3f0)
  7296 101112 vlc      48.511813 RET   clock_gettime 0
  7298 100609 vlc      48.511845 NAMI  "/usr/bin/xdg-screensaver"
  7296 101112 vlc      48.511852 CALL  clock_gettime(0x4,0x817fe4c90)
  7298 100609 vlc      48.511883 RET   execve -1 errno 2 No such file or directory
  7296 101112 vlc      48.511890 RET   clock_gettime 0
  7298 100609 vlc      48.511910 CALL  execve(0x81ed33d34,0x81ed33e40,0x7fffffffe3f0)
  7296 101112 vlc      48.511929 CALL  _umtx_op(0x8340098dc,0xf,0x1115,0,0x817fe4c90)
  7298 100609 vlc      48.511959 NAMI  "/bin/xdg-screensaver"
  7298 100609 vlc      48.511993 RET   execve -1 errno 2 No such file or directory
  7298 100609 vlc      48.512010 CALL  execve(0x81ed33d28,0x81ed33e40,0x7fffffffe3f0)
  7298 100609 vlc      48.512037 NAMI  "/usr/local/games/xdg-screensaver"
  7298 100609 vlc      48.512067 RET   execve -1 errno 2 No such file or directory
  7298 100609 vlc      48.512084 CALL  execve(0x81ed33d2e,0x81ed33e40,0x7fffffffe3f0)
  7298 100609 vlc      48.512112 NAMI  "/usr/games/xdg-screensaver"
  7298 100609 vlc      48.512141 RET   execve -1 errno 2 No such file or directory
  7298 100609 vlc      48.512158 CALL  exit(0x7f)
  7296 101108 vlc      48.512332 CALL  _umtx_op(0x830c29b24,0x10,0x7fffffff,0,0)
  7296 101108 vlc      48.512358 RET   _umtx_op 0
  7296 101110 vlc      48.512375 RET   _umtx_op 0
  7296 101110 vlc      48.512410 CALL  _umtx_op(0x830c29ba8,0xf,0x2,0,0)
  7296 101108 vlc      48.512428 CALL  _umtx_op(0x830c29ba8,0x10,0x1,0,0)
  7296 101108 vlc      48.512445 RET   _umtx_op 0
  7296 101110 vlc      48.512461 RET   _umtx_op 0
  7296 101110 vlc      48.512478 CALL  _umtx_op(0x830c29ba8,0x10,0x1,0,0)
  7296 101110 vlc      48.512493 RET   _umtx_op 0
  7296 101110 vlc      48.513213 CALL  _umtx_op(0x830c29c8c,0x10,0x1,0,0)
  7296 101110 vlc      48.513239 RET   _umtx_op 0
  7296 101110 vlc      48.513289 CALL  clock_gettime(0x4,0x816355c00)
  7296 101110 vlc      48.513309 RET   clock_gettime 0
  7296 101110 vlc      48.513337 CALL  clock_gettime(0x4,0x816355d10)
  7296 101110 vlc      48.513354 RET   clock_gettime 0
  7296 101110 vlc      48.513371 CALL  _umtx_op(0x8340098dc,0x10,0x1,0,0)
  7296 101110 vlc      48.513388 RET   _umtx_op 0
  7296 101110 vlc      48.513475 CALL  _umtx_op(0x830c29cbc,0xf,0x1cf,0,0)
  7296 101112 vlc      48.513689 RET   _umtx_op 0
  7296 101112 vlc      48.513712 CALL  _umtx_op(0x8340098b0,0x10,0x1,0,0)
  7296 101112 vlc      48.513729 RET   _umtx_op 0
  7296 101112 vlc      48.513746 CALL  clock_gettime(0x4,0x817fe4d60)
  7296 101112 vlc      48.513768 RET   clock_gettime 0
  7296 101112 vlc      48.513788 CALL  recvmsg(0x4,0x817fe4ac0,0)
  7296 101112 vlc      48.513809 RET   recvmsg -1 errno 35 Resource temporarily unavailable
  7296 101112 vlc      48.513826 CALL  clock_gettime(0x4,0x817fe4c10)
  7296 101112 vlc      48.513844 RET   clock_gettime 0
  7296 101112 vlc      48.513861 CALL  clock_gettime(0x4,0x817fe4d30)
  7296 101112 vlc      48.513878 RET   clock_gettime 0
  7296 101112 vlc      48.513895 CALL  clock_gettime(0x4,0x817fe4c90)
  7296 101112 vlc      48.513912 RET   clock_gettime 0
  7296 101112 vlc      48.513928 CALL  _umtx_op(0x8340098dc,0xf,0x1117,0,0x817fe4c90)
  7296 101109 vlc      48.520641 RET   _umtx_op 0
  7296 101109 vlc      48.520738 CALL  _umtx_op(0x830c29d18,0x10,0x1,0,0)
  7296 101109 vlc      48.520764 RET   _umtx_op 0
  7296 100634 vlc      48.521557 RET   sigwait 4
  7296 100634 vlc      48.521577 PSIG  SIGCHLD caught handler=0x804254220 mask=0x5007 code=CLD_EXITED
  7296 100634 vlc      48.521631 CALL  write(0xa,0x804354922,0x1)
  7296 101113 vlc      48.521690 RET   wait4 7298/0x1c82
  7296 101113 vlc      48.521712 CALL  clock_gettime(0x4,0x81ed33e40)
  7296 101113 vlc      48.521730 RET   clock_gettime 0
  7296 101113 vlc      48.521748 CALL  clock_gettime(0x4,0x81ed33da0)
  7296 101113 vlc      48.521769 RET   clock_gettime 0
  7296 101113 vlc      48.521784 CALL  _umtx_op(0x8480024dc,0xf,0x3,0,0x81ed33da0)
  7296 100634 vlc      48.521818 GIO   fd 10 wrote 1 byte
       "\0"
  7296 100634 vlc      48.521835 RET   write 1
  7296 100634 vlc      48.521851 CALL  sigreturn(0x7fffffffdd90)
  7296 100634 vlc      48.521868 RET   sigreturn JUSTRETURN
  7296 100634 vlc      48.521887 CALL  sigaction(SIGINT,0x7fffffffe1e0,0x7fffffffe200)
  7296 100634 vlc      48.521906 RET   sigaction 0
  7296 100634 vlc      48.521923 CALL  sigaction(SIGALRM,0x7fffffffe1e0,0x7fffffffe200)
  7296 100634 vlc      48.521939 RET   sigaction 0
  7296 100634 vlc      48.521956 CALL  sigprocmask(SIG_UNBLOCK,0x7fffffffe280,0)
  7296 100634 vlc      48.521972 RET   sigprocmask 0
  7296 100634 vlc      48.521995 CALL  setitimer(0,0x7fffffffe200,0x7fffffffe1e0)
  7296 100634 vlc      48.522013 RET   setitimer 0
  7296 100634 vlc      48.522060 CALL  write(0x2,0x7fffffffb930,0x1e)
  7296 100634 vlc      48.522085 GIO   fd 2 wrote 30 bytes
       0x0000 5b1b 5b33 323b 316d 3030 3030 3030 3030 3030 3630 3433 3538 1b5b 306d 5d20            |[.[32;1m0000000000604358.[0m] |

  7296 100634 vlc      48.522101 RET   write 30/0x1e
  7296 100634 vlc      48.522119 CALL  write(0x2,0x7fffffffb930,0x17)
  7296 100634 vlc      48.522136 GIO   fd 2 wrote 23 bytes
       0x0000 636f 7265 206c 6962 766c 6320 6465 6275 673a 201b 5b30 6d                             |core libvlc debug: .[0m|

  7296 100634 vlc      48.522152 RET   write 23/0x17
  7296 100634 vlc      48.522168 CALL  write(0x2,0x7fffffffba10,0x17)
  7296 100634 vlc      48.522186 GIO   fd 2 wrote 23 bytes
       "removing all interfaces"

Reply to: