I installed 19.5.435 on Ubuntu 22.04, but it is crashing constantly. I ran `source houdini_setup_bash`, added also `/lib/x86_64-linux-gnu` to LD_LIBRARY_PATH (since I needed this on another Ubuntu machine). But none of this helped. Any ideas? It seems to segfault quite early in the process.
Crash report from bottleship; Houdini Core Version 19.5.435 [linux-x86_64-gcc9.3]
Uptime 1 seconds
Wed Feb 116:19:28 2023
Caught signal 11
Traceback from 1182530ThreadId=0x7fd695823e80
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_t*, void*) const <libHoudiniUT.so>
UT_Signal::processSignal(int, siginfo_t*, void*) <libHoudiniUT.so>
__sigaction <libc.so.6>
Thanks for the response, yes I tried all kinds of permutations of sourcing the setup script, setting env vars and not. I realize this stack is very short and shows almost nothing. Could it be caused by missing libraries? Any way to validate this?
Then, in gdb, once you get the (gdb)prompt, type run.
Once it crashes, type: thread apply all bt Copy and paste all of the output from when you started gdb to the output of the previous command and attach it here. Hopefully it will give us a clue.
Weird, there is almost nothing in this trace. Could it be that the installed video drivers are not the right ones?
Starting program: /opt/hfs19.5.435/bin/houdinicore-bin [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Detaching after fork from child process 2240132] [Inferior 1 (process 2240076) exited normally] (gdb) No OpenCL platform has the specified device type (HOUDINI_OCL_DEVICETYPE): GPU. Falling back to built-in CPU OpenCL driver (see HOUDINI_USE_HFS_OCL) No OpenCL platform has the specified device type (HOUDINI_OCL_DEVICETYPE): GPU. Falling back to built-in CPU OpenCL driver (see HOUDINI_USE_HFS_OCL) 2240132: Fatal error: Segmentation fault (sent by pid 0) Crash log saved to /tmp/houdini_temp/crash.untitled.bottleship_2240132_log.txt thread apply all bt
I'm glad you figured it out. fyi, adding /lib/x86_64-linux-gnu/libc_malloc_debug.so.0 to your LD_PRELOAD is no longer needed as of 19.0.594 and will greatly reduce performance.