Hi, in case anyone is interested in generating coredumps: Sailfish saves core files if enabled in working directory which should be ~/ or /home/nemo/ if you like for applications started from launcher. To enable generating coredumps use (the method I posted earlier works too): ulimit -c unlimited
To generate a useful coredump the debuginfo package(located in RPMS directory in your build directory) is needed to be installed. A nice and short read here: http://fedoraproject.org/wiki/StackTraces Thanks again Alejandro for pointing me in the right direction On 3 September 2014 14:27, Krisztian Olah <fasza2mob...@gmail.com> wrote: > Thanks Alejandro, > I'm unfamiliar with both ulimit and Sailfish in this regard. > If I understand correctly I need to: > devel-su echo "* soft core 10000000" >> > /etc/security/limits.conf > devel-su echo "* soft hard 10000000" >> > /etc/security/limits.conf > devel-su service nemodb restart > > Then I will have coredumps generated in working dir, journal or some other > directory somewhere in /var provided my app crashes, right? > > > On 3 September 2014 12:18, Alejandro Exojo <s...@badopi.org> wrote: > >> El Saturday 30 August 2014, Krisztian Olah escribió: >> > Hi all, >> > just a quick question. Where does Sailfish dump cores? I checked (as >> root) >> > sydtemd-coredumpctl, but it seems empty. According to >> > /proc/sys/kernel/core_pattern the name should be "core" so I did a find, >> > but that came up short as well. While it is entierly possible that I >> don't >> > have a core file although I crashed a few days ago, I wouldn't know >> because >> > I'm not quite sure where I'm supposed to look for it. >> >> AFAIK, core dumps are disabled by default in most systems. >> >> $ ulimit -c >> 0 >> >> See /etc/security/limits.conf. >> >> -- >> Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2 >> http://barnacity.net/ | http://disperso.net >> _______________________________________________ >> SailfishOS.org Devel mailing list >> To unsubscribe, please send a mail to >> devel-unsubscr...@lists.sailfishos.org >> > >
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org