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
0 answers
27 views

Segmentation fault doing operations with one file

I'm having some strange problem in my cPanel centos 7.9 linux system. For some reason each time I'm trying to do some operation with one .php file inside one cpanel account I'm getting "...
user avatar
  • 15
4 votes
2 answers
588 views

Bash script segmentation fault

My assignment is to write a bash script that reads a directory and returns the file type of each file within, including all subdirectories. Using the find command is not allowed. I've tried to ...
user avatar
0 votes
1 answer
89 views

SIGSEGV address boundary error shortly after waking from sleep

After resuming from a hybrid-sleep, I can log in (swaylock) and initially it seems ok - pwd, journalctl -xe run as expected in the shell still open from when I put it to sleep. After a short while ...
user avatar
  • 1,608
1 vote
2 answers
513 views

Core dump not written on segmentation fault

I'm now reading The Shellcoder's Handbook: Discovering and Exploiting Security Holes, 2nd Edition. In the second chapter considered the simple buffer overflow problem like this (C code): int main () { ...
user avatar
  • 13
0 votes
1 answer
25 views

Tang fails with SEGV

I have a tang server (clevis/tang) in a linux container (LXD). The tangd server is started on receiving a connection throught TCP port 80, according to the tangd.socket configuration: root@tang2:~# ...
user avatar
0 votes
1 answer
163 views

Why can't user process READ memory in kernel address space?

It seems fairly obvious why user processes can't write or modify data on kernel address space. But I can't get my head around why they can't even read the data. I know that a segmentation trap would ...
user avatar
0 votes
0 answers
72 views

Segmentation fault in vim and vifm

What does this error mean? Vim: Caught deadly signal SEGV Vim: Finished. Segmentation fault (core dumped) Vim: Caught deadly signal SEGV Vim: Finished. I get it randomly when I close vifm or vim in ...
user avatar
  • 1
1 vote
2 answers
197 views

Capture stdout of a crashing program and shell's "segfault error" message

I have a compiled program main.bin that is supposed to print: hello world another line This program generates a segmentation fault right after printing the first line. If I run it in the shell (zsh), ...
user avatar
0 votes
1 answer
142 views

Segfault when non-sudo

For some weird reason, several programs have started to segfault when I try to run them without escalated privileges. Among these are gnome-abrt and variety which used to run fine without sudo up ...
user avatar
  • 998
0 votes
0 answers
168 views

Dmesg shows segfaults on almost all system applications

Our team has a server equipped with couple of GPUs. We've installed Ubuntu 20.04 on it to run couple of experiments. However, we've experienced random segfaults without running any custom programs of ...
user avatar
0 votes
1 answer
137 views

MS teams makes the whole GUI stall: GpuWatchdog segfault

Since I use microsoft teams on my Debian buster machine, I get a GUI freeze sometimes: The mouse pointer can still be moved on the screen, but no visible feedback on clicks or keyboard presses. Also ...
user avatar
  • 11.6k
0 votes
1 answer
65 views

rpc.mountd is segfaulting immediately on launch

After completing a routine apt upgrade on my server and laptop and rebooting everything, I found that $ mount nfs-server:/mnt /mountpoint was just hanging forever. There didn't seem to be any logical ...
user avatar
  • 909
0 votes
1 answer
124 views

dotnet Segmentation Fault on Ubuntu: i have only 174 MB free RAM

When i run dotnet or dotnet --list-sdks or dotnet --list-runtimes it works, but if i run a project or even dotnet --help or dotnet --info , i get Segmentation fault In /var/log/syslog i see: [ 3110....
user avatar
3 votes
0 answers
104 views

After upgrade, "everything" starts to segfault

I just upgraded my Ubuntu 20.04. After the upgrade I suddenly started to see a massive amounts of segfaults like this: [ 87.157912] perl[5442]: segfault at 0 ip 0000556a510d9f05 sp 00007fff768ae410 ...
user avatar
  • 29.8k
0 votes
1 answer
435 views

How can my PCI device driver remap PCI memory to userspace?

I am trying to implement a PCI device driver for a virtual PCI device on QEMU. The device defines a BAR region as RAM, and the driver can do ioremap() this region and access it without any issues. The ...
user avatar
0 votes
0 answers
64 views

Can you set up segfault logging in Centos7?

I have a problem that one of my PHP CLI scripts mysteriously stops running after several hours of uptime. There's no trace in any logfiles, nothing. It seems to just suddenly terminate for no obvious ...
user avatar
  • 331
1 vote
1 answer
310 views

divide error: 0000 [#1] PREEMPT SMP NOPTI

In the past 3 days, my desktop system keeps crashing multiple times per day. It completely freezes and is unresponsive, but all of the apps still run (I can hear music/video playing correctly). I can ...
user avatar
0 votes
0 answers
159 views

Ubuntu Chromium-browser segmentation fault

I'm using Ubuntu 18.04 in Userland android application, on Android 10 and have installed chromium-browser through command line sudo apt install chromium-browser. But when starting it through chromium-...
user avatar
2 votes
1 answer
296 views

running redshift on dedian returns a “Segmentation fault” [closed]

$ /usr/bin/redshift -l 52.3:16.3 -t 6700:3500 Segmentation fault DISTRIB_CODENAME=rodete DISTRIB_DESCRIPTION="Debian GNU/Linux rodete" DISTRIB_ID=Debian DISTRIB_RELEASE=rodete I restart my ...
user avatar
1 vote
1 answer
198 views

matplotlib crashes on Manjaro Linux

I have the latest version of Manjaro Gnome installed, kernel 5.9.8, and python 3.8.6 and matplotlib 3.3.3. Matplotlib works fine normally, for example, when images are displayed using pylab, I can ...
user avatar
  • 121
3 votes
1 answer
333 views

Unlimited stack size with pthreads

My default stack size (according to ulimit -s) is 8192 kB, so naturally the code below segfaults when I try to run it. Also, naturally, it works fine if I do a 'ulimit -s 9000'. However, when I do a '...
user avatar
0 votes
1 answer
248 views

dd command caused segmentation fault and now stuck in shell

I am pretty new to Linux and have run into some problems. Goal: I have two machines running Debian 9 Stretch and I want to clone one of the machines onto the other. First thing I did was connected an ...
user avatar
  • 1
0 votes
1 answer
148 views

Why does Chromium segfault when uploading images?

When selecting an image for upload, I am able to see the preview in the browser. Once the actual upload process begins, Chromium segfaults. Seems like it's some sort of odd permission issue? The file ...
user avatar
0 votes
1 answer
56 views

readline's rl_parse_and_bind causes crash

I am using Ubuntu 18.04.5. This very simple program segfaults on the invocation of rl_parse_and_bind. Can anyone help me? // Build with cc read.c -o read -lreadline #include <readline/readline.h&...
user avatar
1 vote
0 answers
217 views

Segmentation fault when trying to launch snap package

Until today I've been able to launch the snap package 'yubioath-desktop' as normal with /snap/bin/yubioath-desktop. Now the screen flashes something instantaneously before disappearing. System info $ ...
user avatar
  • 323
2 votes
2 answers
3k views

dotnet --help -> Segmentation fault (core dumped)

Most dotnet commands I run on my Ubuntu 20.04 system gives me the error:Segmentation fault (core dumped) I tried rerunning the dotnet installation scripts and I tried modifying the stack size with ...
user avatar
0 votes
1 answer
1k views

"Segmentation fault (core dumped)" is given back when launching most apps on archlinux after upgrade

Noob here ! I have archlabs which runs on archlinux. After normal upgrade, most apps do not run (texmaker, qt5ct ...), when running them from terminal they give the error : "Segmentation fault (...
user avatar
  • 1
0 votes
1 answer
124 views

Segfault with Debian Stretch

Segfault but why? It only happens with debian:stretch+mysql.connector+tox and Python3.x. Reproducible from just a few lines: FROM debian:stretch RUN apt update -y && apt install -y make build-...
user avatar
14 votes
3 answers
5k views

Is a "segmentation fault" a system error or program bug?

I am currently running a statistical modelling script that performs a phylogenetic ANOVA. The script runs fine when I analyse the full dataset. But when I take a subset it starts analysing but quickly ...
user avatar
  • 355
0 votes
1 answer
825 views

Can't update libc6: subprocess old post-removal script was killed by signal (Segmentation Fault)

Something failed in an upgrade from Raspbian 7 to Raspbian 8. I have found threads with similar title to this one, and have tried many things, but I always get the same error. Node is at a remote ...
user avatar
  • 1
0 votes
2 answers
287 views

tmux segfaults on send-key after upgrading to 2.9a

I just upgraded an Ubuntu Server from 18.10 to 19.04 and then to 19.10. I think that this upgrade also upgraded tmux to a newer version. Since then my tmux scripts, which build some dashboards, are ...
user avatar
  • 571
0 votes
0 answers
582 views

Valgrind Segmentation Fault

I've never used Valgrind before and want to use it to check for memory leak in a program written in C. I'm using a BeagleBone AI which run Linux Debian. debian@beaglebone:~$ cat /proc/version Linux ...
user avatar
0 votes
1 answer
227 views

Why am I suddenly getting a segmentation fault for LMMS?

Just like the title, with LMMS both from the OS repo and built from Github. I've gotten no error reports during compilation, with full repos for Carla and VSTs. Still, the terminal reports: michael@...
user avatar
4 votes
1 answer
4k views

Segfault in Google Chrome - is it Nvidia card related? How do I find out?

System Linux Mint 19.3 Cinnamon 64-bit, based on Ubuntu 18.04 LTS. Related Hardware GPU: NVIDIA, GeForce GTX 1060, Max-Q Design, 6 GB VRAM CPU: Intel Core i7-7700HQ Could anyone tell me if the ...
user avatar
1 vote
2 answers
2k views

How to configure X11 for embedded i.MX6 board with touchscreen?

I plan to run an Electron app on my UDOO Neo i.MX6 board with the official st1232 7'' touchscreen kit for UDOO Neo. I created a custom Linux distro with Poky (thud branch) to be able to build a "ready ...
user avatar
  • 291
2 votes
0 answers
249 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 ...
user avatar
  • 436
3 votes
2 answers
5k 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 ...
user avatar
  • 143
0 votes
1 answer
57 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. ...
user avatar
0 votes
0 answers
138 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 ...
user avatar
0 votes
0 answers
1k 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 ...
user avatar
0 votes
1 answer
2k 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-...
user avatar
  • 101
2 votes
2 answers
2k 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 ...
user avatar
  • 31
1 vote
1 answer
405 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 ...
user avatar
2 votes
1 answer
636 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 ...
user avatar
1 vote
0 answers
1k 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. ...
user avatar
6 votes
2 answers
890 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/...
user avatar
  • 3,372
-1 votes
1 answer
2k 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 ...
user avatar
  • 90.6k
0 votes
1 answer
296 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 ...
user avatar
0 votes
1 answer
385 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 ...
user avatar
  • 120
1 vote
1 answer
4k 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....
user avatar