Questions tagged [crash]

The tag has no usage guidance.

63
votes
1answer
5k views

Crash during startup on a recent corporate computer

After some recent updates, my computer no longer boots! Here's what I could determine: This is a very recent computer that was provided to me by corporate IT. It has a recent Intel CPU (Skylake ...
27
votes
3answers
83k views

How to determine why my computer crashed?

Yesterday, I ran a bash script for about 10 hours. When I went to use the computer, it locked up. I have an Eee PC with Debian. The screen was still visible, but the mouse or keyboard had not effect. ...
24
votes
5answers
121k views

Determining cause of Linux kernel panic

I'm running an Ubuntu 12.04 derivative (amd64) and I've been having really strange issues recently. Out of the blue, seemingly, X will freeze completely for a while (1-3 minutes?) and then the system ...
20
votes
2answers
25k views

How to get last crash log from ArchLInux

My system suddenly crashed, I have restart it, where could I find the last/previous crash log, since there are no /var/log/syslog* anymore..
13
votes
3answers
2k views

Can the filesystem become inconsistent if interrupted when moving a file?

I have two folders on the same partition (EXT2) If I mv folder1/file folder2 and some interruption occur (e.g. power failure) could the file system ever end up being inconsistent? Isn't the mv ...
13
votes
2answers
23k views

What are the files located in `/var/crash/`?

I know when a program crashes, some files creating in /var/crash/. But I don't know what these files are! Is that error logs?
12
votes
3answers
6k views

How can I recover after Kate crashes?

I use Kate for coding and note-taking. Sometimes it crashes - often when I've got a lot open. Unsaved 'real' documents (eg, ones backed by files, that have been saved at some point) usually have a ...
9
votes
2answers
1k views

Why does the console need sometimes a reset after CTRL+C

Some command line interface tools return a broken console when canceled by CTRL+C. Sometimes the text is invisible, or there are graphic problems until I run the command reset. (I use bash, but ...
8
votes
1answer
2k views

Trouble Logging Kernel Panic for Debugging

I'm running Ubuntu 12.04 on AWS/EC2 and having a large number of hosts going belly up. I'm trying to enable kernel dumping, but when I simulate a kernel panic, there's no .crash file written anywhere ...
7
votes
0answers
888 views

NUL entry in syslog? [closed]

My servers went down on the 30th. It just came back online today. At first I thought it was the router because the router the server is connected to is a bit squirrely but when I checked syslog I have ...
6
votes
2answers
1k views

bash crashed with for loop [duplicate]

The question may be trivial but with this simple for loop for i in {1..10000000}; do echo "$i" line >> file done my shell crashed after some elaboration time (the tab in the terminal emulator ...
6
votes
1answer
5k views

Is it safe to remove files from /var/crash

I'm receiving a disk usage warning from the server " The filesystem “/” mounted at “/” reached “critical” status because you currently use 92.77% of its available blocks." After deep investigation I ...
6
votes
2answers
2k views

Why do some applications stop working when permissions are changed in /usr/bin?

On OS X, a friend of mine changed the permissions on /usr/bin recursively using Finder, in order to grand write access to everyone. Here is how it's done: Go to /usr/bin in Finder, then mess with ...
6
votes
1answer
2k views

Debugging a Segmentation Fault

I have an application that runs on an embedded Linux device that I am expanding with new features. The new features require GLib so, I am dynamically linking the required libraries to the application. ...
5
votes
4answers
5k views

Is there a way to tell how many times my computer has rebooted in a 24 hour period?

I was doing a 24 hour code-a-thon and had to reboot numerous times and was wondering if there was a way to tell exactly how many the computer was rebooted or crashed.
5
votes
1answer
2k views

Chrome too many files open / crash / Sorry Jim

When using Google Chrome I frequently get “Sorry Jim” tabs. The browser also frequently freezes and crashes. Running it from terminal emulator show a long line of Too many open files: [...:ERROR:...
5
votes
1answer
10k views

Can the hard drive timeout be disabled in Linux (attempting task abort)

Unfortunately, when a hard drive (usually a virtual drive) is slow, Linux aborts requests to that drive after a timeout, possibly causing data corruption. Last time this happened to me, I had 2 vms ...
5
votes
1answer
1k views

How long should I wait between keystrokes when doing SysRq + REISUB?

I read this from here: The most useful combination is the Alt+SysRq/Prnt Scrn + R-E-I-S-U-B. The above basically means that while you press and hold Alt+SysRq/Prnt Scrn and press R, E, I, S, U,...
5
votes
1answer
5k views

System freezes. Can't find anything in the logs

My linux desktop system freezes (aptosid/debian sid) sometimes and after a reboot I can't find any infos about the reason for the freeze in messages/dmesg/syslog/Xorg.*.log. When it "freezes" I can ...
4
votes
3answers
2k views

ext4 reported as clean by fsck after hard reset: Is that normal?

My root-partition is formatted as ext4-filesystem. I notice that, whenever my machine crashes and I have to hard-reset it, when booting up again and the root filesystem is checked this step takes a ...
4
votes
1answer
426 views

Where do drafts go when mutt crashes?

Sometimes a message doesn't get sent for whatever reason (e.g. a crash or shutdown). I can't find the message in the Drafts maildir (/new, /tmp, or /cur). Surely mutt must save the message somewhere ...
4
votes
1answer
726 views

Which filesystems require fsync() for crash-safety when replacing an existing file with rename()?

Following widespread complaints, ext4 gained a crash-safety guarantee called auto_da_alloc which is enabled by default. What about other filesystems? Out of the most well-known filesystems, which ...
4
votes
1answer
4k views

How to analyze a kernel panic messages from crash to diagnose problem?

My CentOS 6.8 server is crashing every few days and I'm trying to figure out why. I'm using kernel version 2.6.32-642.1.1.el6.x86_64. So far, I've installed the program, crash, to help me sift ...
4
votes
1answer
1k views

Is /var/crash/.lock safe to delete or should it be kept?

Today when I booted Xubuntu 14.10, I was alerted that a "system program problem [was] detected". This turned out to be gnome-keyring-daemon, since the file /var/crash/_usr_bin_gnome-keyring-daemon.0....
4
votes
0answers
1k views

How to figure out why Linux crashes

Every so often, my laptop will crash. The screen will freeze, including the cursor, the lock lights (caps lock and the like) will turn off if they were on, though my battery, power, and wifi lights ...
3
votes
2answers
3k views

PHP app crashes: child pid exits with Illegal instruction (4)

I have a CentOS 6 server with Apache and PHP. I run some application and can constantly reproduce this crash. After some sequential action the app dies and the only trace I found is the following ...
3
votes
3answers
3k views

Black screen when installing Fedora 16

I have read many other threads here and elsewhere but found no solution... I'm trying to install Fedora 16 x86-64. At random points during installation I get black screens that do not go away. I ...
3
votes
1answer
84 views

Debian Stretch VM becomes quasi-unresponsive every few days

The impacted computer is a VM running in vSphere, and it's a production server, so troubleshooting time is generally nonexistent once the issue rears its ugly head. The problem goes away after a ...
3
votes
1answer
13k views

rcu_sched detected stall on CPU

Seen multiple rcu_sched stall messages in a customer device and it gets crashed/hung. Under this condition, the device is not accessible via SSH or 3G. Kernel version is 3.2.54. "rcu_sched detected ...
3
votes
2answers
609 views

Server crashing for not so obvious reasons

System: Linux v22017032713145956 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux This is a virtualized server running on a node with KVM virtualization. What I have done: ...
3
votes
1answer
130 views

Command-not-found not triggered for 'crash' in ZSH without reason

I just typed crash in my ZSH (from oh-my-zsh if that matters) and I got peculiar answer: zsh: permission denied: crash instead of the usual command-not-found behaviour expected (since I have that ...
3
votes
1answer
3k views

How do I crash Ubuntu Linux 14.04 LTS deliberately?

I'm trying to crash an instance on AWS so that I can simulate what happens when it gets 'stuck'. I tried the top suggestions here How to cause kernel panic with a single command? but unfortunately ...
3
votes
1answer
576 views

Debug kernel panic - Watchdog detected hard LOCKUP on cpu 9?

on a freshly reinstalled SLES 11.4 we see this dmesg from /var/crash: <7>[ 48.600847] storage: no IPv6 routers present <6>[ 63.725477] BIOS EDD facility v0.16 2004-Jun-25, 1 devices ...
3
votes
1answer
5k views

Why does abrt take over log output for a process that didn't crash?

Short version: I have a long-running process (web proxy) that logs (verbosely) to syslog Something bad happens, and abrt steps in somehow The process continues to run... ...but all log messages to ...
3
votes
1answer
3k views

How to debug random reboots, with no kernel panic, of an embedded system?

I have two aValue RPC-10W1 embedded systems that reboots by themselves after 1-2 hours. Facts: The board will reboot within a time span of 1 to 2½ hours. The issue is present on two identical ...
3
votes
1answer
44 views

What does task status PA refer to?

I am looking into a crash dump for RHEL 7.4. It shows some of the task status as PA. for the command - crash> ps | grep sample - 31718 31717 3 ffff8806873a6eb0 **PA** 0.0 42260 8040 ...
3
votes
0answers
910 views

kernel freezing on ubuntu 16.04

I recently switched to ubuntu 16.04 on my laptop which is a thinkpad P51. I am having the issue that sometimes the login desktop freezes in the sense that I am able to move the cursor and interact ...
3
votes
0answers
5k views

Failed to start Crash recovery kernel arming

When trying to login into CentOS 7 either through the Gnome GUI or the login shell, I get this: After a second, I get booted backed to the login shell, or login screen of Gnome. I've tried booting ...
3
votes
1answer
111 views

Investigate an unwanted shutdown over the weekend

This morning my machine running Fedora 22 was in a state of shutdown showing, IIRC, something like the following, in fullscreen white on black terminal: [Rebooting] ... System halted. After holding ...
3
votes
0answers
115 views

Finding the Process which resulted in Kernel Panic

I have setup my linux system to generate Kernel Core Dump using KDump and kexec packages. I am using the crash tool to analyze the core dump. How do I find the call stack of the process which ...
3
votes
0answers
480 views

X server periodically restarting for no reason

The following is for an Debian 7.x (wheezy) amd64 machine - my personal workstation. X has been periodically restarting for no reason. It has been happening once a week or a bit less frequently. ...
3
votes
0answers
601 views

Debugging a “brutal” system hang (no longer responds to Alt+SysRq+B)

I've had a series of system hangs where I hoped to get a crash dump to at least get some clues but the normal "magic sysrq" functionality is broken too; not even the immediate reboot key works. The ...
2
votes
4answers
7k views

Why does my linux keep crashing?

I am running Debian 6.0 Squeeze. Every half hour or so a dialog pops up on the side of my screen with the message - Kernel failure. A report has been sent to the developers to help them fix the ...
2
votes
2answers
5k views

How to see what processes WERE running?

Is there a chance to get the processes that RAN before my system crash? EDIT What I really want is to see the past processes. My system crashed & I want to know if a specific process was the ...
2
votes
2answers
95 views

Why doesn't this sequence of keys, using SyRq, work

I have Fedora 20, with zshell and Mate desktop. I have just come across this article about using SysRq keys, but they don't give the results shown there. I am using Alt with the key marked "Home" ...
2
votes
1answer
1k views

Since Ubuntu persistent USB crashed, it fails to boot with black screen pre-login, what to do?

I'm using a persistent live USB version of Ubuntu 13.04. Recently it crashed while I was using it. When I restarted I couldn't get past the Ubuntu logo with the sequentially flashing dots anymore. ...
2
votes
2answers
5k views

After crash, e2fsck fails with weirdly high block numbers/sizes

After a breaker trip a Raspberry Pi of mine started to halt boot with kernel panic (same message as here). This is a Raspberry Pi running Raspbian, so it runs from a SD card, from a main ext4 ...
2
votes
2answers
102 views

Shell script to autostart script

I would like to refer to my previous post here: Autostarting a python script whenever it crashes to restart two python scripts on my raspberry pi (Stretch OS) if they crash. The code of the shell ...
2
votes
1answer
598 views

i3wm [official ubuntu version] screen freezes randomly when window is fullscreen

I'm using compton for compositing with this config in i3wm in Ubuntu 18.04: # _ # ___ ___ _ __ ___ _ __ | |_ ___ _ __ # / __/ _ \| '_ ` _ \| '_ \| __/ _ \| '_ \ # | (...
2
votes
1answer
49 views

Use of __rb_rotate_left()

I have a kernel crash on this function: __rb_rotate_left().  Can someone explain what this function is meant for in simple terms? PC is at __rb_rotate_left+0x24/0x78 LR is at rb_insert_color+0x108/...