News for hackers. Stuff that matters.
Re:“Unexplainable” core dump (2011) by mcculley on Tuesday January 03, 2023 @04:40PM (#34238480)
What hardware/platform was this? I worked on AIX on POWER a long time ago and it had to map the zero page read-only just to support speculative execution of dereferencing the NULL pointer, if I remember right.

If you were on a platform that did this wrong, speculative execution could have been dereferencing the NULL pointer.

Re:“Unexplainable” core dump (2011) by ericbarrett on Tuesday January 03, 2023 @09:05PM (#34241015)
It was a DEC Alpha chip, over two decades ago. (Or MIPS?) Pretty sure there was no speculative execution. In any case, the senior engineer I was working with would have known that—getting to "it just did the wrong thing" was our final and least satisfying conclusion!
Re:“Unexplainable” core dump (2011) by mcculley on Tuesday January 03, 2023 @09:25PM (#34241178)
The DEC Alpha had speculative execution.

I found lots of bugs porting code to it. It was my first 64-bit platform.

Re:“Unexplainable” core dump (2011) by thewebcount on Wednesday January 04, 2023 @01:59AM (#34242874)
I found a bug in the compiler on it! I was writing some fractal generating code, and found that something I did caused the compiler to output the error message: “Dave doesn’t think this should compile. Please send an email to dave<someone-or-other>@dec.com”. So I did. They replied that they found the problem and had a fix for it.
Re:“Unexplainable” core dump (2011) by lmm on Wednesday January 04, 2023 @12:44AM (#34242438)
The Alpha does quite aggressive instruction reordering, you need to use more memory barriers than x86 in parallel code for example.