[MPlayer-users] gmplayer crashes whenever pause button is pressed

Eulogio Serradilla eulogio.sr at terra.es
Tue Oct 26 01:20:12 CEST 2004


When I press pause button twice in mplayer gui while playing a video mplayer says:

MPlayer interrupted by signal 11 in module: pause

I followed more or less the next messages: I recompiled with --enable-debug and run mplayer with gdb and found:

segmentation fault
mplayer.c:2509

I replaced lines 2509-2512 with "mp_cmd_free(cmd);" (as in the official release) and now it works well. I don't know it this is the right way to fix it.

Thanks.

System information:

Debian GNU/Linux
Linux 2.4.27-3
libc-2.3.2.so
gcc version 3.3.4 (Debian 1:3.3.4-13)
GNU ld version 2.15
GNU ensamblador 2.15
libgtk1.2      1.2.10-17 
libglib1.2     1.2.10-9
libpng10-0     1.0.15-8   
libpng12-0     1.2.5.0-8


GDB OUTPUT:

MPlayer dev-CVS-041025-13:13-3.3.4 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 6)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

...
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Disabling DPMS
...
Using built-in default codecs.conf.
...
Failed to open /dev/rtc: Permiso denegado (it should be readable by the user.)
Using nanosleep() timing
...
Falling back on default (hardcoded) input config

Playing 100_1409.xvid.avi.
Cache fill: 19,14% (401408 bytes)    AVI file format detected.
VIDEO:  [XVID]  320x240  24bpp  15,003 fps  866,1 kbps (105,7 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 8000 Hz, 2 ch, 16 bit (0x10), ratio: 2000->32000 (16,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 8000Hz/2ch/16bit -> 8000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 8000 hz, little endian signed int
AF_pre: 8000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 8000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 8000Hz/2ch/16bit -> 8000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1,33:1 - prescaling to correct movie aspect.
VO: [xv] 320x240 => 320x240 Planar YV12
A:   2,1 V:   2,1 A-V:  0,007 ct:  0,072  33/ 33 14%  1%  3,4% 1 0 86% 1,00x
  =====  PAUSE  =====
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 957)]
main (argc=1, argv=0xbffff944) at mplayer.c:2509
2509          if (cmd->id == MP_CMD_PAUSE) {











More information about the MPlayer-users mailing list