Skip to main content

All Questions

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 ...
wangt13's user avatar
  • 591
0 votes
1 answer
1k views

What does the "segfault at X" kernel log message mean if X is very large?

I've got a device with bad RAM. Running memtest overnight shows all faulting addresses to be in the 0x7d0000000 - 0x7f0000000 range. I plan to replace the RAM, but until then, I've disabled a 2GB ...
thariqfahry's user avatar
1 vote
2 answers
3k views

Random application crashes in Linux

Sometimes after booting my computer, some applications fail to start: they crash. They're usually the largest ones, such as firefox, thunderbird or virtualbox. Rebooting or cleaning the cache usually ...
user683887's user avatar
79 votes
2 answers
57k 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 ...
NeutronStar's user avatar
  • 1,721
6 votes
1 answer
7k views

Does segfaults mean bad memory

This is a brand new server with a new install and fresh compile of Apache/PHP with nothing crazy. Just a WordPress site hosted and I get the following. Could this just mean bad RAM? If so how can I ...
Jason's user avatar
  • 1,754
9 votes
2 answers
4k views

.dtors looks writable, but attempts to write segfault

This is Ubuntu 9.04, 2.6.28-11-server, 32bit x86 $ cat test.c main() { int *dt = (int *)0x08049f18; *dt = 1; } $ readelf -S ./test ... [18] .dtors PROGBITS 08049f14 000f14 000008 ...
Fixee's user avatar
  • 1,941