Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

crash tappy chicken on some devices

Hi, I have experimented a crash which does not occur always. Tappy chicken crashes when going to leaderboard and going back from there.

I have experimented this in 4.4.2 android devices with mali GPU.

It does not occur always. If you can go back and forth from the leaderboard to the mainmenu try to play a game and do again. When closing the leaderboard UI the game crashes.

Product Version: Not Selected
more ▼

asked Feb 15 '15 at 08:07 PM in Bug Reports

avatar image

266 17 19 42

avatar image Jonathan Dorman STAFF Feb 20 '15 at 02:08 PM

Hey Dredok,

What version of Google Play Services are you on? This crash may be caused by a recent Google patch (Google is aware of the issue).

avatar image Dredok Feb 20 '15 at 04:19 PM

You mean the google play services apk in my device? i do not remember, it must be the last one.

But this issue is no "new", I have seen this behavior in the past (can not remember how many monts ago).

What I can say is that I can see this behavior also with other UI. I have integrated admob interstitials and it happens when I close the UI (okey, they rely in gogle play services). This also happens with chartboost interstitials, which I have also integrated, when I close the interstitial my app crashes. Again, this is happening on some devices (i think they all have mediatek processor and 4.4.2 android version, but could be more)

I said Tappy Chicken because is your game and you can fully test the issue with it.

avatar image Jonathan Dorman STAFF Feb 20 '15 at 04:32 PM

I was unclear when I said 'recent', this issue has existed for at least two months.


This thread says that it's fixed in 6.7.74. Can you check to see if updating to that fixes your problem?

avatar image Dredok Feb 20 '15 at 05:31 PM

what is this 6.7.74 ? the last update is 6.5.99 right?

if not, how can I download 6.7.74?

in google page, this apk is version 6.5.99 https://play.google.com/store/apps/details?id=com.google.android.gms&hl=en

BTW. I think the issue is not related because in some devices it works and other devices do not work (with the same google play). And I'm not getting any of these exceptions reported in the link you provided

avatar image Jonathan Dorman STAFF Feb 20 '15 at 10:21 PM

On the page you linked, under "Current Version", you can see it says "Varies with device". Some devices do not yet have access to 6.7.74.

On our test device, we were able to update Google Play Services to 6.7.76 by updating Google Play Games on Play Store. We don't see the crash after the update (for all 50 tries of showing the leaderboard and returning to the game). If you aren't able to update that way, you may have to wait until the services update is deployed for your device.

avatar image Dredok Feb 21 '15 at 06:56 AM

Okey, I have downloaded the google play services APK from APKmirror (http://www.apkmirror.com/apk/google-inc/google-play-services/google-play-services-6-7-76-1745988-038-android-apk-download/) and succesfully updated my devices.

It crashes with the same steps I said. As I said, it does not seem an issue related to the one you linked because it does not shows any kind of exception. It silently crashes

avatar image Jonathan Dorman STAFF Feb 23 '15 at 05:13 PM

If that's not the issue, we're going to need more information to figure this out. Could you give us your logcat for the crash and the device's model number? If you're seeing it on multiple devices, model numbers for all of them would be ideal. We can't reproduce the crash unless we know specifically which devices this crash is occurring on.

avatar image Dredok Feb 23 '15 at 07:09 PM

I have reproduced it on two mediatek devices: G-Star 9000 and bq aquaris e5 hd. Both ship a mediatek processor with a Mali GPU.

I have attached a crash dump on the comment below this one ... the logcat does not provide any useful information besides a WIN DEATH ocasional. There is no java exception.

I think this is a threading issue, because I get random segmentation fault (SIGSEV) when running on a debugger.

avatar image Dredok Feb 21 '15 at 07:40 AM

I attach an stacktrace i got from a tombstone (BTW IDK but tombstones aren't always generated...)

Crash Dump

avatar image Dredok Feb 21 '15 at 12:32 PM

Even more information: Other games work perfect with leaderboards, interestitials, etc ... so its Unreal Engine faults' for sure ...

avatar image BigJMoney ♦♦ STAFF Feb 24 '15 at 12:33 AM

I'm not able to reproduce this on the 6.7.76 version of GPS on a Mali-T628. Since I don't know the nature of Google's fix; I wonder if it could leave a phone or account in a broken state.

Thanks for providing the log and dump data in case we're able to find anything useful in them.

In the meantime, if you go to the Google Settings app, can you select Connected apps -> Tappy Chicken? From there you can disconnect the app from your phone and check a box that says "Also delete all your TappyChicken activities on Google". It would be good to test if that can fix the issue (reboot the phone, as well).

avatar image Dredok Feb 24 '15 at 07:15 AM

Just to be clear: this only happens with unreal engine games (tappy, my game). I have tested with other games from the play store and they do not crash. So I do not think is a GPS issue. I think it's not a threading issue, when run in debugger I get random sigsev after closing Google ui. This only happens with ue4 games.

Btw, yesterday I tested with another m6592 device and it didn't crash with Android 4.2.2.

avatar image BigJMoney ♦♦ STAFF Feb 25 '15 at 06:43 PM

A programmer was able to look at the dump and confirm with you. If you're trying to look at logcat using Tappy Chicken from the Google Play Store you won't get any useful logging because that's a shipping build for distribution.

If you're able to help us troubleshoot your devices, we would get some information from a logcat if you package a build (of anything, even empty map) using the development configuration and launch it on the device.

Note that if you package Tappy Chicken, Google Play won't be enabled unless package for distribution is enabled; shipping would again be force-enabled which will prevent the logging.

avatar image Dredok Feb 25 '15 at 07:32 PM

sure, I want to help. What exactly do you want to see in the logcats?

I can package a development build of my own game and use google play services (I have registered both debug and ship keys) and see logs ...

Just tell me what do you need to hunt down this bug.

avatar image BigJMoney ♦♦ STAFF Feb 25 '15 at 08:07 PM

A copy of the entire log, which should include some UE4 specific logging about your device. It wouldn't have to be Tappy Chicken.

If you're packaging from inside the editor, enabling google play and distribution will disable the option to package in development. Google play services shouldn't function without distribution enabled.

avatar image Dredok Feb 25 '15 at 08:21 PM

I will prepare a log for you.

BTW. It is indeed possible to get google play services working with development and debug builds. You have to register the debug key in google play services. I'm doing this currently and it works perfectly, so I will be able to provide a full log. Just look here https://forums.unrealengine.com/showthread.php?21803-Google-Play-Setup you will see there is a step where Michael Nolland explains how to do it.

avatar image Dredok Mar 05 '15 at 08:35 PM

I attach a complete log as requested. This is on a 4.7 engine versionlink text

avatar image Dredok Mar 05 '15 at 08:46 PM

I also attach a zip with 10 tombstones (crashes from my game). It seems there is a threading issue when it gets back from the google UItombstones

tombstones.zip (550.0 kB)
avatar image Chris Babcock STAFF Mar 09 '15 at 11:00 PM

Sorry about the delay; I was at GDC last week. Looking at the traces it seems to be crashing in the graphics driver. This is a Mali-450? I'll see if I have anything similar to test here.

avatar image Dredok Mar 09 '15 at 11:04 PM

Yes. It is a Mali-450. Other games which use google's UI work flawlessly. Only UE4 games crash.

BTW. As said, I have only reproduced this on 4.4.2 devices with mali GPU. Other devices with 4.2.2 android and same gpu does not fail

avatar image Chris Babcock STAFF Apr 16 '15 at 09:48 PM

This may be an issue with the driver included with 4.4.2 for the Mali-450 GPU, then. I do not have one of these devices for testing. I'll see what else I can find out.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi Dredok,

I spoke with Chris, and it sounds like we don't have a way to reproduce this. Can you check 4.8 and see if the changes made improve the issue? It may simply be a driver bug on this particular set of devices.

more ▼

answered Jun 09 '15 at 07:29 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question