Heightfield Erosion node causes instant crash (fixed)

   4488   9   1
User Avatar
Member
4 posts
Joined: Sept. 2015
Offline
I'm using the Houdini Apprentice license, and currently if I try to attach a heightfield to the Heightfield Erode node and try to look at the parameters Houdini crashes instantly. Has anyone else experienced this issue? Is it possible I'm just trying to use it incorrectly? I've included screenshots of the basic setup I tried, everything works fine until I actually click on the Erode node.
Edited by Thater - Feb. 23, 2017 00:38:28

Attachments:
clicked_on_erode.JPG (234.2 KB)

User Avatar
Member
1743 posts
Joined: March 2012
Offline
Looks like the screenshots didn't make it through. Could you try posting the HIP file from just before the crash, so that we could try to investigate?

It's fairly safe to assume that if Houdini crashed, and you weren't trying to exhaust all memory and swap space, it's probably a bug.
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
User Avatar
Member
4 posts
Joined: Sept. 2015
Offline
I added the screenshot, this happens to me no matter how simple I try to make it. Even without the mask, it's hardly worth uploading the HIP since all I did was add a height field, add noise, and then add erosion.
Edited by Thater - Feb. 22, 2017 04:41:17
User Avatar
Member
1743 posts
Joined: March 2012
Offline
Sorry, I can't seem to reproduce the crash easily, so without a HIP file, you'll have to be more specific about what steps lead to the crash, e.g.:

0) Open Houdini
1) Switch to the Terrain desktop
2) Ctrl+LMB click on the HeightField shelf tool
3) Alt+A in the viewport to show all
4) Ctrl+LMB click on the HeightField Noise shelf tool
5) Ctrl+LMB click on the HeightField Erode shelf tool
6) Ctrl+LMB click on the HeightField Mask Noise shelf tool
7) Unwire heightfield_masknoise1 in the network editor by LMB shaking the node
8) Wire the output of heightfield_noise1 to the first input of heightfield_masknoise1
9) Wire the output of heightfield_masknoise1 to the second input of heighfield_erode1
10) Set the display flag to heightfield_masknoise1

That comes as close as I can figure out to what's displayed in the screenshot, but the noise looks different in your screenshot, and it doesn't crash, so something else is probably different. It might also be a video driver issue. What graphics card and graphics driver version are you using?
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
User Avatar
Member
99 posts
Joined: March 2009
Offline
doesn't crash for me in Mac version
User Avatar
Staff
5156 posts
Joined: July 2005
Offline
What's your system specs? (OS, Graphics card, driver version)
User Avatar
Member
4 posts
Joined: Sept. 2015
Offline
I'm using Windows 10, GTX 970 with 378.66 drivers, i7 3770

The crash happens for me if I just add height field, add noise, and add erode. No matter what configuration the erosion crashes

It seems to be an OpenCL issue, I installed the Windows SDK debug tools to see if it could provide any additional help and it came through. I'll post the crash report if that's any help. I added a Pyro node and when I clicked “Use OpenCL” it also crashed immediately.

Crash report from Thater; Houdini FX Version 16.0.504.20 (windows-x86_64-cl19)
Uptime 198 seconds
Wed Feb 22 12:34:10 2017
Caught signal 11

Traceback from 8296 ThreadId=0x00002804
CURRENT THREAD 10244
+0x00f728ae (tbb::task_scheduler_init::default_num_threads)
+0x00f72b36 (tbb::task_scheduler_init::default_num_threads)
+0x00f7191e (tbb::task_scheduler_init::default_num_threads)
+0x00f735fa (tbb::interface7::internal::task_arena_base::internal_initialize)
+0xbc4238b1
+0xbc4213e3
+0xbc4228e0
+0xbc434dff (Intel::OpenCL::TaskExecutor::GetTaskExecutor)
+0xaa5dfd8a (clWaitForEvents)
+0xaa60b102 (clWaitForEvents)
+0xaa5f78af (clWaitForEvents)
+0xaa5fa020 (clWaitForEvents)
+0xaa5b07da (clCreateContext)
+0x5cb01378 (clCreateContext)
+0x5eba7420 (CE_Context::getContext)
+0x652e6739 (SOP_OpenCL::cookVerb)
+0x652e6635 (SOP_OpenCL::cookVerb)
+0x65089303 (SOP_Node::cookMyselfAsVerb)
+0x65088091 (SOP_Node::cookMe)
+0x67aca9f8 (OP_Node::cook)
+0x67af2dde (UT_Array<OP_PostIt * __ptr64>::sortedInsert)
+0x67aca3fc (OP_Node::cook)
+0x67acb888 (OP_Node::internalCookInput)
+0x67acbac0 (OP_Node::lockInput)
+0x65091ba0 (SOP_Node::lockInput)
+0x65138acd (SOP_BlockBeginFor::cookMySop)
+0x65088091 (SOP_Node::cookMe)
+0x67aca9f8 (OP_Node::cook)
+0x67af2dde (UT_Array<OP_PostIt * __ptr64>::sortedInsert)
+0x67aca3fc (OP_Node::cook)
+0x6507d52f (SOP_Node::getCookedGeoHandle)
+0x6507d400 (SOP_Node::getCookedGeoHandle)
+0x6504bf49 (SOP_NodeVerb::cookInputs)
+0x65059bb1 (SOPfindNearestToPrim)
+0x609940e4 (EV_EXPRESSION::evaluate)
+0x6099300b (EV_EXPRESSION::evaluate)
+0x60992f8e (ev_EvaluateFloat)
+0x631e2ac1 (CH_Expression::evaluate)
+0x631d1257 (CH_Channel::evaluateSegment)
+0x631d0f3c (CH_Channel::evaluate)
+0x631decf7 (CH_Collection::evaluate)
+0x6329b695 (PRM_Float::evalValue)
+0x6329b7bb (PRM_Float::getValue)
+0x632b1b48 (PRM_Parm::getValue)
+0x67b43a62 (OP_Parameters::evalIntT)
+0x67af7f0b (OP_Parameters::evalInt)
+0x654332b8 (SOP_SwitchParms::loadFromOpSubclass)
+0x6509833b (SOP_NodeParms::loadFromOp)
+0x654337ee (SOP_Switch::cookMySop)
+0x65088091 (SOP_Node::cookMe)
+0x67aca9f8 (OP_Node::cook)
+0x67af2dde (UT_Array<OP_PostIt * __ptr64>::sortedInsert)
+0x67aca3fc (OP_Node::cook)
+0x67acb888 (OP_Node::internalCookInput)
+0x67acbac0 (OP_Node::lockInput)
+0x65091ba0 (SOP_Node::lockInput)
+0x65433875 (SOP_Switch::cookMySop)
+0x65088091 (SOP_Node::cookMe)
+0x67aca9f8 (OP_Node::cook)
+0x67af2dde (UT_Array<OP_PostIt * __ptr64>::sortedInsert)
+0x67aca3fc (OP_Node::cook)
+0x6507d52f (SOP_Node::getCookedGeoHandle)
+0x6507d400 (SOP_Node::getCookedGeoHandle)
+0x6513bdb6 (SOP_BlockEndFor::cookMySop)
+0x65088091 (SOP_Node::cookMe)
+0x67aca9f8 (OP_Node::cook)
+0x67af2dde (UT_Array<OP_PostIt * __ptr64>::sortedInsert)
+0x67aca3fc (OP_Node::cook)
+0x67acb888 (OP_Node::internalCookInput)
+0x67acbd06 (OP_Node::lockInputs)
+0x65091ea4 (SOP_Node::lockInputs)
+0x653675f1 (SOP_Primitive::cookMySop)
+0x65088091 (SOP_Node::cookMe)
+0x67aca9f8 (OP_Node::cook)
+0x67af2dde (UT_Array<OP_PostIt * __ptr64>::sortedInsert)
+0x67aca3fc (OP_Node::cook)
+0x67acb888 (OP_Node::internalCookInput)
+0x67acbd06 (OP_Node::lockInputs)
+0x65091ea4 (SOP_Node::lockInputs)
+0x653675f1 (SOP_Primitive::cookMySop)
+0x65088091 (SOP_Node::cookMe)
+0x67aca9f8 (OP_Node::cook)
+0x67af2dde (UT_Array<OP_PostIt * __ptr64>::sortedInsert)
+0x67aca3fc (OP_Node::cook)
+0x67acb888 (OP_Node::internalCookInput)
+0x67acbac0 (OP_Node::lockInput)
+0x65091ba0 (SOP_Node::lockInput)
+0x6530d226 (SOP_Output::cookMySop)
+0x65088091 (SOP_Node::cookMe)
+0x67aca9f8 (OP_Node::cook)
+0x67af2dde (UT_Array<OP_PostIt * __ptr64>::sortedInsert)
+0x67aca3fc (OP_Node::cook)
+0x6507d52f (SOP_Node::getCookedGeoHandle)
+0x6507d400 (SOP_Node::getCookedGeoHandle)
+0x6542dc01 (SOP_SubNet::cookMySop)
+0x65088091 (SOP_Node::cookMe)
+0x67aca9f8 (OP_Node::cook)
+0x67af2dde (UT_Array<OP_PostIt * __ptr64>::sortedInsert)
+0x67aca3fc (OP_Node::cook)
+0x67acb888 (OP_Node::internalCookInput)
+0x67acbac0 (OP_Node::lockInput)
+0x65091ba0 (SOP_Node::lockInput)
+0x679f4521 (OP_AutoLockInputs::lockInput)
+0x65088282 (SOP_Node::cookMe)
+0x6504b47e (SOP_NodeVerb::cookInputs)
+0x65088493 (SOP_Node::cookMyselfAsVerb)
+0x65088091 (SOP_Node::cookMe)
+0x67aca9f8 (OP_Node::cook)
+0x67af2dde (UT_Array<OP_PostIt * __ptr64>::sortedInsert)
+0x67aca3fc (OP_Node::cook)
+0x67acb888 (OP_Node::internalCookInput)
+0x67acbd06 (OP_Node::lockInputs)
+0x65091ea4 (SOP_Node::lockInputs)
+0x6530cd53 (SOP_Null::cookMySop)
+0x65088091 (SOP_Node::cookMe)
+0x67aca9f8 (OP_Node::cook)
+0x67af2dde (UT_Array<OP_PostIt * __ptr64>::sortedInsert)
+0x67aca3fc (OP_Node::cook)
+0x6507d52f (SOP_Node::getCookedGeoHandle)
+0x6507d400 (SOP_Node::getCookedGeoHandle)
+0x5d3c5e7c (SIM_SopGeometry::updateGeometryFromOptions)
+0x64c8a5d8 (SIM_OptionsUser:ptionChangedSubclass)
+0x64c841bf (SIM_Options:ptionChanged)
+0x684a5857 (UT_Options::merge)
+0x5ed5f814 (DOP_Auto::createData)
+0x5ed5feb3 (DOP_Auto::doApplyOutputDataSubclass)
+0x5ed5fb08 (DOP_Auto::processObjectsSubclass)
Edited by Thater - Feb. 22, 2017 13:43:17
User Avatar
Member
4189 posts
Joined: June 2012
Offline
Bet it's trying to use the Intel® HD Graphics 4000 as a OpenCL device.
User Avatar
Member
4 posts
Joined: Sept. 2015
Offline
Artye
Bet it's trying to use the Intel® HD Graphics 4000 as a OpenCL device.

I think you're right, I actually solved the issue following your advice in the other OpenCL thread
https://www.sidefx.com/forum/topic/48276/ [sidefx.com]

Thank you so much! I wish it were easier to set the openCL device, there should be something in the Preferences window.
User Avatar
Member
2 posts
Joined: March 2016
Offline
Hi, I have a same problem about Heightfield Erosion node.

I got following message when it crashes;
—————————————————————-
Invalid OpenCL platform vendor (HOUDINI_OCL_VENDOR): NVIDIA Corporation. Falling back to built-in CPU OpenCL driver.
TBB Warning: The number of workers is currently limited to 7. The request for 1813085199 workers is ignored. Further requests for more workers will be silently ignored until the limit changes.

7640: Fatal error: Segmentation fault
—————————————————————-

Then, I found this forum and tried to put following into the “houdini.env” as I reference the forum(https://www.sidefx.com/forum/topic/48276/ [www.sidefx.com] );
HOUDINI_OCL_DEVICETYPE=“GPU”
HOUDINI_OCL_VENDOR=“NVIDIA Corporation”

However, Houdini still instantly crashes when I use erosion node.
Could anyone give me advice, please?

I use…
Houdini apprentice version
Windows 7
Quadro K1100M

Thanks!
  • Quick Links