Azmisov / snow

OpenGL and Houdini snow simulation (material point method)
GNU General Public License v2.0
221 stars 46 forks source link

Built plugin crashes 13.0.582 #1

Open crydalch opened 9 years ago

crydalch commented 9 years ago

I can build the Houdini plugin without any problems (lots of warnings, but no errors), but when I try to run, it crashes. Houdini immediately crashes when I try to load the mpm_setup.hipnc, but will load mpm.hipnc; the crash happens when I play, to simulate.

I tried setting HOUDINI_DSO_ERROR to 5, and I didn't see any errors related to this node, but it's still crashing for some reason.

Any ideas? I'm on Linux Mint 17, btw. What are you building under?

Thanks

Crash report from chris; Houdini FX Version 13.0.582 [linux-x86_64-gcc4.6]
Traceback from Wed Nov 12 21:41:04 2014
Caught signal 11

AP_Interface::coreDumpChaser(UTsignalHandlerArg) <libHoudiniUI.so>
AP_Interface::si_CrashHandler::chaser(UTsignalHandlerArg) <libHoudiniUI.so>
signalCallback(UTsignalHandlerArg) <libHoudiniUT.so>
UT_Signal::UT_ComboSignalHandler::operator()(int, siginfo*, void*) const <libHoudiniUT.so>
UT_Signal::processSignal(int, siginfo*, void*) <libHoudiniUT.so>
killpg <libc.so.6>
SIM_SnowSolver::solveGasSubclass(SIM_Engine&, SIM_Object*, SIM_Time, SIM_Time) <SIM_SnowSolver.so>
GAS_SubSolver::solveGas(SIM_Engine&, SIM_Object*, SIM_Time, SIM_Time) <libHoudiniSIM.so>
GAS_SubSolver::solveObjectsSubclass(SIM_Engine&, SIM_ObjectArray&, SIM_ObjectArray&, SIM_ObjectArray&, SIM_Time const&) <libHoudiniSIM.so>
SIM_Solver::solveObjects(SIM_Engine&, SIM_ObjectArray&, SIM_ObjectArray&, SIM_ObjectArray&, SIM_Time const&) <libHoudiniSIM.so>
GAS_SubStep::solveObjectsSubclass(SIM_Engine&, SIM_ObjectArray&, SIM_ObjectArray&, SIM_ObjectArray&, SIM_Time const&) <libHoudiniSIM.so>
SIM_Solver::solveObjects(SIM_Engine&, SIM_ObjectArray&, SIM_ObjectArray&, SIM_ObjectArray&, SIM_Time const&) <libHoudiniSIM.so>
SIM_SolverMulti::solveObjectsSubclass(SIM_Engine&, SIM_ObjectArray&, SIM_ObjectArray&, SIM_ObjectArray&, SIM_Time const&) <libHoudiniSIM.so>
SIM_Solver::solveObjects(SIM_Engine&, SIM_ObjectArray&, SIM_ObjectArray&, SIM_ObjectArray&, SIM_Time const&) <libHoudiniSIM.so>
SIM_Engine::doSimulationStepForMetaObject(SIM_MetaObject&, SIM_Time const&) <libHoudiniSIM.so>
SIM_Engine::doSimulationStep(bool) <libHoudiniSIM.so>
SIM_Engine::setSimulationTime(SIM_Time const&, bool, bool, bool) <libHoudiniSIM.so>
DOP_Parent::setDOPTimeSubclass(SIM_Time const&) <libHoudiniOP1.so>
OBJ_DopNet::setDOPTimeSubclass(SIM_Time const&) <libHoudiniOP3.so>
DOP_Parent::setDOPTime(SIM_Time const&) <libHoudiniOP1.so>
JEDI_View::opuiUpdateNodeInfo(OH_NodeInfo*) <libHoudiniAPPS3.so>
OH_OpHandler::opuiUpdateData() <libHoudiniUI.so>
OP3D_View::doUpdate() <libHoudiniAPPS3.so>
JEDI_View::opuiUpdateData() <libHoudiniAPPS3.so>
OH_OpHandler::trigger() <libHoudiniUI.so>
UI_Queue::processNextEvent() <libHoudiniUI.so>
UI_Queue::drain() <libHoudiniUI.so>
UI_Queue::eventLoop() <libHoudiniUI.so>
main <libHoudiniUI.so>
__libc_start_main <libc.so.6>
_start <houdinifx-bin>
melissaEdge commented 9 years ago

I'm pretty sure it's crashing because those Houdini files are out of date. We should probably delete those. There are some fields in the solver node that will be blank when you open the files, and probably some parameters that have since moved; we're not accounting for that in our code, so it will try to grab fields that don't exist and seg fault. We haven't updated those files because we started working from a digital asset. Try installing ramshorn_fx_mpm_snow_otl_stable.otl. It's confusing and buggy right now, but you can play around with it. I'll try to reorganize and document it sometime soon.

We've been building with a few different operating systems: an older version of Red Hat and at least another Linux OS, and I've been able to build it on Windows 7 just fine.

iamyoukou commented 7 years ago

On MacOSX 10.11.6, this plug-in crashes in Houdini 15, but works fine in Houdini 14.