Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000028
0x0000000111af5bac in clhFenceEnqueue ()
This kernel causes the above message:
for( ... )
{
// Do work
}
This kernel does not
for(...)
{
// Do work
break;
}
Why would a break statement (lack of) cause the build to segfault?