A segmentation fault (often shortened to segfault) or bus error occurs when the hardware notifies a Unix-like Operating system about a memory access violation.

learn more… | top users | synonyms (1)

8
votes
1answer
776 views

Segmentation fault when trying to run glxgears via virtualGL

(Follow-up on How to efficiently use 3D via a remote connection?) I installed the amd64 package on the server and the i386 one on the client. Following the user's guide I run this on the client: ...
8
votes
3answers
482 views

How could running strace be fixing my OpenGL issue?

Since a recent major upgrade to my distribution (PLD Linux), I have been having trouble with a whole slew of programs. As best I can tell, anything that touches OpenGL or PulseAudio segfaults. I'm ...
7
votes
2answers
2k views

.dtors looks writable, but attempts to write segfault

This is Ubuntu 9.04, 2.6.28-11-server, 32bit x86 $ cat test.c main() { int *dt = (int *)0x08049f18; *dt = 1; } $ readelf -S ./test ... [18] .dtors PROGBITS 08049f14 000f14 000008 ...
6
votes
2answers
530 views

Piping output from a segfaulting program

I have a script that calls a program (specifically, ttf2afm, part of tetex 3.0) that sometimes segfaults and sometimes doesn't. The information I need is always printed out before it segfaults, but ...
5
votes
1answer
243 views

Unkillable apache2 processes

After upgrading from debian lenny to squeeze (apache2 2.2.16-6+squeeze4 and php 5.3.10-1~dotdeb.1), my apache processes started to exit with segmentation fault. It happens every 5-30 minutes (for 1 ...
4
votes
3answers
349 views

Are there “esoteric” (weird) but standards-compliant C compilers or runtimes?

As we know, the C standard does not specify a lot of details of the implementation, for example value of NULL pointer, order of bits and bytes (endiannes), alignment in structs and of stack ...
3
votes
2answers
263 views

Is there a way to find out which program is segfault-ing?

I have a Busybox/Linux system where a mystery program is segfaulting rarely. Is there a way to find which program is doing this?
3
votes
2answers
3k views

How can I trap a program that returns 139 (segmentation fault) in bash?

I have a bash script that tests some programs and one of the program returns Segmentation fault so I tried to add a trap in the head of my script: trap "echo 'segfault occured!'" SIGSEGV That ...
3
votes
1answer
420 views

Does segfaults mean bad memory

This is a brand new server with a new install and fresh compile of Apache/PHP with nothing crazy. Just a WordPress site hosted and I get the following. Could this just mean bad RAM? If so how can I ...
3
votes
1answer
541 views

sigaction(7): semantics of siginfo_t's si_code member

I've got a long-running program (becomes a daemon with daemon(3) call) that exits on Signal 11 (Segmentation Violation) every so often. I can't tell why. So, I wrote a SIGSEGV handler, set using the ...
3
votes
1answer
1k views

Kernel segmentation fault (core dumped), how to diagnose? [closed]

I have a fedora 13 x64 box I use at home for a storage server. I use sshfs to mount my music from home and listen at work, I run my irssi client in screen on it for freenode communication and lately ...
2
votes
1answer
179 views

new distros cause segmentation fault of old binary

I have an elderly (~1999) and unfortunately commercial graphic program that runs perfectly OK on systems with gcc up to 3.4.6 (CentOS 4.8). However, in all distributions based on gcc 4.* that I've ...
2
votes
0answers
132 views

Startx Segmentation fault error after installing VirtualGuest Additions for Virtualbox

I have been using my backtrack version 5 on the Virtualbox for some time now but I had a resolution problem and after searching found out I better install VirtualGuest additions. However after ...
1
vote
2answers
288 views

Why is badblocks segfaulting?

I am trying to check a mounted partition to see if the drive has errors: [root@virtuality ~]# /sbin/badblocks -v /dev/sdb1 Segmentation fault Uh oh. What does this mean? Why is badblocks ...
1
vote
2answers
263 views

Should I be worried? Segfaults reported in syslog when merging LVM snapshot (reverting the original back to the snapshot)

I was just experimenting with snapshots in LVM on Ubuntu 12.10. I created a snapshot logical volume of 6.5 GiB, and after making some changes to the origin decided to merge the snapshot back in to ...
1
vote
1answer
83 views

Segmentation fault (core dumped) when try to run iptables rhel6

Im currently trying to set up a mySQL replication and i dont have a /etc/sysconfig/iptables. So I tried to install it with yum install. It showed the following output. Installed Packages Name ...
1
vote
1answer
170 views

sox segmentation fault

My attempt to record sound with sox on Raspberry PI fails: pi@raspberrypi ~/tmp $ rec new.wav Segmentation fault And so does play: pi@raspberrypi ~/tmp $ play test.wav Segmentation fault Yet it ...
1
vote
1answer
827 views

Segfault on a debian server

We moved our retail software to new hardware (we passed from an IBM x3200 with SATA 7200rpm disks to an IBM x3200 with SAS 15000rpm disks) but after a few days with no problem at all we keep getting ...
1
vote
0answers
89 views

chroot segfault

I've been trying to create a LXC container (lxc create) but at the end I get these messages: W: Failure trying to run: chroot /var/cache/lxc/debian/wheezy_armhf.partial mount -t proc proc /proc W: ...
1
vote
0answers
53 views

Segmentation fault with dialog

I'm getting a segmentation fault with the following script when it's more that one child dir past the pwd. The program kills with the error message and I have to reset the shell. For example: I start ...
1
vote
0answers
52 views

Debian segfault in libc2.7

I am running a test on my machine in which I assigned a lot of IPs to some tap interfaces (created by me before the test) on my debian machine and tried to run curl commands with the source being ...
1
vote
0answers
214 views

ld-2.14 segfaulting on KDE launch in ArchLinux

I just installed ArchLinux and then KDE. It was all working fine. After a reboot, KDE simply refuses to starts. Whenever I login using KDM, it shows the KDE splash screen.. and before the second icon ...
0
votes
1answer
61 views

Imagemagick segmentation-fault

I statically compiled Imagemagick. Converting images works well so far. But when I run identify -list delegate it shows my delegates, but then exits with "Aborted (core dumped)". Here is the strace ...
0
votes
2answers
76 views

ARM LXC Container template

I've been trying to run LXC on an ARM architecture (arm6l - Raspberry Pi) but with no luck. After some research, I found that maybe trying to run a x86 template on my ARM was causing the problem (bash ...
0
votes
1answer
178 views

PHP appears to be encountering segfault when using finfo_file method

I have encountered a strange bug. When trying to determine mime type of file using Fileinfo (http://www.php.net/manual/en/function.finfo-file.php) extension, PHP (or Apache? see below.) is appearing ...
0
votes
1answer
361 views

Segmentation fault in libGL.so.1

A while back I posted a question about running a 32 bit app in Debian Wheezy 64 bit Thanks to @JosephR I was able to run it without the nasty could not find libGL.so.1 error. Now, however, the app ...
0
votes
0answers
484 views

Steam Launch Segfault on Arch (steam.sh line 704)

Launching Steam on Arch Linux crashes with the error: /home/matthew/.local/share/Steam/steam.sh: line 704: 4013 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$/PLATFORM$/STEAMEXE" ...
0
votes
0answers
344 views

Segmentation fault while doing `sudo su -`

I am getting a segmentation fault error while doing sudo su - or sudo su - username in Linux Server (RHEL 4.7). Can any one help me resolve this issue? Linux server (RHEL 4.7) is a LDAP client.