Re: Segfault with Qt-5.11.0

2018-05-24 Thread Gaetan Bisson
[2018-05-24 23:04:28 +0200] Berthold Stoeger: > On Donnerstag, 24. Mai 2018 22:46:30 CEST Gaetan Bisson wrote: > > [2018-05-23 07:20:43 -1000] Gaetan Bisson: > > > Oh, it's also there: > > > https://bugreports.qt.io/browse/QTBUG-67948 > > > > It turns out removing oldModel->deleteLater(); from

Re: Segfault with Qt-5.11.0

2018-05-24 Thread Berthold Stoeger
On Donnerstag, 24. Mai 2018 22:46:30 CEST Gaetan Bisson wrote: > [2018-05-23 07:20:43 -1000] Gaetan Bisson: > > Oh, it's also there: > > https://bugreports.qt.io/browse/QTBUG-67948 > > It turns out removing oldModel->deleteLater(); from DiveListView::reload() > avoids the segfault. See the

Re: Segfault with Qt-5.11.0

2018-05-24 Thread Gaetan Bisson
[2018-05-23 07:20:43 -1000] Gaetan Bisson: > Oh, it's also there: > > https://bugreports.qt.io/browse/QTBUG-67948 It turns out removing oldModel->deleteLater(); from DiveListView::reload() avoids the segfault. See the discussion in the above bug report. However I have no idea what the

Re: Segfault with Qt-5.11.0

2018-05-23 Thread Gaetan Bisson
[2018-05-23 07:12:45 -1000] Gaetan Bisson: > [2018-05-23 10:28:52 -0300] Thiago Macieira: > > On Wednesday, 23 May 2018 05:08:58 -03 Gaetan Bisson wrote: > > > Any ideas how to debug this? > > > > Can you valgrind? Without debug symbols in Qt it may be a little difficult > > to > > make sense

Re: Segfault with Qt-5.11.0

2018-05-23 Thread Thiago Macieira
On Wednesday, 23 May 2018 05:08:58 -03 Gaetan Bisson wrote: > Any ideas how to debug this? Can you valgrind? Without debug symbols in Qt it may be a little difficult to make sense of what we're seeing, but it might help. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org

Segfault with Qt-5.11.0

2018-05-23 Thread Gaetan Bisson
Dear all, I'm getting a segfault when running Subsurface with Qt-5.11. It occurs with both an old binary compiled against Qt-5.10 and a freshly rebuilt binary. Note that building against Qt-5.11 requires fixing a couple of headers, but that's unrelated: