I've been working on a PHP library for Raspberry Pi for a few years now, and since (not sure specifically which) a version of Raspbian Stretch, the Pi becomes completely unresponsive when clearing the edge detect bits. This happens regardless of if I use
dev/mem. It seems strange to be able to crash the system entirely as an unprivileged user. It happens regardless of whether native PHP calls or a Python mmap proxy are used.
Have there been any changes to the kernel that could possibly cause this?
I've tried previous versions of the code (which were definitely working) in the current Raspbian release and they no longer work. All versions of the code still work in earlier versions of Raspbian
As an aside, I've noticed that no versions of the PWM code work anymore either, and can only assume that this is related. I've had a look through pigpio and WiringPi and can't see any measurable difference to how I'm interacting with the registers.
There's some more context on the Github issue