Re: crash in timerfd building pandoc / ghc94 related

2023-02-07 Thread David Holland
On Mon, Feb 06, 2023 at 09:19:26PM -0500, Mouse wrote: > Perhaps the simplest is > > dd if=/dev/urandom bs=65536 of=/dev/mem > > but there are others. > > Yet I can't help feeling that there is some sense in which it *is* fair > to say that userland should never be able to crash the

re: crash in timerfd building pandoc / ghc94 related

2023-02-06 Thread matthew green
> dd if=/dev/urandom bs=65536 of=/dev/mem FWIW, secururelevel > 0 fixes this issue. so, perhaps you can rephrase by including something about correct separation of privs, since root write-access to /dev/mem is literally giving it kernel-level privs. .mrg.

Re: crash in timerfd building pandoc / ghc94 related

2023-02-06 Thread Mouse
>> It seems so far, from not really paying attention, that there is >> nothing wrong with ghc but that there is a bug in the kernel. > Yes of course no userland code should be able to crash the kernel :D I used to think so. Then it occurred to me that there are various ways for userland to crash

Re: crash in timerfd building pandoc / ghc94 related

2023-02-06 Thread PHO
Committed a workaround to lang/ghc94. I hope it can avoid the panic. You can remove the workaround simply by deleting lang/ghc94/hacks.mk. On 2/7/23 12:36 AM, Greg Troxel wrote: PHO writes: On 2/6/23 5:27 PM, Nikita Ronja Gillmann wrote: I encountered this on some version of 10.99.2 and

Re: crash in timerfd building pandoc / ghc94 related

2023-02-06 Thread Greg Troxel
PHO writes: > On 2/6/23 5:27 PM, Nikita Ronja Gillmann wrote: >> I encountered this on some version of 10.99.2 and last night again on >> 10.99.2 from Friday morning. >> This is an obvious blocker for me for making 9.4.4 the default. >> I propose to either revert to the last version or make the

Re: crash in timerfd building pandoc / ghc94 related

2023-02-06 Thread Nikita Ronja Gillmann
PHO transcribed 0.7K bytes: On 2/6/23 5:27 PM, Nikita Ronja Gillmann wrote: I encountered this on some version of 10.99.2 and last night again on 10.99.2 from Friday morning. This is an obvious blocker for me for making 9.4.4 the default. I propose to either revert to the last version or make

Re: crash in timerfd building pandoc / ghc94 related

2023-02-06 Thread PHO
On 2/6/23 5:27 PM, Nikita Ronja Gillmann wrote: > I encountered this on some version of 10.99.2 and last night again on > 10.99.2 from Friday morning. > This is an obvious blocker for me for making 9.4.4 the default. > I propose to either revert to the last version or make the default GHC >

Re: crash in timerfd building pandoc / ghc94 related

2023-02-06 Thread Nikita Ronja Gillmann
I encountered this on some version of 10.99.2 and last night again on 10.99.2 from Friday morning. This is an obvious blocker for me for making 9.4.4 the default. I propose to either revert to the last version or make the default GHC version setable. PHO transcribed 2.3K bytes: On 2/6/23 8:54 

Re: crash in timerfd building pandoc / ghc94 related

2023-02-05 Thread PHO
On 2/6/23 8:54 AM, matthew green wrote:> hi folks. > > > i saw a report about ghc94 related crashes, and while it's easy > to build ghc94 itself, it's easy to trigger a crash by having > packages use it. for me 'pandoc' wants a bunch of hs-* pkgs and > i had crashes in 2 separate ones. > > i

crash in timerfd building pandoc / ghc94 related

2023-02-05 Thread matthew green
hi folks. i saw a report about ghc94 related crashes, and while it's easy to build ghc94 itself, it's easy to trigger a crash by having packages use it. for me 'pandoc' wants a bunch of hs-* pkgs and i had crashes in 2 separate ones. i added some addditional logging to the failed assert to