Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Using deal.II dev crashes when loading any shared libraries #2794
I am in the process of fixing #2602 by rebasing and fixing #1957. I found a number of small things, but I have a more severe problem that I could not debug in several hours today. I will take another look tomorrow or next week, but maybe @tjhei or @bangerth immediately see the problem, so I thought I could ask.
With the recent deal.II master and my rebased ASPECT branch that fixes #2602 (and works normal models) all models loading shared libraries into ASPECT fail immediately (when the library is loaded) with
gdb does not give helpful output, and when I run valgrind/memcheck for this model I get the following output (shortened, the part I left out is repeating the error message many times for different finite element classes):
To me it looks like a static member of the FETools namespace is causing issues upon its construction. Could this be related to the fact that we load the shared library (i.e. do we create the static member twice and causing issues by that?)? I would be grateful for pointers, as I am completely new to this FETools namespace and it is quite confusing.
Do you have the patch to make things compile? I am seeing
and I assume you tackled those already...
referenced this issue
Feb 1, 2019
I rebased #1957 that should now compile with any recent deal.II, but I also found the issue: