I'm having a rather nasty problem with my program where the display driver freezes (and doesn't recover, forcing a hard reboot) when I try to run my kernel.
An important note is that it runs just fine and produces correct results if a debugger is attached to the program!
Anyone have any clue as to what might be going on? I've attached the kernel that I *think* may be causing the crash, but since it doesn't reproduce when the debugger is attached, it's hard to know exactly where things go bad.
As a test, can you see if removing 'volatile' from your pointers will fix the issue? That will help us narrow it down.