Stable kernel 5.10.1 released
Posted Dec 21, 2020 15:23 UTC (Mon)
by dskoll (subscriber, #1630)
[Link] (5 responses)
I know this comment will receive the "Most Useless Bug Report" award, but...
Firefox 84.0 runs fine on 5.9.14, but reliably crashes on 5.10.1. Unfortunately, the crash happens
only after a fairly long while, so usually overnight while I'm asleep. For now, I've reverted to 5.9.14, but I'll try to get it to happen again and get Firefox to send an automated bug report back to Mozilla.
Posted Dec 21, 2020 22:40 UTC (Mon)
by dskoll (subscriber, #1630)
[Link] (4 responses)
It wasn't the kernel; it crashed on 5.9.14 also. Firefox was getting -EIO when writing to stderr, so I just modified the startup to redirect stdin, stdout and stderr to /dev/null.
Posted Dec 21, 2020 23:38 UTC (Mon)
by zlynx (guest, #2285)
[Link] (3 responses)
I mean, are you writing stderr to $HOME/.xsession-errors on a USB thumb drive or something?
Posted Dec 22, 2020 4:38 UTC (Tue)
by dskoll (subscriber, #1630)
[Link] (2 responses)
No, I started Firefox from a shell, in the background, and then closed the terminal.
Here's a little test program; if you run ./test > /tmp/foo & exit in a terminal, then /tmp/foo ends up containing r = -1; errno = 5 where 5 is EIO.
Posted Dec 22, 2020 17:01 UTC (Tue)
by mathstuf (subscriber, #69389)
[Link] (1 responses)
Posted Dec 22, 2020 23:42 UTC (Tue)
by dskoll (subscriber, #1630)
[Link]
I use bash; I don't think anything changed with the shell. I think something changed in Firefox 84; either it's printing to stderr where it never did before, or it now cares about errors from
Stable kernel 5.10.1 released
Stable kernel 5.10.1 released
Stable kernel 5.10.1 released
Stable kernel 5.10.1 released
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
int
main(int argc, char **argv)
{
int r;
sleep(5);
r = write(2, "Hello!\n", 7);
printf("r = %d; errno = %d\n", r, errno);
}
Stable kernel 5.10.1 released
Stable kernel 5.10.1 released
write()
that it never used to care about. Anyway, the problem is all fixed by the redirection to /dev/null.