Re: [gentoo-user] How do I get a core dump from seg-faulting software?

2021-12-17 Thread Alan Mackenzie
Hello, Karl. On Thu, Dec 16, 2021 at 17:32:58 +0100, k...@aspodata.se wrote: > Alex: > > I've got CONFIG_ELF_CORE and CONFIG_COREDUMP both configured to yes in > > my kernel. > > When I do > > $ uclimit -H -c > > , it tells me "unlimited". > > But still, no dump. :-( > > What am I

Re: [gentoo-user] How do I get a core dump from seg-faulting software?

2021-12-17 Thread Alan Mackenzie
Hello, Rich. On Thu, Dec 16, 2021 at 15:23:53 -0500, Rich Freeman wrote: > On Thu, Dec 16, 2021 at 10:55 AM Alan Mackenzie wrote: > > But still, no dump. :-( > > What am I missing? > Are you using systemd? It has a mechanism to consolidate core dumps > to a system directory with a tool to

Re: [gentoo-user] How do I get a core dump from seg-faulting software?

2021-12-17 Thread Alan Mackenzie
Hello, tastytea. On Fri, Dec 17, 2021 at 00:18:12 +0100, tastytea wrote: > On 2021-12-16 15:55+ Alan Mackenzie wrote: > > Hello, Gentoo. > > I'm developing software, and it crashes in its build process. I want > > a core dump, to help find out where and why it's crashing. > > I've got

Re: [gentoo-user] How do I get a core dump from seg-faulting software?

2021-12-16 Thread tastytea
On 2021-12-16 15:55+ Alan Mackenzie wrote: > Hello, Gentoo. > > I'm developing software, and it crashes in its build process. I want > a core dump, to help find out where and why it's crashing. > > I've got CONFIG_ELF_CORE and CONFIG_COREDUMP both configured to yes in > my kernel. > >

Re: [gentoo-user] How do I get a core dump from seg-faulting software?

2021-12-16 Thread Rich Freeman
On Thu, Dec 16, 2021 at 10:55 AM Alan Mackenzie wrote: > > But still, no dump. :-( > > What am I missing? Are you using systemd? It has a mechanism to consolidate core dumps to a system directory with a tool to view/debug them and retention policies. I think that all is enabled by default,

Re: [gentoo-user] How do I get a core dump from seg-faulting software?

2021-12-16 Thread karl
Alex: > I've got CONFIG_ELF_CORE and CONFIG_COREDUMP both configured to yes in > my kernel. > > When I do > > $ uclimit -H -c > > , it tells me "unlimited". > > But still, no dump. :-( > > What am I missing? Have you tried: $ man gcore $ man 5 core Regards, /Karl Hammar