check failed issue

25 views
Skip to first unread message

janx

unread,
Aug 23, 2023, 5:53:28 AM8/23/23
to pbrt
Hi,

I'm using a realistic camera by importing some lens parameters. I'm rendering a typical pbrt scene with many trees and grass.  However very often I run into the following error. I'm not quite sure what this means and how to potentially fix it. Has anyone encountered this before? Any help would be greatly appreciated!

Rendering: [+++++++++                                  ]  (211.6s|790.2s)  F0822 23:06:23.561084 1083064 path.cpp:140] Check failed: beta.y() >= 0.f (-nan vs. 0)
*** Check failure stack trace: ***
    @     0x55f3cf063b19  pbrt::ScrambledRadicalInverse()
    @     0x55f3cf060e30  pbrt::RadicalInverse()
    @     0x55f3cf0642a9  pbrt::ScrambledRadicalInverse()
    @     0x55f3cee519fb  pbrt::ReadImage()
    @     0x55f3cef1924c  pbrt::HairBSDF::Sample_f()
    @     0x55f3cedbda24  (unknown)
    @     0x55f3cedbe102  (unknown)
    @     0x7efd06cd44a3  (unknown)
    @     0x7efd069c741c  (unknown)
    @     0x7efd06a477ac  (unknown)
    @              (nil)  (unknown)

Matt Pharr

unread,
Sep 3, 2023, 7:44:21 AM9/3/23
to pb...@googlegroups.com
(That is a strange stack trace; it is likely incorrect.)

There is most likely a bug in pbrt somewhere causing floating-point not-a-number values to be generated.

Can you confirm that you are using an unmodified version of pbrt, or have you changed the code? Can you do a run with a debug build of pbrt? That will have many more runtime checks, one of which is likely to happen closer to where the bug is occurring.

Also, I’ve opened an issue https://github.com/mmp/pbrt-v3/issues/331 for further discussion/debugging….

Thanks,
Matt

--
You received this message because you are subscribed to the Google Groups "pbrt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pbrt+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pbrt/deeb02d8-8c4c-4f23-81af-d2cb3ab3e571n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages