Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0009569 [DCSS] Bug Report crash always 2015-03-23 08:46 2015-08-18 14:45
Reporter thisismiee View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Branch 0.16 ancient branch
Summary 0009569: 0.16 tiles version keeps crashing on android
Description The 0.16 version for android crashes mostly on start up or a few seconds into the game, sometimes the screen goes black sometimes it just crashes.
Additional Information
Tags No tags attached.
Attached Files txt file icon crash-hhgg-20150624-232438.txt [^] (4,718 bytes) 2015-06-24 23:27 [Show Content]
txt file icon crawl-crash-logcat.txt [^] (62,951 bytes) 2015-06-25 01:30 [Show Content]

- Relationships
has duplicate 0009618resolvedPleasingFungus Crash on entry into dungeon 
has duplicate 0009539resolvedPleasingFungus Game crashes after initial loading screen 

-  Notes
(0028688)
TAS2012 (reporter)
2015-03-23 09:03

Which Android version would this be?
(0028689)
thisismiee (reporter)
2015-03-23 15:44

I tried it on 4.4.2(my phone THL 5000) and on my tablet 4.1.2 (galaxy tab 2 7.0)
(0028690)
TAS2012 (reporter)
2015-03-23 16:06

I had to uninstall unofficial console (v0.15.2) to install tiles v0.16 (otherwise, install -> "not installed").
What happens on my Nexus 5 with Android 4.4.4 (KTU84P) now is that the game starts, shows the splash screen with "press any key", if I touch the screen once nothing happens, if I touch it again the app exits without any crash or other message. If I instad touch the soft-key for menu (three dots), first time nothing happens, second time exits just like before. The very first time I started it it actually made it up until the name entry , and crashed after I had entered a name.
I (and others) had similar problems with a recent version of ScummVM for Android (which also uses SDL AFAIK), but I worked around that, don't remember exactly how but AFAICR it as ScummVM specific.
I will try also with my Android v5 Nexus 7 when I have the opportunity.
(0028691)
TAS2012 (reporter)
2015-03-23 16:06

Duplicate of https://crawl.develz.org/mantis/view.php?id=9539 [^] ?
(0028692)
TAS2012 (reporter)
2015-03-23 16:11

Tried this fix, https://crawl.develz.org/mantis/view.php?id=9042&nbn=3#bugnotes [^] , but I can't find such a folder after uninstalling, not sure where it is supposed to be though, so I might have missed it.
(0028693)
thisismiee (reporter)
2015-03-23 18:01
edited on: 2015-03-23 18:10

The thing is I did not have dungeon crawl installed on my phone beforehand so there was no org.devels.crawl folder to delete :/ On my tablet I also found no such thing. I got into a game twice, but it crashed soon after.

Found a crash report it says: Crash caused by signal number 11: Segmentation fault
Unable to get stack trace on this platform
GDB not installed

(0028694)
TAS2012 (reporter)
2015-03-23 21:05
edited on: 2015-03-23 21:05

Now I've tried on my Nexus 7 (2013) with Android 5.0.2 (LRX22G). Exactly the same behaviour as before. The first time it starts up, after I twice touch the splash screen, it lets me select species and background and type a name, and then it crashes. Thereafter it crashes after I touch the splash screen twice.
Only difference was that this time it didn't mind that I already had unofficial 0.15.2 tiles version installed.

(0028695)
thisismiee (reporter)
2015-03-23 22:11

I tried restoring my tablet to factory settings to no avail, still the same issue as before.
(0028698)
TAS2012 (reporter)
2015-03-24 14:56
edited on: 2015-03-24 14:58

DCSS 0.16.1 is only very slightly better for me, now it seems that I get to do the character selection/creation process every time (only tried on the Nexus 5 so far). Might of course be related to some other variable.
There is also a new thing, if I do the creation process for a character (whereafter the game crashes) and then start the game again and try to continue with that character, I get an error prompt:
"There exists a save by that name but
it appears to be invalid.
(Error: Th..
[Y]es or [N]o only, please.
[large green checkmark icon] Y - Yes
[large red cross icon] N - No"

The error message is cut off as you can see above, will submit this as a separate issue when I can upload the screenshots.

Entering Y starts the character creation over, N makes the game crash.

(0028699)
thisismiee (reporter)
2015-03-24 15:45
edited on: 2015-03-24 15:46

I got into a game that crashed pretty soon in in 16.1 . The crash report says it crashed thanks to signal: 6 aborted. The interface and controls were also very cumbersome but that's another story... I did not have the save problem you did, the save was still there after the crash but it did not save my progress.

(0028700)
TAS2012 (reporter)
2015-03-24 16:43

Did/do any pre 0.16 versions work for you?

(Workaround note: otherwise, if you just want to play and can use console UI, try the unofficial tiles build for Android, it is still at v0.15.2 but interface is done in another way and much better IMHO)
(0028701)
thisismiee (reporter)
2015-03-24 16:46
edited on: 2015-03-25 06:21

0.14 and 0.15 work fine so i guess I will just stick to them :(. However i looked at the crash report and noticed a different reason for crash, signal 6 i think.

(0029201)
lvdisturbed1 (reporter)
2015-06-23 00:46

This is the same issue I am having.
(0029209)
Crawlers (reporter)
2015-06-24 09:22

Me too. I has not played this game in android after 0.16.

I did everything for settlement. but in vain.
(0029218)
lvdisturbed1 (reporter)
2015-06-24 23:06

Look in your install folder (Android/data/org.develz.crawl) and see what files are in there. Its possible you are missing assets like I am.
(0029220)
TAS2012 (reporter)
2015-06-24 23:45
edited on: 2015-06-24 23:46

I tried the latest trunk build (0.17-a0-1421-g95311d7) from crawl.newtzie.com, the problem is the same as I described for 0.16.1.
The sdcard/Android/data/org.develz.crawl location is empty except for the saves/saves and saves/morgue folders.
I retrieved the crash file from the saves/morgue folder and have uploaded it here. Among other things it says "Crash caused by signal [hashsign]6: aborted".
The saves/saves folder contains the subfolders db, des and sprint. sprint is empty, but db and des contain a surprisingly large amount (about 500) of files with extensions db, dsc, idx, lk and lux.

(0029221)
lvdisturbed1 (reporter)
2015-06-24 23:52

Looks like the issue I'm having. There should be a dat, docs, and settings folder as well. It just isn't being created.
(0029222)
Crawlers (reporter)
2015-06-25 00:58
edited on: 2015-06-25 00:59

Yeah, this is same problem.

I have just 'save' folder, too.

And it approximately contains 500 files.

(0029223)
lvdisturbed1 (reporter)
2015-06-25 01:43

Still crashing after adding assets manually. Looks like it's getting hung-up on a dolls.txt file. I couldn't find it either. After looking for dolls.txt it just dies. Logcat attache. Any dev want to chime in? I searched for a dolls.txt in the .apk as well as the windows .zip but no dice.
(0029224)
lvdisturbed1 (reporter)
2015-06-25 02:59

There are some other errors in that log that could be the culprit.

06-24 15:23:00.851 W/Adreno-ES20(21734): <core_glPixelStorei:47>: GL_INVALID_VALUE
06-24 15:23:00.851 I/Crawl.gl(21734): ERROR 501: glPixelStorei


Also this pops up a handful of times
06-24 15:23:00.891 E/SQLiteLog(21734): (1) table dbm already exists

All this occurs before the main screen loads. But it does load!

You can see where I am making my character selections in the log

06-24 15:23:01.971 I/InputDispatcher(1036): Delivering touch to (21734): action: 0x0, toolType: 1
06-24 15:23:01.971 D/ViewRootImpl(21734): ViewPostImeInputStage ACTION_DOWN
06-24 15:23:02.021 I/InputDispatcher(1036): Delivering touch to (21734): action: 0x1, toolType: 1
06-24 15:23:02.771 I/InputDispatcher(1036): Delivering touch to (21734): action: 0x0, toolType: 1
06-24 15:23:02.771 D/ViewRootImpl(21734): ViewPostImeInputStage ACTION_DOWN
06-24 15:23:02.841 I/InputDispatcher(1036): Delivering touch to (21734): action: 0x1, toolType: 1
06-24 15:23:02.901 V/SDL (21734): surfaceChanged()
06-24 15:23:02.901 V/SDL (21734): pixel format RGB_565
06-24 15:23:02.901 V/SDL (21734): Window size:1440x1565
06-24 15:23:03.391 I/InputDispatcher(1036): Delivering touch to (21734): action: 0x0, toolType: 1
06-24 15:23:03.401 D/ViewRootImpl(21734): ViewPostImeInputStage ACTION_DOWN
06-24 15:23:03.461 I/InputDispatcher(1036): Delivering touch to (21734): action: 0x1, toolType: 1
06-24 15:23:03.971 I/InputDispatcher(1036): Delivering touch to (21734): action: 0x0, toolType: 1
06-24 15:23:03.971 D/ViewRootImpl(21734): ViewPostImeInputStage ACTION_DOWN
06-24 15:23:04.051 I/InputDispatcher(1036): Delivering touch to (21734): action: 0x1, toolType: 1
06-24 15:23:04.741 I/InputDispatcher(1036): Delivering touch to (21734): action: 0x0, toolType: 1
06-24 15:23:04.751 D/ViewRootImpl(21734): ViewPostImeInputStage ACTION_DOWN
06-24 15:23:04.821 I/InputDispatcher(1036): Delivering touch to (21734): action: 0x1, toolType: 1

Then it loads more files before hanging on dolls.txt
After that...
06-24 15:23:11.221 I/ActivityManager(1036): Process org.develz.crawl (pid 21734) (adj 0) has died.(232,185)
06-24 15:23:11.231 D/Zygote (332): Process 21734 terminated by signal (6)
(0029369)
stoneychips (reporter)
2015-07-31 19:44
edited on: 2015-07-31 20:04

Latest Tiles 0.16, I believe, more of the same.

I'm on a brand new Samsung Galaxy Grand Prime. I enter name, enter species and background, game crashes without fail.

Oh, and this is Android 5.1.1.

(0029381)
varren (reporter)
2015-08-04 22:52

Already posted about this issue here: https://crawl.develz.org/mantis/view.php?id=9539 [^]

I haven't found a solution. 0.15.1 Tiles still works perfectly fine on my phone.

I wish someone would take charge of Crawl dev on Android. I only really have time to play Crawl on my phone, and I would love to experience all the recent changes and new tiles, but alas :(
(0029406)
Zink (reporter)
2015-08-17 14:49
edited on: 2015-08-17 15:06

!@#$%

I found out what is causing this crash to occur.

If your Android device has the 'Screen rotation' setting disabled in the OS and you are holding the device in your hand in a Portrait orientation, then the game will crash every time after character creation.

If you enable 'Screen rotation' and you rotate your device into an Landscape orientation, and then proceed to play Crawl Tiles, it will not crash after character creation.

The game cannot get past character creation in a Portrait orientation, although you can rotate it to Portrait after you have entered the game.

(0029408)
TAS2012 (reporter)
2015-08-18 12:19
edited on: 2015-08-18 12:23

Thanks for that report Zink, I did some further testing to see if I could reproduce your experience. I've tested the latest trunk build (and some other versions) on the latest Android version on both Nexus 5 and Nexus 7 [2013].
It seems it is not really so simple that it is just depending on screen orientation. Cut to the main take home message at the end below for results and analysis.

Nexus 7 [2013] tests:
Nexus 7 [2013] WiFi (razor)
Android v5.1.1 build LMY48I

Nexus 7 Test 1:
crawl_tiles_android_0.16-a0-3499-gfbbdc41
Can't get past "press any key to start" screen (keyboard pops up though) with keyboard entry or touching the screen.

Nexus 7 Test 2:
crawl_tiles_android_0.17_a0_1669-gc936e17
Tries to update earlier version but fails with message "App not installed".

Nexus 7 Test 3:
crawl_tiles_android_0.17_a0_1669-gc936e17
After manually uninstalling earlier version, the new installation procedure works without error. Works in *portrait mode* with no error!

Nexus 7 Test 4:
crawl_tiles_android_0.17_a0_1669-gc936e17
Verifying funcitonality in landscape mode too, works with no errors.

Nexus 5 tests:
Nexus 5 (hammerhead)
Android v5.1.1 build LMY48I

Nexus 5 Test 1:
crawl_tiles_android_0.17_a0_946-g1856e96
Trying to start with earlier failed character creation:
"There exists a save by that name but
it appears to be invalid.
(Error: Th..
Y- Yes
N - No"
Selecting Y starts new character creation process and crashes to Android OS after that. Selecting N crashes to Android OS immediately. No crash messages.

Nexus 5 Test 2:
crawl_tiles_android_0.17_a0_946-g1856e96
Starting new character creation process, crashes to Android OS after character creation, no crash message.

Nexus 5 Test 3:
crawl_tiles_android_0.17_a0_1669-gc936e17
New version installed with no errors.
Trying to start, in portrait mode, with earlier failed character creation:
"There exists a save by that name but
it appears to be invalid.
(Error: Th..
Y- Yes
N - No"
Selecting Y starts new character creation process and crashes to Android OS after that. Selecting N crashes to Android OS immediately. No crash messages.

Nexus 5 Test 4:
crawl_tiles_android_0.17_a0_1669-gc936e17
Starting new character creation process in portrait mode, crashes to Android OS after character creation, no crash message.

Nexus 5 Test 5:
crawl_tiles_android_0.17_a0_1669-gc936e17
Starting new character creation process in landscape mode, works with no error!

Notes:
* For all instances of character creation, the selection Troll/Fighter/Claws was used by entering keys "j", "a" and "a".
* Note that the splash screen "press any key to start", takes two screen touches to get past, the second screen touch also seems to registered as a touch on the main menu screen that follows the splash screen. This often seems to result in a crash, making testing (other things) difficult.

Main take home message:
Latest trunk build of android tiles, crawl_tiles_android_0.17_a0_1669-gc936e17, crashes after chracter creation in portrait mode on Nexus 5 but not on Nexus 7 [2013] while it works without crashing on both of them in landscape mode.
This seems to indicate that the reason for the crash is not the screen orientation but something else. My best guess is that it is a problem with the screen resolution, Nexus 5 in portrait mode has resolution 1080x1920 while Nexus 7 [2013] in portrait mode has resolution 1200x1920. Perhaps there is a critical limit between 1080 and 1200 for what is acceptable as lowest horisontal resolution and if this limit is not met the application crashes?

(0029409)
Zink (reporter)
2015-08-18 14:45

TAS2012, thank you for the report.

I think we have a solid lead for what to investigate in order to resolve this issue in the future.

In addition to your observations about a critical limit to the resolution, it could also be related to a division & remainder / modulo value for stretching tiles which comes out differently depending on the horizontal/vertical resolution.

- Issue History
Date Modified Username Field Change
2015-03-23 08:46 thisismiee New Issue
2015-03-23 09:01 TAS2012 Issue Monitored: TAS2012
2015-03-23 09:03 TAS2012 Note Added: 0028688
2015-03-23 15:44 thisismiee Note Added: 0028689
2015-03-23 16:06 TAS2012 Note Added: 0028690
2015-03-23 16:06 TAS2012 Note Added: 0028691
2015-03-23 16:11 TAS2012 Note Added: 0028692
2015-03-23 18:01 thisismiee Note Added: 0028693
2015-03-23 18:01 thisismiee Note Edited: 0028693
2015-03-23 18:09 thisismiee Note Edited: 0028693
2015-03-23 18:10 thisismiee Note Edited: 0028693
2015-03-23 21:05 TAS2012 Note Added: 0028694
2015-03-23 21:05 TAS2012 Note Edited: 0028694
2015-03-23 22:11 thisismiee Note Added: 0028695
2015-03-24 14:56 TAS2012 Note Added: 0028698
2015-03-24 14:57 TAS2012 Note Edited: 0028698
2015-03-24 14:58 TAS2012 Note Edited: 0028698
2015-03-24 15:45 thisismiee Note Added: 0028699
2015-03-24 15:46 thisismiee Note Edited: 0028699
2015-03-24 16:43 TAS2012 Note Added: 0028700
2015-03-24 16:46 thisismiee Note Added: 0028701
2015-03-25 06:21 thisismiee Note Edited: 0028701
2015-04-09 16:46 PleasingFungus Relationship added has duplicate 0009618
2015-06-23 00:46 lvdisturbed1 Note Added: 0029201
2015-06-24 09:22 Crawlers Note Added: 0029209
2015-06-24 23:06 lvdisturbed1 Note Added: 0029218
2015-06-24 23:27 TAS2012 File Added: crash-hhgg-20150624-232438.txt
2015-06-24 23:45 TAS2012 Note Added: 0029220
2015-06-24 23:46 TAS2012 Note Edited: 0029220
2015-06-24 23:52 lvdisturbed1 Note Added: 0029221
2015-06-25 00:58 Crawlers Note Added: 0029222
2015-06-25 00:59 Crawlers Note Edited: 0029222
2015-06-25 00:59 Crawlers Note Edited: 0029222
2015-06-25 01:30 lvdisturbed1 File Added: crawl-crash-logcat.txt
2015-06-25 01:43 lvdisturbed1 Note Added: 0029223
2015-06-25 02:59 lvdisturbed1 Note Added: 0029224
2015-07-31 19:44 stoneychips Note Added: 0029369
2015-07-31 20:04 stoneychips Note Edited: 0029369
2015-08-04 22:52 varren Note Added: 0029381
2015-08-04 23:04 PleasingFungus Relationship added has duplicate 0009539
2015-08-17 14:49 Zink Note Added: 0029406
2015-08-17 14:50 Zink Note Edited: 0029406
2015-08-17 15:04 Zink Note Edited: 0029406
2015-08-17 15:05 Zink Note Edited: 0029406
2015-08-17 15:06 Zink Note Edited: 0029406
2015-08-17 15:06 Zink Note Edited: 0029406
2015-08-18 12:19 TAS2012 Note Added: 0029408
2015-08-18 12:21 TAS2012 Note Edited: 0029408
2015-08-18 12:23 TAS2012 Note Edited: 0029408
2015-08-18 14:45 Zink Note Added: 0029409


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker