Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

[IOS] burning subtitles fails on arm64 #22

Closed
tanersener opened this issue Sep 6, 2018 · 2 comments
Closed

[IOS] burning subtitles fails on arm64 #22

tanersener opened this issue Sep 6, 2018 · 2 comments
Assignees
Labels
bug Something isn't working fixed

Comments

@tanersener
Copy link
Owner

tanersener commented Sep 6, 2018

As detected during tests of v2.1, and noted in https://github.com/tanersener/mobile-ffmpeg/wiki/Known-Issues, burning subtitles crashes for IOS arm64 architecture. This crash is specific to arm64 and comes from libavfilter itself. A fast solution is not possible and a further analysis is required to build a fix.

crash_on_arm64

@tanersener
Copy link
Owner Author

A detailed analysis shows that crash is caused by EXC_BAD_ACCESS signal, which is thrown when unlock_cache() function from src/fccache.c file of fontconfig library is accessed.

static void
unlock_cache (void)
{
  FcMutexUnlock (cache_lock);
}

Initialization of cache_lock static field is the actual problem here. A fix is needed for that.

tanersener added a commit that referenced this issue Sep 7, 2018
@tanersener
Copy link
Owner Author

Fixed in v2.1.1 IOS patch.

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

No branches or pull requests

1 participant