Search the Community
Showing results for tags 'segfault'.
-
I am trying to resurrect an old version of a Houdini plugin that no longer works with newer versions of Houdini. I've tracked down the issue to a segfault happening in the file $HFS/toolkit/include/openvdb/Grid.h , where the function Grid<TreeT>::setTree(TreeBase::Ptr tree) is checking the type of the tree: tree->type() I can't figure out what could be causing this to segfault. When I print ouf the tree details with tree->print(std::cout, 4) I see that the tree type is "Tree_float_5_4_3", which seems fine? So why would this cause an issue? Anyone have any ideas? The full print output is: Information about Tree: Type: Tree_float_5_4_3 Configuration: Root(1 x 1), Internal(1 x 32^3), Internal(6 x 16^3), Leaf(5,207 x 8^3) Background value: 0 Min value: 0 Max value: 15.9799 Number of active voxels: 4,927,500 Number of active tiles: 5,813 Bounding box of active voxels: [0, 0, 0] -> [299, 224, 72] Dimensions of active voxels: 300 x 225 x 73 Percentage of active voxels: 100% Average leaf node fill ratio: 73.2% Number of unallocated nodes: 0 (0%) Memory footprint: Actual: 11.099 MB Active leaf voxels: 7.443 MB Dense equivalent: 18.797 MB Actual footprint is 59% of an equivalent dense volume Leaf voxel footprint is 67.1% of actual footprint Tree_float_5_4_3
-
I created a custom SOP. Sometimes I can cook it successfully, other times it segfaults. It seems to always segfault after the "cookMySop()" function completes (i.e., outside of the code that I wrote???). When it segfaults, it either gives me one of two error logs, or no error log at all. Here are the two error logs. Can anyone make sense of them and direct me in a direction that I can start to look to debug this? Log version 1: 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> [0xf70e] <libpthread.so.0> UT_StringArray::entries() const <libHoudiniUT.so> GT_AttributeMap::GT_AttributeMap(GT_AttributeMap const&) <libHoudiniGEO.so> GT_AttributeList::addAttribute(char const*, UT_IntrusivePtr<GT_DataArray> const&, bool) const <libHoudiniGEO.so> GT_PrimVolume::getPointPrimitive() <libHoudiniGEO.so> GR_PrimVolume::update(RE_Render*, UT_IntrusivePtr<GT_Primitive> const&, GR_UpdateParms const&) <libHoudiniAPPS3.so> GUI_GeoRender::updatePrimitives(RE_Render*, GR_DisplayOption*, UT_Array<UT_IntrusivePtr<GT_Primitive> >&, GT_RefineParms&, GR_UpdateReason, GR_DecorationOverride, char const*) <libHoudiniAPPS3.so> GUI_GeoRender::update(RE_Render*, GR_DisplayOption*, GUI_SetupResult, GR_DecorationOverride, char const*, bool&) <libHoudiniAPPS3.so> GUI_DetailLook::updateForRender(RE_Render*, GUI_DisplayOption&, RE_LightList*, GR_DecorationOverride, char const*, bool&) <libHoudiniAPPS3.so> DM_VPortAgent3D::setupGeometry(RE_Render*) <libHoudiniAPPS3.so> DM_VPortAgent3D::renderViewport(RE_Render*, int, int, bool, bool) <libHoudiniAPPS3.so> DM_VPortAgent3D::doRender(RE_Render*, int, int) <libHoudiniAPPS3.so> DM_Viewport::doRender(RE_Render*, int, int) <libHoudiniAPPS3.so> UI_Feel::renderMe(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::doRenderKids(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::doRender(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::renderMe(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::doRenderKids(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::doRender(RE_Render*, int, int) <libHoudiniUI.so> UI_Viewport::reRender(RE_Render*, bool) <libHoudiniUI.so> UI_Window::renderChildViews(RE_Render*) <libHoudiniUI.so> UI_Window::doRedraw() <libHoudiniUI.so> UI_Queue::doWindowRedraws() <libHoudiniUI.so> UI_Queue::processNextEvent() <libHoudiniUI.so> UI_Queue::drain() <libHoudiniUI.so> UI_Queue::eventLoop() <libHoudiniUI.so> main_part2(int, char const* const*) <libHoudiniUI.so> main <libHoudiniUI.so> [0x1ed1b] <libc.so.6> _start <houdini-bin> Log version 2: 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> [0xf70e] <libpthread.so.0> RE_TextureFont::getGlyphInfo(unsigned int) <libHoudiniUI.so> RE_TextureFont::getStringWidth(unsigned char const*, unsigned char const*, UT_Unicode::transform const*) <libHoudiniUI.so> SI_DopeSheet::renderFrameIndex(RE_Render*, float, float, int, int, int, int, double) <libHoudiniUI.so> SI_DopeSheet::renderFrameIndicator(RE_Render*, int, int, float, float) <libHoudiniUI.so> SI_DopeSheet::doRender(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::renderMe(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::doRenderKids(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::doRender(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::renderMe(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::doRenderKids(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::doRender(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::renderMe(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::doRenderKids(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::doRender(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::renderMe(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::doRenderKids(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::doRender(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::renderMe(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::doRenderKids(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::doRender(RE_Render*, int, int) <libHoudiniUI.so> UI_Window::doRender(RE_Render*, int, int) <libHoudiniUI.so> UI_Feel::renderMe(RE_Render*, int, int) <libHoudiniUI.so> UI_Window::doRedraw() <libHoudiniUI.so> UI_Queue::doWindowRedraws() <libHoudiniUI.so> UI_Queue::processNextEvent() <libHoudiniUI.so> UI_Queue::drain() <libHoudiniUI.so> UI_Queue::eventLoop() <libHoudiniUI.so> main_part2(int, char const* const*) <libHoudiniUI.so> main <libHoudiniUI.so> [0x1ed1b] <libc.so.6> _start <houdini-bin>