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

flow vm error on android. #277

Open
bitraft opened this issue Jun 23, 2019 · 1 comment
Open

flow vm error on android. #277

bitraft opened this issue Jun 23, 2019 · 1 comment

Comments

@bitraft
Copy link

bitraft commented Jun 23, 2019

run bytecode https://github.com/hey-sancho/flow_memorygame from Android , VM crashed immediate.

06-23 15:01:01.519 24010 24010 D ViewRootImpl@22ab8ba[FlowRunnerActivity]: setView = DecorView@a55836b[FlowRunnerActivity] touchMode=true
06-23 15:01:01.521 24010 24010 I dk.area9.flowrunner: Received intent: android.net.conn.CONNECTIVITY_CHANGE
06-23 15:01:01.524 24010 24010 D ViewRootImpl@66470dc[FlowRunnerActivity]: dispatchAttachedToWindow
06-23 15:01:01.530  1309  3759 V WindowManager: Relayout Window{9aacbfdd0 u0 dk.area9.flowrunner/dk.area9.flowrunner.FlowRunnerActivity}: viewVisibility=0 req=949x460 WM.LayoutParams{(0,0)(wrapxwrap) gr=#11 sim=#120 ty=2 fl=#1820002 fmt=-2 wanim=0x1030002 needsMenuKey=2 naviIconColor=0}
06-23 15:01:01.531   724   724 I SurfaceFlinger: id=768 createSurf (1x1),1 flag=4, GlowRunnerA
06-23 15:01:01.540 24010 24084 I dk.area9.flowrunner: Flow compiler (3rd generation)
06-23 15:01:01.540 24010 24084 E dk.area9.flowrunner: Invalid Tag: str (string expected, void found)
06-23 15:01:01.540 24010 24084 E dk.area9.flowrunner: Error during last opcode [0x119fa5]: 7
06-23 15:01:01.540 24010 24084 E dk.area9.flowrunner: Location: <native>
06-23 15:01:01.540 24010 24084 E dk.area9.flowrunner: DataStack.size() = 2339, CallStack.size() = 6hp = 12ef3ac, HeapStart = 0x11a000, HeapEnd = 0x211a000
06-23 15:01:01.540 24010 24084 E dk.area9.flowrunner:    0x00119fa5:	Last
06-23 15:01:01.540 24010 24084 E dk.area9.flowrunner: #0  0x00119fa5 in <native>
06-23 15:01:01.540 24010 24084 E dk.area9.flowrunner: #1  0x00010b24 in strlen
06-23 15:01:01.540 24010 24084 E dk.area9.flowrunner: #2  0x00010a77 in strReplace
06-23 15:01:01.540 24010 24084 E dk.area9.flowrunner: #3  0x0003da07 in getFlowDir
06-23 15:01:01.540 24010 24084 E dk.area9.flowrunner: #4  0x000418a7 in getCompilerConfig
06-23 15:01:01.540 24010 24084 E dk.area9.flowrunner: #5  0x001196fe in main
06-23 15:01:01.540 24010 24084 E dk.area9.flowrunner: #6  0x00119fa3 in --end--
06-23 15:01:01.541 24010 24084 I dk.area9.flowrunner: MAIN FAILED
@VsevolodZakharov
Copy link
Contributor

Looks like getApplicationPath() which was called from getFlowDir() is not implemented on Android. That may be expected behaviour. Not any flow code run correctly on any platform as is.

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