cmake -DMARBLE_INCLUDE_DIR broken?

Gaetan Bisson bisson at archlinux.org
Wed Sep 23 19:36:45 PDT 2015


[2015-09-23 15:53:59 -1000] Gaetan Bisson:
> Ah, that second issue goes away (and subsurface builds fine) when I add
> the cmake option -DMARBLE_LIBRARIES=/usr/lib/libssrfmarblewidget.so .

Oh, now I'm getting a segfault when I edit any dive and click "Apply Changes".

Program received signal SIGSEGV, Segmentation fault.
0x0000000000627ca5 in copy_dive_site ()
(gdb) bt
#0  0x0000000000627ca5 in copy_dive_site ()
#1  0x0000000000594711 in MainTab::updateDiveSite(int) ()
#2  0x000000000059bb2d in MainTab::acceptChanges() ()
#3  0x000000000055a1dd in ?? ()
#4  0x00007ffff142bfea in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff23dd3d2 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5
#6  0x00007ffff23df878 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5
#7  0x00007ffff24e5900 in ?? () from /usr/lib/libQt5Widgets.so.5
#8  0x00007ffff24e5a34 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#9  0x00007ffff25aa17a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#10 0x00007ffff2429f08 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007ffff25aa259 in QToolButton::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#12 0x00007ffff23e700c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#13 0x00007ffff23ecbe9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007ffff13fd89b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#15 0x00007ffff23ebaf2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007ffff244474b in ?? () from /usr/lib/libQt5Widgets.so.5
#17 0x00007ffff2446cfb in ?? () from /usr/lib/libQt5Widgets.so.5
#18 0x00007ffff23e700c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#19 0x00007ffff23ec4e6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#20 0x00007ffff13fd89b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#21 0x00007ffff1c0cc81 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#22 0x00007ffff1c0e955 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#23 0x00007ffff1bf3e08 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#24 0x00007fffe22fb9f0 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#25 0x00007fffec9ad9fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0x00007fffec9adce0 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0x00007fffec9add8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0x00007ffff145423f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#29 0x00007ffff13fb26a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#30 0x00007ffff140320c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#31 0x00000000004926c0 in main ()

I'm running the latest git (commit 6ee2a44).

-- 
Gaetan


More information about the subsurface mailing list