Hi,
There is something wrong with the modification to DynBVH in r2053. It
causes seg fault in release build. The seg fault does not show up
with debug build.
(gdb) bt
#0 0x000000338600d310 in __read_nocancel () from /lib64/ libpthread.so.0
#1 0x00002ad63f66d3b7 in Manta::Thread::niceAbort (
context=<value optimized out>) at /tmp/Manta/Core/Thread/ Thread.cc:308
#2 0x00002ad63f672bc6 in handle_abort_signals (sig=11, ctx=
{r8 = 0, r9 = 0, r10 = 0, r11 = 18410715272395620354, r12 = 0, r13 = 140735009527560, r14 = 179, r15 = 2, rdi = 2874, rsi = 179, rbp = 140735009528976, rbx = 6597488, rdx = 4294967295, rax = 6597488, rcx = 140735009528976, rsp = 178, rip = 46912501188080, eflags = 178, cs = 65535, gs = 65535, fs = 0, __pad0 = 0, err = 179, trapno = 140735009527552, oldmask = 47099666422575, cr2 = 66118, fpstate = 0xc28c000000000033, __reserved1 = {6, 14, 0, 46912501188104, 140735009526912, 9187343237679939583, 18410715274534715391, 18410715276682199039}})
at /tmp/Manta/Core/Thread/Thread_pthreads.cc:681
#3 <signal handler called>
#4 Manta::DynBVH::build (this=0x64ab70, context=@0x7fff6c401c90,
nodeID=<value optimized out>, objectBegin=178, objectEnd=179)
at /tmp/Manta/Model/Groups/DynBVH.h:43
#5 0x00002ad63ee2db09 in Manta::DynBVH::build (this=0x64ab70,
context=@0x7fff6c401c90, nodeID=<value optimized out>, objectBegin=178,
objectEnd=180) at /tmp/Manta/Model/Groups/DynBVH.cc:1333
#6 0x00002ad63ee2db09 in Manta::DynBVH::build (this=0x64ab70,
context=@0x7fff6c401c90, nodeID=<value optimized out>, objectBegin=178,
objectEnd=183) at /tmp/Manta/Model/Groups/DynBVH.cc:1333
#7 0x00002ad63ee2db09 in Manta::DynBVH::build (this=0x64ab70,
context=@0x7fff6c401c90, nodeID=<value optimized out>, objectBegin=178,
objectEnd=189) at /tmp/Manta/Model/Groups/DynBVH.cc:1333
#8 0x00002ad63ee2db09 in Manta::DynBVH::build (this=0x64ab70,
context=@0x7fff6c401c90, nodeID=<value optimized out>, objectBegin=178,
objectEnd=200) at /tmp/Manta/Model/Groups/DynBVH.cc:1333
#9 0x00002ad63ee2db09 in Manta::DynBVH::build (this=0x64ab70,
context=@0x7fff6c401c90, nodeID=<value optimized out>, objectBegin=178,
objectEnd=222) at /tmp/Manta/Model/Groups/DynBVH.cc:1333
#10 0x00002ad63ee2db09 in Manta::DynBVH::build (this=0x64ab70,
context=@0x7fff6c401c90, nodeID=<value optimized out>, objectBegin=178,
objectEnd=267) at /tmp/Manta/Model/Groups/DynBVH.cc:1333
#11 0x00002ad63ee2db09 in Manta::DynBVH::build (this=0x64ab70,
context=@0x7fff6c401c90, nodeID=<value optimized out>, objectBegin=178,
objectEnd=356) at /tmp/Manta/Model/Groups/DynBVH.cc:1333
#12 0x00002ad63ee2db20 in Manta::DynBVH::build (this=0x64ab70,
context=@0x7fff6c401c90, nodeID=<value optimized out>, objectBegin=0,
objectEnd=356) at /tmp/Manta/Model/Groups/DynBVH.cc:1334
#13 0x00002ad63ee2db09 in Manta::DynBVH::build (this=0x64ab70,
context=@0x7fff6c401c90, nodeID=<value optimized out>, objectBegin=0,
objectEnd=588) at /tmp/Manta/Model/Groups/DynBVH.cc:1333
#14 0x00002ad63ee2db09 in Manta::DynBVH::build (this=0x64ab70,
context=@0x7fff6c401c90, nodeID=<value optimized out>, objectBegin=0,
objectEnd=1176) at /tmp/Manta/Model/Groups/DynBVH.cc:1333
#15 0x00002ad63ee2db09 in Manta::DynBVH::build (this=0x64ab70,
context=@0x7fff6c401c90, nodeID=<value optimized out>, objectBegin=0,
objectEnd=1459) at /tmp/Manta/Model/Groups/DynBVH.cc:1333
#16 0x00002ad63ee2db09 in Manta::DynBVH::build (this=0x64ab70,
context=@0x7fff6c401c90, nodeID=<value optimized out>, objectBegin=0,
objectEnd=2924) at /tmp/Manta/Model/Groups/DynBVH.cc:1333
#17 0x00002ad63ee2db09 in Manta::DynBVH::build (this=0x64ab70,
context=@0x7fff6c401c90, nodeID=<value optimized out>, objectBegin=0,
objectEnd=4062) at /tmp/Manta/Model/Groups/DynBVH.cc:1333
#18 0x00002ad63ee2db09 in Manta::DynBVH::build (this=0x64ab70,
context=@0x7fff6c401c90, nodeID=<value optimized out>, objectBegin=0,
objectEnd=4336) at /tmp/Manta/Model/Groups/DynBVH.cc:1333
#19 0x00002ad63ee2db09 in Manta::DynBVH::build (this=0x64ab70,
context=@0x7fff6c401c90, nodeID=<value optimized out>, objectBegin=0,
objectEnd=4643) at /tmp/Manta/Model/Groups/DynBVH.cc:1333
#20 0x00002ad63ee2db09 in Manta::DynBVH::build (this=0x64ab70,
context=@0x7fff6c401c90, nodeID=<value optimized out>, objectBegin=0,
objectEnd=11035) at /tmp/Manta/Model/Groups/DynBVH.cc:1333
#21 0x00002ad63ee2e204 in Manta::DynBVH::rebuild (this=0x64ab70,
proc=<value optimized out>, numProcs=<value optimized out>)
at /tmp/Manta/Model/Groups/DynBVH.cc:1279
#22 0x00002aaaaab22f20 in make_scene (args=<value optimized out>)
at /tmp/Manta/scenes/triangleSceneViewer.cc:178
#23 0x00002ad63e6b8740 in Manta::Factory::readMOScene (this=0x6487a0,
name=@0x7fff6c4022d0, args=@0x7fff6c402290,
printErrors=<value optimized out>)
at /tmp/Manta/Engine/Factory/Factory.cc:497
#24 0x00002ad63e6b9270 in Manta::Factory::readScene (this=0x6487a0,
spec=<value optimized out>) at /tmp/Manta/Engine/Factory/ Factory.cc:386
#25 0x000000000041424f in main (argc=<value optimized out>,
argv=<value optimized out>) at /tmp/Manta/StandAlone/manta.cc:386
(gdb)
Archive powered by MHonArc 2.6.16.