Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
75 views

Perl dumping core (SEGV) when setting a breakpoint to a specific function

Similar to Getting SEGV / core dumped when running Perl debugger, but still different: At a specific development stage of my complex program (sorry can't provide a MRE as the program processes results ...
U. Windl's user avatar
  • 4,175
0 votes
1 answer
110 views

C strcat buffer overflow after hundreds of iterations [closed]

I have written a status bar utility in C for DWM to display the time, date, CPU temp, and battery level. I recently noticed the program had crashed and found that it had a coredump. I recompiled the ...
Quadsam's user avatar
0 votes
0 answers
55 views

Could the coredump in a process using libssh be due to a libssh Issue?

I have a situation where a single C++ process can run multiple SSH servers and SSH clients concurrently. Each SSH server and client runs in a separate thread, with each thread having its own ...
seungmin's user avatar
0 votes
0 answers
20 views

core files getting created how to stop it?

i wanted to know, how can i disable it or stop getting created the core files in my application path. whenever i restart my application core.* files are getting created without causing any problem to ...
omkark's user avatar
  • 11
1 vote
0 answers
14 views

COW Pages in Fork() System call after child process aborts for generating a core dump

I am trying to generate core dump of a running process by forking the process and aborting the child so that the child will generate a core dump(essentially giving me a dump of the parent's VM), ...
Shivam Garg's user avatar
0 votes
1 answer
44 views

Jetty crashed due to Segmentation faults

Jetty crashed due to Segmentation faults . Logs: May 26 07:33:49 filr jetty.sh[32201]: 2024-05-26 07:33:49.813:INFO::main: Redirecting stderr/stdout to /var/opt/jett> May 26 07:33:49 filr jetty.sh[...
user6903099's user avatar
0 votes
0 answers
46 views

Dump python memory in search of variables

I am in the process of learning Python and I got intrigued by the memory management topic: heap, stack, garbage collector etc. So, for a simple program like: a=5 print(id(a)) b=2 print(id(b)) c=a+b ...
EBAH's user avatar
  • 99
0 votes
0 answers
75 views

How to analyze a coredump Program terminated with signal 6, Aborted

I am trying to analyze a coredump with gdb, but I am fairly new to this stuff and cannot pin down why this coredumped in the first place other than "Program terminated with signal 6, Aborted.&...
Sirius Black 11's user avatar
0 votes
1 answer
115 views

Why does breakpad minidump-2-core need debug symbols to generate core files?

The test code below produces a breakpad minidump, and GDB cannot display the stack from the dmp converted to core using minidump-2-core. Why does minidump-2-core need debug symbols in order to ...
patraulea's user avatar
  • 806
1 vote
1 answer
69 views

How to avoid wrong symbol offsets in breakpad dmp converted to core file

I am getting this error when GDB reads some of the core files generated using minidump-2-core from minidumps created on linux by Breakpad on amd64, i686 and aarch64 (using breakpad commits from 2024-...
patraulea's user avatar
  • 806
0 votes
0 answers
103 views

Why core dump is pointing to Oracle library?

I'm facing an issue where core dump is happening randomly in a particular process in a production server running RHEL 8.8 - sometimes it takes place within a span of one week and sometimes takes many ...
Maninder Singh's user avatar
1 vote
2 answers
136 views

Can I get file descriptor info from a core file by gdb?

I have a core file caused by 'too many open file' in Linux. I want to know how many fds the program used at crash time and the mapping of fds. Can I get file descriptor list from that core file? With ...
Shungang Li's user avatar
1 vote
1 answer
48 views

Traversing linked list in raylib gives Segmentation fault (core dumped)

I am trying to DrawText in Raylib Application.When I traverse Linklist in which content is either application prints nothing or gives Segmentation fault (core dumped) Case No 1 : Segmentation fault (...
yahya kamran's user avatar
1 vote
0 answers
67 views

How to selectively disable logging of core dumps for a particular executable?

On my server I collect information about core dumps with systemd as I normally want to know about core dumps. The relevant settings are server ~ # cat /proc/sys/kernel/core_pattern |/usr/lib/systemd/...
user2690527's user avatar
  • 1,851
0 votes
0 answers
93 views

I keep getting an Illegal instruction (core dumped) error when using a lyrics_extractor library in python

I have been looking everywhere for an answer and can't find anything Full code: from tkinter import * import tkinter as tk from lyrics_extractor import SongLyrics window = Tk()#creating window window....
user24038079's user avatar
0 votes
0 answers
219 views

How to debug a segmentation fault that occurs after the execution of a program

I run a program which terminates apparently correctly, but then a segmentation message appears: ./run_program Start processing Successfully finished. Segmentation fault (core dumped) How do I go ...
didjek's user avatar
  • 435
0 votes
0 answers
32 views

last line core dump from QSqlTableModel/QTableView

I am using PySide6 QSqlTableModel and QTableView to display a table in a QSqlDatabase. I capture QEvent.ToolTip and massage the data to retrieve the contents of a cell which my mouse cursor has ...
fossildoc's user avatar
0 votes
0 answers
25 views

segmentation fault when using larger values in Tideman

I'm incredibly stuck at this excercise. I'm just starting out Cs50x 2024. I thought I had finished it and was about to cry of happiness, but when testing more candidates and voters it crashed with a ...
Angélica Hidalgo's user avatar
1 vote
1 answer
481 views

How can I set the path of a file-backed mapping for a core dump in GDB?

I'm cross compiling on an x86 Ubuntu machine for an embedded ARM target. If the application segfaults, I get a core dump. When I run: gdb-multiarch my_app core I get: Reading symbols from my_app ... ...
axlan's user avatar
  • 953
3 votes
1 answer
169 views

Strange size change in core dump file

I have the following C snippets that both obviously cause stack overflow error: a.c int f(int i) { f(i); } int main() { f(1); } b.c int f(int i) { f(i+1); } int main() { f(1); } ...
Amir reza Riahi's user avatar
1 vote
1 answer
79 views

CS50: my malloc statement initially works but shows an error after several iterations of a loop. Why is this happening?

I am trying to solve this CS50 problem using the djb2 hashing algorithm: https://cs50.harvard.edu/x/2024/psets/5/speller/. Please see my code below. Other files needed to run the code can be found in ...
esp's user avatar
  • 25
1 vote
0 answers
67 views

ECPG for Postgres 6 and 16: coredump including an unexpected memory free when PREPARE'ing a faulty query

The following coredump occurs (here it is using ecpg for postgresql 6, but still happens in later versions like 16): ==31300== Invalid free() / delete / delete[] / realloc() ==31300== at 0x4C3210C: ...
moonychan's user avatar
0 votes
0 answers
91 views

bus error at glibc when running python command

I encountered the problem when I run a conan install command. Conan is a pure python project. I try to use gdb to debug the core file, and the backtrace is like this: #0 0x00007f3a7e3ee5d3 in strncmp ...
poxerial's user avatar
0 votes
0 answers
77 views

Nginx master process is not generating core fump file

I am following the steps on https://docs.nginx.com/nginx/admin-guide/monitoring/debugging/ to make nginx can dump the core file for debugging I enable it in the nginx conf and system config, and then ...
Cheng Lu's user avatar
0 votes
0 answers
94 views

Why can't I successfully debug the .net coredump generated under Linux with VS2022?

I run the dotnet 7 executable file on Linux (Centos 7), and then a core dump occurs. I transferred the coredump, executable file, and pdb file to Windows, and then debugged with VS2022. The following ...
zhouchen's user avatar
0 votes
1 answer
165 views

Core dump when parsing JSON data from pipe using Jansson

EDIT - Added a minimal reproducible code I am trying to read some json data from a named pipe. I need to parse the json in C and I am using Jansson library to do so. However, when I try to parse the ...
Nachiket Soni's user avatar
0 votes
0 answers
164 views

Python exits with error double free or corruption (out) Aborted (core dumped)

I'm running Python 3.10.12 on Ubuntu 22.04.03. When I open the Python interpreter and attempt to run a command Python is immediately closed with the following error. double free or corruption (out) ...
argentum_109's user avatar
1 vote
1 answer
213 views

Remote Debugging a Core dump file with gdb

I have a use case where my customer has a core dump (in 10s to 100s of GBs) and I want to analyze it from my system as migrating the core dump may take huge amount of time in cases where the debugging ...
Shrey2109's user avatar
0 votes
0 answers
111 views

library (xlsx) fatal error, R session aborted?

I had encountered an issue when I was trying to run library (xlsx) on R. it says R session has been aborted due to a fatal error. also says: failed to write core dump. Core dump have been disabled. I ...
Tom's user avatar
  • 1
0 votes
0 answers
85 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
0 votes
1 answer
852 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
  • 669
0 votes
0 answers
192 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
142 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
1 vote
0 answers
171 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
  • 79
1 vote
1 answer
147 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
1 answer
190 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
4 votes
1 answer
2k 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
  • 217
1 vote
1 answer
3k 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
  • 13
0 votes
1 answer
323 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
132 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
133 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
130 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
82 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
258 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
  • 806
0 votes
0 answers
156 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
1 vote
1 answer
206 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
  • 554
0 votes
0 answers
223 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
536 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,507
-1 votes
1 answer
97 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 <...
user avatar
1 vote
0 answers
603 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
  • 892

1
2 3 4 5
27