Questions tagged [segmentation-fault]
106 questions
24
votes
6 answers
Can you get any program in Linux to print a stack trace if it segfaults?
If I run a program from the shell, and it segfaults:
$ buggy_program
Segmentation fault
It will tell me, however, is there a way to get programs to print a backtrace, perhaps by running something like this:
$ print_backtrace_if_segfault…
Neil
- 2,345
- 8
- 35
- 44
23
votes
1 answer
Tuning Apache2 prefork MaxClients ServerLimit
I have a machine with 128 GB Ram that is using Apache2 as Webserver (in this machine there is no Database Server, the Database Machine is a 64 GB Ram machine that can handle 2000 max connections). I see with a monitoring tool that there are at the…
User-N
- 235
- 1
- 2
- 6
15
votes
1 answer
Why is logrotate causing Apache to seg fault each time?
Every time logrotate runs Apache/2.4.7 (Ubuntu) experiences a seg fault and does not restart:
[Wed Sep 10 06:35:54.266018 2014] [mpm_event:notice] [pid 20599:tid 140630283466624] AH00493: SIGUSR1 received. Doing graceful restart
[Wed Sep 10…
fpghost
- 663
- 1
- 10
- 22
14
votes
2 answers
How to get a core dump from apache when segfaulting
I've followed instructions from many locations online on how to get a core dump from apache when it is producing a segfault, but it still refuses to generate the dump.
I have:
Added the CoreDumpDirectory directive into the httpd.conf file and set…
chrismcb
- 143
- 1
- 2
- 9
11
votes
3 answers
How to diagnose frequent segfaults
My server is logging frequent segmentation faults to /var/log/kern.log in different tools. So far I've seen them in Perl, PHP and rsync. All installed software is up-to-date Debian packages. Here's an exerpt from the log file:
Mar 2 01:07:54 gaz…
Andreas Gohr
- 381
- 1
- 3
- 11
7
votes
3 answers
segfaults are not logging into /var/log/messages
I'm using Red Hat Enterprise Linux Server release 5. In this whenever a user process crashes due to segmentaion faults, it was not logged in /var/log/messages. Even dmesg is also not showing any messages related to this.
Where as in another…
Scy
- 171
- 1
- 1
- 3
6
votes
1 answer
`ls` causes Segmentation Fault on a specific directory
I used $HOME/.local as prefix to install some applications without root access. There is one directory inside $HOME/.local that I can't execute ls command:
[tuananh@server lib]$ ls
Segmentation fault
[tuananh@server lib]$ cd ..
[tuananh@server…
Tuan Anh Hoang-Vu
- 183
- 1
- 9
5
votes
1 answer
apache child pid exit signal Segmentation fault (11)
when I installed joomla I can't see the index.php and I get this messages in my /var/log/apache2/error.log
[notice] child pid 3211 exit signal Segmentation fault (11)
for activate the coredump, I follow the instructions in this link…
JuanPablo
- 823
- 3
- 9
- 20
5
votes
1 answer
Advice for Debugging Apache with PHP Segmentation Faults
Every hour or so an Apache child process seg. faults on our web server. We are running a non-threaded PHP 5.2.17 Apache module with Apache prefork MPM. I have run httpd with a few core dumps, gdb and this .gdbinit file from php's github repo, typing…
getWeberForStackExchange
- 153
- 1
- 5
4
votes
2 answers
I get a Segmentation fault when doing apt-get util-linux
I've found that a lot of upgrade commands and Apache on my system are failing with Segmentation faults. I don't know if this is the main one, but a lot of packages depend on util-linux:
root@myUbuntuHardyHeronServer:~# apt-get install…
Adam
- 215
- 4
- 8
3
votes
1 answer
Xdebug Profiler Aggregate always crashes (xdebug.profiler_aggregate=1 causes coredump in xdebug.so xdebug_profiler_output_aggr_data())
Whenever I go to localhost I get a 404 error, until I mark xdebug.profiler_aggregate=0
The reason why is xdebug.so coredumps (SEGFAULT)
[Xdebug]
zend_extension=/usr/lib/php/20160303/xdebug.so
xdebug.remote_enable=1
xdebug.remote_connect_back =…
Jonathan
- 252
- 1
- 13
3
votes
1 answer
Segmentation fault when running any PHP
Update: I fixed this by running apt-get upgrade which updated many php packages, it must of been a buggy php extension which is now fixed
I have vagrant running homestead (Ubuntu 14.10), when I ssh onto the VM and simply type
php -v
or even
php…
Adam
- 349
- 3
- 12
3
votes
1 answer
Multiple segmentation faults on Linux host
I have an old Slackware 9.0 mail server on a VM at Linode.com. It has around 130GB of mail hosted on it, in Maildir format on partitioned, separate Ext3 filesystems (largest one is 92GB). I'm in the process of planning a server upgrade (completely…
zoot
- 31
- 1
3
votes
2 answers
What would cause a PHP app to segfault intermittently under load?
Posted this on stackoverflow but it seems more relevant over here... I'm doing some load testing (using jMeter) on a PHP app (it's a symfony app, if that matters). I've tested it under both apache/mod_php and nginx/php_fpm setups, and with multiple…
djrobstep
- 31
- 3
3
votes
1 answer
SSH broken, segfault error 4
i cannot connect to my server via ssh, it throws me a "server unexpectedly closed connection" after entering the password.
in var/log/messages the only noteable message is:
Apr 14 17:41:23 s15410270 kernel: sshd[3602]: segfault at c0 ip 7f0801acbdb0…
trampi
- 155
- 1
- 2
- 7