Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1836  / 1 Year ago, sun, april 30, 2023, 4:49:17

I noticed that on a 12.04 system setting ulimit -c unlimited and sending Ctrl+ does not have the expected result.



Though the shell prints



^zsh: quit (core dumped)


no core dump is written as far as I can tell.



The file /proc/sys/kernel/core_pattern contains an apport pipe - thus, it seems that by default apport is now responsible for writing core dumps.



The directory /var/crash does not contain a recent core dump for my application.



Thus my question: Is apport ignoring SIGQUIT induced core dumps?



If yes:




  • Shouldn't that be considered a bug?

  • How can I configure apport such that it does not ignore SIGQUIT?



(As a workaround setting /proc/sys/kernel/core_pattern to core works as expected, i.e. I get a core dump named core into my CWD after hitting SIGQUIT.)


More From » debugging

 Answers
6

Yes, apport is ignoring SIGQUIT and yes, it's a bug IMO.



I reported it in https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1153662 with a patch, and a fix has been released.


[#37751] Sunday, April 30, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
piscen

Total Points: 134
Total Questions: 117
Total Answers: 133

Location: Indonesia
Member since Wed, Jul 7, 2021
3 Years ago
;