- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nevermind, it turns out that pthreads on OS X default to a small stack size. Increasing the stack size for the thread fixed it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hm, I have no idea what that could be. Does the issue also occur when you disable the tree rotations?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page