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

Segmentation fault (core dumped) #25

Open
matthewyccheung opened this issue Jan 24, 2025 · 0 comments
Open

Segmentation fault (core dumped) #25

matthewyccheung opened this issue Jan 24, 2025 · 0 comments

Comments

@matthewyccheung
Copy link

Hello! Thanks for maintaining this repo. I was able to install and import curvelops.
However when I run any of the examples, I get a segmentation fault.
I ran backtrace on gdb and I get the output below.
Any suggestions on how to solve this?
Thanks in advance!

(gdb) run curvelet.py
Starting program: /home/.../miniconda3/envs/tomosipo/bin/python curvelet.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00000000000033a0 in ?? ()
(gdb) backtrace
#0  0x00000000000033a0 in ?? ()
#1  0x00007ffff670b5d2 in fftw_destroy_plan ()
   from /home/.../miniconda3/envs/tomosipo/lib/python3.11/site-packages/mkl/../../../libmkl_rt.so.2
#2  0x00007fffe3ebd57a in fftwnd_destroy_plan ()
   from /home/.../miniconda3/envs/tomosipo/lib/python3.11/site-packages/curvelops/fdct2d_wrapper.cpython-311-x86_64-linux-gnu.so
#3  0x00007fffe3eb0c51 in fdct_wrapping_ns::fdct_wrapping (N1=100, N2=50, 
    nbscales=3, nbangles_coarse=16, allcurvelets=1, x=..., c=...)
    at fdct_wrapping.cpp:25
#4  0x00007fffe3e99ad0 in fdct2d_forward_wrap(int, int, int, pybind11::array_t<std::complex<double>, 16>) ()
   from /home/.../miniconda3/envs/tomosipo/lib/python3.11/site-packages/curvelops/fdct2d_wrapper.cpython-311-x86_64-linux-gnu.so
#5  0x00007fffe3eabe2c in pybind11::cpp_function::initialize<std::vector<std::vector<pybind11::array_t<std::complex<double>, 16>, std::allocator<pybind11::array_t<std::complex<double>, 16> > >, std::allocator<std::vector<pybind11::array_t<std::complex<double>, 16>, std::allocator<pybind11::array_t<std::complex<double>, 16> > > > > (*&)(int, int, int, pybind11::array_t<std::complex<double>, 16>), std::vector<std::vector<pybind11::array_t<std::complex<double>, 16>, std::allocator<pybind11::array_t<std::complex<double>, 16> > >, std::allocator<std::vector<pybind11::array_t<std::complex<double>, 16>, std::allocator<pybind11::array_t<std::complex<double>, 16> > > > >, int, int, int, pybind11::array_t<std::complex<do--Type <RET> for more, q to quit, c to continue without paging--
uble>, 16>, pybind11::name, pybind11::scope, pybind11::sibling, char [16], pybind11::return_value_policy>(std::vector<std::vector<pybind11::array_t<std::complex<double>, 16>, std::allocator<pybind11::array_t<std::complex<double>, 16> > >, std::allocator<std::vector<pybind11::array_t<std::complex<double>, 16>, std::allocator<pybind11::array_t<std::complex<double>, 16> > > > > (*&)(int, int, int, pybind11::array_t<std::complex<double>, 16>), std::vector<std::vector<pybind11::array_t<std::complex<double>, 16>, std::allocator<pybind11::array_t<std::complex<double>, 16> > >, std::allocator<std::vector<pybind11::array_t<std::complex<double>, 16>, std::allocator<pybind11::array_t<std::complex<double>, 16> > > > > (*)(int, int, int, pybind11::array_t<std::complex<double>, 16>), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, char const (&) [16], pybind11::return_value_policy const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&) ()
   from /home/.../miniconda3/envs/tomosipo/lib/python3.11/site-packages/curvelops/fdct2d_wrapper.cpython-311-x86_64-linux-gnu.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant