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.

Filter by
Sorted by
Tagged with
0
votes
1answer
20 views

An IO write operation can outlive a process?

To the best of my knowledge, when a process writes to a file it starts a system call. Among the required information, it expects a pointer to a buffer in the user space, filled with the data to write. ...
0
votes
0answers
9 views

Why check_icmp plugin from centreon isn't working?

I am trying to create a custom command in centreon like $USER1$/check_icmp -H $HOSTADDRESS$ however before that I just want to test this plugin (that comes with centreon) in my console. For that I ...
0
votes
0answers
25 views

Linux Crontab Segmentation Fault

For some reason, my crontab is giving me segmentation fault (core dumped) error when ever I attempt to access it using crontab -l or crontab -e. Everything is fine if I access the root crontab or ...
1
vote
2answers
1k 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 ...
1
vote
0answers
22 views

How to analyze results after software-based fault injection campaign? [closed]

I am working on a software-based fault injection technique based on gdb to inject faults (bit flip) into a running program (c code). I have developed a tool to perform fault injecting at run-time. ...
0
votes
1answer
54 views

NS2 Linux Ubuntu 18.04 xgraph Segmentation Fault

I am currently trying to run NS2 on Ubuntu 18.04. Using the ns-allinone-2.35 package recommended by the main website (isi.edu), I am having a segmentation fault error when trying to run xgraph12.2. NS-...
2
votes
2answers
237 views

What happens whenever there is a segfault in linux

What are the steps that the Linux kernel does whenever the hardware raises segfault. Right now I know that through the IDT, the fault handler handles it, and somewhere along the road there is a ...
2
votes
2answers
141 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/...
0
votes
1answer
56 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
1answer
94 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 ...
0
votes
1answer
2k views

Segmentation Fault when trying to mount ext(2,3,4) fs, from usb (openwrt)

So I have a TL-MR3220v2 router, which has Openwrt installed, this device only has a 4mb flash so I'm trying to get extroot setup on a USB, to increase disk space. My first attempt I tried using a ...
2
votes
1answer
97 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
39 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
916 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
1answer
58 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 ...
4
votes
2answers
3k 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
votes
1answer
141 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
82 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 ...
0
votes
1answer
92 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 ...
1
vote
1answer
758 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
52 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
77 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
107 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
286 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
270 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'....
2
votes
0answers
75 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 ...
13
votes
4answers
39k 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 ...
0
votes
1answer
330 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
250 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
436 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
198 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/...
2
votes
1answer
486 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
1k 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 ...
1
vote
0answers
306 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
44 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
2k 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
57 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
116 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 (...
2
votes
1answer
234 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
244 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
343 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
547 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
685 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
447 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 ...
64
votes
2answers
31k views

Will Linux start killing my processes without asking me if memory gets short?

I was running a shell script with commands to run several memory-intensive programs (2-5 GB) back-to-back. When I went back to check on the progress of my script I was surprised to discover that some ...
4
votes
0answers
376 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
2answers
8k 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 ...
6
votes
3answers
626 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 parameters,...
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)...