Questions tagged [segmentation-fault]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
27 votes
6 answers
37k views

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 ...
Neil's user avatar
  • 2,455
26 votes
1 answer
73k views

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 ...
User-N's user avatar
  • 265
15 votes
1 answer
14k views

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 ...
fpghost's user avatar
  • 673
15 votes
2 answers
31k views

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 ...
chrismcb's user avatar
  • 153
11 votes
3 answers
34k views

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 ...
Andreas Gohr's user avatar
7 votes
3 answers
16k views

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 ...
Scy's user avatar
  • 171
6 votes
1 answer
10k views

`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 ...
Tuan Anh Hoang-Vu's user avatar
5 votes
1 answer
4k views

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 ...
getWeberForStackExchange's user avatar
5 votes
1 answer
7k views

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 ...
JuanPablo's user avatar
  • 943
4 votes
2 answers
4k views

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@...
Adam's user avatar
  • 225
3 votes
4 answers
3k views

Is segfault signal always sent to application

My application usually crashes and prints stack to log if received segfault signal. But in some environment the 'dmesg' shows segfault messages related to my application, but application uptime is ...
noonex's user avatar
  • 248
3 votes
3 answers
920 views

Segfaults in CentOS (grep, coreutils, etc)

I was passed a box today which wasn't coming back from a reboot. After a fair bit of work with live/rescue disks I came across the situation I'm now stuck on. Basically various lowlevel tools (ls, ...
Coops's user avatar
  • 6,085
3 votes
1 answer
8k views

How to debug PostgreSQL segmentation fault?

I have a PostgreSQL 13 instance that keeps crashing: LOG: server process (PID 10722) was terminated by signal 11: Segmentation fault DETAIL: Failed process was running: COMMIT LOG: terminating any ...
Tombart's user avatar
  • 2,163
3 votes
1 answer
709 views

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....
Jonathan's user avatar
  • 272
3 votes
1 answer
7k views

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 ...
trampi's user avatar
  • 155
3 votes
1 answer
7k views

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 ...
Adam's user avatar
  • 349
3 votes
1 answer
1k views

Apache2 Segfault - need help interpreting this coredump (suspect cause is memcache / php session related)

Three Apache2 web servers running a PHP 5.2.3 web site. We're using Memcache to cache rendered pages but also as the storage engine of the PHP Sessions. At peak traffic times we're getting Apache ...
WayneDV's user avatar
  • 31
3 votes
1 answer
215 views

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 ...
zoot's user avatar
  • 31
3 votes
2 answers
2k views

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/...
djrobstep's user avatar
2 votes
1 answer
2k views

ps is giving a segmentation fault

I'm getting a segmentation fault when I try to run a simple "ps aux" for a certain user. If I run as root or another user it runs well. So I think is something related with ulimits, but I think that ...
julian's user avatar
  • 153
2 votes
2 answers
1k views

/etc/cron.daily/apt: Segmentation fault

I have a system that I set up with Maverick and the "automatically apply security updates" setting. It is now sending e-mail on a daily basis: Subject: Anacron job 'cron.daily' on gwen /etc/cron....
Sean Reifschneider's user avatar
2 votes
2 answers
25k views

PHP segmentation fault when using more than 128M

I have an install of SugarCRM. It is heavy on memory, which is a separate issue to deal with. In the meantime, any page that attempts to use more than 128M of memory, results in the Apache (mod_php) ...
Jason's user avatar
  • 151
2 votes
1 answer
4k views

Continuous segmentation faults (code 11) with nginx and php-fpm

I'm running a CentOS 6 64bit server with 1.2 GHz CPU and 2.4 GB RAM. The server runs nginx and php-fpm with the APC extension and also mysql. A couple of weeks ago the server starting continuously ...
Daniel's user avatar
  • 41
2 votes
2 answers
3k views

Apache Segmentation Fault

In my apache error log im getting lines such as [Wed Sep 21 16:51:14 2011] [notice] child pid 5414 exit signal Segmentation fault (11), possible coredump in /tmp/apache-cores/ [Wed Sep 21 17:04:15 ...
Jack's user avatar
  • 131
2 votes
2 answers
4k views

Do segfaults *always* try to dump core?

We have an in-house daemon running on a few RHEL 5 boxes which periodically segfaults. Our developers want a core file to help with debugging but I can't provoke it into producing one. $ sudo grep ...
markdrayton's user avatar
  • 2,449
2 votes
1 answer
564 views

Many segfaults, RAM failing?

I have a Proxmox installation that is unstable, both the host and LXC containers crash. I to find the fault I have tried swapping RAM, CPU and MB. I also did a fresh reinstall. But I'm still getting ...
Northern Brewer's user avatar
2 votes
3 answers
7k views

Segmentation fault when running PHP script from CLI, works fine as cron job

I have a PHP script that reads a file via fgetcsv through PHP's zip:// wrapper. This works fine locally and when run on production via a cron job. It fails with a Segmentation fault when invoked on ...
deceze's user avatar
  • 483
2 votes
2 answers
7k views

What is this SIGSEGV error code 14?

Every day this error occured kernel: crond[1234]: segfault at xxxxxxx rip xxxx rsp xxx error 14 What's happen
freddiefujiwra's user avatar
2 votes
2 answers
10k views

Apache2 configtest segmentation fault

For whatever reason I managed to mess up Apache quite bad (Ubuntu 12.04). The output below complains about configtest failing and a segmentation fault. However, I can't find anything in /var/log/...
Jeroen Ooms's user avatar
  • 2,239
2 votes
1 answer
2k views

ss segmentation fault - how to investigate?

I am quite newbie to Linux administration. My ss command started to terminate with Segmentation fault and I don't know how to investigate the reason and solve the problem. Details: While setting up ...
Michal's user avatar
  • 195
2 votes
0 answers
1k views

Apache2 Segmentation Fault after upgrading to PHP8.0 Ubuntu 20

I recently upgraded a production server from PHP 7.4 to PHP 8.0 (this is using the ondrej packages). As a reference, I'm using Ubuntu 20.04.3, apache2.4.46 and now PHP8.0. After about 18 hours, the ...
Alex's user avatar
  • 221
2 votes
2 answers
1k views

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

I have seen several questions regarding this, and must have tried nearly everything, but still, Apache won't create a core dump on the production server. This is the setup that actually works on my ...
Larsen's user avatar
  • 325
2 votes
1 answer
656 views

Varnish 4.1 segfault in Docker

I'm trying to use Varnish 4.1 with Docker (1.9.1). I've built a docker image in Alpine Linux 3.2 with its musl-libc to reduce the image size. Dockerfile: FROM alpine:3.2 ​ RUN echo 'http://dl-4....
chingis's user avatar
  • 243
2 votes
0 answers
591 views

Ganglia gmetad segfaults after running for a while (on AWS EC2)

We are using Ganglia to monitoring our cloud infrastructure on Amazon AWS. Everything is working correctly (metrics are flowing etc), except that occasionally the gmetad process will segfault out of ...
SamBarham's user avatar
  • 143
2 votes
0 answers
818 views

Internet Explorer SSL use causes segfault - Apache httpd SIGSEGV in apr_uri_parse

Recently I've had quite a large influx of the error below in the error_log. I've found out that it happens when someone browses my site using SSL https: and Internet Explorer, all other browsers are ...
Dan's user avatar
  • 113
2 votes
0 answers
169 views

Obtain backtrace from httpd?

In my /var/log/httpd/error_log in Fedora 19 I have several child segmentation faults recorded. How can I get a backtrace for these when they occur?
Robin Green's user avatar
2 votes
2 answers
1k views

Need help generating a core dump from apache segfault

I have a script which intermittently returns a white screen of death in firefox and Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error. chrome. When I try to access the script using a PHP HTTP client ...
blockhead's user avatar
  • 871
1 vote
2 answers
4k views

How do I troubleshoot a segfault in Ubuntu that occurs when typing a bogus command? [duplicate]

Possible Duplicate: My server's been hacked EMERGENCY We've got a production server running Ubuntu 11.10. We're encountering segfaults that appear under various conditions. The simplest ...
Alan's user avatar
  • 541
1 vote
1 answer
1k views

bind9 dlz/mysql at ubuntu segfault libmysqlclient.so

I have a big problem. I installed the bind9 nameserver to three different computer. two Ubuntu 10.04.4 LTS, and one Ubuntu 11.10 I compiled it 9.7.0, 9.7.3, 9.9.0 with this method: ./configure --...
Theos's user avatar
  • 51
1 vote
1 answer
8k views

Apache segmentation fault

Ubuntu 10.10, Apache 2.2.16: # service apache2 start * Starting web server apache2 ...
hiemye's user avatar
  • 779
1 vote
1 answer
156 views

Segmentation fault of Bacula on Apline Linux

I'm trying to run Bacula (backup app) on Apline Linux and get segmentation fault when connecting thru bconsole to bacula-dir. I was tried working configuration from another non-Alpine server, clean ...
Vladimir Martsul's user avatar
1 vote
1 answer
7k views

wget giving Segmentation fault

I recently did apt-get update followed by apt-get upgrade on my Debian VPS server. Suddenly (at least) wget stopped working with error Segmentation fault. It's not even trying to do something. So ...
MaRmAR's user avatar
  • 11
1 vote
1 answer
8k views

CentOS 5.7 Yum Segmentation fault (core dumped) error [duplicate]

My system Info: OS :CentOS release 5.7 (Final) Apache 2.2.3 Server Running DirectAdmin 1.40.1 Running Exim 4.76 Running MySQL 5.1.57 Running Named 9.3.6 Running ProFTPd 1.3....
user avatar
1 vote
4 answers
4k views

PHP crashing (seg-fault) under mod_fcgi, apache

I've been programming a site using: Zend Framework 1.11.5 (complete MVC) PHP 5.3.6 Apache 2.2.19 CentOS 5.6 i686 virtuozzo on vps cPanel WHM 11.30.1 (build 4) Mysql 5.1.56-log Mysqli API 5.1.56 The ...
András Gyömrey's user avatar
1 vote
1 answer
2k views

Apache HTTPD - Segmentation fault when loading mod_jk module

I just set up mod_jk with my Apache httpd 2.0.52 installation, but now when I try to start Apache, it has a segmentation fault. I've checked that I am using the mod_jk compiled for 2.0.x.. built ...
Jon Gauthier's user avatar
1 vote
1 answer
2k views

How to troubleshoot a PHP script that causes a Segmenation Fault?

I posted this on stackoverflow.com as well because I'm not sure if this is a programming problem or a server problem. I'm using ubuntu 9.10, apache2, mysql5 and php5. I've noticed an unusual ...
John's user avatar
  • 7,413
1 vote
1 answer
936 views

How to test Linux server for hardware errors?

I have a Debian 10 server that is randomly rebooting, though no error were written to journald. The server has rebooted 20 times in last 3 days. $ journalctl --list-boots -22 ...
Tombart's user avatar
  • 2,163
1 vote
1 answer
4k views

Segmentation fault diagnoses

I am trying to diagnose a segmentation fault issue that started to occur after upgrading to Ubuntu 14.04 (32 bit). I am running a TSM client 6.2.5-4 which worked fine up to the upgrade. I tried to ...
Philipp's user avatar
  • 106
1 vote
1 answer
2k views

Segmentation fault during apt-get install

$ apt-get install openssh-server fails with Segmentation fault when it attempts to generate keys. This leaves me with a half-complete installation, but the binaries are in place. I also notice that ...
andrel's user avatar
  • 121
1 vote
1 answer
5k views

child pid ... exit signal Segmentation fault (11)

This appears in Debian Lenny / Apache 2 logfiles: [notice] child pid ... exit signal Segmentation fault (11) Sometimes it appears once a month, sometimes once a week. Since yesterday this error ...
lars's user avatar
  • 85