-
-
Notifications
You must be signed in to change notification settings - Fork 489
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
Crash on Android #324
Comments
I tried quickly on a Nexus 5 @ Android 5.1.1 using the official TIC from the store to type in random things and just got error messages, no crashing. If JupiterSky can supply device type (some devices use non stock OS) and the logcat, that would help greatly in diagnosing. I use CatLog app to help diagnose: |
The same happens for me. |
I get this too... It only started happening in TIC 0.46. |
I tried out the store version 0.46 and it crashes with unknown command for me as well (Nexus 5, 5.1.1) I did get some logcat, but it looks like its in the C layer, possible difficult to narrow down. But since @BearThorne says that it just started happening on .46, a diff between that and .45 may give clues. here is the trace file:
this line seems to be the start of the crash, possibly always referencing "fault addr 0xaf0fc000": |
Just to confirm, I tried the release apks downloaded from here. 0.45.0 works fine, 0.46.0 has the error |
Please fix this bug. I'm getting this same issue on a Galaxy S3. |
Just an update. I was trying to build the Android version on my own machine to track down the bug, but my self built one works fine. To be clear, this was as of commit cd101d4 I did have a strange build environment because this project uses ANT, and my android tools are at "Android SDK Platform-tools, revision 26.0.1" and as of "SDK Tools, Revision 25.3.0 (March 2017)", they removed ant tools. But I was able to download an previous version of just "tools" dir and substitute it in for my normal tools directory. Then I ran into a problem of SDK version android-12 which is listed in AndroidManifest.xml, default.properties and project.properties, all of which are in "TIC-80/build/android/". android-12 actually points to Android 3.1 (Honeycomb) which, I don't have installed, and was not going to install since the Honeycombs have given me so many problems during the years when I tried to develop on them. I first tried to back it down to android-10 (Android 2.3.3) but got a complaint about "android:hardwareAccelerated" not defined, which of course was introduced in Android 3.0 (API level 11), again Honeycomb. So I went the other way and replaced the android-12 references listed above with android-17, which is Android 4.2. The complaints went away, so I continued to build. First, I made sure that the 3rd-party dir was clean and then went into the jni dir and ran this command: After the C files were built, I went back to the main Android build dir and ran this: After the build I went to the 'bin' dir and used the TIC-debug.apk to install: That's it. @nesbox do you have the instructions of your Android build sequence, as well as the versions of tools that you use? |
The problem was with my build system. @Rolzad73 I have NDK and ANT installed and I just call |
@nesbox I just tried tic_0.46.1.apk.zip and the crash is still there. But it is a bit different than before, as it takes a bit longer of a pause after an invalid command input to crash (about 3 seconds) and it has a different crash trace. Before , it was Fatal signal 7 (SIGBUS), now it is Fatal signal 11 (SIGSEGV).
|
@Rolzad73 pls check this one |
great, thanks 👍 |
This can be closed. |
JupiterSky says:
The text was updated successfully, but these errors were encountered: