Zack Matthews
Zack Matthews

Reputation: 409

Android WebRTC JNI system error lookup: "last system error: 11"

I got an error message similar to this when doing some WebRTC NDK development on Android:

2019-02-04 13:20:35.987 10214-10246/com.my.package E/rtc: #
    # Fatal error in mypath/src/main/jni/src_code.cpp, line 124
    # last system error: 11
    # Check failed: !jni()->ExceptionCheck()
    # error during Class.function_call
    #

Given that the exception is buried under some layer of abstraction (WebRTC), the line that would be particular helpful here is last system error: 11. However, trying to find a description of this error has been a little tricky. After doing some Googling, I couldn't seem to find anything. Perhaps I'm looking in the wrong place for a more meaningful description of this error? Would appreciate any help! Thanks!

Upvotes: 0

Views: 626

Answers (1)

Martin Zeitler
Martin Zeitler

Reputation: 76569

whatever you've tried to do ...the terminal says:

$ perror 11
OS error code  11:  Resource temporarily unavailable

src_code.cpp, line 124 would be required to interpret it in a meaningful way.

most likely some trying to access some resource, which had not been opened.

Upvotes: 1

Related Questions