Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0009630 [DCSS] Bug Report crash always 2015-04-12 14:55 2015-04-26 00:58
Reporter Binturong View Status public  
Assigned To neil
Priority normal Resolution done  
Status resolved   Product Branch 0.16 ancient branch
Summary 0009630: game crash when picking up gold or zot runes (Android)
Description Upon entering the spider nest with my level 14 conjurer demigod I noticed the game started crashing to desktop any time I picked up gold. I decided to load it and try playing to avoid the gold and the game functions perfectly normally in every other sense until I do. I played all the way through to the last level, and cleared it to get the rune, and the game also crashed when I picked that up. I got curious and tried another lair branch to see if the same happened there and indeed it does, the first gold pile I picked up in the swamp crashed my game too.
Additional Information
Tags No tags attached.
Attached Files

- Relationships
has duplicate 0009697resolvedwheals Crashes after using auto-travel two times 
has duplicate 0009586resolvedwheals Crash on gold pick up 

-  Notes
suppilulemur (reporter)
2015-04-14 21:41
edited on: 2015-04-14 21:41

I have investigated this issue. The culprit is this line in _put_item_in_inv:
  if (inv_slot != -1)

inv_slot is of type char, which on ARM is unsigned (at least under GCC). Adding -fsigned-char to the compiler options fixes the problem.

neil (administrator)
2015-04-14 23:13

Should be fixed in trunk (0.17-a0-580-g22c127a) and stable (0.16.1-16-gc44b35d), thanks!
miserium (reporter)
2015-04-25 22:05

16.1 stable release download on [^] is still busted - when will that be updated? Right now it's unplayable on Android.
barbs (reporter)
2015-04-26 00:58

Hey guys, I'm the developer on the unofficial ASCII version. I came across this same problem (though I didn't realise it until abienz told me here [^] ). I was curious how you found this problem? I'm hardly the most seasoned C++ developer and it took me ages to work out where the crash was even occurring!
Thanks for finding this btw.

- Issue History
Date Modified Username Field Change
2015-04-12 14:55 Binturong New Issue
2015-04-12 19:28 TAS2012 Issue Monitored: TAS2012
2015-04-14 21:41 suppilulemur Note Added: 0028866
2015-04-14 21:41 suppilulemur Note Edited: 0028866
2015-04-14 23:13 neil Note Added: 0028867
2015-04-14 23:13 neil Status new => resolved
2015-04-14 23:13 neil Fixed in Branch => 0.16 pre-release branch
2015-04-14 23:13 neil Resolution open => done
2015-04-14 23:13 neil Assigned To => neil
2015-04-25 22:05 miserium Note Added: 0028974
2015-04-26 00:58 barbs Note Added: 0028977
2015-04-26 18:16 miserium Issue Monitored: miserium
2015-05-03 03:53 wheals Relationship added has duplicate 0009697
2015-05-08 14:40 wheals Relationship added has duplicate 0009586

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