[MPlayer-users] OSX crash playing audio with album art jpg

Alex Sisson alex_sisson at yahoo.co.uk
Sun Dec 8 21:28:32 CET 2013

> > Reproduction:
> > - Play an audio file with embedded tag for folder art   (I think that's how the image gets loaded)   ...can supply files if needed for reproduction
> > - Minimize the art window
> > - Click on another app in the dock   (running or not)  (important step!)
> > - Click the mplayer dock icon
> > - Crashes!
> > 
> > 
> > System info:
> > OSX 10.8.5
> > Xcode 5.0

> According to all information I can find, this:
> 2013-11-22 12:02:49.893 mplayer[55046:f0b] *** Assertion failure in -[NSWindow _changeJustMain],
> +/SourceCache/AppKit/AppKit-1187.40/AppKit.subproj/NSWindow.m:12478
> 2013-11-22 12:02:49.894 mplayer[55046:f0b] An uncaught exception was raised
> 2013-11-22 12:02:49.894 mplayer[55046:f0b] Invalid parameter not satisfying: [self canBecomeMainWindow]

> Is a bug in Apple's code.
> We could catch the exception or try some other workaround, but in principle I'd
> say Apple needs to fix their code.

I've not looked at the code at all..but could the window reference be being lost or something...  because also there's the other bug in my original email:

Note, if you don't switch to another
 program from the dock, and just do this:
-Play an audio file with embedded folder art  
- Minimize
- Attempt to restore by clicking the mplayer dock icon
This doesn't restore the folder art window, but doesn't crash, 

... So  on minimize, is mplayer handling that event wrongly, and these 2 situations are from that.

More information about the MPlayer-users mailing list