All Questions
Tagged with segmentation-fault linux
34 questions
1
vote
2
answers
53
views
Failed to core dump with send_sig(task, SIGSEGV, 1) from Linux kernel
I am working in an embedded Linux system, and now I want to trigger a core dump from within kernel by using send_sig(task, SIGSEGV, 1).
There is a process A having 10 threads, occasionally, there is a ...
1
vote
0
answers
148
views
How to dump user space stacks in Linux kernel on memory fault?
I am working on an embedded Linux system (kernel-5.10.24), the CPU is 32bit MIPs.
The applications run in the system may trigger invalid memory access, which will be shot by a SIGSEGV from kernel, and ...
1
vote
0
answers
878
views
ydotool: first, backend unavailable, then crash on connection
I'm using the Linux Mint Debian Edition 5 Linux distro.
I'm usually satisfied of xdotool I use since years on linux
but since few weeks by using it with a browser (chromium, firefox), for long times ...
4
votes
1
answer
165
views
Debug segfault race condition
I can provoke a race condition that gives output similar to this in dmesg:
[ 5432.541379] perl[408327]: segfault at 22 ip 0000564eb8af9cc2 sp 00007ffec318cea0 error 6 in perl[564eb8af7000+1a1000]
[ ...
1
vote
0
answers
338
views
Hint to investigate some SEGFAULT no longer happening when strace-ing
I get an application (webcamoid in its 8.8 version) that used to be working troublefree and which now segfaults systematically at startup (kde-plasma/X11 do not even get the opportunity to open some ...
2
votes
2
answers
10k
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 () {
...
1
vote
1
answer
786
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 ...
0
votes
0
answers
1k
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 ...
0
votes
1
answer
200
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 ...
0
votes
0
answers
193
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 ...
2
votes
0
answers
1k
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 ...
0
votes
1
answer
83
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
0
answers
2k
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 ...
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-...
2
votes
2
answers
3k
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 ...