<div dir="ltr">For Linux Fedora add new dive from Log > New dive still crashes the app:<div><br></div><div>[test@localhost ~]$ subsurface.debug <br>QSocketNotifier: Can only be used with threads started with QThread<br>QSocketNotifier: Can only be used with threads started with QThread<br>Non-toplevel surfaces can't request window states<br>Wayland does not support QWindow::requestActivate()<br>Non-toplevel surfaces can't request window states<br>Wayland does not support QWindow::requestActivate()<br>Wayland does not support QWindow::requestActivate()<br>Non-toplevel surfaces can't request window states<br>Wayland does not support QWindow::requestActivate()<br>Wayland does not support QWindow::requestActivate()<br>Non-toplevel surfaces can't request window states<br>Wayland does not support QWindow::requestActivate()<br>Wayland does not support QWindow::requestActivate()<br>Non-toplevel surfaces can't request window states<br>Wayland does not support QWindow::requestActivate()<br>Wayland does not support QWindow::requestActivate()<br>Non-toplevel surfaces can't request window states<br>Wayland does not support QWindow::requestActivate()<br>/usr/include/c++/9/bits/stl_vector.h:1042: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::reference = int&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.<br>/usr/bin/subsurface.debug: line 109:  3494 Aborted                 (core dumped) "${prefix}/bin/${bin_name}" $SAVED_ARGS<br>           PID: 3404 (subsurface)<br>           UID: 1000 (test)<br>           GID: 1000 (test)<br>        Signal: 6 (ABRT)<br>     Timestamp: Tue 2020-04-21 09:42:06 EEST (33s ago)<br>  Command Line: subsurface<br>    Executable: /usr/bin/subsurface<br> Control Group: /user.slice/user-1000.slice/user@1000.service/gnome-launched-subsurface.desktop-3404.scope<br>          Unit: user@1000.service<br>     User Unit: gnome-launched-subsurface.desktop-3404.scope<br>         Slice: user-1000.slice<br>     Owner UID: 1000 (test)<br>       Boot ID: 6d03e3e91f554f428d203063cdee472f<br>    Machine ID: f7766dd1407941258ce0ebadf751659e<br>      Hostname: localhost.localdomain<br>       Storage: /var/lib/systemd/coredump/core.subsurface.1000.6d03e3e91f554f428d203063cdee472f.3404.1587451326000000000000.lz4<br>       Message: Process 3404 (subsurface) of user 1000 dumped core.<br>                <br>                Stack trace of thread 3404:<br>                #0  0x00007f8639a98625 raise (libc.so.6)<br>                #1  0x00007f8639a818d9 abort (libc.so.6)<br>                #2  0x0000000000623458 _ZSt20__replacement_assertPKciS0_S0_ (subsurface)<br>                #3  0x000000000062086f _ZN18TabDiveInformation13updateProfileEv (subsurface)<br>                #4  0x0000000000621f06 _ZN18TabDiveInformation10updateDataEv (subsurface)<br>                #5  0x000000000054de51 _ZN7MainTab14updateDiveInfoEv (subsurface)<br>                #6  0x0000000000524cd3 _ZN10MainWindow16selectionChangedEv (subsurface)<br>                #7  0x00007f863a20ef40 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)<br>                #8  0x00000000005b6779 _ZN12DiveListView19selectionChangeDoneEv (subsurface)<br>                #9  0x00000000005b695d _ZN12DiveListView20diveSelectionChangedERK7QVectorI11QModelIndexE (subsurface)<br>                #10 0x00007f863a20ef40 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)<br>                #11 0x00000000006696c6 _ZN20MultiFilterSortModel16selectionChangedERK7QVectorI11QModelIndexE (subsurface)<br>                #12 0x000000000069daf4 _ZN20MultiFilterSortModel20selectionChangedSlotERK7QVectorI11QModelIndexE (subsurface)<br>                #13 0x00007f863a20ef40 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)<br>                #14 0x0000000000669616 _ZN17DiveTripModelBase16selectionChangedERK7QVectorI11QModelIndexE (subsurface)<br>                #15 0x0000000000686654 _ZN17DiveTripModelTree13divesSelectedERK7QVectorIP4diveE (subsurface)<br>                #16 0x00007f863a20ef40 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)<br>                #17 0x00000000006c4ce9 _ZN16DiveListNotifier13divesSelectedERK7QVectorIP4diveE (subsurface)<br>                #18 0x0000000000767294 _Z12setSelectionRKSt6vectorIP4diveSaIS1_EES1_ (subsurface)<br>                #19 0x00000000006aa0eb _ZN7Command7AddDive6redoitEv (subsurface)<br>                #20 0x00000000006a65da _ZN7Command12DiveListBase4redoEv (subsurface)<br>                #21 0x00007f863bb65d2a _ZN10QUndoStack4pushEP12QUndoCommand (libQt5Widgets.so.5)<br>                #22 0x00000000006a2baf _ZN7Command7executeEPNS_4BaseE (subsurface)<br>                #23 0x0000000000525439 _ZN10MainWindow26on_actionAddDive_triggeredEv (subsurface)<br>                #24 0x000000000057404e _ZN10MainWindow18qt_static_metacallEP7QObjectN11QMetaObject4CallEiPPv (subsurface)<br>                #25 0x0000000000578423 _ZN10MainWindow11qt_metacallEN11QMetaObject4CallEiPPv (subsurface)<br>                #26 0x00007f863a20eebc _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)<br>                #27 0x00007f863b7c9456 _ZN7QAction9triggeredEb (libQt5Widgets.so.5)<br>                #28 0x00007f863b7cbb12 _ZN7QAction8activateENS_11ActionEventE (libQt5Widgets.so.5)<br>                #29 0x00007f863b951a92 _ZN12QMenuPrivate19activateCausedStackERK7QVectorI8QPointerI7QWidgetEEP7QActionNS7_11ActionEventEb (libQt5Widgets.so.5)<br>                #30 0x00007f863b95922e _ZN12QMenuPrivate14activateActionEP7QActionNS0_11ActionEventEb (libQt5Widgets.so.5)<br>                #31 0x00007f863b95a252 _ZN5QMenu17mouseReleaseEventEP11QMouseEvent (libQt5Widgets.so.5)<br>                #32 0x00007f863b81234e _ZN7QWidget5eventEP6QEvent (libQt5Widgets.so.5)<br>                #33 0x00007f863b95c84b _ZN5QMenu5eventEP6QEvent (libQt5Widgets.so.5)<br>                #34 0x00007f863b7cfad6 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)<br>                #35 0x00007f863b7d93a3 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)<br>                #36 0x00007f863a1e4de8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)<br>                #37 0x00007f863b7d84b7 _ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Ebb (libQt5Widgets.so.5)<br>                #38 0x00007f863b82ea64 _ZN13QWidgetWindow16handleMouseEventEP11QMouseEvent (libQt5Widgets.so.5)<br>                #39 0x00007f863b830f6c _ZN13QWidgetWindow5eventEP6QEvent (libQt5Widgets.so.5)<br>                #40 0x00007f863b7cfad6 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)<br>                #41 0x00007f863b7d9150 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)<br>                #42 0x00007f863a1e4de8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)<br>                #43 0x00007f863ad64723 _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE (libQt5Gui.so.5)<br>                #44 0x00007f863ad65f4b _ZN22QGuiApplicationPrivate24processWindowSystemEventEPN29QWindowSystemInterfacePrivate17WindowSystemEventE (libQt5Gui.so.5)<br>                #45 0x00007f863ad4254b _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Gui.so.5)<br>                #46 0x00007f8634edb5e4 _ZL23userEventSourceDispatchP8_GSourcePFiPvES1_ (libQt5WaylandClient.so.5)<br>                #47 0x00007f863863a570 g_main_context_dispatch (libglib-2.0.so.0)<br>                #48 0x00007f863863a900 g_main_context_iterate.isra.0 (libglib-2.0.so.0)<br>                #49 0x00007f863863a9a3 g_main_context_iteration (libglib-2.0.so.0)<br>                #50 0x00007f863a239cb5 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)<br>                #51 0x00007f863a1e3ceb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)<br>                #52 0x00007f863a1eba16 _ZN16QCoreApplication4execEv (libQt5Core.so.5)<br>                #53 0x000000000051d477 main (subsurface)<br>                #54 0x00007f8639a831a3 __libc_start_main (libc.so.6)<br>                #55 0x00000000005221fe _start (subsurface)<br>                <br>                Stack trace of thread 3406:<br>                #0  0x00007f8639b52a3f __poll (libc.so.6)<br>                #1  0x00007f863863a86e g_main_context_iterate.isra.0 (libglib-2.0.so.0)<br>                #2  0x00007f863863a9a3 g_main_context_iteration (libglib-2.0.so.0)<br>                #3  0x00007f863a239cb5 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)<br>                #4  0x00007f863a1e3ceb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)<br>                #5  0x00007f863a03c395 _ZN7QThread4execEv (libQt5Core.so.5)<br>                #6  0x00007f863a03d4e6 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5)<br>                #7  0x00007f863f48a4e2 start_thread (libpthread.so.0)<br>                #8  0x00007f8639b5d6a3 __clone (libc.so.6)<br>                <br>                Stack trace of thread 3407:<br>                #0  0x00007f8639b52a3f __poll (libc.so.6)<br>                #1  0x00007f863863a86e g_main_context_iterate.isra.0 (libglib-2.0.so.0)<br>                #2  0x00007f863863a9a3 g_main_context_iteration (libglib-2.0.so.0)<br>                #3  0x00007f863a239cb5 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)<br>                #4  0x00007f863a1e3ceb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)<br>                #5  0x00007f863a03c395 _ZN7QThread4execEv (libQt5Core.so.5)<br>                #6  0x00007f86383cdf4a _ZN22QDBusConnectionManager3runEv (libQt5DBus.so.5)<br>                #7  0x00007f863a03d4e6 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5)<br>                #8  0x00007f863f48a4e2 start_thread (libpthread.so.0)<br>                #9  0x00007f8639b5d6a3 __clone (libc.so.6)<br>                <br>                Stack trace of thread 3409:<br>                #0  0x00007f8639b52a3f __poll (libc.so.6)<br>                #1  0x00007f863863a86e g_main_context_iterate.isra.0 (libglib-2.0.so.0)<br>                #2  0x00007f863863a9a3 g_main_context_iteration (libglib-2.0.so.0)<br>                #3  0x00007f863863a9f1 glib_worker_main (libglib-2.0.so.0)<br>                #4  0x00007f8638664022 g_thread_proxy (libglib-2.0.so.0)<br>                #5  0x00007f863f48a4e2 start_thread (libpthread.so.0)<br>                #6  0x00007f8639b5d6a3 __clone (libc.so.6)<br>                <br>                Stack trace of thread 3410:<br>                #0  0x00007f8639b52a3f __poll (libc.so.6)<br>                #1  0x00007f863863a86e g_main_context_iterate.isra.0 (libglib-2.0.so.0)<br>                #2  0x00007f863863a9a3 g_main_context_iteration (libglib-2.0.so.0)<br>                #3  0x00007f8634f5493d dconf_gdbus_worker_thread (libdconfsettings.so)<br>                #4  0x00007f8638664022 g_thread_proxy (libglib-2.0.so.0)<br>                #5  0x00007f863f48a4e2 start_thread (libpthread.so.0)<br>                #6  0x00007f8639b5d6a3 __clone (libc.so.6)<br>                <br>                Stack trace of thread 3411:<br>                #0  0x00007f8639b581bd syscall (libc.so.6)<br>                #1  0x00007f8638686d36 g_cond_wait_until (libglib-2.0.so.0)<br>                #2  0x00007f863860b461 g_async_queue_pop_intern_unlocked (libglib-2.0.so.0)<br>                #3  0x00007f863860ba86 g_async_queue_timeout_pop (libglib-2.0.so.0)<br>                #4  0x00007f8638664809 g_thread_pool_thread_proxy (libglib-2.0.so.0)<br>                #5  0x00007f8638664022 g_thread_proxy (libglib-2.0.so.0)<br>                #6  0x00007f863f48a4e2 start_thread (libpthread.so.0)<br>                #7  0x00007f8639b5d6a3 __clone (libc.so.6)<br>                <br>                Stack trace of thread 3412:<br>                #0  0x00007f8639b52a3f __poll (libc.so.6)<br>                #1  0x00007f863863a86e g_main_context_iterate.isra.0 (libglib-2.0.so.0)<br>                #2  0x00007f863863abf3 g_main_loop_run (libglib-2.0.so.0)<br>                #3  0x00007f8638c1dfca gdbus_shared_thread_func (libgio-2.0.so.0)<br>                #4  0x00007f8638664022 g_thread_proxy (libglib-2.0.so.0)<br>                #5  0x00007f863f48a4e2 start_thread (libpthread.so.0)<br>                #6  0x00007f8639b5d6a3 __clone (libc.so.6)<br>                <br>                Stack trace of thread 3413:<br>                #0  0x00007f8639b52a3f __poll (libc.so.6)<br>                #1  0x00007f863863a86e g_main_context_iterate.isra.0 (libglib-2.0.so.0)<br>                #2  0x00007f863863a9a3 g_main_context_iteration (libglib-2.0.so.0)<br>                #3  0x00007f863a239cb5 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)<br>                #4  0x00007f863a1e3ceb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)<br>                #5  0x00007f863a03c395 _ZN7QThread4execEv (libQt5Core.so.5)<br>                #6  0x00007f863aaae119 _ZN17QQmlThreadPrivate3runEv (libQt5Qml.so.5)<br>                #7  0x00007f863a03d4e6 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5)<br>                #8  0x00007f863f48a4e2 start_thread (libpthread.so.0)<br>                #9  0x00007f8639b5d6a3 __clone (libc.so.6)<br>                <br>                Stack trace of thread 3415:<br>                #0  0x00007f863f49107a pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)<br>                #1  0x00007f863a042f29 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5)<br>                #2  0x00007f863a04304b _ZN14QWaitCondition4waitEP6QMutexm (libQt5Core.so.5)<br>                #3  0x00007f863a040cc3 _ZN17QThreadPoolThread3runEv (libQt5Core.so.5)<br>                #4  0x00007f863a03d4e6 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5)<br>                #5  0x00007f863f48a4e2 start_thread (libpthread.so.0)<br>                #6  0x00007f8639b5d6a3 __clone (libc.so.6)<br>More than one entry matches, ignoring rest.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 20, 2020 at 11:06 PM Dirk Hohndel <<a href="mailto:dirk@hohndel.org">dirk@hohndel.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> On Apr 20, 2020, at 12:34 PM, Berthold Stoeger <<a href="mailto:bstoeger@mail.tuwien.ac.at" target="_blank">bstoeger@mail.tuwien.ac.at</a>> wrote:<br>
> <br>
> Hi Theodor,<br>
> <br>
> On Montag, 20. April 2020 21:01:54 CEST Chirana Gheorghita Eugeniu Theodor via <br>
> subsurface wrote:<br>
> <br>
>> First test failed on linux.<br>
>> I click Log > Add dive and app crashes. Where is the log of the app in<br>
>> linux? I can dig it out but I am too lazy now.<br>
> <br>
> Possibly fixed by <a href="https://github.com/Subsurface-divelog/subsurface/pull/2777" rel="noreferrer" target="_blank">https://github.com/Subsurface-divelog/subsurface/pull/2777</a>, <br>
> though I can't reproduce the crash.<br>
<br>
<br>
I have merged this PR, it's currently building for the various platforms and binaries for testing should be available soon as 4.9.3.1492<br>
<br>
/D</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>________________________________________<br>Cu stima/Best regards/<span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(31,73,125)" lang="DE"><span style="color:rgb(0,0,0)">Mit freundlichen Grüßen</span></span>,<br><br>Chirana-Gheorghita Eugeniu-Theodor<br>Bucharest, Romania<br><br>e-mail : <a href="mailto:office@adaptcom.ro" target="_blank">office@adaptcom.ro</a><br>mobile: 0743 698721<br>            0747 447675</div><div>SSI diver ID: 1118289</div></div></div>