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 ...
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 ...
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 ...
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/...
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-...
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)
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 ...
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 ...
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.
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 ...
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 ...
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."
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
segmentation-fault × 107linux × 28
apache-2.2 × 28
php × 20
ubuntu × 10
debian × 7
gdb × 7
php-fpm × 5
memory × 4
httpd × 4
php5 × 4
nginx × 3
centos × 3
ssh × 3
postfix × 3
apache-2.4 × 3
cron × 3
apache2 × 3
ubuntu-14.04 × 3
apt × 3
mod-wsgi × 3
mysql × 2
amazon-ec2 × 2
docker × 2
redhat × 2