Summary: | journalctl crashes when journal is corrupted | ||
---|---|---|---|
Product: | systemd | Reporter: | Janna Martl <janna.martl109> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | CC: | arthur.titeica, janna.martl109, radek |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Janna Martl
2014-02-08 16:58:15 UTC
If they get stuck in D-state that's probably a kernel issue. It seems SIGBUS on IO error is legitimate. We could install a handler for the signal. Is there any chance you could pass us the journal files triggering this? (In reply to comment #2) > Is there any chance you could pass us the journal files triggering this? Do you think that it's journalctl getting confused? I thought that the kernel is sending SIGBUS because it can't read the mmap'ed file. (In reply to comment #3) > (In reply to comment #2) > > Is there any chance you could pass us the journal files triggering this? > > Do you think that it's journalctl getting confused? I thought that the > kernel is sending SIGBUS because it can't read the mmap'ed file. Oh, hmm, this is a bit confusing in the original bug report. Janna, the IO error you saw, did that happen when the file was corrupted, or when you viewed the file? In the latter case the SIGBUS is to be expected. In the former case this would be a bug in journalctl. (In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > Is there any chance you could pass us the journal files triggering this? > > > > Do you think that it's journalctl getting confused? I thought that the > > kernel is sending SIGBUS because it can't read the mmap'ed file. > > Oh, hmm, this is a bit confusing in the original bug report. > > Janna, the IO error you saw, did that happen when the file was corrupted, or > when you viewed the file? In the latter case the SIGBUS is to be expected. > In the former case this would be a bug in journalctl. I meant the latter. I'm pretty sure the files were corrupted before journalctl got around to reading them, and the crash was caused by a read error. Sorry for the confusion. current journalctl should be pretty happy with corrupted journal files and read them as far as they aren't corrupted. Also, we del nicely with the SIGBUS issues now. Hence closing. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.