Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in poisson2_example #200

Open
mmoelle1 opened this issue Jun 25, 2018 · 6 comments
Open

Bug in poisson2_example #200

mmoelle1 opened this issue Jun 25, 2018 · 6 comments
Assignees
Labels

Comments

@mmoelle1
Copy link
Contributor

Dear all,

there seems to be a bug in the poisson2_example.cpp file which only shows when compiled in Debug mode. The code compiles fine but give the following error when run:

Loaded file /DO_NOT_SHOW_HOME_DIR_PATH/gismo.stable/filedata/pde/poisson2d_bvp.xml
Source function [ 2*pi^2*sin(pi*x)*sin(pi*y) ]
Boundary conditions:
* Dirichlet     : 6

Patches: 2, degree: 2
(dot1=assembled, dot2=solved, dot3=got_error)

DoFs: 10libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: GISMO_ENSURE `m_curElimId==0` finalize() was not called on gsDofMapper
/DO_NOT_SHOW_HOME_DIR_PATH/gismo.stable/src/gsCore/gsDofMapper.h, line 408 (boundarySize)
Abort trap: 6

Any help is appreciated.

Matthias

@filiatra
Copy link
Member

Hi,
I cannot reproduce this.. on linux in Debug mode it seems to run fine..
Even valgrind finds no flaws...

@mmoelle1
Copy link
Contributor Author

mmoelle1 commented Jun 26, 2018 via email

@filiatra
Copy link
Member

Ok also trying clang on linux right now

@mmoelle1
Copy link
Contributor Author

mmoelle1 commented Jun 26, 2018 via email

@mmoelle1
Copy link
Contributor Author

mmoelle1 commented Jun 26, 2018 via email

@hverhelst
Copy link
Member

@mmoelle1 @filiatra can we close this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants