7 votes

Can you get any program in Linux to print a stack trace if it segfaults?

catchsegv It was mentioned in another answer (but in no way focused on). It's a handy tool bundled with the glibc project. It will provide a backtrace (and other useful debug information) only if a ...
wulfgarpro's user avatar
2 votes

Can you get any program in Linux to print a stack trace if it segfaults?

Here is a slightly modified variant of the script from Kyle Brandt. It is improved in the following ways: do not require manual interaction if stack trace is long some coredumps are saved with the ...
Till Schäfer's user avatar
2 votes

wget giving Segmentation fault

The key here is the line '/lib/libc.so.5': not in executable format: File truncated The C library is one of the core components of a Unix-like system, including Linux. That it is corrupted means ...
user's user avatar
  • 4,445
2 votes

How to get a core dump from apache when segfaulting

Note that if you have PrivateTmp=true set in your /usr/lib/systemd/system/apache2.service (or whatever it's called on your system), meaning Apache actually looks for /tmp inside something like /tmp/...
Artem Russakovskii's user avatar
2 votes

Xdebug Profiler Aggregate always crashes (xdebug.profiler_aggregate=1 causes coredump in xdebug.so xdebug_profiler_output_aggr_data())

I don't know how you have installed Xdebug, but I suggest you to install a recent version of Xdebug, with pecl, not with apt (if you have apt). sudo apt-get remove php-xdebug sudo apt install php-...
Arno's user avatar
  • 121
2 votes
Accepted

Segmentation fault of Bacula on Apline Linux

The issue is resolved in the fresh musl-1.2.3-r0 at April 7, 2022 (still in Edge branch)
Vladimir Martsul's user avatar
2 votes
Accepted

How to debug PostgreSQL segmentation fault?

Firstly install debugging symbols for your distribution, for Debian distros: apt install gdb postgresql-13-dbgsym Jump to a frame that contains some queryDesc variable, e.g 12: (gdb) frame 12 #12 ...
Tombart's user avatar
  • 2,193
2 votes
Accepted

Many segfaults, RAM failing?

Virtual memory does not work like that. Each process has their own address space for all their stuff including instruction pointer (ip) and stack pointer (sp). Much more likely this is a memory ...
John Mahowald's user avatar
1 vote

How to test Linux server for hardware errors?

Have you tried booting from https://www.memtest86.com/ - it's always been great for me.
Chopper3's user avatar
  • 102k
1 vote
Accepted

IFTTT segmentation fault

This might be better answered in stackoverflow.com than here. I'm also guessing you meant getopt instead of getop. If I'm getting your problem correctly, you might want to check for the file instead ...
Leo Gallego's user avatar
  • 1,933
1 vote

Why doesn't Apache on Debian Wheezy create a core dump?

Hope this helps someone. Note that if you have PrivateTmp=true set in your /usr/lib/systemd/system/apache2.service (or whatever it's called on your system), meaning Apache actually looks for /tmp ...
Artem Russakovskii's user avatar
1 vote

What is this SIGSEGV error code 14?

I got this message with this tool : "error 14: The cause was a user-mode write resulting in no page being found. A reserved bit was detected."
Michael Fayad's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible