On Sun, 2019-07-14 at 10:03 +0200, Berthold Stoeger wrote: > Hi Steve, > > > > On Sunday, 14 July 2019 08:00:44 CEST Steve wrote: > > > I had a quick chance today to setup a build environment, I also > found > > > something that consistently caused it to crash which was loading > from > > > cloud and then trying to save to a local file.eg: load from cloud, > then > > > file save as choose location click save button then Segmentation > fault > > > (core dumped) unfortunately the debug did not show any more > > > information.Can anyone else reproduce this? > > > > Please try to run under gdb: > > > > $ gdb ./subsurface > > (gdb) run > > ... make it crash ... > > (gdb) where > > > > That should give a backtrace. > > > > Alternatively, run it under 'valgrind' > > $ valgrind ./subsurface 2>dump > > > > But be warned that this is very slow. > > > > Thank you, > > > > Berthold
Cheers, output below: [steve@t490 ~]$ gdb ./src/subsurface/build/subsurfaceGNU gdb (GDB) Fedora 8.3-6.fc30Copyright (C) 2019 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html>This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.Type "show copying" and "show warranty" for details.This GDB was configured as "x86_64-redhat-linux-gnu".Type "show configuration" for configuration details.For bug reporting instructions, please see:<http://www.gnu.org/software/gdb/bugs/>;.Find the GDB manual and other documentation resources online at: <http:/ /www.gnu.org/software/gdb/documentation/>;;. For help, type "help".Type "apropos word" to search for commands related to "word"...Reading symbols from ./src/subsurface/build/subsurface...(gdb) runStarting program: /home/steve/src/subsurface/build/subsurface Missing separate debuginfos, use: dnf debuginfo-install glibc-2.29-15.fc30.x86_64[Thread debugging using libthread_db enabled]Using host libthread_db library "/lib64/libthread_db.so.1".[New Thread 0x7ffff21e0700 (LWP 19223)][New Thread 0x7ffff19a4700 (LWP 19232)]Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.[New Thread 0x7ffff0e00700 (LWP 19427)][New Thread 0x7fffd65a7700 (LWP 19909)][New Thread 0x7fffd5da6700 (LWP 19910)][New Thread 0x7fffd55a5700 (LWP 19913)][New Thread 0x7fffd4da4700 (LWP 19917)][New Thread 0x7fffc6cda700 (LWP 20205)][New Thread 0x7fffc61d1700 (LWP 20509)][New Thread 0x7fffbaf80700 (LWP 862)][New Thread 0x7fffba77f700 (LWP 925)][Thread 0x7fffba77f700 (LWP 925) exited][Thread 0x7fffbaf80700 (LWP 862) exited][New Thread 0x7fffbaf80700 (LWP 7419)][Thread 0x7fffbaf80700 (LWP 7419) exited][New Thread 0x7fffbaf80700 (LWP 7422)][New Thread 0x7fffba77f700 (LWP 7423)][New Thread 0x7fffb9f7e700 (LWP 7424)][Thread 0x7fffb9f7e700 (LWP 7424) exited][Thread 0x7fffbaf80700 (LWP 7422) exited][New Thread 0x7fffbaf80700 (LWP 7425)][Thread 0x7fffd55a5700 (LWP 19913) exited][New Thread 0x7fffd55a5700 (LWP 7434)][New Thread 0x7fffb9f7e700 (LWP 7435)][Thread 0x7fffb9f7e700 (LWP 7435) exited][Thread 0x7fffd55a5700 (LWP 7434) exited][Thread 0x7fffba77f700 (LWP 7423) exited][New Thread 0x7fffba77f700 (LWP 7444)][New Thread 0x7fffd55a5700 (LWP 7445)][New Thread 0x7fffb9f7e700 (LWP 7446)][New Thread 0x7fffb977d700 (LWP 7447)][Thread 0x7fffb9f7e700 (LWP 7446) exited][Thread 0x7fffb977d700 (LWP 7447) exited][Thread 0x7fffd55a5700 (LWP 7445) exited][New Thread 0x7fffd55a5700 (LWP 7457)][Thread 0x7fffd55a5700 (LWP 7457) exited][New Thread 0x7fffd55a5700 (LWP 7462)][Thread 0x7fffba77f700 (LWP 7444) exited] Thread 1 "subsurface" received signal SIGSEGV, Segmentation fault.0x0000000000708fcd in save_cylinder_info (dive=0xc34f240, b=0x7fffffffc2c0) at /home/steve/src/subsurface/core/save-xml.c:193193 show_utf8(b, cylinderuse_text[cylinder- >cylinder_use], " use='", "'", 1);Missing separate debuginfos, use: dnf debuginfo-install GConf2-3.2.6-26.fc30.x86_64 adwaita-qt5-1.0.90- 2.fc30.x86_64 at-spi2-atk-2.32.0-1.fc30.x86_64 at-spi2-core-2.32.1- 2.fc30.x86_64 atk-2.32.0-1.fc30.x86_64 brotli-1.0.7-3.fc30.x86_64 bzip2-libs-1.0.6-29.fc30.x86_64 cairo-1.16.0-5.fc30.x86_64 cairo- gobject-1.16.0-5.fc30.x86_64 cyrus-sasl-lib-2.1.27-0.6rc7.fc30.x86_64 dbus-glib-0.110-5.fc30.x86_64 dbus-libs-1.12.16-1.fc30.x86_64 dconf- 0.32.0-1.fc30.x86_64 expat-2.2.7-1.fc30.x86_64 fontconfig-2.13.1- 8.fc30.x86_64 freetype-2.9.1-7.fc30.x86_64 fribidi-1.0.5-2.fc30.x86_64 gdk-pixbuf2-2.38.1-1.fc30.x86_64 glib2-2.60.4-1.fc30.x86_64 graphite2- 1.3.10-7.fc30.x86_64 gtk3-3.24.10-1.fc30.x86_64 harfbuzz-2.3.1- 1.fc30.x86_64 keyutils-libs-1.6-2.fc30.x86_64 krb5-libs-1.17- 14.fc30.x86_64 libICE-1.0.9-15.fc30.x86_64 libSM-1.2.3-2.fc30.x86_64 libX11-1.6.7-1.fc30.x86_64 libX11-xcb-1.6.7-1.fc30.x86_64 libXau-1.0.9- 1.fc30.x86_64 libXcursor-1.1.15-5.fc30.x86_64 libXext-1.3.3- 11.fc30.x86_64 libXfixes-5.0.3-9.fc30.x86_64 libXi-1.7.9-9.fc30.x86_64 libXinerama-1.1.4-3.fc30.x86_64 libXrandr-1.5.1-9.fc30.x86_64 libXrender-0.9.10-9.fc30.x86_64 libXxf86vm-1.1.4-11.fc30.x86_64 libblkid-2.33.2-1.fc30.x86_64 libcurl-7.64.0-8.fc30.x86_64 libdrm- 2.4.99-1.fc30.x86_64 libepoxy-1.5.3-2.fc30.x86_64 libgcc-9.1.1- 1.fc30.x86_64 libgcrypt-1.8.4-3.fc30.x86_64 libglvnd-glx-1.1.0- 4.gitf92208b.fc30.x86_64 libgpg-error-1.33-2.fc30.x86_64 libicu-63.2- 2.fc30.x86_64 libidn2-2.2.0-1.fc30.x86_64 libmount-2.33.2-1.fc30.x86_64 libnghttp2-1.38.0-1.fc30.x86_64 libpng-1.6.36-1.fc30.x86_64 libpsl- 0.20.2-6.fc30.x86_64 librsvg2-2.45.6-1.fc30.x86_64 libselinux-2.9- 1.fc30.x86_64 libssh-0.8.7-1.fc30.x86_64 libssh2-1.8.2-1.fc30.x86_64 libstdc++-9.1.1-1.fc30.x86_64 libthai-0.1.28-2.fc30.x86_64 libunistring-0.9.10-5.fc30.x86_64 libusbx-1.0.22-2.fc30.x86_64 libuuid- 2.33.2-1.fc30.x86_64 libwayland-cursor-1.17.0-1.fc30.x86_64 libxcrypt- 4.4.6-2.fc30.x86_64 libxkbcommon-x11-0.8.3-1.fc30.x86_64 libxml2-2.9.9- 2.fc30.x86_64 libxshmfence-1.3-4.fc30.x86_64 libxslt-1.1.33- 1.fc30.x86_64 libzip-1.5.2-1.fc30.x86_64 lz4-libs-1.8.3-2.fc30.x86_64 mesa-libglapi-19.0.8-1.fc30.x86_64 openssl-libs-1.1.1c-2.fc30.x86_64 pcre-8.43-2.fc30.x86_64 pcre2-10.33-4.fc30.x86_64 pcre2-utf16-10.33- 4.fc30.x86_64 qgnomeplatform-0.5-10.fc30.x86_64 qt5-qtbase-5.12.4- 1.fc30.x86_64 qt5-qtbase-gui-5.12.4-1.fc30.x86_64 qt5-qtconnectivity- 5.12.4-1.fc30.x86_64 qt5-qtdeclarative-5.12.4-1.fc30.x86_64 qt5- qtlocation-5.12.4-1.fc30.x86_64 sqlite-libs-3.26.0-5.fc30.x86_64 sssd- client-2.2.0-3.fc30.x86_64 xcb-util-0.4.0-12.fc30.x86_64 xcb-util- image-0.4.0-12.fc30.x86_64 xcb-util-keysyms-0.4.0-10.fc30.x86_64 xcb- util-renderutil-0.3.9-13.fc30.x86_64 xz-libs-5.2.4-5.fc30.x86_64 zlib- 1.2.11-15.fc30.x86_64(gdb) (gdb) where#0 0x0000000000708fcd in save_cylinder_info (dive=0xc34f240, b=0x7fffffffc2c0) at /home/steve/src/subsurface/core/save-xml.c:193#1 save_one_dive_to_mb ( b=b@entry=0x7fffffffc2c0, dive=0xc34f240, anonymize=anonymize@entry=fal se) at /home/steve/src/subsurface/core/save- xml.c:501#2 0x000000000070a13d in save_trip (anonymize=false, trip=0xccb4eb0, b=0x7fffffffc2c0) at /home/steve/src/subsurface/core/save-xml.c:541#3 save_dives_buffer ( b=b@entry=0x7fffffffc2c0, select_only=select_only@entry=false, anonymize=anonymize@entry=false) at /home/steve/src/subsurface/core/save-xml.c:654#4 0x000000000070a203 in save_dives_logic (filename=0x9512678 " /home/steve/[email protected]", select_only=select_only@entry=false, anonymize=anonymize@entry=false) at /home/steve/src/subsurface/core/save- xml.c:729#5 0x000000000070a2c9 in save_dives (filename=<optimized out>) at /home/steve/src/subsurface/core/save- xml.c:581#6 0x00000000005b997c in MainWindow::file_save_as (this=0xef5be0) at /usr/include/qt5/QtCore/qarraydata.h:208#7 0x0000000000514a1c in MainWindow::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/steve/src/subsurface/build/desktop- widgets/subsurface_interface_autogen/EWIEGA46WW/moc_mainwindow.cpp:327# 8 0x0000000000518ba3 in MainWindow::qt_metacall (this=0xef5be0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fffffffc500) at /home/steve/src/subsurface/build/desktop- widgets/subsurface_interface_autogen/EWIEGA46WW/moc_mainwindow.cpp:432# 9 0x00007ffff5cdce3c in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5#10 0x00007ffff7292476 in QAction::triggered(bool) () from /lib64/libQt5Widgets.so.5#11 0x00007ffff7294b32 in QAction::activate(QAction::ActionEvent) () from /lib64/libQt5Widgets.so.5#12 0x00007ffff741a412 in ?? () from /lib64/libQt5Widgets.so.5#13 0x00007ffff7421b5e in ?? () from /lib64/libQt5Widgets.so.5#14 0x00007ffff7422b82 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5#15 0x00007ffff72db16e in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5#16 0x00007ffff742517b in QMenu::event(QEvent*) () from /lib64/libQt5Widgets.so.5#17 0x00007ffff7298af6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5#18 0x00007ffff72a20d3 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5#19 0x00007ffff5cb2ae8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5#20 0x00007ffff72a11b7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5#21 0x00007ffff72f79a4 in ?? () from /lib64/libQt5Widgets.so.5#22 0x00007ffff72f9eac in ?? () from /lib64/libQt5Widgets.so.5#23 0x00007ffff7298af6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5#24 0x00007ffff72a1e80 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5#25 0x00007ffff5cb2ae8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5#26 0x00007ffff6832848 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate ::MouseEvent*) () from /lib64/libQt5Gui.so.5#27 0x00007ffff683415b in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterface Private::WindowSystemEvent*) () from /lib64/libQt5Gui.so.5#28 0x00007ffff680fd1b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::Proce ssEventsFlag>) () from /lib64/libQt5Gui.so.5#29 0x00007ffff102eb9e in ?? () from /lib64/libQt5XcbQpa.so.5#30 0x00007ffff4777edd in g_main_context_dispatch () from /lib64/libglib-2.0.so.0#31 0x00007ffff4778270 in ?? () from /lib64/libglib-2.0.so.0#32 0x00007ffff4778313 in g_main_context_iteration () from /lib64/libglib- 2.0.so.0#33 0x00007ffff5d07bd5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFla g>) () from /lib64/libQt5Core.so.5#34 0x00007ffff5cb19eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5#35 0x00007ffff5cb9726 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5#36 0x000000000050a684 in main (argc=<optimized out>, argv=<optimized out>) at /home/steve/src/subsurface/subsurface-desktop-main.cpp:116(gdb)
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
