Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPUs.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
265 Discussions

Crash when building BVH4 from secondary thread

stefankw
Beginner
127 Views

I'm seeing a crash in BVH4::rotate() when I'm using rtcCreateAccel from a secondary thread. This does not happen when I call it from the main thread or use the BVH2 instead. Is there something in the BVH4 memory management that depends on what thread it runs in?

0 Kudos
2 Replies
stefankw
Beginner
127 Views
Nevermind, it turns out that pthreads on OS X default to a small stack size. Increasing the stack size for the thread fixed it.
SvenW_Intel
Moderator
127 Views

Hm, I have no idea what that could be. Does the issue also occur when you disable the tree rotations?

Reply