Page 1 of 2

Low Health Crash

Posted: Tue Feb 07, 2017 10:11 pm
by Nick
First of all, I think this is an extreme edge case.

Notes:
Not using the test version of Andor's Trail.
Android 7.1.1
Nexus 5x
character level is 40
the character has
3 Damage Resistance
3 points into Increased Fortitude
5 points into Failure Mastery
4 hp coming from items
2 hp remaining when this happened

I was trying to avoid monsters and when I would get on the opposite side of them but still within reach the game would occasionally crash (I would still be tapping or holding my finger down to move away from them to continue my path).

Sometimes it would initiate combat. This only happened if I survived the attacks.

My guess is that they would attack me and land a killing blow.

When my health was low this happened several times. I haven't seen it any other time.

I'll try to reproduce and see if it happens again.

Let me know if you want any other details.

Re: Low Health Crash

Posted: Tue Feb 07, 2017 11:04 pm
by Pyrizzle
Thank you for reporting this, please let us know if you can reproduce this or come up with anymore details.

:mrgreen:

Re: Low Health Crash

Posted: Wed Feb 08, 2017 12:31 am
by Antison
Is there anything of value in the combat log?

Re: Low Health Crash

Posted: Wed Feb 08, 2017 7:26 am
by Zukero
So, you're not in combat mode when it happens, just cruising around enemies with low health, right ?
Can you reproduce this at will, or with good confidence (few tries needed) ?
Do you play several characters, and if so, does it happen with all of them ?

Last but not least, how far are you willing and able to go to help us debug this ? (Where do you stand on the scale from "sending your save" to "set up the coding environment to run the game with debugger attached")

Thanks for reporting.

Re: Low Health Crash

Posted: Wed Feb 08, 2017 7:47 am
by nyktos
i've had a similar crash but i can't predict it,
i am actually waiting to snag a log cat / bug report next time it happens...
[just set it up so it can be a clean log, hopefully]

would running it with a debugger be more helpful?

Re: Low Health Crash

Posted: Wed Feb 08, 2017 9:19 am
by Zukero
Well, unless you can debug it yourself, the point of the debugger is to get the logcat, especially the crash stack trace.

Re: Low Health Crash

Posted: Wed Feb 08, 2017 2:08 pm
by nyktos
well, i have it setup with a bug report shortcut on the power menu...

so when it crashes i can just long press the power button & select Bug Report from the options.

then there wont be much happening between the actually crash & the report being taken.

17 - 1.png

Re: Low Health Crash

Posted: Wed Feb 08, 2017 2:10 pm
by Tomcat
Nice setup!

Re: Low Health Crash

Posted: Thu Feb 09, 2017 6:05 pm
by Nick
Zukero wrote:So, you're not in combat mode when it happens, just cruising around enemies with low health, right ?
Correct. And as far as I can tell, it happens only if I do not initiate combat. I've also noticed I can get it to happen with low health only and standing next to a monster. I haven't tested if it only happens with monsters that can kill me in one shot at low health yet.
Zukero wrote:Can you reproduce this at will, or with good confidence (few tries needed) ?
A few tries is needed, but yes I can reproduce.
Zukero wrote:Do you play several characters, and if so, does it happen with all of them ?
I've tested and confirmed it happens with at least one of my other characters. I haven't tried my current 3rd character.
Zukero wrote:Last but not least, how far are you willing and able to go to help us debug this ? (Where do you stand on the scale from "sending your save" to "set up the coding environment to run the game with debugger attached")
I can set up the environment and debug, but it may take a some time since I've never set up android dev with eclips.

Re: Low Health Crash

Posted: Thu Feb 09, 2017 7:20 pm
by Zukero
That's music to my ears.
Android Studio setup sounds more straightforward these days than eclipse, but I haven't tried.
If you go the eclipse route, make sure to first download the Android stand-alone SDK tools, and run the SDK manager to get the first packages before setting up the ADT plugin in eclipse.

Then if you know what a stack trace is already, you know what to look for.