Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0011461 [DCSS] Bug Report crash always 2018-04-28 05:18 2018-05-03 06:32
Reporter arteymix View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Branch 0.21 stable branch
Summary 0011461: ASSERT(_parent) in 'database.cc' at line 268 failed in Flatpak build
Description We're having issue running Crawl in the Flatpak environment.

https://github.com/flathub/org.develz.Crawl/issues/3 [^]
Additional Information
Tags No tags attached.
Attached Files txt file icon crash--20180430-121505.txt [^] (5,431 bytes) 2018-04-30 18:15 [Show Content]

- Relationships

-  Notes
(0032199)
amalloy (developer)
2018-04-28 06:19

Please follow the instructions printed by the crash, by including the crash report.

At a glance, though, this looks like a problem with how you have built crawl: where it expects to see a database, it instead sees no files. Probably whoever packaged crawl for flatpak didn't do it right.
(0032215)
arteymix (reporter)
2018-04-30 18:15

I've checked the installation instruction and the only thing I could find was a missing DATADIR.

The relevant installation instructions are here: https://github.com/flathub/org.develz.Crawl/blob/master/org.develz.Crawl.json#L44 [^]

I run the whole thing with strace and gdb all it really look like a i18n-related bug.

If you want to reproduce that, you can run the flatpak in devel mode:

    flatpak run --devel --command=sh org.develz.Crawl

I have included a crash file.
(0032223)
advil (developer)
2018-05-03 06:32

Thanks for the crash log. I don't have access to a linux machine or flatpak, so I can't test these things directly (some other dev team members might), but I've so far been unable to replicate this crash under any circumstances, short of manually editing database.cc to violate some assumptions for the relevant class constructor (this does work to replicate this crash) or probably setting file times to 0. In response to amalloy's suggestion, missing files or directories won't do it.

When I build and install crawl with the following two commands (on OS X) the installation works:

make debug prefix=/app DATADIR=share/crawl SAVEDIR=~/.crawl TILES=y
make install debug prefix=/app DATADIR=share/crawl SAVEDIR=~/.crawl TILES=y


So there isn't anything fundamentally wrong with the installation commands (though you wouldn't want 'debug' there in the long run).


I'm not sure what you have in mind with an i18n-related bug but I also wasn't able to come up with any translation-related way of triggering this crash, missing or empty translations aren't sufficient - what are your region settings?

- Issue History
Date Modified Username Field Change
2018-04-28 05:18 arteymix New Issue
2018-04-28 06:19 amalloy Note Added: 0032199
2018-04-30 18:15 arteymix File Added: crash--20180430-121505.txt
2018-04-30 18:15 arteymix Note Added: 0032215
2018-05-03 06:32 advil Note Added: 0032223


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