30k crashes from 100k downloads in WP8 application

Good day.

I published two games on WP8 platform about a month ago using Unity 4.3.3 Right now these games have passed 100k downloads, have very good ratings, but I am receiving more than 2500 crash reports a day. Both games are published on Android and with almost 200k downloads they have only 40 (40, not 40k!) lifetime crashes and ANRs in total, mostly in native code and video drivers.

I can’t get close to solving these crashes by myself. It is possible that some crashes come from AdMob SDK, which is used to monetize my games. But it looks like some crashes come from Unity.

More than 11k crashes reported with this minidump, apparently coming from Unity:
Exception Code: 0xC0000005
Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Heap Information: Not Present
Stack trace
0 unityplayer 0x001425c0
1 unityplayer 0x001425ac

On the second place I have more than 10k crashes here:
0 threadpoolwinrt Microsoft::WRL::smile:etails::RuntimeClass_Microsoft::WRL::smile:etails::InterfaceList_Windows::System::Threading::IThreadPoolTimer,Microsoft::WRL::smile:etails::InterfaceList_Microsoft::WRL::FtmBase,Microsoft::WRL::smile:etails::Nil_ _,Microsoft::WRL::RuntimeCla 0x00000014
1 threadpoolwinrt Windows::System::Threading::CThreadPoolTimer::finalizationCallback 0x00000084
2 ntdll TppCleanupGroupMemberDestroy 0x0000010c
3 ntdll TppDestroyTimer 0x0000001a
4 ntdll TppTimerpFree 0x0000000e
5 ntdll TppCallbackEpilog 0x000000b2
6 ntdll TppWorkerThread 0x0000037c
7 ntdll RtlUserThreadStart 0x00000016

Does anyone else have such experience? Is it possible that all these crashes are coming from AdMob?

Hi,

I’m seeing the second one too, in Flower Garden, with Unity 4.3.4. Nowhere near as many times as you, but it’s there.

That’s strange, have you managed to reproduce it yourself? Do you have statistic available on which devices the most crashes occur?

Are you using AdMob in your project? Version 6.5.11 has a ton of different BUGs, and they delayed release of 6.5.12 for more than several months.

I have a low end Huaiwei WP8 device, but can’t reproduce crashes. One of my games crashed 2767 times on Feb 22, and players spent 4150 hours playing it, which means 1 crash per 2h of gameplay. Higher crash rate comes from the game, which based on loading new scenes; while one scene game crashes less often.

According to users’ complaints, the game crashes on Lumia 920, Lumia 620, Lumia 820.

We have a similar issue. We are seeing a lot of reports of problems on Lumia 520 but also 625, 920, 1020, 1025. Also seeing problems predominantly in France and Poland which is killing our rating there. The Windows Phone dev center crash count data cannot be filtered by country or device.

Frame Image Function Offset
0 unityplayer 0x00141bbc
1 unityplayer 0x00141ba8

Process Name: TaskHost.exe : TaskHost.exe
Process Architecture: ARM
Exception Code: 0xC0000005
Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Heap Information: Not Present

Are you using AdMob?

Does your project load scenes or is it a one scene game?

I’m not using AdMob, and Flower Garden is a 1 scene game.

OK, then there is a correlation. First crash occurs in games, which load new scenes, while one scene games experience crashes of second type.

Quick update on one of our issues, it turns out we had a bug with float.Parse of a string containing a decimal being culture specific on WP8. Had to change the locale and not just the language on the device to reproduce.

We also experimented with changing the audio load type to stream from disc which saved some memory.

The logs didn’t really help solve any of this :slight_smile:

Also remember to test your apps on low memory devices! I don’t want to know how many people have only tested on high memory devices and submitted to the store.

Have you solved this issue? My app has a lot of exceptions of the second kind.

Hello, concerning “Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.” , I tried differents way to solve this issue, and I think find something last week with my 7/16/2014 release.

7/12/2014: 1381 crashs
7/13/2014: 1229 crashs
7/14/2014: 1256 crashs
7/15/2014: 1279 crashs
7/16/2014: 1125 crashs
7/17/2014: 1058 crashs
7/18/2014: 570 crashs

For moment I didn’t received the data for 7/19/2014, but I think find the WHY

Hello,

As you can see, my crash decrease since 7/16/2014.
No problem on Android or iOS, but only on WindowsPhone.
Be careful with PlayerPrefs, don’t use it in a scene to save data(ex menu), and in other scene to read data(ex in game)
I use now a static class to read and write data, and I only save or read data with PlayerPrefs in my menu.

Hey i am facing the same problem.

here the stack trace :

Frame Image Function Offset

0 threadpoolwinrt.dll Microsoft::WRL::smile:etails::RuntimeClass_Microsoft::WRL::smile:etails::InterfaceList_Windows::System::Threading::IThreadPoolTimer,Microsoft::WRL::smile:etails::InterfaceList_Microsoft::WRL::FtmBase,Microsoft::WRL::smile:etails::Nil_ _,Microsoft::WRL::RuntimeCla 0x00000014

1 threadpoolwinrt.dll Windows::System::Threading::CThreadPoolTimer::finalizationCallback 0x00000084

2 ntdll.dll TppCleanupGroupMemberDestroy 0x0000010c

3 ntdll.dll TppDestroyTimer 0x0000001a

4 ntdll.dll TppTimerpFree 0x0000000e

5 ntdll.dll TppCallbackEpilog 0x000000b2

6 ntdll.dll TppWorkerThread 0x0000037c

7 ntdll.dll RtlUserThreadStart 0x00000016

i am using google Admob but its a single scene Game.

i am having this problem also :

Frame Image Function Offset

0 GoogleAds.ni.DLL A.c30733e35f890237bcc7d10a76152577a.OnNavigatedFrom 0x0000002e

1 Microsoft.Phone.ni.dll Microsoft.Phone.Controls.PhoneApplicationPage.InternalOnNavigatedFrom 0x000000bd

2 Microsoft.Phone.ni.dll Microsoft.Phone.Controls.PhoneApplicationPage.Microsoft.Phone.Controls.IPhoneApplicationPage.InternalOnNavigatedFromX 0x0000000b

3 Microsoft.Phone.ni.dll System.Windows.Navigation.NavigationService.RaiseNavigated 0x000002dd

4 Microsoft.Phone.ni.dll System.Windows.Navigation.NavigationService.CompleteNavigation 0x00000157

5 Microsoft.Phone.ni.dll System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback 0x000002aa

6 Microsoft.Phone.ni.dll System.Windows.Navigation.PageResourceContentLoader.BeginLoad_OnUIThread 0x000002b4

7 Microsoft.Phone.ni.dll System.Windows.Navigation.PageResourceContentLoader+__c__DisplayClass4._BeginLoad_b__0 0x0000000a

Same Game with Google Admob and single scene Game.

Hello,
Any news about the issues?
I would appreciate any information.
Regards, Marcin.

Well have you tried publish game with a newer version of Unity!, repload a fresh release…and indicate to customers bug fix.
Not every version of Unity same, and half the posts dont mention one they use

I’m encountered same error here

threadpoolwinrt!Microsoft::WRL::smile:etails::RuntimeClass_Microsoft::WRL::smile:etails::InterfaceList_Windows::System::Threading::IThreadPoolTimer,Microsoft::WRL::smile:etails::InterfaceList_Microsoft::WRL::FtmBase,Microsoft::WRL::smile:etails::Nil___,Microsoft::WRL::RuntimeClassFlags_1_,1,1,0_::Release