Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on iOS 13 #18

Closed
MR-yo opened this issue Jan 10, 2022 · 7 comments
Closed

Crash on iOS 13 #18

MR-yo opened this issue Jan 10, 2022 · 7 comments
Assignees
Labels
apple bug Something isn't working fixed

Comments

@MR-yo
Copy link

MR-yo commented Jan 10, 2022

Environment:

  • Platform: iOS
  • Device: iPhone7-13.3.1 / iPhone6s-13.6
  • Version: ffmpeg-kit-ios-full 4.5.1
  • Xcode version: 12.5.1
  • Cocoapods version: 1.10.1

Xcode log:

dyld: Library not loaded: /usr/lib/libexpat.1.dylib
Referenced from: /private/var/containers/Bundle/Application/F447589E-2C1F-47C6-B5B1-397F21CB8F3B/FFmpegKitIOS.app/Frameworks/libavdevice.framework/libavdevice
Reason: image not found
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
Message from debugger: Terminated due to signal 6

@MR-yo MR-yo changed the title Crash on iPhone7-13.3.1 Crash on iOS 13 Jan 10, 2022
@tanersener
Copy link
Collaborator

tanersener commented Jan 10, 2022

I don't have enough information to make a comment about this.

I don't see which test application is used, which source branch is used, where are ffmpeg-kit binaries coming from, what are the steps to reproduce this issue.

@MR-yo
Copy link
Author

MR-yo commented Jan 11, 2022

sorry for not gave enough information.

  • Branch: main
  • Test application: ffmpeg-kit-test-main/ios/test-app-cocoapods

Steps:

  1. open Terminal
  2. cd project path
  3. run pod install
  4. use Xcode open FFmpegKitIOS.xcworkspace
  5. choose Device iPhone7-13.3.1 or iOS simulator iPhone11-13.5
  6. click run then crash happened

@tanersener
Copy link
Collaborator

tanersener commented Jan 11, 2022

Thanks, I managed to see the error. I need some time to analyse this.

You can use v4.5 until I have an answer for the issue.

@tanersener tanersener self-assigned this Jan 13, 2022
@tanersener tanersener added bug Something isn't working apple and removed needs-analysis ios labels Jan 13, 2022
@tanersener
Copy link
Collaborator

Thanks for reporting this issue. It seems like it is a bug in ffmpeg-kit binaries.

See tanersener/ffmpeg-kit/issues/316 for the details.

I don't have a workaround for it yet. We may need to patch v4.5.1 and v4.5.1.LTS of all apple platforms.

@tanersener
Copy link
Collaborator

tanersener commented Jan 14, 2022

I patched Apple platform releases v4.5.1 and v4.5.1.LTS with the fix for this issue.

Please clean you pod cache and run pod install again.

pod cache clean ffmpeg-kit-ios-full

@MR-yo
Copy link
Author

MR-yo commented Jan 15, 2022

It works. Cooooool !

@tanersener
Copy link
Collaborator

Great! Closing the issue. Let us know if you encounter another problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apple bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

2 participants