Questions tagged [coredump]

A core dump represents the state of working memory of a Unix program at a specific time, often when the program has terminated abruptly.

Filter by
Sorted by
Tagged with
0 votes
0 answers
77 views

X86_64 JMP instruction after returned from a function calling cause SIGSEGV

Application crash and report sig 11 (SIGSEGV) at the hook function calling. It is a C++ program, pseudocode as below. In my C++ function, it call a hook function with 5 parameters. param5 is a local ...
airen's user avatar
  • 9
-1 votes
1 answer
141 views

Allocating large shared memory leads to "Bus error (core dumped)"

When allocating a large amount of shared memory (60% of total 128GiB RAM, 3GiB used), I got "Bus error (core dumped)" after several seconds and the memory usage went up. But if I allocate ...
obfish's user avatar
  • 681
0 votes
0 answers
43 views

Illegal instruction on execution

I'm trying to install hipSYCL on Nvidia GPU, hipSYCL is installed but it is giving illegal instruction error when try to run the syclcc compiler. I tried running syclcc command on CPU and here is its ...
bhuma's user avatar
  • 1
1 vote
0 answers
48 views

mongodb installation problem in ubuntu 22.04LTS

I am unable to complete installation process of mongodb in ubuntu 22.04 system using terminal by following steps Install the dependencies apt update apt install dirmngr gnupg apt-transport-https ca-...
Akash Tiwari's user avatar
0 votes
0 answers
64 views

How to test core dump creation (createdump) for .NET Core macOS app?

I have a .NET Core application for which I am enabling minidump as follows: <MonoBundlingExtraArgs>--setenv:COMPlus_DbgEnableMiniDump=1 --setenv:COMPlus_EnableCrashReport=1 --setenv:...
xertzer's user avatar
  • 69
1 vote
1 answer
44 views

Generate Core of process running in GDB Batch Mode

This may be a weird special case scenario, but I run a process within GDB batch mode, but the process that runs has its own server console that needs to remain open for it to continue running. It's ...
The Shadow Priest Dazzle's user avatar
0 votes
0 answers
53 views

GDB says there is no symbol table available even when a separate debug file is loaded?

I'm debugging a core file with a crash in function foo from libA.so. I have libA.so.debug in another directory. I load it in gdb via add-symbol-file path/to/libA.so.debug, gdb loads it. After that, if ...
Dan M.'s user avatar
  • 3,840
0 votes
1 answer
94 views

Access memory with absolute address but not register value in GDB when debugging core dump

I'm debugging a core dump file and having an issue about accessing memory addresses. But when i check the core dump, i arrived very confused.The address seems valid, but when i check $eax, it shows ...
Sheep Bluesky's user avatar
2 votes
1 answer
304 views

R crashes immediately on startup : caught segfault, address (nil), cause 'memory not mapped'

I recently installed R via conda install -c conda-forge r-base, but it crashes as soon as I try to launch it from terminal (see below). I've reserved 15G of memory for my session (should be plenty). ...
Jabber1's user avatar
  • 177
0 votes
1 answer
412 views

Debug core file with LLDB without executable, but with debug symbols file

I have a core dump file that needs to be debugged. But the only file that I have for crashed program is a debug symbols file Exec and debug file were generated with: $ gcc -g -O0 -o <exec> main....
Gordiig's user avatar
0 votes
0 answers
23 views

Segmentation Fault (core dumped): Error when providing no argument

Code implementation I was trying to implement the code such way that it takes only a command line argument, and if not provided or provided more than 1, it prints out an error message. But it is ...
Samapti Bhandari's user avatar
0 votes
1 answer
61 views

gdb core file analysis

I have core file and I am trying to find out what might have caused the app to crash & generate core file. When I run core file with gdb and binary, I get got below on gdb prompt: Program ...
kirant's user avatar
  • 13
0 votes
0 answers
83 views

Debugging a core dump of an unmanaged crash occurring within a dotnet application running in a Linux container

We are running a Kubernetes cluster with various services. If one of them crashes, we get a core dump. But so far it has resisted all attempts at debugging. It's likely due to it being a dotnet ...
Foxxy's user avatar
  • 25
0 votes
0 answers
53 views

What program can I use to open the *.dmp file to read the lost data from the form?

I was filling out a very lengthly form in Firefox, but accidentally clicked 'Back' and lost my filled form data. I installed the 'Progress Hack' program for Windows 10 and created a dump file of the ...
Vladikslavus's user avatar
0 votes
0 answers
87 views

How to find the cause of a segment fault?

I write an openssl engine, and everything seems to works correctly when it's running. But an segment fault happened when the program exit: $ ./output/bin/async_test 1..1 PASS [1] 24048 segmentation ...
HnlyWk's user avatar
  • 23
0 votes
0 answers
82 views

How can I collect heap memory distribution by types and memory ownership topology from a C++ application core dump?

I am trying different approaches to profiling the heap of a C++ application. Lets say I have a process running in a production environment. I notice high memory consumption and take a full memory dump ...
tldr's user avatar
  • 11
0 votes
2 answers
64 views

R terra::project function causing core dump (Ubuntu)

I'm consistently having the project function in the terra R package (v1.7-29) crash in R (4.3.0). This happens via Terminal and in RStudio, and despite the terra package being installed without errors....
akoontz11's user avatar
-1 votes
1 answer
79 views

Core dumped while calling a function with dynamic arrays

I have segmentation fault while calling upon the recalling function "OpenCell", It doesn't want to continue no matter what. I know it's a logical mistake I just haven't figured it out yet ...
Oleksandr Chybras's user avatar
1 vote
1 answer
158 views

Retrieve load address of unloaded shared library from linux core dump

A linux process appears to unload a shared library using dlclose while still having its functions registered as callbacks. It crashes later when the callback is called which is now invalid memory, and ...
patraulea's user avatar
  • 684
0 votes
0 answers
85 views

segmentation fault (core dumped) problem when trying to open xgterm for IRAF

I have run into an issue opening xgterm. In my terminal, I did the usual conda activate iraf27, then xgterm &, and then I get a message: Segmentation fault (core dumped) xgterm I am not sure how ...
70007's user avatar
  • 1
0 votes
0 answers
27 views

Generate core dump in ant script under linux

I'm trying to generate a core dump of application from ant script. At the moment I am able to generate core dump from ant script by encapsulating possibly crashing program with bash script. I would ...
piotr-buduje's user avatar
1 vote
1 answer
119 views

How to get debug information (like line number) by coredump

I'm debugging a rarely happening SIGSEGV prod issue (language C++), which happens once every hundreds of times running. I tried to enable the corefile and send it to GCS. My steps to debug: Build the ...
Tinyden's user avatar
  • 534
0 votes
0 answers
136 views

RadioHead on ESP32 - error in RHDatagram::available() when called from RHMesh.recvfromAck with rf95 driver

Hope you are doing well. I have an error that is causing my code to crash that I have been unable to fix. Any help would be greatly appreciated. I'll put a link to my github repo below as well as the ...
Louis Alexander's user avatar
1 vote
0 answers
291 views

How to disable core dumps in AWS Lambda?

I have a Lambda function that runs from a custom Docker image. The image includes a Chromium instance (via @sparticuz/chromium). The Lambda function runs puppeteer with this Chromium instance. ...
user3738870's user avatar
  • 1,444
-1 votes
1 answer
81 views

asprintf cause segmentation fault core dump

#include <sys/stat.h> #include <stddef.h> #include <fcntl.h> #include <errno.h> #include <netdb.h> #include <sys/types.h> #include <sys/socket.h> #include <...
Neverwin's user avatar
1 vote
0 answers
161 views

Debug python coredump with python callstack

I'm currently trying to debug a complex multi-threaded python script on a production environment which sometimes crashes using python3.10.10 I can't reproduce the bug on a development environment and ...
Arkaik's user avatar
  • 872
-1 votes
1 answer
254 views

Minimal coredump needed to get backtraces for all threads with gdb

We want to pull stack traces from a running process. Pulling stack traces directly with gstack is not an option and using a gdbserver works, but is quite slow due to the network. We were curious if we ...
Maydaer's user avatar
0 votes
1 answer
175 views

why core dump file is generated only in specific dir in ubuntu

i have wrriten a sample c program to generate core dump. but this generates core dump only when executed in specific dir /var/crash however when executed in other dir it does not generate. why? I am ...
myquest6 sh's user avatar
0 votes
0 answers
45 views

Piping to core_pattern does not work when arguments are in quotes

I'm currently piping core dumps to my binary. I noticed that if my arguments are surrounded in quotes, it will not generate a coredump. For example, this does not work: |/path/to/my/binary -config=&...
mike's user avatar
  • 1
1 vote
1 answer
182 views

fprintf cause segmentation fault core dump

This is my code in file a.c: int auto_reboot() { char str[1000]; char buf[1000]; snprintf(str, sizeof(str), "/proc/%d/exe", getpid()); readlink(str, buf, sizeof(str)); ...
Neverwin's user avatar
-1 votes
1 answer
51 views

String to int function core dumped assembly x86

I'm working on a function that picks a string, for example "input db '5', 0" and turns it into "input '53', 0" (an int). I have the following code. But everytime I run it outputs ...
Pablo Cotí's user avatar
-1 votes
1 answer
65 views

How to know which module allocated memory area while analysing coredump with LLDB

I'm analysing a core dump on MacOs 13 with LLDB (lldb-1400.0.38.17) I've got the suspicious values (probably caused the core dump) in memory, these values look like a memory corruption. Now I'd like ...
Rom098's user avatar
  • 2,457
0 votes
0 answers
226 views

Core dump files for Qt Creator

I'm using Qt Creator to develop a cpp project on Ubuntu; my debugger is GDB. When I encounter a segfault and there is a core dump, this takes up significant space (~5GB per dump) on the hard drive ...
pbalint's user avatar
0 votes
0 answers
137 views

Malloc memory in multiprocessing python script is freed but never made available again

The title is probably very confusing, but I couldn't find a way to synthesized my problem in a single sentence. Basically, I have a Python script that uses pytorch multiprocessing with some libraries ...
florobax's user avatar
0 votes
1 answer
66 views

How can I specify filename and directory for a core-dump, in Gnu/Linux?

I'm in the situation where my application crashes from time to time and I want to know the exact stacktrace and variables. There is boost stacktrace which gives me a trace for functions but not ...
Gustavo's user avatar
  • 919
0 votes
1 answer
73 views

How is ASLR supposed to work with coredumps?

I have a situation where a coredump (generated on a remote system) is not matching symbols in the .o file. I am suspecting this is due to ASLR. Unfortunately, I'm not sure how ASLR is supposed to ...
HardcoreHenry's user avatar
0 votes
0 answers
49 views

How did kdump know that the kernel crashed?

Kdump will call kexec to start the second kernel after the system crashes, so how does kdump know that the kernel crashes? Where can I find relevant information or codes?
Carlos's user avatar
  • 1
0 votes
0 answers
25 views

Is there a way to see a log of Stack Smashing Detected?

I am getting the following error: *** stack smashing detected ***: terminated Aborted (core dumped) After running a command in my terminal: graph deploy --ipfs http://localhost:5001 --node http://...
Falcon Stakepool's user avatar
-1 votes
1 answer
288 views

What is thre reason of core dump? [closed]

Why do I have core dump in this code I see output Catch terminate called after throwing an instance of 'std::runtime_error' what(): ZERO DIV Aborted (core dumped) But I expect Catch ...
mascai's user avatar
  • 1,509
0 votes
0 answers
68 views

How to get the value of WSAGetLastError() from a core dump

I found a crash while testing, and the cause was an unexpected error while writing to a socket. Unfortunately, the exception which was thrown didn't actually contain the direct reason for the failure (...
Bwmat's user avatar
  • 4,366
0 votes
0 answers
26 views

pdf2HtmlEX process PDF coredump

I use following command tansform pdf to html. then I got croedump file. ./pdf2htmlEX --zoom 1 --dest-dir ./pdf_test --optimize-text 1 --zoom 1.4 --process-outline 0 --embed-image 0 --font-format ttf ...
oddstar2018's user avatar
1 vote
1 answer
248 views

What to do next when you get core backtrace pointing to libc?

So, I messed up and want to know why... and turns out, I have a coredump to tell me why. But the coredump tells me, Program terminated with signal SIGABRT, Aborted (gdb) bt #0 0x00007f4e36c08c0c in ...
Vivek Subramanian's user avatar
1 vote
1 answer
120 views

How do I read a large file of numbers and store its content in an array?

My original task is: Given a file of numbers, I have to find all pairs (a pair is just 2 numbers; they cannot be consecutive) that fulfil a certain condition. To do that, I've decided to create an ...
Rodion Iskhakov's user avatar
-3 votes
2 answers
568 views

How I get rid of the error "signal: segmentation fault (core dumped)" in C++, replit?

I am trying to print out 1-999 in English format using words. Example: Input: 563 Output: Five Hundred Sixty Three I made a function for 1 through 9, 10 through 19, and the numbers ending in 0 up ...
Krisha Patel's user avatar
0 votes
1 answer
349 views

how to read the content of cpu registers from a core dump file

I wrote the following C programm #include<stdio.h> #include<stdlib.h> #include<unistd.h> void main(){ char *variable = "CodeName0..."; while (1){ printf(&...
Djebarra Rabah Abderrazak's user avatar
0 votes
0 answers
42 views

coredump can not be located, can anyone has experence about the listed problem?

[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". Core was generated by `/home/mogo/autopilot/lib/localization/...
Yan Li's user avatar
  • 1
0 votes
0 answers
25 views

segmentation fault in C++ program - valgrind's Invalid write of size 8 [duplicate]

I've seen many similar questions, yet I do not arrive to solve the problem in my implementation. I am working on a C++ program to solve the 2D-heat-equation. Here I reproduce the blocks of the error ...
nico_so's user avatar
  • 138
2 votes
1 answer
157 views

How to debug (large) memory allocation in C

I'm running a C program which is occupying large physical memory and I want to debug where those large allocations are happening. This program has multiple forks and one of those forks is shooting the ...
Shubham's user avatar
  • 160
-2 votes
1 answer
40 views

My code is not running because of abrupt core dump(segmentation fault) [duplicate]

#include <iostream> #include <string> #include <vector> using namespace std; void converter(vector<char>keypad[],int num[], int index, string result, int size_of_num){ if(...
JustinW's user avatar
0 votes
1 answer
100 views

Segmentation fault (core dumped) when trying to solve problem set

I'm trying to solve the Caesar pset in the Harvard CS50 course, and I think I'm mostly on the right way, but I just started getting the error "Segmentation fault (core dumped)". Im still ...
rasmusschaal's user avatar

1
2 3 4 5
23