Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [core-dump]

A coredump represents the state of working memory of a Unix program at a specific time especially when the program has terminated abruptly.

4
votes
5answers
2k views

Why does the following way not change core file limit size?

To solve the problem in https://unix.stackexchange.com/a/446428/674, I followed https://stackoverflow.com/a/17483998/156458, but it doesn't set core file limit size? $ sudo sh -c "ulimit -c 1024 &...
13
votes
1answer
56k views

How to set the core dump file location (and name)?

I am on CentOS 6, trying to enable core dumps for an application I am developing. I have put: ulimit -H -c unlimited >/dev/null ulimit -S -c unlimited >/dev/null in to my bash profile, but a ...
12
votes
2answers
4k views

No core-dumps after recent upgrades to systemd?

When I execute a program that I work on, it fails with the following message: ... Aborted (core dumped) However, no core dump is created. Core dumps were written previously, and I don't remember ...
8
votes
2answers
10k views

No more coredumps after migrating to systemd [duplicate]

Generating coredumps used to work fine, but after switching over to systemd, I only see the message Aborted (core dumped) but no core file is generated. Has it something to do with systemd? (...
5
votes
1answer
926 views

How can a poor old non-root user get the core dumps systemd ate?

As we know, with systemd, core dumps don't just get written to the current directory but to some obscure journal. Now, I'm a poor old non-root user on some machine, and - I want my core dumps! I can't ...
4
votes
2answers
3k views

How to view Core file (general)

Scenario (Ubuntu 16.04): I compile and run a C program (with -g, I get the traditional Segmentation Fault (core dumped), and then (of course) there is no mythical "core" file to be found. Some ...
4
votes
2answers
6k views

Where is core file with abrt-hook-cpp installed?

I posted this question to StackOverflow a little while ago, but just now found this community, and felt like this is at least an equally appropriate site for this question: I've been led to ...
6
votes
1answer
3k views

Can anything useful be done with a truncated core?

We have processes written in a mix of Python, Java and C++ that core dump from time to time. They allocate more memory in chunks as needed during runtime, and are known to crash when their allocation ...
13
votes
2answers
40k views

Where to search for the core file generated by the crash of a linux application?

I am trying to find out the reason of crash for one of my Linux application. But I don't know where core is going. cat /proc/sys/kernel/core_pattern core.%e.%p Any Idea?
3
votes
2answers
10k views

How to disable core dump generation in Centos (cPanel Server)?

I want to disable core dump generation, How can I disable it ? One of the website keeps generating core dumps every second and eats up all the disk space. OS Details: CentOs cPanel Server ...
3
votes
2answers
2k views

Are limits in linux (like those controlled by ulimit or /etc/security/limits.conf) per user or per user per process?

I saw three copies of a process running and one of them cored in what seems like memory issue. Each individually occupies about 3-4 GB of memory..would a limit account for killing one of them? And if ...
3
votes
2answers
310 views

Is core dump generation an atomic operation?

I mean if I see core.<pid> in filesystem does it mean that core file generation finished and I can use it on my own? My question was answered. But I decided to explain it a little bit. I ...
2
votes
2answers
2k views

Google Chrome segmentation fault within a minute

Today I installed Google Chrome 55 (i.e. the latest stable version) on 64-bit SL7.0 using a 64-bit RPM. The problem is that google chrome starts fine (except for an SELinux-related issue which I fixed)...
1
vote
0answers
373 views

Given a core-dump, how to get the files opened by the late process?

Answers to related questions all suggest using lsof or checking under /proc/NPID/, which is not helpful for when the process is already gone and only its core-dump remains. However, it should be ...
0
votes
1answer
948 views

Where is core dumped file by handling SIGQUIT stored?

From http://qr.ae/TUTxgN SIGQUIT is the dump core signal. The terminal sends it to the foreground process when the user presses ctrl-\. The default behavior is to terminate the process and dump ...