Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [segmentation-fault]

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.

0
votes
1answer
30 views

Segmentation fault with echoping

I'm testing smokeping's DNS probes with the echoping program as per the documentation, but for me this is causing a segmentation fault when the command is executed by smokeping. I grabbed the command ...
0
votes
0answers
23 views

Creating Graphics Pipeline in Vulkan API Causes Segmentation Fault

I'm following a tutorial in vulkan programming by Alexander Overvoorde, and came across a segmentation error. I have already ran GDB to find the error and this is what I got: (gdb) bt #0 ...
1
vote
1answer
58 views

How Linux finds out about illegal memory access error?

I have a question about how Linux traps memory access errors. As far as I know, a user space program doesn't need to ask operating system every time it wants to access memory, now when the process ...
1
vote
0answers
27 views

Core File not being generated

I have recently been getting into linux through the Ubuntu Windows app. I need to look at the core file generated by a program that seg faults for a ctf, however no core file is being generated. ...
1
vote
1answer
47 views

Trying to run Kile gives a segmentation fault on Linux Mint 19

With the latest version of Kile installed, trying to run it crashes with a segmentation fault: $ kile qt5ct: using qt5ct plugin Invalid Context= "Apps" line for icon theme: "/usr/share/icons/Mint-Y/...
-1
votes
1answer
73 views

How is `SIGSEGV` an example of “signals related to the current state of the process be delivered before other signals”? [closed]

APUE says What happens if more than one signal is ready to be delivered to a process? POSIX.1 does not specify the order in which the signals are delivered to the ...
0
votes
1answer
57 views

lalsuite pycbc won't install - Ubuntu

I'm working through these instructions https://pycbc.org/pycbc/latest/html/install_lalsuite.html for installing pycbc which I need for my research, and I have some issues. Just under half way down ...
0
votes
1answer
51 views

tracking segfault upon invocation of perl script (mytop tool and similar)

on my gentoo machine, mytop 1.9.1 quits upon invocation with the following output: # mytop Useless use of private variable in void context at /usr/bin/mytop line 1001. "my" variable $data masks ...
1
vote
1answer
511 views

restart systemd after it crash

How to restart systemd after it crash? systemd currently crash during VirtualBox installation. Problem is already tracked by this issue#10716. I'm using Ubuntu 18.10. sudo dpkg -i virtualbox-5.2_5.2....
0
votes
2answers
47 views

Construct a while loop around a command throwing a segmentation fault

I have a program that throws a segmentation fault on certain circumstances. I want to execute a command when the segmentation fault occurs to process the data, then execute the command again, and ...
0
votes
0answers
68 views

Is this segment fault raised when running `shuf`?

I have a script, where there is a line: eval for i in \{"$1".."$2"\}\; do [ ! -e "$3"/\$i.\* ] \&\& echo \"\$i\" \; done \| shuf \| mycommand "$3" which means: first create a sequence of ...
-1
votes
1answer
84 views

sct (setcolortemperature) segfaults with cron

Debian stretch user here. I wanted a screen flash every ten minutes. After trying a couple of alternatives (includeing xrefresh) I decided to use sct. It works in shell but does not work with cron. ...
2
votes
0answers
223 views

socat parent process killed by failed connection

Short Question Failed connection attemps to a forking socat process seem to be killing the parent process. Is this a bug? What's the best solution to this? Long Question I'm running a socat server (...
1
vote
1answer
191 views

How to redirect Core dump and stack smash messages

I can redirect stdout and stderr of a program using ./a.out > output.txt 2> error.txt But these don't redirect messages like segmentation faults. So I found { ./a.out < $TEST_DIR'test'$i'....
0
votes
1answer
48 views

PCLinuxOS - Failed to start the X server

I am trying to install PCLinuxOS on a msi laptop with Nvidia Geforce GT650M I have tried install direct from USB and from Live CD. In all cases after reboot I get the error message Failed to start ...
2
votes
0answers
72 views

Segmentation failed when making on linux destribution [closed]

I'm building my own Operating system with Linux. I use the kernel and some compoments from GNU. I compiled the kernel and installed bash with readline and busybox. After it works fine. I wanted to ...
0
votes
1answer
287 views

Cannot launch Chrome on Ubuntu-14

I am trying to install google chrome (latest stable), onto my Ubuntu (Ubuntu 14.04.5 LTS), and whichever which way I try to install it, it does not launch. What I did here was follow the first ...
1
vote
1answer
239 views

Debian/Ubuntu now shows nothing available to autoremove, after a segfault

So as not to obscure the problem with output, I was trying prompted to run autoremove I ran it. It segfaulted. After which, nothing shows to be autoremove-able. Things are still present which were on ...
0
votes
0answers
185 views

CentOS: SSH client and server both SegFault

I've recently updated my FreePBX VoIP box, and now both SSH and SSHD exit, giving me "segmentation fault". SSH Client (ssh -v root@10.0.0.38) exits after the password prompt: Login: root Password: **...
0
votes
0answers
385 views

Parole - Segmentation fault (core dumped)

The problem is simple: Everytime i try to start parole media player, I get the Segmentation fault (core dumped) error. I have tried the following, resulting in a staying error: Reinstalling Booting ...
0
votes
0answers
177 views

What are the kernel sources related to segmentation faults?

I am wondering if there is a relevant part in the kernel source when a segmentation fault occurs in an application. For example, killing the application with the kill command will run the kernel/...
3
votes
1answer
341 views

Mysql segfaulting when used from the shell

I have a Raspberry Pi server with Raspbian OS: Kernel: Linux 4.9.35+ #1014 Fri Jun 30 14:34:49 BST 2017 armv6l GNU/Linux Description: Raspbian GNU/Linux 8.0 (jessie) Release: 8.0 Codename: ...
2
votes
1answer
956 views

Toggling visibility of segmentation fault messsages in dmesg

When applications segfault, I generally see messages like this in dmesg: pstree[25678]: segfault at 0 ip 00007f58be0b3ae4 sp 00007ffe65b700a0 error 4 in libc-2.24.so[7f58be04d000+195000] However, I ...
2
votes
0answers
237 views

segmentation fault with glxgears [solved] [closed]

I get segmentation fault when I try glxgear love compton (my compositor)... This is the output when I do $ gdb glxgears. Here is the backtrace. Thread 1 "glxgears" received signal SIGSEGV, ...
1
vote
1answer
42 views

NetworkManager 1.10.2 segfaults when shorewall starts

I am trying to debug an issue that happens all the time. NetworkManager is running and upon connecting to a network, I am using a dispatcher script to setup my firewall rules (shorewall, and it is ...
4
votes
2answers
1k views

How to find why a bash exits with signal 11, Segmentation fault

In my production server running Red Hat Linux (V6) I got frequently core dumps from bash. This occurs from a couple of time a day to dozens of time a day. TLTR Resolution: install the bash-...
1
vote
0answers
48 views

I am trying to pass some strings trough espeak and it reads them [closed]

This is my code. I want to get 5 strings from the user and espeak reads each of them when user interred it. But I get segmentation fault(core dumped) message. #include <string.h> #include <...
0
votes
0answers
111 views

Fontconfig error causes SEGFAULT in skype

One day running old 4.3 skype in openSUSE Tumbleweed accidentally got error: > skype Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 13: mismatched tag Segmentation fault (...
0
votes
1answer
46 views

GlimmerHMM giving “segmentation fault” error during gene prediction

I am trying to do gene prediction using GlimmerHMM. Training model was successfully completed but during prediction its giving "segmentation fault". command : glimmerhmm_linux_x86_64 input.fasta -d ...
2
votes
1answer
211 views

Most programs suddenly segfault

I'm having a strange occurrence on my Raspbian Raspberry Pi, as most programs are now segfaulting before they even start: user@raspberrypi:~ $ sudo -s Segmentation fault user@raspberrypi:~ $ ssh -vvv ...
0
votes
1answer
214 views

NetworkManager - segfault

I'm wondering what is causing a segfault within NetworkManager - I see this in dmesg: NetworkManager[9338]: segfault at 8 ip 0000000000479ef7 sp 00007ffc2607cc10 error 4 in NetworkManager[400000+...
0
votes
1answer
316 views

mydumper segmentation fault in g_ascii_strtoull

I'm trying to use mydumper to generate a dump of my mysql databases, that I could use to restore the databases later in case of disaster. However, it just doesn't work. I use this command line: ...
0
votes
0answers
1k views

Segmentation fault (core dumped) How to troubleshoot proprietary executable?

I'm working with some proprietary software. It runs OK on RHEL 7, but on Fedora 26 it segfaults. [nnieto@doge PropietarySoftware] $ bin/command sysname warning: fedora only partially supported. ...
0
votes
0answers
507 views

BAREOS 16.2.4 interrupted by signal 11: Segmentation violation in Debian 8?

I have a BareOS director I'm trying to start on Debian 8, and when it starts up I get the following error: -- Logs begin at Wed 2017-06-28 16:36:57 UTC, end at Wed 2017-06-28 16:50:26 UTC. -- Jun 28 ...
2
votes
1answer
650 views

Python Interactive mode on Arch Linux “Segmentation fault (core dumped)”

Using Arch Linux everytime I try to use Python interactive mode no matter what I type I get Segmentation fault (core dumped) and the Python interpreter exits. I do not have any problem running Python ...
1
vote
0answers
404 views

Segmentation Fault in System Directory `/tmp`

When compiling FFmpeg, the configuring failed because of a segmentation fault in exec checking. I posted my problem here, and I solved my problem by exporting a new TMPDIR. What's weird is the ...
4
votes
2answers
7k views

Almost no commands working - relocation error: symbol __getrlimit, version GLIBC_PRIVATE not defined in libc.so.6

I am connected with SSH to a machine on which I don't have root access. To install something I uploaded libraries from my machine and put them in the ~/lib directory of the remote host. Now, for ...
4
votes
0answers
365 views

lshw segfaults on Linux >= 4.8 due to hardened usercopy on many computers

We use a custom built opsi.org bootimage to automatically install Windows on customers' client computers. The userland of this bootimage is based on an upstream bootimage, with some modifications from ...
4
votes
0answers
354 views

GNOME shell periodically crashing

I'm on a laptop running Arch Linux. As of a series of updates applied this morning, I've had some issues with GNOME crashing, and being reloaded, forcing me to log in again -- and while my tmux ...
2
votes
2answers
2k views

Google Chrome segmentation fault within a minute

Today I installed Google Chrome 55 (i.e. the latest stable version) on 64-bit SL7.0 using a 64-bit RPM. The problem is that google chrome starts fine (except for an SELinux-related issue which I fixed)...
3
votes
1answer
357 views

Segfault trying to access Users in Settings

I am having a problematic issue that I can't seem to figure out. I am able to open the settings as root user just fine. When I click on Users, nothing happens. I am running on Linux kali 4.7.0-kali1-...
4
votes
2answers
2k views

How to view Core file (general)

Scenario (Ubuntu 16.04): I compile and run a C program (with -g, I get the traditional Segmentation Fault (core dumped), and then (of course) there is no mythical "core" file to be found. Some ...
1
vote
1answer
294 views

VirtualBox crashes due to ALSA (“Invalid value for card”)

For some reason whenever I try to load VirtualBox using VBoxHeadless inside a remote SSH shell session, it crashes with the following error: $ VBoxHeadless -s myvm Oracle VM VirtualBox Headless ...
1
vote
0answers
308 views

fortran program crashes instantly with segmentation fault

I have a fortran program which I compiled myself and I ran the executable hundreds of times (without recompiling or anything), but now when I run it, it crashes instantly with segmentation fault. ...
-1
votes
2answers
786 views

What is maximum size of any memory segment goes in real life coding?

I'm reading about the x86, In that they have mentioned segment size can go upto 4GB (in 32-bit) architecture. Does anybody knows or experienced the segment size going beyond limit? Or upto what ...
2
votes
0answers
336 views

I have trouble analysing the cause of this (firefox) segfault

When executed within a minimal (unprivileged) LXC container, firefox segfaults (other graphical applications work fine). I'am unable to find the exact cause of this segfault (which is most likely due ...
11
votes
4answers
36k views

Segmentation fault (core dumped) - to where? what is it? and why?

When a segmentation fault occurs in Linux, the error message Segmentation fault (core dumped) will be printed to the terminal (if any), and the program will be terminated. As a C/C++ dev, this happens ...
2
votes
0answers
875 views

Segmentation fault with VLC 2.2.1 on Debian

I know there are plenty of questions like this across the Internet but no fix for this seems to work for me. I'm having an issue where VLC segfaults on startup (NOT when opening a file). No other ...
1
vote
0answers
499 views

ssh cannot open remote window, Segmentation fault (core dumped)

Actually, the remote window can be opened, but only for a short time. I mean it is OK to open the remote window when ssh connected, but the remote window cannot be opened later, for example after 30 ...
264
votes
4answers
30k views

How does a Segmentation Fault work under-the-hood?

I can't seem to find any information on this aside from "the CPU's MMU sends a signal" and "the kernel directs it to the offending program, terminating it". I assumed that it probably sends the ...