Bug#604687: vlc: xvideo output not working on powerbook (radeon video card, powerpc)

2011-10-10 Thread Jörg Sommer
Package: vlc
Version: 1.1.12-1
Followup-For: Bug #604687

Hi,

I've an iBook G4 (PowerPC) with a Redeon card and I'm seeing this
message, too. Running vlc with -vvv gives me these messages:

[0x10676a18] xcb_xv generic debug: connected to X11.0 server
[0x10676a18] xcb_xv generic debug:  vendor : The X.Org Foundation
[0x10676a18] xcb_xv generic debug:  version: 11101000
[0x1067be60] xdg_screensaver inhibit debug: started xdg-screensaver (PID = 
18954)
[0x10676a18] xcb_xv generic debug: using screen 0xfb
[0x10676a18] xcb_xv generic debug: using XVideo extension v2.2
[0x10676a18] xcb_xv generic error: no available XVideo adaptor

Which information do you need to further investigate this bug?

Bye, Jörg.

-- System Information:
Debian Release: unstable/experimental
  APT prefers unstable
  APT policy: (900, 'unstable'), (700, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 3.1.0-rc8.ledtest-00743-gf72a209-dirty
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vlc depends on:
ii  libaa11.4p5-39  
ii  libavcodec53  4:0.7.2-1 
ii  libavutil51   4:0.7.2-1 
ii  libc6 2.13-21   
ii  libfreetype6  2.4.6-2   
ii  libfribidi0   0.19.2-1  
ii  libgcc1   1:4.6.1-13
ii  libgl1-mesa-glx [libgl1]  7.11-6
ii  libice6   2:1.0.7-2 
ii  libqtcore44:4.7.3-8 
ii  libqtgui4 4:4.7.3-8 
ii  libsdl-image1.2   1.2.10-2.1+b1 
ii  libsdl1.2debian   1.2.14-6.4
ii  libsm62:1.2.0-2 
ii  libstdc++64.6.1-13  
ii  libtar0   1.2.11-8  
ii  libva-x11-1   1.0.12-2  
ii  libva11.0.12-2  
ii  libvlccore4   1.1.12-1  
ii  libx11-6  2:1.4.4-2 
ii  libx11-xcb1   2:1.4.4-2 
ii  libxcb-keysyms1   0.3.8-1   
ii  libxcb-randr0 1.7-3 
ii  libxcb-shm0   1.7-3 
ii  libxcb-xv01.7-3 
ii  libxcb1   1.7-3 
ii  libxext6  2:1.3.0-3 
ii  libxpm4   1:3.5.9-1 
ii  ttf-freefont  20100919-1
ii  vlc-nox   1.1.12-1  
ii  zlib1g1:1.2.5.dfsg-1

Versions of packages vlc recommends:
ii  vlc-plugin-notify  none 
ii  vlc-plugin-pulse   none 
ii  xdg-utils  1.1.0~rc1-2

Versions of packages vlc suggests:
pn  mozilla-plugin-vlc  none
pn  videolan-docnone

Versions of packages vlc-nox depends on:
ii  liba52-0.7.4   0.7.4-16 
ii  libasound2 1.0.24.1-4   
ii  libass40.9.13-1 
ii  libavahi-client3   0.6.30-5 
ii  libavahi-common3   0.6.30-5 
ii  libavc1394-0   0.5.3-1+b2   
ii  libavcodec53   4:0.7.2-1
ii  libavformat53  4:0.7.2-1
ii  libavutil514:0.7.2-1
ii  libc6  2.13-21  
ii  libcaca0   0.99.beta17-2.1  
ii  libcddb2   1.3.2-3  
ii  libcdio10  0.81-4   
ii  libdbus-1-31.4.16-1 
ii  libdc1394-22   2.1.3-4  
ii  libdca00.0.5-5  
ii  libdirac-decoder0  1.0.2-4  
ii  libdirac-encoder0  1.0.2-4  
ii  libdvbpsi7 0.2.1-1  
ii  libdvdnav4 4.1.4-1219-4 
ii  libdvdread44.1.4-1219-4 
ii  libebml3   1.2.2-1  
ii  libfaad2   2.7-7
ii  libflac8   1.2.1-6  
ii  libfontconfig1 2.8.0-3  
ii  libfreetype6   2.4.6-2  
ii  libfribidi00.19.2-1 
ii  libgcc11:4.6.1-13   
ii  libgcrypt111.5.0-3  
ii  libgnutls262.12.11-1
ii  libgpg-error0  1.10-1   
ii  libiso9660-7   0.81-4   
ii  libkate1   0.4.1-1  
ii  liblircclient0 0.9.0~pre1-1 
ii  liblua5.1-05.1.4-10 
ii  libmad00.15.1b-6
ii  libmatroska4   1.2.0-1  
ii  libmodplug11:0.8.8.4-1  
ii  libmpcdec6 2:0.1~r459-1 
ii  libmpeg2-4 0.4.1-3  
ii  libmtp91.1.0-4  
ii  libncursesw5   5.9-2
ii  libogg0

Re: Dies with sigseg on flash video

2011-10-07 Thread Jörg Sommer
I've sent a copy of this mail to the maintainer of libavcodec. Maybe they
have any idea.

Jörg Sommer hat am Wed 21. Jan, 13:06 (+0100) geschrieben:
 Package: xine-ui
 Version: 0.99.5+cvs20070914-2.1
 Severity: normal

I can still reproduce this crash, but I think it's a bug in libavcodec. I
think it's Altivec specific. I've rebuild the lib with debugging symbols
and this is the gdb session:

(gdb) run ~/video1.flv
Starting program: /usr/bin/xine ~/video1.flv
[Thread debugging using libthread_db enabled]
Dies ist xine (X11 gui) - Ein freier Video-Player v0.99.6.
(c) 2000-2007 Das xine Team.
[New Thread 0x489d6480 (LWP 26545)]
[New Thread 0x491d6480 (LWP 26546)]
[New Thread 0x499d6480 (LWP 26547)]
[New Thread 0x4a5e1480 (LWP 26548)]
[New Thread 0x4ade1480 (LWP 26549)]
[New Thread 0x4b5e1480 (LWP 26550)]
[New Thread 0x4cde2480 (LWP 26551)]
[New Thread 0x4d9e3480 (LWP 26552)]
[New Thread 0x4e5ee480 (LWP 26553)]
[New Thread 0x4edee480 (LWP 26554)]
[New Thread 0x4f5ee480 (LWP 26555)]
[New Thread 0x50def480 (LWP 26556)]
[New Thread 0x515ef480 (LWP 26557)]
[New Thread 0x52df0480 (LWP 26558)]
[New Thread 0x5365f480 (LWP 26559)]
[New Thread 0x53e5f480 (LWP 26561)]
[New Thread 0x5465f480 (LWP 26587)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x4cde2480 (LWP 26551)]
0x0e4a5608 in put_pixels8_xy2_altivec (
block=0x5469dff0 
\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200 Address 
0x5469e000 out of bounds, 
pixels=0x547bef50 
wwwvvurp\227\227\227\227\227\227\227\227\227\226\225\224\224\224\224\224\224\224\223\222\220\217\216\215\214\213\212\211\210\207\206\205\205\203\202\201\200\177}{,
 'v' repeats 14 times, 
uuuuvwutsssqomhiijkknqquuv}~\177\177\177\177\177\177|}\177\200\202\202\202\201\202\201\200~}||}zywu
 Address 0x547bf000 out of bounds, line_size=160, h=8)
at /var/tmp/libav-0.7.2/libavcodec/ppc/dsputil_altivec.c:743
743 temp2 = vec_ld(line_size + 16, pixels);
(gdb) bt full
#0  0x0e4a5608 in put_pixels8_xy2_altivec (
block=0x5469dff0 
\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200 Address 
0x5469e000 out of bounds, 
pixels=0x547bef50 
wwwvvurp\227\227\227\227\227\227\227\227\227\226\225\224\224\224\224\224\224\224\223\222\220\217\216\215\214\213\212\211\210\207\206\205\205\203\202\201\200\177}{,
 'v' repeats 14 times, 
uuuuvwutsssqomhiijkknqquuv}~\177\177\177\177\177\177|}\177\200\202\202\202\201\202\201\200~}||}zywu
 Address 0x547bf000 out of bounds, line_size=160, h=8)
at /var/tmp/libav-0.7.2/libavcodec/ppc/dsputil_altivec.c:743
rightside = 0
i = 7
pixelsv1 = {117, 117, 117, 116, 115, 113, 110, 107, 0, 0, 0, 0, 0, 0, 
0, 0}
pixelsv2 = {14, 74, 84, 240, 14, 74, 84, 132, 0, 0, 0, 0, 130, 2, 64, 0}
pixelsavg = {14, 74, 84, 240, 14, 74, 84, 132, 0, 0, 0, 0, 130, 2, 64, 
0}
blockv = {122, 122, 122, 122, 122, 121, 119, 117, 109, 109, 109, 109, 
109, 109, 109, 109}
temp1 = {122, 122, 122, 122, 122, 121, 119, 117, 109, 109, 109, 109, 
109, 109, 109, 109}
temp2 = {14, 74, 84, 240, 14, 74, 84, 132, 0, 0, 0, 0, 130, 2, 64, 0}
pixelssum1 = {31354, 31354, 31353, 30581, 28013, 28013, 28013, 28013}
pixelssum2 = {30069, 30068, 29553, 28267, 0, 0, 0, 0}
temp3 = {3658, 21744, 3658, 21636, 0, 0, 33282, 16384}
vczero = {122, 122, 122, 122, 122, 121, 119, 117, 109, 109, 109, 109, 
109, 109, 109, 109}
vctwo = {31354, 31354, 31353, 30581, 28013, 28013, 28013, 28013}
#1  0x in ?? ()
No symbol table info available.
(gdb) i threads 
  Id   Target Id Frame 
  18   Thread 0x5465f480 (LWP 26587) xine 0x0fb481ec in __pthread_cond_wait 
(cond=0x10798ea8, 
mutex=0x10798e8c) at pthread_cond_wait.c:153
  17   Thread 0x53e5f480 (LWP 26561) xine 0x0fb481ec in __pthread_cond_wait 
(cond=0x10ee3538, 
mutex=0x10ee351c) at pthread_cond_wait.c:153
  16   Thread 0x5365f480 (LWP 26559) xine 0x0fa91528 in select () at 
../sysdeps/unix/syscall-template.S:82
  15   Thread 0x52df0480 (LWP 26558) xine 0x0fb481ec in __pthread_cond_wait 
(cond=0x10e0fcb8, 
mutex=0x10e0fc9c) at pthread_cond_wait.c:153
  14   Thread 0x515ef480 (LWP 26557) xine 0x0fb481ec in __pthread_cond_wait 
(cond=0x10e0ec78, 
mutex=0x10e0ec5c) at pthread_cond_wait.c:153
  13   Thread 0x50def480 (LWP 26556) xine 0x0fb481ec in __pthread_cond_wait 
(cond=0x10d636f8, 
mutex=0x10d636dc) at pthread_cond_wait.c:153
  12   Thread 0x4f5ee480 (LWP 26555) xine 0x0fb481ec in __pthread_cond_wait 
(cond=0x10d625d8, 
mutex=0x10d625bc) at pthread_cond_wait.c:153
  11   Thread 0x4edee480 (LWP 26554) xine 0x0fb481ec in __pthread_cond_wait 
(cond=0x107c3160, 
mutex=0x107c3148) at pthread_cond_wait.c:153
  10   Thread 0x4e5ee480 (LWP 26553) xine 0x0fa91528 in select () at 
../sysdeps/unix/syscall-template.S:82
  9Thread 0x4d9e3480 (LWP 26552

Bug#640245: vlc runs xdg-screensaver with signal child blocked

2011-09-03 Thread Jörg Sommer
Package: vlc
Version: 1.1.11-2+b2
Severity: normal

Hi,

vlc runs the program to disable the screensaver with SIGCHLD blocked
which causes this program misbehaves, because it doesn't see its child
has quit.

% ps -O etime,user,size,rss fax G -A1 xdg
 8476   20:05 joerg  312   456 S pts/10   00:00:00 /bin/sh 
/usr/bin/xdg-screensaver suspend 0x0180040a
 8512   20:03 joerg0 0 Z pts/10   00:00:00  \_ [xprop] defunct
 8506   20:04 joerg  312   444 S pts/10   00:00:00 /bin/sh 
/usr/bin/xdg-screensaver suspend 0x01800490
 8529   20:02 joerg0 0 Z pts/10   00:00:00  \_ [xprop] defunct
 8632   19:30 joerg  312   456 S pts/10   00:00:00 /bin/sh 
/usr/bin/xdg-screensaver suspend 0x0180036b
 8670   19:28 joerg0 0 Z pts/10   00:00:00  \_ [xprop] defunct
 8660   19:29 joerg  312   456 S pts/10   00:00:00 /bin/sh 
/usr/bin/xdg-screensaver suspend 0x018003b3
 8689   19:27 joerg0 0 Z pts/10   00:00:00  \_ [xprop] defunct
 8850   17:57 joerg  312   456 S pts/10   00:00:00 /bin/sh 
/usr/bin/xdg-screensaver suspend 0x01800385
 8890   17:55 joerg0 0 Z pts/10   00:00:00  \_ [xprop] defunct
 8880   17:56 joerg  312   456 S pts/10   00:00:00 /bin/sh 
/usr/bin/xdg-screensaver suspend 0x0180040b
 8911   17:54 joerg0 0 Z pts/10   00:00:00  \_ [xprop] defunct

% grep ^Sig /proc/8880/status
SigQ:   26/4981
SigPnd: 
SigBlk: 00015007
SigIgn: 1006
SigCgt: 0001
   ^ this is SIGCHLD

I can work around this problem with this perl script and a small shell
script placed in PATH as xdg-screensaver before the real xdg-screensaver:

#!/usr/bin/perl -W

use POSIX;
$sigset = POSIX::SigSet-new();
sigprocmask(SIG_SETMASK, $sigset);

exec @ARGV;

#!/bin/sh

exec unblock-signals /usr/bin/xdg-screensaver $@

Bye, Jörg.

-- System Information:
Debian Release: unstable/experimental
  APT prefers unstable
  APT policy: (900, 'unstable'), (700, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 3.1.0-rc3.ledtest-00161-g671ee7f-dirty
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vlc depends on:
ii  libaa11.4p5-38+b1   
ii  libavcodec52  4:0.6.2-5 
ii  libavutil50   4:0.6.2-5 
ii  libc6 2.13-18   
ii  libfreetype6  2.4.6-2   
ii  libfribidi0   0.19.2-1  
ii  libgcc1   1:4.6.1-8 
ii  libgl1-mesa-glx [libgl1]  7.11-5
ii  libqtcore44:4.7.3-7 
ii  libqtgui4 4:4.7.3-7 
ii  libsdl-image1.2   1.2.10-2.1
ii  libsdl1.2debian   1.2.14-6.4
ii  libstdc++64.6.1-8   
ii  libtar0   1.2.11-8  
ii  libva-x11-1   1.0.12-2  
ii  libva11.0.12-2  
ii  libvlccore4   1.1.11-2+b2   
ii  libx11-6  2:1.4.4-1 
ii  libx11-xcb1   2:1.4.4-1 
ii  libxcb-keysyms1   0.3.8-1   
ii  libxcb-randr0 1.7-3 
ii  libxcb-shm0   1.7-3 
ii  libxcb-xv01.7-3 
ii  libxcb1   1.7-3 
ii  libxext6  2:1.3.0-3 
ii  libxpm4   1:3.5.9-1 
ii  ttf-freefont  20100919-1
ii  vlc-nox   1.1.11-2+b2   
ii  zlib1g1:1.2.5.dfsg-1

Versions of packages vlc recommends:
ii  vlc-plugin-notify  none 
ii  vlc-plugin-pulse   none 
ii  xdg-utils  1.1.0~rc1-2

Versions of packages vlc suggests:
pn  mozilla-plugin-vlc  none
pn  videolan-docnone

Versions of packages vlc-nox depends on:
ii  liba52-0.7.4   0.7.4-16 
ii  libasound2 1.0.24.1-3   
ii  libass40.9.13-1 
ii  libavahi-client3   0.6.30-5 
ii  libavahi-common3   0.6.30-5 
ii  libavc1394-0   0.5.3-1+b2   
ii  libavcodec52   4:0.6.2-5
ii  libavformat52  4:0.6.2-5
ii  libavutil504:0.6.2-5
ii  libc6  2.13-18  
ii  libcaca0   0.99.beta17-2
ii  libcddb2   1.3.2-3  
ii  libcdio10  0.81-4   
ii  libdbus-1-31.4.14-1 
ii  libdc1394-22   2.1.3-4  
ii  libdca00.0.5-4  
ii  libdirac-encoder0  1.0.2-4  
ii  libdvbpsi7 0.2.0-1  
ii  libdvdnav4 4.1.4-1219-1 
ii  libdvdread44.1.4-1219-1 
ii  libebml3   1.2.1-1  
ii  libfaad2   2.7-7