Well, some applications in 11.3 accidentally crash. But most of them
does not want to crash in a moment I am debugging them in the gdb, I
searched in the documentation and found a simple solution.
Collect cores:
1. Set SOFTCORELIMIT in /etc/sysconfig/ulimit to "unlimited"
or do this just now by:
ulimit -c unlimited
2. mkdir /cores ; chmod +t /cores ; chmod og+rw /cores
3. Add a line to /etc/sysctl.conf:
kernel.core_pattern = /cores/%e-%t-%u.core
or do this just now by:
echo "/cores/%e-%t-%u.core" >/proc/sys/kernel/core_pattern
Core files will be stacked to /cores and ordered by application name and
time and will never overwrite. You can easily find a most crashing
application there.
Install debuginfo:
gdb often complains on missing debuginfo packages. You can easily
install all of them by copy and paste it to the console input of
following command:
eval zypper install $(sed -n 's/Try: zypper install//p')
Well, you can do the same using the gdb log file and then reading it:
eval zypper install $(sed -n 's/Try: zypper install//p'