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

A/libc: Fatal signal 31 (SIGSYS), code 1 (SYS_SECCOMP) in tid 6889 (mqt_native_modu) #104

Open
cawfree opened this issue Jul 11, 2020 · 2 comments

Comments

@cawfree
Copy link

cawfree commented Jul 11, 2020

Hey,

Many thanks for your hard work putting all of this together.

I'm currently working on react-native-pure-data and have managed to connect the iOS interface, and I'm currently in the middle of implementing the Android wrapper.

I'm currently encountering the following problem:

A/libc: Fatal signal 31 (SIGSYS), code 1 (SYS_SECCOMP) in tid 6889 (mqt_native_modu)

When making a call to:

PdAudio.initAudio(44100, 1, 2, 8, true);

Against:

buildToolsVersion = "28.0.3"
minSdkVersion = 17
compileSdkVersion = 28
targetSdkVersion = 28

I've read online that this is most likely a security issue in making some kind of protected native call.

Just curious whether there are known any workarounds to this problem? I'm going to lower the SDK version to 24 as this should be pre-secure computing (just to unblock development), but ideally it'd be great to execute against the modern Android APIs without throwing this error.

@tkirshboim
Copy link
Member

Hi @cawfree,
Which version of pd-for-android are you using? If it's 1.0.2 as referenced in the commit below, maybe it's worth trying to use the latest release version instead, which is 1.1.0.
https://github.com/cawfree/react-native-pure-data/blob/develop/android/build.gradle#L76

If you could provide instructions how this issue could be reproduced, it might help.

@cawfree
Copy link
Author

cawfree commented Jul 15, 2020

Hey @tkirshboim, many thanks for your response. I'll give it a shot, and if I encounter any problems I'll provide you with some repro instructions.

Thanks again!

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

No branches or pull requests

2 participants