Opened 4 months ago

Last modified 4 months ago

#70281 assigned defect

mpv @0.38.0: crash upon dropping URL

Reported by: mrkapqa Owned by: Ionic (Mihai Moldovan)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: monterey Cc: i0ntempest
Port: mpv

Description

Hello ,

i am posting this here since it did function in the past, so not sure what is wrong on the computer.

considering it a defect, enhancement request.

have installed mpv via macports (version 0,37 or 0,38)

The following versions of mpv are currently installed:
 1) mpv @0.37.0_2+audiocd+bluray+bundle+dvd+libarchive+network+opengl+osd+python312+rubberband
 2) mpv @0.38.0_0+audiocd+bluray+bundle+dvd+libarchive+network+opengl+osd+python312+rubberband (active)
Enter a number to select an option

alongside mpv via homebrew (which seems the active version in terminal)

mpv --version
mpv 0.38.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Apr 17 2024 23:58:10
libplacebo version: v6.338.2
FFmpeg version: 7.0
FFmpeg library versions:
   libavutil       59.8.100
   libavcodec      61.3.100
   libavformat     61.1.100
   libswscale      8.1.100
   libavfilter     10.1.100
   libswresample   5.1.100

now since i have activated one of the 2 installed macports version, say version 0.38, i find the mpv app in "application" "macports" and i click on "mpv"

the mpv windows says "drop files or URLs to play here" however if i would drop an URL from youtube, the mpv would crash; this happens with 0.37 or 0.38, and for completeness, would also happen with another version downloaded from say www.mpv.io.

maybe this is an error from Mpv in recent version, if yes, sorry if posted it in the wrong forum.

Attachments (2)

Screenshot 2024-06-23 at 11.59.24.png (121.2 KB) - added by mrkapqa 4 months ago.
mpv-bundle-2024-06-23-113901.ips (17.1 KB) - added by mrkapqa 4 months ago.

Download all attachments as: .zip

Change History (7)

Changed 4 months ago by mrkapqa

comment:1 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: i0ntempest added
Keywords: monterey added; mpv yt-dlp removed
Owner: set to Ionic
Status: newassigned
Summary: (monterey) Mpv Player would crash upon dropping URLmpv @0.38.0: crash upon dropping URL
Type: requestdefect

Please attach the crash log that macOS should have recorded in ~/Library/Logs/DiagnosticReports.

Having Homebrew and MacPorts installed at the same time often leads to problems so we don't support that. We recommend uninstalling one of them.

Last edited 4 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 4 months ago by mrkapqa

thank you, i am hoping to have them both installed; just provoked a mpv crash as above, but it seems the ~/Library/Logs/DiagnosticReports does not fill up, there is only a "mpv-bundle-2024-06-23-113901.ips" file among several "SiriSearchFeedback-2024-06-xxxxx.diag" files is this mpv-bundle.ips the file you need?

comment:3 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Yes, the ips file is the crash log.

Changed 4 months ago by mrkapqa

comment:4 Changed 4 months ago by mrkapqa

the only thing i noticd with this file is it would not change even after provoking the crash at least that what the timestamp on the .ips ("date modified at 11.39") suggests; the crash was provoked afterwards, and file seem to have stayed unchanged.

comment:5 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

I get the feeling that macOS might not save a new crash log if a crash log was already recorded for that program recently.

Anyway, the log says the crash was in this thread:

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libSC.dylib                   	    0x7ffa203b87d1 boost::serialization::typeid_system::extended_type_info_typeid_0::is_less_than(boost::serialization::extended_type_info const&) const + 17
1   libSC.dylib                   	    0x7ffa203b8a4d boost::serialization::typeid_system::extended_type_info_typeid_0::type_unregister() + 141
2   libSC.dylib                   	    0x7ffa20553aef boost::serialization::detail::singleton_wrapper<boost::serialization::extended_type_info_typeid<_SC_CI_TRANSFORM_SHADER_DESC> >::~singleton_wrapper() + 47
3   libsystem_c.dylib             	    0x7ff813d0edd4 __cxa_finalize_ranges + 409
4   libsystem_c.dylib             	    0x7ff813d0ebee exit + 35
5   AppKit                        	    0x7ff816ad589f -[NSApplication terminate:] + 1702
6   libdispatch.dylib             	    0x7ff813c5e0cc _dispatch_call_block_and_release + 12
7   libdispatch.dylib             	    0x7ff813c5f317 _dispatch_client_callout + 8
8   libdispatch.dylib             	    0x7ff813c6bc78 _dispatch_main_queue_drain + 943
9   libdispatch.dylib             	    0x7ff813c6b8bb _dispatch_main_queue_callback_4CF + 31
10  CoreFoundation                	    0x7ff813f1abfa __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
11  CoreFoundation                	    0x7ff813edc0ab __CFRunLoopRun + 2775
12  CoreFoundation                	    0x7ff813edaf14 CFRunLoopRunSpecific + 562
13  HIToolbox                     	    0x7ff81cffb5e6 RunCurrentEventLoopInMode + 292
14  HIToolbox                     	    0x7ff81cffb34a ReceiveNextEventCommon + 594
15  HIToolbox                     	    0x7ff81cffb0e5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
16  AppKit                        	    0x7ff816850aa9 _DPSNextEvent + 927
17  AppKit                        	    0x7ff81684f166 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394
18  AppKit                        	    0x7ff816841818 -[NSApplication run] + 586
19  mpv-bundle                    	       0x100226c45 cocoa_main + 757
20  dyld                          	       0x1097fd52e start + 462

Not sure what to make of that. Most of those are Apple-supplied libraries and frameworks so either macOS has a bug or mpv is calling one of them with wrong parameters that lead to the crash.

You'll probably want to report the problem to the developers of mpv. We just compile and distribute mpv; we didn't write its code.

Note: See TracTickets for help on using tickets.