SIGILL error on Android x86

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

SIGILL error on Android x86

Daniel Garcia Lecloux

Hello,

I have a problem with the audio driver on Android, when i call new_fluid_audio_driver() i get an error:

I/libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
W/AudioTrack: AUDIO_OUTPUT_FLAG_FAST denied by client; transfer 1, track 44100 Hz, output 48000 Hz
D/AudioTrack: Client defaulted notificationFrames to 708 for frameCount 2124
A/libc: Fatal signal 4 (SIGILL), code 2, fault addr 0x972028ca in tid 11750 (AudioTrack)

The error only comes on x86 emulator (Android Studio), x86_64 works fine.

My Java code looks like this (I'm using JNA to call native methods):

        Pointer settings, synth, player, adriver;
        settings = new_fluid_settings();
        synth = new_fluid_synth(settings);
        player = new_fluid_player(synth);
        adriver = new_fluid_audio_driver(settings, synth);

Thank you for taking your time to help me.


_______________________________________________
fluid-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/fluid-dev
Reply | Threaded
Open this post in threaded view
|

Re: SIGILL error on Android x86

Tom M.
Which version of fluidsynth are you using?

Tom




_______________________________________________
fluid-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/fluid-dev
Reply | Threaded
Open this post in threaded view
|

Re: SIGILL error on Android x86

Tom M.
Please make sure to send your reply to the mailing list to keep this conversation public.

> I'm using version 2.0.1

Update to 2.0.3 and try again.


Tom




_______________________________________________
fluid-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/fluid-dev