Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#515 closed defect (fixed)

Crash in vo_macosx on uninit

Reported by: timwoj@… Owned by: beastd
Priority: normal Component: vo
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:


This is on the very latest SVN (just up'd a minute ago and rebuilt). This happens on both my Dual G4
and my G3. Log and backtrace are attached below.

MPlayer dev-SVN-r18736-4.0.1 (C) 2000-2006 MPlayer Team
AltiVec? found
CPU: PowerPC

This codecs.conf is too old and incompatible with this MPlayer release! at line 6

Playing Stick Fighting.avi.
AVI file format detected.
VIDEO: [MP42] 300x150 24bpp 23.980 fps 115.0 kbps (14.0 kbyte/s)
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmp42] vfm: ffmpeg (FFmpeg M$ MPEG-4 v2)
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 5000 Hz, 1 ch, u8, 40.0 kbit/100.00% (ratio: 5000->5000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
AO: [macosx] 5000Hz 1ch u8 (1 bytes per sample)
Starting playback...
VDec: vo config request - 300 x 150 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler?: using unscaled Planar YV12 -> Packed YUY2 special converter
VO: [macosx] 300x150 => 300x150 Packed YUY2
A: 4.5 V: 4.5 A-V: 0.036 ct: 0.006 109/109 2% 1% 1.3% 0 0
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x7fdff378
0xfffeff40 in objc_msgSend_rtp ()
(gdb) where
#0 0xfffeff40 in objc_msgSend_rtp ()
#1 0x92952968 in NSPopAutoreleasePool ()
#2 0x00003aac in uninit_player (mask=34900512) at mplayer.c:461
#3 0x00003c64 in exit_player_with_rc (how=0x47c8fc "", rc=0) at mplayer.c:513
#4 0x0000b9f8 in SDL_main (argc=0, argv=0x480000) at mplayer.c:4243
#5 0x0033e6bc in -[SDLMain applicationDidFinishLaunching:] (self=0x2148a20, _cmd=0x90aaf904,
note=0x3e8) at macosx/SDLMain.m:294
#6 0x92975ad8 in _nsnote_callback ()
#7 0x9080b010 in CFXNotificationPost ()
#8 0x908030ec in _CFXNotificationPostNotification ()
#9 0x9295fee0 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#10 0x93722338 in -[NSApplication _postDidFinishNotification] ()
#11 0x93722224 in -[NSApplication _sendFinishLaunchingNotification] ()
#12 0x93721d6c in -[NSApplication(NSAppleEventHandling) _handleAEOpen:] ()
#13 0x93721914 in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] ()
#14 0x92976ae4 in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
#15 0x92976944 in _NSAppleEventManagerGenericHandler ()
#16 0x91534960 in aeDispatchAppleEvent ()
#17 0x915347fc in dispatchEventAndSendReply ()
#18 0x91534654 in aeProcessAppleEvent ()
#19 0x932200e0 in AEProcessAppleEvent ()
#20 0x9372005c in _DPSNextEvent ()
#21 0x9371fb48 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#22 0x9371c08c in -[NSApplication run] ()
#23 0x0033ece0 in main (argc=34718208, argv=0x557188) at macosx/SDLMain.m:222

Change History (4)

comment:1 Changed 13 years ago by timwoj@…

I forgot to mention when this happens. It only happens when you press the close button on the vo
window (the red one). Pressing escape or ctrl-c in the terminal window closes the program properly
without crashing.

comment:2 Changed 13 years ago by reimar

Without knowing anything about MPlayer on MacOSX, this looks to me like an SDL
bug, try to compile MPlayer without SDL support (--disable-sdl configure option).

comment:3 Changed 13 years ago by timwoj@…

Same result without SDL.

comment:4 Changed 12 years ago by nicolas.plourde@…

  • Resolution set to fixed
  • Status changed from new to closed

fixed in 21567

Note: See TracTickets for help on using tickets.