Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Android / Android 1076 VS 108.19 ???

Author
Message
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 24th Dec 2013 18:48
We are experiencing much crash issue (SIGSEGV, SIGBUS)....
Anyone have encountered those bugs?

They happen randomly, so i really don't understand what's going on.

Is there bugs in AppGameKit 108???

Long life to Steve!
Naphier
13
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 26th Dec 2013 18:24
No bugs in 10819 that cause this.
Did you try using the prebuilt interpreter?
It sounds like an array is out of bounds.
Upload your logcat and maybe it will give more clues, but I doubt it.
All of my "random" crashes that ever happened were because of an OOB array. Usually a UDT array. AppGameKit doesn't pick up on those very well in Windows builds so they are easy to miss.

xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 27th Dec 2013 00:26
Well maybe you could be right for out of bounds.
Now i wanna use the example to launch the logcat debugger to see in which line the error is.
What you mean with UDT?

Long life to Steve!
Naphier
13
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 27th Dec 2013 00:29
User Defined Type
Arrays with nonstandard types won't produce out of bounds errors in AGK. I also had instances where I might access an array that was not yet defined with DIM and it would cause crashes.

xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 27th Dec 2013 02:01
Oh, yes i use much vectors initialized with 0 space.
But strange on MAC and LINUX compiler it work.

Now we are just debugging this part.
Seems there are a bug in SHA1.c of AppGameKit too.

I will investigate and help all for Android too.

Long life to Steve!
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 6th Jan 2014 07:15
With the 108 the errors continue to show randomly.
We don't know what to do.

We will try to use the 1076 to see if it works.
Nobody have something to suggest?

Long life to Steve!
Naphier
13
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 9th Jan 2014 15:37
How are you making out with this?
I'm curious to know if you ever found the bug or if moving to 1076 cured it.

xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 11th Jan 2014 15:14
Wel i just bought a Nexus 5 and i'm trying to figure out how to get it work on MAC.
Cause we need all the c++ libs that aren't present in window.

Anyway we got it to work (108) (1076 never worked) on windows.
If i got it work as i want, i will upload the ZIP with the perfect template.

Long life to Steve!
Naphier
13
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 11th Jan 2014 17:51
Glad you got it to work.

Login to post a reply

Server time is: 2024-04-19 11:39:08
Your offset time is: 2024-04-19 11:39:08