jonataslaw / jonataslaw/VideoCompress

Crash in IOS Device

Open
#318 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
262
Forks
344
PR merge metrics
No merged PRs in 30d

Description

hi, I'm using this plugin for compress target video, and got a crash with log below:

video_compress/SwiftVideoCompressPlugin.swift:203: Fatal error: Unexpectedly found nil while unwrapping an Optional value
video_compress/SwiftVideoCompressPlugin.swift:203: Fatal error: Unexpectedly found nil while unwrapping an Optional value
* thread #1, queue = 'com.apple.main-thread', stop reason = Fatal error: Unexpectedly found nil while unwrapping an Optional value
frame #0: 0x00000001c25a2458 libswiftCore.dylib`_swift_runtime_on_report
libswiftCore.dylib`:
-> 0x1c25a2458 <+0>: ret
libswiftCore.dylib`:
0x1c25a245c <+0>: b 0x1c25a2458 ; _swift_runtime_on_report
libswiftCore.dylib`:
0x1c25a2460 <+0>: adrp x8, 335064
0x1c25a2464 <+4>: ldrb w0, [x8, #0x45c]
Target 0: (Runner) stopped.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in video_compress/SwiftVideoCompressPlugin.swift at line 203 and inspect the compression path used for target video on iOS. Reproduce the reported crash with the plugin's target-video operation and identify which input or state produces the nil unwrap. Done means that this scenario no longer crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.