question

Tigerishwillo avatar image
Tigerishwillo asked

Unity 3.5.7 - Gamecircle Unity plugin 2.1 - Kindle Fire HD (2nd Gen) -Crash

Hi My game builds and runs without any problems on all Kindle models except the one above. On the model above I get the following crash 10-16 14:01:05.959: I/Prime31(12832): session state: CREATED 10-16 14:01:06.045: I/Sensors(213): **** No Motion **** 10-16 14:01:06.061: D/GC_HttpNetworkClient(12832): Request: PUT https://ags-ext.amazon.com/service/gamedata/getGameTimePlayed 10-16 14:01:06.311: D/dalvikvm(12832): GC_CONCURRENT freed 585K, 5% free 13256K/13895K, paused 2ms+3ms 10-16 14:01:06.420: D/GC_HttpNetworkClient(12832): Result:HTTP/1.1 200 OK 10-16 14:01:06.420: D/GC_Whispersync(12832): Received HTTP Status Code [200] and content [{}] when saving data to the cloud 10-16 14:01:06.428: I/AmazonInsightsSDK(12832): Event: 'GameC...' recorded to local filestore 10-16 14:01:06.436: D/GC_Whipsersync(12832): Measured clock skew as: 0 10-16 14:01:06.436: D/GC_Whispersync(12832): Upload to cloud completed 10-16 14:01:06.451: I/AmazonInsightsSDK(12832): Event: 'WHISP...' recorded to local filestore 10-16 14:01:06.584: D/GC_HttpNetworkClient(12832): Result:HTTP/1.1 200 OK 10-16 14:01:06.600: I/AmazonInsightsSDK(12832): Event: 'GameC...' recorded to local filestore 10-16 14:01:08.772: E/CursorWindow(12832): Could not allocate CursorWindow '/data/data/com.appynation.herobears_amazon/databases/offlineEvents' of size 2097152 due to error -12. 10-16 14:01:08.772: W/dalvikvm(12832): threadid=32: thread exiting with uncaught exception (group=0x40aef1f8) 10-16 14:01:08.780: E/AndroidRuntime(12832): FATAL EXCEPTION: Thread-700 10-16 14:01:08.780: E/AndroidRuntime(12832): android.database.CursorWindowAllocationException: Cursor window allocation of 2048 kb failed. 10-16 14:01:08.780: E/AndroidRuntime(12832): at android.database.CursorWindow. (CursorWindow.java:104) 10-16 14:01:08.780: E/AndroidRuntime(12832): at android.database.AbstractWindowedCursor.clearOrCreateWindow(AbstractWindowedCursor.java:198) 10-16 14:01:08.780: E/AndroidRuntime(12832): at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:162) 10-16 14:01:08.780: E/AndroidRuntime(12832): at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:156) 10-16 14:01:08.780: E/AndroidRuntime(12832): at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:161) 10-16 14:01:08.780: E/AndroidRuntime(12832): at android.database.AbstractCursor.moveToFirst(AbstractCursor.java:201) 10-16 14:01:08.780: E/AndroidRuntime(12832): at com.amazon.ags.storage.SQLiteOfflineEventStorage.peekEvent(SQLiteOfflineEventStorage.java:141) 10-16 14:01:08.780: E/AndroidRuntime(12832): at com.amazon.ags.storage.AGSOfflineEventManager.getNextEvent(AGSOfflineEventManager.java:89) 10-16 14:01:08.780: E/AndroidRuntime(12832): at com.amazon.ags.storage.AGSAsyncOfflineEventManager.handleWorkerThreadWork(AGSAsyncOfflineEventManager.java:108) 10-16 14:01:08.780: E/AndroidRuntime(12832): at com.amazon.ags.storage.AGSAsyncOfflineEventManager.access$200(AGSAsyncOfflineEventManager.java:20) 10-16 14:01:08.780: E/AndroidRuntime(12832): at com.amazon.ags.storage.AGSAsyncOfflineEventManager$WorkerThread.run(AGSAsyncOfflineEventManager.java:92) Is this to do with Amazon Insights? If so is it possible to turn them off? Many thanks, Andy Williamson
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Venkat@Amazon avatar image
Venkat@Amazon answered
It looks like device is out of disk space. Can you please try again by uninstalling the unwanted apps. I see SQLiteDatabase is unable to allocate more memory.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Williamson, Is the crash systematic? Why do you think that the crash is caused by Amazon Insight when the exception is originated from a class of com.amazon.ags package? Since this is an old post, are you able to manage to get rid of the exception?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

norsfellben avatar image
norsfellben answered
We are having the exact same problem. If we turn off AGS it works fine. The issues seems to be reltaed to Insights and SQLite
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

R.C. avatar image
R.C. answered
I have the same problem too with Unity 4.5. It's an error 12 : 01-14 18:55:05.984: E/CursorWindow(15589): Could not allocate CursorWindow '/data/data/...' of size 2097152 due to error -12. The error 12 seems to be an SQLITE_NOTFOUND error. Please help.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

psa777 avatar image
psa777 answered
we are having the same problem as it start to run first but terminate in middle of the process
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.