Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/06/2013 in all areas

  1. Exactly which exception is thrown? What code actually throws the unhandled exception? Is it OpenCL kernel throwing the unhandled exception? I suspect it is not, otherwise you'd be able to catch it. There are two ways that the out-of-bounds-write exception could be generated: The exception could be thrown by the kernel code that is bounds checking every memory write *before* that write occurs The exception could be thrown by LabVIEW when it inspects the guard bytes around the allocation *after* that write occurs I suspect it is *LabVIEW* that is throwing the unhandled exception because LabVIEW is detecting the overwrite *after* the write has already occurred. Since the overwrite has already occurred, there's nothing to except shutdown -- memory is at that point known to be corrupted. Safe execution is not possible after that. It is common for kernels to not do bounds checking because it can be a severe performance hit. Basically, if this is what is happening, you're not going to be able to stop LV from shutting down because LV has already determined that it is not able to safely continue executing.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.