dealii / candi

candi - (Compile & Install) - Downloads, configures, builds and installs deal.II
GNU Lesser General Public License v3.0
63 stars 61 forks source link

segmentation fault at finalize #347

Open norihiro-w opened 1 year ago

norihiro-w commented 1 year ago

Hi,

I've installed deal.ii v9.4.2 using candi on Ubuntu. The installation finished successfuly. However, running the examples (both step-1 and step-2) ended with segmentation fault.

Below is output of backtrace. It looks the executables mostly worked but crashed at finalization stage and the crash is somehow related to opencascade.

#0  0x00007fffd3fddc98 in vtable for __cxxabiv1::__si_class_type_info () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
#1  0x00007fffc4404603 in NCollection_BaseSequence::ClearSeq(void (*)(NCollection_SeqNode*, opencascade::handle<NCollection_BaseAllocator>&)) () from /usr/lib/x86_64-linux-gnu/libTKernel.so.7 
#2  0x00007fffbc761422 in StepData_EnumTool::~StepData_EnumTool() () from /usr/lib/x86_64-linux-gnu/libTKSTEPAttr.so.7 
#3  0x00007fffd3c1efde in __cxa_finalize (d=0x7fffbc7e7000) at cxa_finalize.c:83 
#4  0x00007fffbc758477 in ?? () from /usr/lib/x86_64-linux-gnu/libTKSTEPAttr.so.7 
#5  0x00007fffffffd680 in ?? () 
#6  0x00007ffff7fe0f6b in _dl_fini () at dl-fini.c:138 

A temporal workarond is disabling opencascade in candi build.