slang icon indicating copy to clipboard operation
slang copied to clipboard

CUDA error messages fail to write

Open Checkmate50 opened this issue 4 years ago • 2 comments

Messages generated by the CUDA renderer fail to write to standard output. The writer fails on line 58 with a read access violation (this was 0x10). Calling StdWriters::initDefaultSingleton() manually beforehand changes the error message to a different access violation.

Reproducing this error is a bit complicated, since a minimal CUDA example involves many lines of code (and a failing example may be fixed), but an illustration can be viewed by running the cuda-hello-world example on the current version of this experimental branch.

Checkmate50 avatar Jan 20 '21 20:01 Checkmate50

Are you able to debug this issue more and work toward a fix? If so, that is probably the easiest path forward.

If you don't think you have line-of-sight to a fix, then we will need to figure out some way to provide a repro to the other devs. Can you point me at a branch that has your CUDA example, so that I can use it to reproduce the issue?

tangent-vector avatar Jan 21 '21 18:01 tangent-vector

I'm working on debugging this issue, so I think I can push out a fix shortly. I'll let you know if I get stuck for some reason though; this branch should allow reproduction of the issue if needed.

Checkmate50 avatar Jan 21 '21 18:01 Checkmate50