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
1
vote
0answers
9 views

Create core dump only when a systemd service dies with a specific signal (segmentation fault)

I have some services running in systemd on Ubuntu 18.04 which very occasionally crash with a segfault (11/SIGSEGV). Is it possible to configure it to create a core dump only for SIGSEGV and not when ...
0
votes
0answers
17 views

get errors after installing the netdata tool

after installing the netdata tool ( https://docs.netdata.cloud/packaging/installer/) we notice about the following errors that related to netdata tool [79103.083011] netdata[8026]: segfault at 2f ip ...
1
vote
2answers
51 views

Is there any danger in using kill -11 instead of kill -9?

I've realised recently that the kill utility can send any signal I want, so when I need to SIGKILL a process (when it's hanging or something), I send a SIGSEGV instead for a bit of a laugh (kill -11 ...
0
votes
1answer
21 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
11 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
41 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
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
143 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
287 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 ...
0
votes
1answer
61 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 ...
2
votes
1answer
115 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
44 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. ...
3
votes
2answers
177 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
195 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
109 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
92 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
838 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
54 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
79 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
118 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
317 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
307 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
109 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
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 ...
0
votes
1answer
346 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
251 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
463 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
204 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
536 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
322 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
45 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
60 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
120 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
59 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
249 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
256 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
350 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
562 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
710 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
466 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
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 ...
4
votes
0answers
383 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
374 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)...
2
votes
1answer
374 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
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
vote
1answer
338 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 ...