Houdini crashes when display flag is set to any custom HDK OP. Issue persists even on sample SOP_Star.
My system info:
Linux Mint 18.1
GCC 5.4.0
Xorg:
X.Org X Server 1.18.3
Release Date: 2016-04-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.13.0-85-generic x86_64 Ubuntu
Current Operating System: Linux mint 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-64-generic root=UUID=234159aa-9bd2-425e-9cbb-ea402e8e8f4c ro quiet splash
Build Date: 07 April 2016 09:18:50AM
xorg-server 2:1.18.3-1ubuntu2 (For technical support please see http://www.ubuntu.com/support) [ubuntu.com]
Current version of pixman: 0.33.6
Nvidia Driver: 340.102 (which is current stable for Mint/Ubuntu)
GDB debug report:
gdb $HFS/bin/houdini-bin
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html [gnu.org]>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
This GDB was configured as “x86_64-linux-gnu”.
Type “show configuration” for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/ [gnu.org]>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/ [gnu.org]>.
For help, type “help”.
Type “apropos word” to search for commands related to “word”…
Reading symbols from /opt/hfs16.0.504.20/bin/houdini-bin…(no debugging symbols found)…done.
(gdb) run -foreground
Starting program: /opt/hfs16.0.504.20/bin/houdini-bin -foreground
Using host libthread_db library “/lib/x86_64-linux-gnu/libthread_db.so.1”.
New Thread 0x7fffd3d09700 (LWP 19212)
New Thread 0x7fffc17ff700 (LWP 19215)
New Thread 0x7fffb3fff700 (LWP 19224)
New Thread 0x7fffb37fe700 (LWP 19225)
New Thread 0x7fffb2bff700 (LWP 19226)
New Thread 0x7fffab3ff700 (LWP 19227)
New Thread 0x7fffaabfe700 (LWP 19230)
Thread 0x7fffc17ff700 (LWP 19215) exited
Thread 1 “houdini-bin” received signal SIGSEGV, Segmentation fault.
0x00007fffe7347951 in OP_Node::getExtraInputNodes(UT_ValArray<OP_Node*>&, bool, bool, bool, bool, bool) const () from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniPRM.so
(gdb) bt
#0 0x00007fffe7347951 in OP_Node::getExtraInputNodes(UT_ValArray<OP_Node*>&, bool, bool, bool, bool, bool) const () from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniPRM.so
#1 0x00007fffe72d5f9c in OP_Network::updateDandROpsEqual(int) ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniPRM.so
#2 0x00007fffe72d5250 in OP_Network::getDandROpsEqual() ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniPRM.so
#3 0x00007fffe7347f15 in OP_Node::cook(OP_Context&)::{lambda()#1}:perator()() const ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniPRM.so
#4 0x00007fffe734fe27 in OP_Node::cook(OP_Context&) ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniPRM.so
#5 0x00007fffe73265af in OP_Node::internalCookInput(OP_Context&, int, OP_Node&) ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniPRM.so
#6 0x00007fffe7326770 in OP_Node::lockInputs(OP_Context&) ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniPRM.so
#7 0x00007ffff2d1f83a in SOP_Node::lockInputs(OP_Context&) ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniOP2.so
#8 0x00007ffff3062629 in SOP_Null::cookMySop(OP_Context&) ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniOP2.so
#9 0x00007ffff2cff781 in SOP_Node::cookMe(OP_Context&) ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniOP2.so
#10 0x00007fffe73489ae in OP_Node::cook(OP_Context&)::{lambda()#1}:perator()() const ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniPRM.so
#11 0x00007fffe734fe27 in OP_Node::cook(OP_Context&) ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniPRM.so
#12 0x00007ffff2d06a80 in void UT_TaskArena::callbackConst<SOP_Node::getCookedGeoHandle(OP_Context&, int)::{lambda()#1}>(void const*) () from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniOP2.so
#13 0x00007fffe23c364e in tbb::interface7::internal::task_arena_base::internal_execute (
this=0x7fffffffd380, d=warning: RTTI symbol not found for class ‘tbb::interface7::internal::delegated_function<(anonymous namespace)::tbbproxy_Delegate>’
…) at ../../src/tbb/arena.cpp:805
#14 0x00007fffcff53d8e in TBBPROXY_TaskArenaExecute ()
from /opt/hfs16.0.504.20/bin/../dsolib/./libTBBPROXY.so
#15 0x00007ffff2d15b34 in SOP_Node::getCookedGeoHandle(OP_Context&, int) ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniOP2.so
#16 0x00007ffff3f93ed3 in OBJ_Node::getDisplayGeometryHandle(OP_Context&, int, OP_Node**) ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniOP3.so
#17 0x00007ffff758f7bd in JEDI_View:puiUpdateNodeInfo(OH_NodeInfo*) ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniAPPS3.so
#18 0x00007fffe7e432f0 in OH_OpHandler:puiUpdateData() ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniUI.so
#19 0x00007ffff730a196 in OP3D_View::doUpdate() ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniAPPS3.so
#20 0x00007ffff758eb7f in JEDI_View:puiUpdateData() ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniAPPS3.so
#21 0x00007fffe7e436e9 in OH_OpHandler::trigger() ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniUI.so
#22 0x00007fffe7c7b3dc in UI_Queue::processNextEvent() ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniUI.so
#23 0x00007fffe7c7b5dc in UI_Queue::drain() ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniUI.so
#24 0x00007fffe7c7bbc0 in UI_Queue::eventLoop() ()
from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniUI.so
#25 0x00007fffe7a5ddcf in main () from /opt/hfs16.0.504.20/bin/../dsolib/libHoudiniUI.so
#26 0x00007fffdb59e830 in __libc_start_main (main=0x401e70 <main@plt>, argc=2,
argv=0x7fffffffe318, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7fffffffe308) at ../csu/libc-start.c:291
#27 0x000000000040223d in _start ()
Houdini keep on crashing while loading custom HDK plugins!
6906 5 2- PradeepBarua
- Member
- 443 posts
- Joined: 9月 2012
- Offline
- cwhite
- スタッフ
- 750 posts
- Joined: 10月 2012
- Offline
- PradeepBarua
- Member
- 443 posts
- Joined: 9月 2012
- Offline
- goldleaf
- スタッフ
- 4200 posts
- Joined: 9月 2007
- Offline
- PradeepBarua
- Member
- 443 posts
- Joined: 9月 2012
- Offline
goldleaf
This bit me too. You can also set HOUDINI_CC=/usr/bin/gcc-4.8 if you don't want to change the system level gcc.
This only works for hcustom as it priorities HOUDINI_CC over CXX and CC. If you are using make, you will have to modity $HFS/toolkit/makefiles/Makefile.linux to use gcc-4.8 without changing the system level gcc.
- kalina
- Member
- 11 posts
- Joined: 8月 2016
- Offline
PradeepBarua
If you are using make, you will have to modity $HFS/toolkit/makefiles/Makefile.linux to use gcc-4.8 without changing the system level gcc.
And how do you do that? The only GCC-related things I see are:
GCCVER := $(shell $(CXX) -dumpversion)
GCCVER_W_SPACES := $(subst ., ,$(GCCVER))
GCCMAJORVER := $(word 1,$(GCCVER_W_SPACES))
GCCMINORVER := $(word 2,$(GCCVER_W_SPACES))
Do I modify one of these, or add something else?
Also, I'm a makefile newbie, so I'm not even sure I'm asking the right questions. I cobbled something together that worked for Houdini14/15, but now Houdini16 crashes. In my own Makefile, I “include $(HFS)/toolkit/makefiles/Makefile.gnu” but not Makefile.linux. Should I modify something in Makefile.gnu as well?
Edited by kalina - 2017年4月10日 16:56:47
-
- Quick Links