1 |
On 2021-12-16 15:55+0000 Alan Mackenzie <acm@×××.de> wrote: |
2 |
|
3 |
> Hello, Gentoo. |
4 |
> |
5 |
> I'm developing software, and it crashes in its build process. I want |
6 |
> a core dump, to help find out where and why it's crashing. |
7 |
> |
8 |
> I've got CONFIG_ELF_CORE and CONFIG_COREDUMP both configured to yes in |
9 |
> my kernel. |
10 |
> |
11 |
> When I do |
12 |
> |
13 |
> $ uclimit -H -c |
14 |
> |
15 |
> , it tells me "unlimited". |
16 |
> |
17 |
> But still, no dump. :-( |
18 |
> |
19 |
> What am I missing? |
20 |
> |
21 |
|
22 |
You need to enable them explicitly. If you're using PAM: |
23 |
echo '* soft core unlimited' > /etc/security/limits.conf |
24 |
|
25 |
It only has an effect after your next login. For more information, see |
26 |
<https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces#Core_dumps>. |
27 |
|
28 |
Kind regards, tastytea |
29 |
|
30 |
-- |
31 |
Get my PGP key with `gpg --locate-keys tastytea@××××××××.de` or at |
32 |
<https://tastytea.de/tastytea.asc>. |