[arch-general] Coredumps in zsh
I was trying to debug a program, and whenever I did so, I would get the output: zsh: segmentation fault (core dumped) <name-of-program> This is what I was expecting, no problem with that, but I couldn't find the location of the core dump. I searched high and low, and even tried running systemd-coredumpctl but to no avail. However, when I repeated this on bash, I got: segmentation fault (core dumped) and I got the coredump on systemd-coredumpctl. Is there any particular reason why this might be happening? I don't want to change shells only when I'm debugging. -- Savyasachee Jha *"Aerodynamics is for people whodon't know how to build engines."*
Wed, 4 Jun 2014 20:02:48 +0900 Savyasachee Jha <savya.jha91@gmail.com>:
Is there any particular reason why this might be happening?
Output of 'limit core' in your zsh? And 'cat /proc/sys/kernel/core_pattern'? --byte
On Wed, Jun 4, 2014 at 8:38 PM, Jens Adam <jra@byte.cx> wrote:
Wed, 4 Jun 2014 20:02:48 +0900 Savyasachee Jha <savya.jha91@gmail.com>:
Is there any particular reason why this might be happening?
Output of 'limit core' in your zsh? And 'cat /proc/sys/kernel/core_pattern'?
--byte
$ limit core coredumpsize unlimited $ cat /proc/sys/kernel/core_pattern |/usr/lib/systemd/systemd-coredump %p %u %g %s %t %e -- Savyasachee Jha *"Aerodynamics is for people whodon't know how to build engines."*
participants (2)
-
Jens Adam
-
Savyasachee Jha