Opened 15 years ago

#1320 new defect

SIGSEGV, when fastforwd movie with spdif output

Reported by: alex_mond@… Owned by: reimar
Priority: normal Component: ao
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Hi

The error happens with the current SVN as well as with any pkges I installed for the last 2 years.

Program received signal SIGSEGV, Segmentation fault.
0x00e6ea33 in memmove () from /lib/libc.so.6

(gdb) backtrace
#0 0x00e6ea33 in memmove () from /lib/libc.so.6
#1 0x08098816 in main (argc=20, argv=0xbfbd3a74) at mplayer.c:2071

Following is the system information
uname -a
Linux media.home.int 2.6.26.6-79.fc9.i686 #1 SMP Fri Oct 17 14:52:14 EDT 2008 i686 i686 i386 GNU/Linux

Command line:
./mplayer -vo xv,sdl,x11, -ao alsa:device=spdif -ac hwac3,hwdts, -autosync 100 -nolirc -nojoystick -autoq 100 -fs -cache 5000 -idx -vf pp=fd

lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GHM (ICH7-M DH) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 7100 GS (rev a1)
03:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
04:03.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61)

Mplayer output

/mplayer -v -vo xv,sdl,x11, -ao alsa:device=spdif -ac hwac3,hwdts, -autosync 100 -nolirc -nojoystick -autoq 100 -fs -cache 5000 -idx -vf pp=fd
XXXXXXXXXX.avi
Playing XXXXXXXXXX.avi
get_path('sub/') -> '/root/.mplayer/sub/'
[file] File size is 734609248 bytes
STREAM: [file] XXXXXXXXXX.avi
STREAM: Description: File
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0 pre:1024000 eof:0
Cache fill: 0.00% (0 bytes)
LAVF_check: AVI format
AVI file format detected.
list_end=0x172
======= AVI Header =======
us/frame: 41708 (fps=23.976)
max bytes/sec: 650000
padding: 0
MainAVIHeader.dwFlags: (2064) HAS_INDEX TRUST_CKTYPE
frames total: 148198 initial: 0
streams: 2
Suggested BufferSize: 844800
Size: 704 x 400
==========================
list_end=0xEA
==> Found video stream: 0
[aviheader] Video stream found, -vid 0

STREAM Header =====

Type: vids FCC: xvid (64697678)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 1000000/41708 = 23.976
Start: 0 Len: 148198
Suggested BufferSize: 1126400
Quality -1
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======

biSize 40
biWidth 704
biHeight 400
biPlanes 1
biBitCount 24
biCompression 1145656920='XVID'
biSizeImage 844800

===========================
Regenerating keyframe table for MPEG-4 video.
list_end=0x172
==> Found audio stream: 1
[aviheader] Audio stream found, -aid 1

STREAM Header =====

Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 12000/1 = 12000.000
Start: 0 Len: 257507
Suggested BufferSize: 0
Quality -1
Sample size: 1
==========================
Found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 12000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=8640
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
==========================================================================
list_end=0x2B6632C8
Found movie at 0x800 - 0x2B6632C8
Reading INDEX block, 405705 chunks for 148198 frames (fpos=728117968).
AVI index offset: 0x7FC (movi=0x800 idx0=0x4 idx1=0xBFC)
Auto-selected AVI video ID = 0
Auto-selected AVI audio ID = 1
AVI: Searching for audio stream (id:1)
XXX initial v_pts=0.375 a_pos=0 (0.000)
AVI video size=650504991 (148198) audio size=74162091 (74162091)
VIDEO: [XVID] 704x400 24bpp 23.976 fps 841.9 kbps (102.8 kbyte/s)
Auto-selected AVI audio ID = 1
[V] filefmt:3 fourcc:0x44495658 size:704x400 fps:23.976 ftime:=0.0417
get_path('sub/') -> '/root/.mplayer/sub/'
X11 opening display: localhost:12.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":12.0" => remote display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
[VO_XV] Using Xv Adapter #0 (NV17 Video Texture)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2046x2046
Opening video filter: [pp=fd]
[vo] query(Planar YV12) -> 3
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
[PP] Using external postprocessing filter, max q = 6.
AutoQ: setting quality to 6.
==========================================================================
Forced audio codec: hwac3
Forced audio codec: hwdts
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using SSE optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 48000 Hz 96 kbit Joint-Stereo, BPF: 288
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, s16le, 96.0 kbit/6.25% (ratio: 12000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
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
Trying preferred audio driver 'alsa', options 'device=spdif'
alsa-init: requested format: 48000 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.17a
alsa-init: setup for 1/2 channel(s)
alsa-init: using device spdif
alsa-init: pcm opened in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy@…>
AO: Comment: under developement
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...
Increasing filtered audio buffer size from 0 to 65536
[mpeg4 @ 0x8785ef0]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
[mpeg4 @ 0x8785ef0]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
[ffmpeg] aspect_ratio: 1.760000
VDec: vo config request - 704 x 400 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
Trying filter chain: pp vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.76:1 - prescaling to correct movie aspect.
VO Config (704x400->704x400,flags=1,'MPlayer',0x32315659)
REQ: flags=0x437 req=0x0
VO: [xv] 704x400 => 704x400 Planar YV12 [fs]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel@…> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 355 for hw scaling
[VO_XV] Shared memory not supported
Reverting to normal Xv.
[VO_XV] Shared memory not supported
Reverting to normal Xv.
[xv-fs] dx: 0 dy: 148 dw: 1280 dh: 728
[xv] dx: 0 dy: 148 dw: 1280 dh: 728
* [pp] Allocating mp_image_t, 704x400x12bpp YUV planar, 422400 bytes
* [vo] Allocating mp_image_t, 704x400x12bpp YUV planar, 422400 bytes
[postproc @ 0x8828490]using npp filters 0x400000/0x400000
[xv] dx: 0 dy: 0 dw: 1280 dh: 1024
[xv-fs] dx: 0 dy: 148 dw: 1280 dh: 728
* [pp] Allocating mp_image_t, 704x400x12bpp YUV planar, 422400 bytes
[postproc @ 0x8828490]using npp filters 0x400000/0x400000
[postproc @ 0x8828490]using npp filters 0x400000/0x400000??,?% 0 5 99%
[postproc @ 0x8828490]using npp filters 0x400000/0x400000??,?% 0 4 99%
[postproc @ 0x8828490]using npp filters 0x400000/0x400000??,?% 0 3 99%
skipping part
[postproc @ 0x8828490]using npp filters 0x400000/0x400000% 5% 1.3% 88 6 49%
[postproc @ 0x8828490]using npp filters 0x400000/0x400000% 5% 1.3% 89 6 49%
SEEK: i=323359 (max:323359) dpos=59111498 (wanted:59114085) % 1.3% 89 6 49%
SEEK: idx=323359 (a:323359 v:323359) v.skip=0 a.skip=2587/0.000
[postproc @ 0x8828490]using npp filters 0x400000/0x400000
[postproc @ 0x8828490]using npp filters 0x400000/0x400000% ??% ??,?% 0 6 81%
[postproc @ 0x8828490]using npp filters 0x400000/0x400000% ??% ??,?% 0 6 81%
[postproc @ 0x8828490]using npp filters 0x400000/0x400000% ??% ??,?% 0 6 81%
[postproc @ 0x8828490]using npp filters 0x400000/0x400000% ??% ??,?% 0 6 81%
[postproc @ 0x8828490]using npp filters 0x400000/0x400000% ??% ??,?% 0 6 81%
[postproc @ 0x8828490]using npp filters 0x400000/0x400000% ??% ??,?% 0 6 81%
[postproc @ 0x8828490]using npp filters 0x400000/0x400000% ??% ??,?% 0 6 81%
[postproc @ 0x8828490]using npp filters 0x400000/0x400000% ??% ??,?% 0 6 81%
[postproc @ 0x8828490]using npp filters 0x400000/0x400000% ??% ??,?% 0 6 81%
[postproc @ 0x8828490]using npp filters 0x400000/0x400000% ??% ??,?% 0 6 81%
SEEK: i=324045 (max:324045) dpos=59237067 (wanted:59239207) % ??,?% 0 6 81%
SEEK: idx=324045 (a:324045 v:324045) v.skip=0 a.skip=2140/0.000
[postproc @ 0x8828490]using npp filters 0x400000/0x400000
[postproc @ 0x8828490]using npp filters 0x400000/0x400000% ??% ??,?% 0 6 62%
A:4936.8 V:4936.6 A-V: 0.131 ct: 0.019 118363/118363 ??% ??% ??,?% 0 6 62%

MPlayer interrupted by signal 11 in module: play_audio

  • MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.

The error happens with both MP3 and AC3 codecs , independently from which file it is and it is happening in a different places in a movie.

If more information is required i will be happy to supply it , i can reproduce this in a bout 5 min

Alex M

Change History (0)

Note: See TracTickets for help on using tickets.