Skip to content

Conversation

@zoelam020
Copy link

this crash will appear when Android target SDK > 27:
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'FORTIFY: pthread_mutex_lock called on a destroyed mutex (0x7a4eb694b4)'

Fixed crash when Android target SDK > 27
@wechat-AmosCC
Copy link

when Android target SDK =30, StopPreview App crash

@hthetiot
Copy link

hthetiot commented Sep 14, 2024

when Android target SDK =30, StopPreview App crash

check that fix for that de019b7

@hthetiot
Copy link

cherry-picked your commit in my PR in case of #709

@stopkite
Copy link

@plenalam and @hthetiot, after applying the code you provided, I confirmed that it now works correctly on Android 27 and above.

However, I have a question: What is the basis for the -108 error code?
Was it simply modified based on the log showing -108, or is there an official reference for this error code?
I searched for relevant documentation but couldn't find any specific information about -108, so I'm reaching out for clarification.

Thank you!

@biaji
Copy link

biaji commented Apr 28, 2025

@plenalam and @hthetiot, after applying the code you provided, I confirmed that it now works correctly on Android 27 and above.

However, I have a question: What is the basis for the -108 error code? Was it simply modified based on the log showing -108, or is there an official reference for this error code? I searched for relevant documentation but couldn't find any specific information about -108, so I'm reaching out for clarification.

Thank you!

maybe it's

#define ENOTCONN        107     /* Transport endpoint is not connected */
#define ESHUTDOWN       108     /* Cannot send after transport endpoint shutdown */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants