[Bug 1189194] Re: Core file not created on SIGSEGV
Launchpad Bug Tracker
1189194 at bugs.launchpad.net
Tue May 5 06:39:30 UTC 2020
[Expired for apport (Ubuntu) because there has been no activity for 60
days.]
** Changed in: apport (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1189194
Title:
Core file not created on SIGSEGV
Status in apport package in Ubuntu:
Expired
Bug description:
Ref.: https://answers.launchpad.net/ubuntu/+question/230416
I just playing with the c++ programming, I made a mistake(I know what
is the mistake) and I am expecting core file should generate on
Segmentation fault. But the program exit with the following but I
didn't found the core file
Segmentation fault (core dumped)
My program is very simple, and no directory change. I didn't found
core file on either the current directory(where it was executed) and
in the program location(where the binary was there) or the user's home
directory.
jj at jjux64:010_InnerClasses$ ulimit -c
102400
jj at jjux64:010_InnerClasses$ echo $USER
jj
jj at jjux64:010_InnerClasses$ grep $USER /etc/security/limits.conf
jj soft core 102400
jj at jjux64:010_InnerClasses$ cat /proc/sys/kernel/core_pattern
|/usr/share/apport/apport %p %s %c
jj at jjux64:010_InnerClasses$ grep VERSION /etc/os-release
VERSION="13.04, Raring Ringtail"
VERSION_ID="13.04"
with "ulimit -c unlimited" also core file is not generating.
overwriting the core pattern temporarily resolve the issue but if we
rebooted again its overwritten to default value.
sudo bash -c 'echo core.%e.%p >
/proc/sys/kernel/core_pattern'
after the above core file is generated. But every reboot I have to run
above for getting core file automatically.
Any idea "/usr/share/apport/apport %p %s %c" is not generating core
dump on Segmentation fault ?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1189194/+subscriptions
More information about the foundations-bugs
mailing list