lava / matplotlib-cpp

Extremely simple yet powerful header-only C++ plotting library built on the popular matplotlib
MIT License
4.27k stars 1.12k forks source link

basic.cpp from README crashes #328

Open yurivict opened 1 year ago

yurivict commented 1 year ago

Stack:

Thread 1 received signal SIGSEGV, Segmentation fault.
Address not mapped to object.
0x000000084a63443b in ?? () from /usr/local/lib/qt5/libQt5Core.so.5
(gdb) bt
#0  0x000000084a63443b in ?? () from /usr/local/lib/qt5/libQt5Core.so.5
#1  0x000000084a62e835 in QCoreApplication::~QCoreApplication() () from /usr/local/lib/qt5/libQt5Core.so.5
#2  0x000000085049773d in QApplication::~QApplication() () from /usr/local/lib/qt5/libQt5Widgets.so.5
#3  0x00000008500de9ee in sipQApplication::~sipQApplication() () from /usr/local/lib/python3.9/site-packages/PyQt5/QtWidgets.abi3.so
#4  0x000000084a0da238 in ?? () from /usr/local/lib/python3.9/site-packages/PyQt5/QtCore.abi3.so
#5  0x000000080041cd6e in ?? () from /usr/local/lib/libpython3.9.so.1.0
#6  0x00000008005432d2 in ?? () from /usr/local/lib/libpython3.9.so.1.0
#7  0x00000008004e726f in Py_FinalizeEx () from /usr/local/lib/libpython3.9.so.1.0
#8  0x0000000000208af1 in matplotlibcpp::detail::_interpreter::~_interpreter (this=0x20d6b0 <matplotlibcpp::detail::_interpreter::interkeeper(bool)::ctx>)
    at /usr/local/include/matplotlibcpp.h:288
#9  0x00000008008a7a3d in __cxa_finalize (dso=0x0) at /disk-samsung/freebsd-src/lib/libc/stdlib/atexit.c:238
#10 0x00000008008a7fc1 in exit (status=0) at /disk-samsung/freebsd-src/lib/libc/stdlib/exit.c:74
#11 0x0000000000205557 in _start (ap=<optimized out>, cleanup=<optimized out>) at /disk-samsung/freebsd-src/lib/csu/amd64/crt1_c.c:75
(gdb) 

rev. ef0383f clang-14 FreeBSD 13.1 STABLE