media-kit / libmpv-darwin-build

libmpv for macOS & iOS.
Other
32 stars 11 forks source link

iOS application crashes on start when not debugging only #18

Closed smallgirl closed 1 year ago

smallgirl commented 1 year ago

Incident Identifier: xxxxx CrashReporter Key: d6636e6e2ea0558fcab06f10aabf6ea698c043ad Hardware Model: iPhone11,6 Process: MPV [13232] Path: /Volumes/VOLUME/*/MPV.app/MPV Identifier: xxxxx.MPV Version: 1.0 (1) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.jiandan.test.MPV [1997]

Date/Time: 2023-08-27 20:47:58.7114 +0800 Launch Time: 2023-08-27 20:47:58.6501 +0800 OS Version: iPhone OS 14.2 (18B92) Release Type: User Baseband Version: 3.01.01 Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x00000001011c1800 VM Region Info: 0x1011c1800 is not in any region.
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START --->
UNUSED SPACE AT END Exception Note: EXC_CORPSE_NOTIFY Termination Reason: SIGNAL 11 Segmentation fault: 11 Namespace SIGNAL, Code 0xb

Highlighted by Thread: 0

Backtrace not available

No thread state (register information) available

Binary Images: Binary images description not available

Error Formulating Crash Report: Failed to create CSSymbolicatorRef - corpse still valid ¯_(ツ)_/¯

EOF

xcode14.2(不是xcode14.3) 编译出来的libmpv-xcframeworks_v0.0.1_ios-universal-video-full.tar.gz ,导入以后运行没问题,只要一断开数据线,再打开就闪退,移除framework 不会闪退。 https://developer.apple.com/forums/thread/666022

birros commented 1 year ago

You are using the first version v0.0.1, please use the latest version. Also, as mentioned in the README, this repo is intended to provide builds for media-kit, not for general use.

smallgirl commented 1 year ago

libmpv-libs_v0.5.6_ios-arm64-video-full.tar.gz Still crashing , downlaod from https://github.com/media-kit/libmpv-darwin-build/releases , ios14.2 (iphone xs max) carsh , but ios15.7 (iphone xs max) is ok