<div dir="ltr"><div><div>I've finally been catching up on assigning locations to my last 150 odd dives in Subsurface.  Wow that's a huge effort, but I've got there.<br><br>I've been working with the latest master (commit d8ca04626589221c5f7c178e882cfaa4c095ce2a, Author: Dirk Hohndel <<a href="mailto:dirk@hohndel.org">dirk@hohndel.org</a>>, Date:   Fri Jul 10 13:28:28 2015 -0700), and built everything in a clean directory with build.sh a few hours ago.<br><br></div>Most things are working great, including really useful features I have barely tested before, such as the filtering (awesome), editing multiple dives at once, and location management.<br><br></div>I have a couple of annoyances with the Marble behaviour.<br>Firstly, it keeps zooming out when I right-click to edit the location of a site that doesn't yet have coordinates.<br><br>Secondly, I repeatedly try to use Marble to set coordinates for a dive that doesn't have a location set.  It allows me to right-click and select 'edit location', but then it won't let me double click to choose a new location.  I worked out that it's because I haven't yet named the site, which makes some sense, but it would be good if there were a message in Marble prompting me to name the site first.  Especially because once I work out my mistake, it inevitably zooms out to somewhere over Africa, so I have to zoom and pan to find my way back to whatever little site I'd carefully zoomed to previously in Australia/Asia/New Zealand.<br><div><div><div><div><br></div><div>But the real problem is I'm getting crashes as seemingly random intervals.  It seems to happen when I'm either selecting a different site from the list, merging dives, or editing multiple dives.  Most of the time it doesn't crash, so it's hard to repeat.  Backtrace (copied below in full) and memory map (first few lines copied) are helpfully printed to the command terminal.  It doesn't mean much to me, but it hopefully it does to someone.<br><br></div><div>Running Fedora 22 with Qt 5.4.2 (from Fedora repositories).<br></div><div><br>[rick@localhost build]$ ./subsurface <br>Map theme file does not exist: ""<br>QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory<br>*** Error in `./subsurface': free(): invalid size: 0x00000000034d3e30 ***<br>======= Backtrace: =========<br>/lib64/libc.so.6(+0x77e9d)[0x7fec7ba06e9d]<br>/lib64/libc.so.6(+0x7f53c)[0x7fec7ba0e53c]<br>/lib64/libc.so.6(cfree+0x4c)[0x7fec7ba12e9c]<br>./subsurface(free_taxonomy+0x45)[0x6ca9df]<br>./subsurface(copy_dive_site+0xd7)[0x67f009]<br>./subsurface(_ZN7MainTab14updateDiveInfoEb+0x959)[0x5e3e29]<br>./subsurface(_ZN10MainWindow20current_dive_changedEi+0x56)[0x4fafd0]<br>./subsurface[0x5a1532]<br>/lib64/libQt5Core.so.5(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x7ba)[0x7fec7c59807a]<br>./subsurface(_ZN12DiveListView18currentDiveChangedEi+0x46)[0x59e098]<br>./subsurface(_ZN12DiveListView16selectionChangedERK14QItemSelectionS2_+0x74d)[0x5b934f]<br>/lib64/libQt5Widgets.so.5(+0x3abf01)[0x7fec7d72df01]<br>/lib64/libQt5Core.so.5(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x7ba)[0x7fec7c59807a]<br>/lib64/libQt5Core.so.5(_ZN19QItemSelectionModel16selectionChangedERK14QItemSelectionS2_+0x37)[0x7fec7c5189b7]<br>/lib64/libQt5Core.so.5(_ZN19QItemSelectionModel20emitSelectionChangedERK14QItemSelectionS2_+0x22c)[0x7fec7c51cddc]<br>/lib64/libQt5Core.so.5(_ZN19QItemSelectionModel6selectERK14QItemSelection6QFlagsINS_13SelectionFlagEE+0x1d6)[0x7fec7c51f256]<br>/lib64/libQt5Core.so.5(_ZN19QItemSelectionModel6selectERK11QModelIndex6QFlagsINS_13SelectionFlagEE+0x3c)[0x7fec7c51a84c]<br>/lib64/libQt5Core.so.5(_ZN19QItemSelectionModel15setCurrentIndexERK11QModelIndex6QFlagsINS_13SelectionFlagEE+0x1a4)[0x7fec7c518d94]<br>/lib64/libQt5Widgets.so.5(_ZN17QAbstractItemView13keyPressEventEP9QKeyEvent+0x9b7)[0x7fec7d72c627]<br>/lib64/libQt5Widgets.so.5(_ZN9QTreeView13keyPressEventEP9QKeyEvent+0x6b)[0x7fec7d773b5b]<br>/lib64/libQt5Widgets.so.5(_ZN7QWidget5eventEP6QEvent+0x997)[0x7fec7d517347]<br>/lib64/libQt5Widgets.so.5(_ZN6QFrame5eventEP6QEvent+0x1e)[0x7fec7d6115de]<br>/lib64/libQt5Widgets.so.5(_ZN19QAbstractScrollArea5eventEP6QEvent+0x373)[0x7fec7d694483]<br>/lib64/libQt5Widgets.so.5(_ZN17QAbstractItemView5eventEP6QEvent+0x8b)[0x7fec7d73451b]<br>/lib64/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x8c)[0x7fec7d4d47ec]<br>/lib64/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x939)[0x7fec7d4da429]<br>/lib64/libQt5Core.so.5(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0xdb)[0x7fec7c56767b]<br>/lib64/libQt5Widgets.so.5(+0x1ae5f3)[0x7fec7d5305f3]<br>/lib64/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x8c)[0x7fec7d4d47ec]<br>/lib64/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x3a0)[0x7fec7d4d9e90]<br>/lib64/libQt5Core.so.5(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0xdb)[0x7fec7c56767b]<br>/lib64/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate15processKeyEventEPN29QWindowSystemInterfacePrivate8KeyEventE+0xd7)[0x7fec7cd2e9d7]<br>/lib64/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate24processWindowSystemEventEPN29QWindowSystemInterfacePrivate17WindowSystemEventE+0x115)[0x7fec7cd33975]<br>/lib64/libQt5Gui.so.5(_ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x28)[0x7fec7cd18de8]<br>/usr/lib64/qt5/plugins/platforms/libqxcb.so(+0x5c600)[0x7fec66638600]<br>/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x15a)[0x7fec76462a8a]<br>/lib64/libglib-2.0.so.0(+0x49e20)[0x7fec76462e20]<br>/lib64/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7fec76462ecc]<br>/lib64/libQt5Core.so.5(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x5f)[0x7fec7c5beb6f]<br>/lib64/libQt5Core.so.5(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x10a)[0x7fec7c564eba]<br>/lib64/libQt5Core.so.5(_ZN16QCoreApplication4execEv+0x9c)[0x7fec7c56ca2c]<br>./subsurface(_Z6run_uiv+0x1d)[0x4e1356]<br>./subsurface(main+0x484)[0x4e02fa]<br>/lib64/libc.so.6(__libc_start_main+0xf0)[0x7fec7b9af790]<br>./subsurface(_start+0x29)[0x4dfda9]<br>======= Memory map: ========<br>00400000-00840000 r-xp 00000000 fd:02 1709596                            /home/rick/localsrc/subsurface/build/subsurface<br>00a40000-00a54000 r--p 00440000 fd:02 1709596                            /home/rick/localsrc/subsurface/build/subsurface<br>00a54000-00a5b000 rw-p 00454000 fd:02 1709596                            /home/rick/localsrc/subsurface/build/subsurface<br>00a5b000-00a5f000 rw-p 00000000 00:00 0 <br>023fe000-0686c000 rw-p 00000000 00:00 0                                  [heap]<br>7febe8000000-7febe8256000 rw-p 00000000 00:00 0 <br>7febe8256000-7febec000000 ---p 00000000 00:00 0 <br><br></div></div></div></div></div>