Skip to content

Android arm64-v8a - OpenCFile crashs #486

Open
@Mac767

Description

@Mac767

Hi

if I build Monkey2 for arm64-v8a all compiles fine
(after EACCES fix from seyhajin - http://monkeycoder.co.nz/forums/topic/android-64bit-arm64-v8a/#post-16227).

After my App tries to read a config file it crashs at:

2019-07-22 07:43:55.587 18510-18679/com.lb.app I/MX2: Monkey 2 Runtime error: SIGNAL: Memory access violation
2019-07-22 07:43:55.587 18510-18679/com.lb.app I/MX2: {{!DEBUG!}}
2019-07-22 07:43:55.587 18510-18679/com.lb.app I/MX2: >OpenCFile:libc.FILE Ptr(path:monkey.types.String,mode:monkey.types.String);C:/dev/monkey2/modules/std/filesystem/filesystem.monkey2;926;5746
2019-07-22 07:43:55.587 18510-18679/com.lb.app I/MX2: path:String="en.txt"
2019-07-22 07:43:55.587 18510-18679/com.lb.app I/MX2: mode:String="rb"

Line 926 is:
Local asset:=AAssetManager_open( asstMngr,path,0 )
Is differs in my source because I add some debug log output.

The same APK on a armeabi-v7a works fine (compiled for both v7a and v8a in one APK).

I'm using the latst NDK Version (20.0.5594570).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions