This project is read-only.

What could be the causes of ErrorUnknown?

Dec 2, 2012 at 4:14 AM

Obviously ErrorUnknown means that the cause of the error is unknown, but are there any common causes of this?

I see some discussions (eg that refer to making changes to avoid ErrorUnknowns, so I assume some of the causes are well known.



Dec 2, 2012 at 12:24 PM
Edited Dec 2, 2012 at 3:03 PM

Can you reproduce it at will? If so, could you post some code?

All the ErrorUnknown I've ever experienced resulted from doing bad, bad things with memory pointers within the kernel, or stuff that would make the kernel abort unexpectedly, such as deadlocking my threads.

Edit: I think I also got that once when I tried passing too many arguments onto the kernel.

Dec 3, 2012 at 12:14 AM

I've found the particular problem here - it was doing a DIV0.

So my immediate problem is solved, but for future reference my current list of possible causes of ErrorUnkown are:

  • Div0
  • indexing array out of bounds