CVS mplayer and segmentation fault with liba52
Hallo! Since at least about a month CVS mplayer is not able to play DVDs with sound on my system anymore (CVS of last few days doesn't compile through at the moment). It seems that there is a problem in liba52. If I use: mplayer dvd:// mplayer dvd:// -ao oss it crashes with: MPlayer interrupted by signal 11 in module: decode_audio If I use: mplayer dvd:// -ac -a52, it doesn't crash but sounds terrible because it uses: Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF) Using: strace /usr/src/mplayer/main/mplayer dvd:// yields: write(1, "Starting playback...\n", 21Starting playback... ) = 21 gettimeofday({1147720732, 914018}, {4294967176, 0}) = 0 gettimeofday({1147720732, 915374}, {4294967176, 0}) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- write(2, "\n\nMPlayer interrupted by signal "..., 59 MPlayer interrupted by signal 11 in module: decode_audio ) = 59 I have a LFS 2.6.16.11 and liba52 installed separately as well (see bottom for full info). Using --disable-liba52 with configure disables it totally so I found no way to test it with my separat library. I hope it is not some dependency problem through my LFS; configure has no complains. I had (or still have when not using --disable-internal-tremor) problems with libvorbis as well. I talked with Diego about that already. I would love to have the screenshot option with DVDs if possible, so any help apreciated. Tell me if more info is needed. Thanks Lynx On 26/03/06 13:41:38, Diego Biurrun wrote:
On Sun, Mar 26, 2006 at 01:28:50PM +0200, RHG wrote:
Die Sache mit -autiofile foo.ogg ist nun gerichtet. Es scheint aber nötig zu sein --disable-internal-tremor beim Kompilieren mit anzugeben, zumindes wenn man libvorbis separat installiert hat. Das sollte, falls von mir richtig erkannt, in die Doku mit aufgenommen werden beim Abschnitt Vorbis.
Aehh, nein. Tremor ist ein Vorbis-Decoder und viel schneller als libvorbis.
Ist libvorbis nicht im System, so scheint es zu funktionieren, zumindest bei Reimar Döffinger, der sich meinem Problem angenommen hat. Bei mir funzt es nur, wenn ich --disable-internal-tremor angebe, und ich brauch meine libvorbis.
Ohne genauen Bugreport laesst sich da nichts sagen, sieht aber nach einem libvorbis Problem aus. Schalte libvorbis doch einfach ab:
configure --disable-vorbis
(Mein cvs mplayer kann leider keine DVDs mehr abspielen, aber ich denke mal, dass das bekannt ist und nur vorrübergehen der Fall ist. )
Ist nicht bekannt und funktioniert bei mir problemlos... mplayer -fs dvd:// -v -v oder mplayer -fs dvd:// -v -v -ao null
========================================================================== Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??... [libaf] Adding filter dummy [dummy] Was reinitialized: 48000Hz/2ch/s16le [dummy] Was reinitialized: 48000Hz/2ch/s16le AO: [null] 48000Hz 2ch s16le (2 bytes per sample) AO: Description: Null audio output AO: Author: Tobias Diedrich <ranma+mplayer@tdiedrich.de> Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le... [dummy] Was reinitialized: 48000Hz/2ch/s16le [dummy] Was reinitialized: 48000Hz/2ch/s16le Starting playback...
decaudio: minlen=65536 maxlen=65536 declen=65536 (max=71680) decaudio: decoding 65536 bytes, max: 71680 (6144)
MPlayer interrupted by signal 11 in module: decode_audio
Schick mal einen Bugreport and mplayer-users oder mplayer-advusers...
Diego
ls -l /lib/libc[.-]* -rwxr-xr-x 1 root root 1455324 2004-10-03 12:41 /lib/libc-2.3.3.so lrwxrwxrwx 1 root root 13 2004-09-30 08:43 /lib/libc.so.6 -> libc-2.3.3.so gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc-4.0.2/configure --prefix=/usr --libexecdir=/usr/lib --enable- shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable- languages=c,c++,f95 Thread model: posix gcc version 4.0.2 ld -v GNU ld version 2.14 20030612 as --version GNU assembler 2.14 20030612 Copyright 2002 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. This assembler was configured for a target of `i686-pc-linux-gnu'. cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 2.40GHz stepping : 7 cpu MHz : 2390.544 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid bogomips : 4787.42 00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 PCI Audio Accelerator (rev a0)
lynx.abraxas@freenet.de wrote:
Hallo!
Since at least about a month CVS mplayer is not able to play DVDs with sound on my system anymore (CVS of last few days doesn't compile through at the moment). It seems that there is a problem in liba52. If I use: mplayer dvd:// mplayer dvd:// -ao oss it crashes with: MPlayer interrupted by signal 11 in module: decode_audio
Please follow the bug reporting guidelines at http://www.mplayerhq.hu/DOCS/HTML/en/bugreports.html - particularly the part about "what to report in the event of a crash". We almost never need an strace (I don't think I remember a single occasion in the years I've been around), and most of us don't particularly want 230K+ files coming through the list without warning. (For some list members (and even, I think, a few developers), who don't have true broadband, it may even be problematic to have such things come through at *all*.) -- The Wanderer Warning: Simply because I argue an issue does not mean I agree with any side of it. Secrecy is the beginning of tyranny.
I'm sorry. The full trace wasn't ment to go through. I got the message to stop it too late. I didn't have gdb installed at that time. Attached is the gdb output as told in the docs. Lynx
I found the problem. MPlayer links against my separately installed ffmpeg. So far I couldn't test a new cvs ffmpeg. Is there otherwise a reason not to have ffmpeg installed separately with mplayer? Deinstalling ffmpeg also solved the problem with vorbis and tremor. Lynx
On Mon, 22 May 2006 18:30:46 +0200 lynx.abraxas@freenet.de wrote:
I found the problem. MPlayer links against my separately installed ffmpeg. So far I couldn't test a new cvs ffmpeg. Is there otherwise a reason not to have ffmpeg installed separately with mplayer? Deinstalling ffmpeg also solved the problem with vorbis and tremor.
Theoreticaly it should work. In practice it is not well supported. Mostly because ffmpeg changes way to often. Attila Kinali -- 心をこめて聞け心をこめて話せ
participants (3)
-
Attila Kinali -
lynx.abraxas@freenet.de -
The Wanderer