Opened 17 years ago

Last modified 13 years ago

#655 new defect

mplayer crashes

Reported by: goga777@… Owned by: reimar
Priority: normal Component: demuxer
Version: 1.0rc1 Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

I have tv cards Gotview dvd2 deluxe
My configuration

debian-testing

goga@goga:~$ uname
Linux
goga@goga:~$ uname -a
Linux goga 2.6.18-2-686 #1 SMP Wed Nov 8 19:52:12 UTC 2006 i686 GNU/Linux
goga@goga:~$ ls -l /lib/libc[.-]*
-rwxr-xr-x 1 root root 1147736 2006-08-25 00:40 /lib/libc-2.3.6.so
lrwxrwxrwx 1 root root 13 2006-10-21 01:21 /lib/libc.so.6 -> libc-2.3.6.so
goga@goga:~$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-
c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/
lib --without-included-gettext --enable-threads=posix --enable-nls --program-
suffix=-4.1 --enable-cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
goga@goga:~$ ld -v
GNU ld version 2.17 Debian GNU/Linux
goga@goga:~$ as --version
GNU assembler 2.17 Debian GNU/Linux
Copyright 2005 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 `i486-linux-gnu'.
goga@goga:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 3
model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping : 4
cpu MHz : 2999.936
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc pni
monitor ds_cpl cid xtpr
bogomips : 6003.80

processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 3
model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping : 4
cpu MHz : 2999.936
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc pni
monitor ds_cpl cid xtpr
bogomips : 5999.77

Sun Nov 26 22:43:46 2006: Nov 26 22:43:46 localhost kernel: ivtv:
==================== START INIT IVTV ====================
Sun Nov 26 22:43:46 2006: Nov 26 22:43:46 localhost kernel: ivtv: version
0.8.0 (tagged release) loading
Sun Nov 26 22:43:46 2006: Nov 26 22:43:46 localhost kernel: ivtv: Linux
version: 2.6.18-2-686 SMP mod_unload 686 REGPARM gc
c-4.1
Sun Nov 26 22:43:46 2006: Nov 26 22:43:46 localhost kernel: ivtv: In case of
problems please include the debug info between
Sun Nov 26 22:43:46 2006: Nov 26 22:43:46 localhost kernel: ivtv: the START
INIT IVTV and END INIT IVTV lines, along with
Sun Nov 26 22:43:46 2006: Nov 26 22:43:46 localhost kernel: ivtv: any module
options, when mailing the ivtv-users mailingli
st.
Sun Nov 26 22:43:46 2006: Nov 26 22:43:46 localhost kernel: ivtv0: Autodetected
GotView PCI DVD2 Deluxe card (cx23416 based)
Sun Nov 26 22:43:46 2006: Nov 26 22:43:46 localhost kernel: ACPI: PCI Interrupt
0000:02:00.0[A] -> GSI 17 (level, low) -> IR
Q 209
Sun Nov 26 22:43:46 2006: Nov 26 22:43:46 localhost kernel: ivtv0: Unreasonably
low latency timer, setting to 64 (was 32)
Sun Nov 26 22:43:46 2006: Nov 26 22:43:46 localhost kernel: ivtv0: loaded v4l-
cx2341x-enc.fw firmware (262144 bytes)
Sun Nov 26 22:43:47 2006: Nov 26 22:43:47 localhost kernel: tuner 1-0043: chip
found @ 0x86 (ivtv i2c driver #0)
Sun Nov 26 22:43:47 2006: Nov 26 22:43:47 localhost kernel: tda9887 1-0043:
tda988[5/6/7] found @ 0x43 (tuner)
Sun Nov 26 22:43:47 2006: Nov 26 22:43:47 localhost kernel: tuner 1-0060: All
bytes are equal. It is not a TEA5767
Sun Nov 26 22:43:47 2006: Nov 26 22:43:47 localhost kernel: tuner 1-0060: chip
found @ 0xc0 (ivtv i2c driver #0)
Sun Nov 26 22:43:47 2006: Nov 26 22:43:47 localhost kernel: cx25840 1-0044:
cx25843-23 found @ 0x88 (ivtv i2c driver #0)
Sun Nov 26 22:43:47 2006: Nov 26 22:43:47 localhost kernel: cx25840 1-0044:
loaded v4l-cx25840.fw firmware (16382 bytes)
Sun Nov 26 22:43:47 2006: Nov 26 22:43:47 localhost kernel: ivtv0: Encoder
revision: 0x02050032
Sun Nov 26 22:43:47 2006: Nov 26 22:43:47 localhost kernel: ivtv0: Registered
device video0 for encoder MPEG
Sun Nov 26 22:43:47 2006: Nov 26 22:43:47 localhost kernel: ivtv0: Registered
device video32 for encoder YUV
Sun Nov 26 22:43:47 2006: Nov 26 22:43:47 localhost kernel: ivtv0: Registered
device vbi0 for encoder VBI
Sun Nov 26 22:43:47 2006: Nov 26 22:43:47 localhost kernel: ivtv0: Registered
device video24 for encoder PCM audio
Sun Nov 26 22:43:47 2006: Nov 26 22:43:47 localhost kernel: ivtv0: Registered
device radio0 for encoder radio
Sun Nov 26 22:43:47 2006: Nov 26 22:43:47 localhost kernel: tuner 1-0060: type
set to 38 (Philips PAL/SECAM multi (FM1216ME
MK3))
Sun Nov 26 22:43:47 2006: Nov 26 22:43:47 localhost kernel: ivtv0: Initialized
GotView PCI DVD2 Deluxe, card #0
Sun Nov 26 22:43:47 2006: Nov 26 22:43:47 localhost kernel: ivtv:
==================== END INIT IVTV

after run goga@goga:~$ mplayer -v -tv driver=v4l2 -vo xv tv://
mplayer hung up

MPlayer 1.0rc1-4.1.2-DFSG-free (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 3, Stepping: 4)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/goga/.mplayer/codecs.conf'
Reading /home/goga/.mplayer/codecs.conf: Can't open '/home/goga/.mplayer/
codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No
such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' '-tv' 'driver=v4l2' '-vo' 'xv' 'tv://'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/goga/.mplayer/input.conf'
Can't open input config file /home/goga/.mplayer/input.conf: No such file or
directory
Can't open input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('.conf') -> '/home/goga/.mplayer/.conf'

Playing tv://.
get_path('sub/') -> '/home/goga/.mplayer/sub/'
STREAM: [tv] tv://
STREAM: Description: TV Input
STREAM: Author: Benjamin Zores, Albeu
STREAM: Comment:
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@…>
comment: first try, more to come ;-)
Selected device: GotView PCI DVD2 Deluxe
Tuner cap: STEREO LANG1 LANG2
Tuner rxs: MONO LANG2
Capabilites: video capture VBI capture device tuner audio read/write
supported norms: 0 = PAL-BGH; 1 = PAL-DK; 2 = PAL-I; 3 = PAL-M; 4 = PAL-N; 5 =
PAL-Nc; 6 = SECAM-BGH; 7 = SECAM-DK; 8 = SECAM-L; 9 = SECAM-L'; 10 = NTSC-M; 11

NTSC-J; 12 = NTSC-K;

inputs: 0 = Tuner 1; 1 = S-Video 1; 2 = Composite 1;
Current input: 2
Current format: unknown (0x4745504d)
v4l2: current audio mode is : LANG1
v4l2: set format: YVU420
v4l2: set input: 0
Selected norm: pal
v4l2: set norm: PAL-BGH
Selected channel list: europe-east (including 133 channels)
Current frequency: 6400 (400.000)
==> Found video stream: 0
v4l2: get format: unknown (0x4745504d)
v4l2: get fps: 25.000000
v4l2: get width: 720
v4l2: get height: 576
Using a ring buffer for maximum 2 frames, 0 MB total size.
v4l2: ioctl request buffers failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.
v4l2: up to 0 video frames buffered.
v4l2: ioctl set mute failed: Bad file descriptor
* glibc detected * double free or corruption (fasttop): 0x089016e8 *

MPlayer interrupted by signal 6 in module: demux_open

  • MPlayer crashed. This shouldn't happen.

It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.

Change History (4)

comment:1 by compn, 17 years ago

please read the bugreports page http://mplayerhq.hu/DOCS/HTML/en/bugreports.html
compile svn mplayer from source manually
and provide gdb backtrace like the docs say.

9 times out of 10, crashes go away with a manually compiled mplayer.

A.6.6. Crashes

You have to run MPlayer inside gdb and send us the complete output or if you
have a core dump of the crash you can extract useful information from the Core
file. Here's how:
A.6.6.1. How to conserve information about a reproducible crash

Recompile MPlayer with debugging code enabled:

./configure --enable-debug=3
make

and then run MPlayer within gdb using:

gdb ./mplayer

You are now within gdb. Type:

run -v options-to-mplayer filename

and reproduce your crash. As soon as you did it, gdb will return you to the
command line prompt where you have to enter

bt
disass $pc-32 $pc+32
info all-registers

comment:2 by reimar, 17 years ago

I think in this case the V4L2 device only supports (MPEG2?) compressed formats
(this line indicates that: "v4l2: get format: unknown (0x4745504d)") as output,
which MPlayer does not support.
If you use some other program to set up the tuner, mplayer /dev/v4l2/video0
might work.
Or actually, looking at the dmesg:
Sun Nov 26 22:43:47 2006: Nov 26 22:43:47 localhost kernel: ivtv0: Registered
device video0 for encoder MPEG
Sun Nov 26 22:43:47 2006: Nov 26 22:43:47 localhost kernel: ivtv0: Registered
device video32 for encoder YUV

Try to make mplayer use /dev/v4l2/video32

comment:3 by goga777@…, 17 years ago

I recompilled mplayer, but during the run of gdb there's hung up

goga:/home/src# gdb mplayer
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) run -v pvr://
Starting program: /usr/bin/mplayer -v pvr://
Failed to read a valid object file image from memory.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1219811648 (LWP 6043)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
MPlayer dev-SVN-r21349-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 3, Stepping: 4)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No
such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No
such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' 'pvr://'
init_freetype
/usr/share/fonts/X11/TTF/Arial.ttf doesn't look like a bitmap font description,
ignoring.
Cannot load bitmap font: /usr/share/fonts/X11/TTF/Arial.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/root/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf: No such file or
directory
Can't open input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('.conf') -> '/root/.mplayer/.conf'

Playing pvr://.
get_path('sub/') -> '/root/.mplayer/sub/'
[pvr] Using device /dev/video0
[pvr] Detected GotView PCI DVD2 Deluxe
[v4l2] Available video inputs: '#0, Tuner 1' '#1, S-Video 1' '#2, Composite 1'
[v4l2] Available audio inputs: '#0, Tuner 1' '#1, Line In 1'
[v4l2] Available norms: '#0, PAL-BGH' '#1, PAL-DK' '#2, PAL-I' '#3, PAL-M' '#4,
PAL-N' '#5, PAL-Nc' '#6, SECAM-BGH' '#7, SECAM-DK' '#8, SECAM-L' '#9, SECAM-
L '#10, NTSC-M' '#11, NTSC-J' '#12, NTSC-K'
[v4l2] Video input: Tuner 1
[v4l2] Audio input: Tuner 1
[v4l2] Norm: PAL-BGH.
STREAM: [pvr] pvr://
STREAM: Description: V4L2 MPEG Input (a.k.a PVR)
STREAM: Author: Benjamin Zores
STREAM: Comment:

that's all - gdb is hung up

comment:4 by compn, 13 years ago

Owner: changed from r_togni@… to reimar
Note: See TracTickets for help on using tickets.