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

iOS Crash: ThreadedSchedulerBase::makeSchedulerThread #265

Closed
pappalar opened this issue Mar 31, 2022 · 3 comments
Closed

iOS Crash: ThreadedSchedulerBase::makeSchedulerThread #265

pappalar opened this issue Mar 31, 2022 · 3 comments
Assignees
Labels

Comments

@pappalar
Copy link

Since we released the iOS app with SDK 19E239 we are getting costant crashes reported

void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, mbgl::ThreadedSchedulerBase::makeSchedulerThread(unsigned long)::$_0> >(void*) + 436

No issue with SDK 19C51

Does somebody have a clue of what could be triggering this crash?

@atierian
Copy link
Contributor

This is a different issue than #268, correct?
Do you have any data around the crash, like affected iOS version and devices, that you can share?
Also a full stack trace would be very helpful diagnosing this.

@atierian atierian added bug Something isn't working iOS labels Apr 13, 2022
@atierian atierian self-assigned this Apr 13, 2022
@pappalar
Copy link
Author

@atierian Yes It's a different crash.

I reported it with all info I got from Firebase.

However after some deeper investigation, it seems to be that my app is crashing due to a issue in the Apple SDK when running code on Swift5.5 while compiled with Swift5.6.

The CPU usage spikes to 100% for too much time and the app gets killed.

What I think it's reported it's "kinda wrong"
It's not MapLibre the cause of the crash, but simply due to no resources available, the report and the MapLibre Thread are stuck on trying to create a new Thread.

We can close this Issue I'd say.

I just wanted to report for knowledge that a makeSchedulerThread crash probably means the client was not having any CPU resource available.

@atierian
Copy link
Contributor

Thanks for the follow up. I'll close this issue based on the information you provided. If you encounter this crash again where it can't be attributed to differing Swift versions, please open a new issue or comment on this one and I'll reopen to take a closer look.

@atierian atierian removed the bug Something isn't working label Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants