Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 28 |
Nodes: | 6 (0 / 6) |
Uptime: | 02:39:06 |
Calls: | 425 |
Files: | 1,025 |
Messages: | 91,745 |
On May 8, 2025, at 20:12, Mitchell Dorrell <mwd@psc.edu> wrote:
This is not a bug report and I'm not really seeking assistance, I'm just inviting discussion because... this shouldn't be able to happen, right?
This is not a bug report and I'm not really seeking assistance, I'm just inviting discussion because... this shouldn't be able to happen, right?
Earlier today, I opened a terminal using urxvt, then initiated an SSH connection to a remote machine. On the remote machine, I ran a command roughly like this (but as a one-liner):
for d in path1 path2 path3; do
files=$(find $d -not -type d -exec readlink -f {} \; | sort -u);
for f in $files; do
cat $f | tr ' ' '\n' | pipe_through_sed_and_grep_etc;
done;
done
... which caused grep to mention finding some matches inside binary data
via stdin. After (insufficiently) adding to the pipeline to filter the
output down to just the matching strings, I added '-a' to the grep
commands, hit enter, briefly saw some junk printed to the terminal, and
then my screen went black and I noticed that my power LED was dark.
There are 468 null bytes in /var/log/messages at the crash time.
Neither urxvt, nor bash, nor ssh were running as root, and I'm pretty
sure I had rebooted since my last @world update, so there shouldn't be
any outdated libraries in play.
Userspace applications shouldn't be able to crash the system, right?
I would say that this is an almost fallacious way to look at things, honestly. urxvt is a userspace application, so it "can't" crash the system, no matter what I do with it... right? Even if I run `sudo /usr/sbin/crashsystem`, it's running in a userspace application, what can
it do really?
they do, such as displaying graphics on the screen. A not-entirely-uncommon cause of system crashes is bugs being triggered in a GPU driver.