Re: Qt6 crash

2022-05-01 Thread Jürgen Spitzmüller
Am Freitag, dem 05.11.2021 um 09:22 +0100 schrieb Jürgen Spitzmüller:
> Am Freitag, dem 05.11.2021 um 08:10 +0100 schrieb Jürgen Spitzmüller:
> > Am Freitag, dem 05.11.2021 um 00:27 +0100 schrieb Jean-Marc
> > Lasgouttes:
> > > Is there some message from stdlib-debug before the backtrace? 
> > 
> > No.
> > 
> > > Or is it a crash related to object layout incompatibility? One
> > > possibility is a missing #include "config.h"
> > 
> > I have no clue.
> 
> FWIW it crashes at GuiView.cpp:901
> 
> Buffer::ExportStatus const status = watcher->result();

BTW I still have the same crash consistently with Qt6 and stdlib-debug.
I also get a crash during autosave in autoSaveThreadFinished().

I suspect or use of QFutureWatcher is the problem, but I know too less
of that to investigate.

-- 
Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Qt6 crash

2021-11-05 Thread Jürgen Spitzmüller
Am Freitag, dem 05.11.2021 um 08:10 +0100 schrieb Jürgen Spitzmüller:
> Am Freitag, dem 05.11.2021 um 00:27 +0100 schrieb Jean-Marc
> Lasgouttes:
> > Is there some message from stdlib-debug before the backtrace? 
> 
> No.
> 
> > Or is it a crash related to object layout incompatibility? One
> > possibility is a missing #include "config.h"
> 
> I have no clue.

FWIW it crashes at GuiView.cpp:901

Buffer::ExportStatus const status = watcher->result();


Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Qt6 crash

2021-11-05 Thread Jürgen Spitzmüller
Am Freitag, dem 05.11.2021 um 00:27 +0100 schrieb Jean-Marc Lasgouttes:
> Is there some message from stdlib-debug before the backtrace? 

No.

> Or is it a crash related to object layout incompatibility? One
> possibility is a missing #include "config.h"

I have no clue.

Jürgen

> 
> JMarc



signature.asc
Description: This is a digitally signed message part
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Qt6 crash

2021-11-04 Thread Jean-Marc Lasgouttes

Le 04/11/2021 à 08:48, Jürgen Spitzmüller a écrit :
Am Mi., 3. Nov. 2021 um 20:43 Uhr schrieb Enrico Forestieri 
mailto:for...@lyx.org>>:


What if you simply use --disable-stdlib-debug ?


This helps as well.


Is there some message from stdlib-debug before the backtrace? Or is it a 
crash related to object layout incompatibility? One possibility is a 
missing #include "config.h"


JMarc
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Qt6 crash

2021-11-04 Thread Jürgen Spitzmüller
Am Mi., 3. Nov. 2021 um 20:43 Uhr schrieb Enrico Forestieri :

> What if you simply use --disable-stdlib-debug ?
>

This helps as well.

BTW I have reproduced the issue on a different machine (both running
OpenSuse Tumbleweed).

Jürgen
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Qt6 crash

2021-11-03 Thread Enrico Forestieri
On Wed, Nov 03, 2021 at 06:03:16PM +0100, Jürgen Spitzmüller wrote:
> Am Mittwoch, dem 03.11.2021 um 17:44 +0100 schrieb Jürgen Spitzmüller:
> > Am Mittwoch, dem 03.11.2021 um 03:30 +0100 schrieb Stephan Witt:
> > > I’ve built master with Qt 6.2.0 on Mac and it doesn’t crash. I’m
> > > compiling the UG with pdflatex.
> > 
> > Thanks. Retried with a clean rebuild. Still crashing (after the PDF
> > has been created):
> 
> Recompiling with --enable-build-type=rel (rather than --enable-
> maintainer-mode) it doesn't crash, so it seems the inclusion of debug
> symbols is relevant.

What if you simply use --disable-stdlib-debug ?

-- 
Enrico
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Qt6 crash

2021-11-03 Thread Jürgen Spitzmüller
Am Mittwoch, dem 03.11.2021 um 17:44 +0100 schrieb Jürgen Spitzmüller:
> Am Mittwoch, dem 03.11.2021 um 03:30 +0100 schrieb Stephan Witt:
> > I’ve built master with Qt 6.2.0 on Mac and it doesn’t crash. I’m
> > compiling the UG with pdflatex.
> 
> Thanks. Retried with a clean rebuild. Still crashing (after the PDF
> has been created):

Recompiling with --enable-build-type=rel (rather than --enable-
maintainer-mode) it doesn't crash, so it seems the inclusion of debug
symbols is relevant.

Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Qt6 crash

2021-11-03 Thread Jürgen Spitzmüller
Am Mittwoch, dem 03.11.2021 um 03:30 +0100 schrieb Stephan Witt:
> I’ve built master with Qt 6.2.0 on Mac and it doesn’t crash. I’m
> compiling the UG with pdflatex.

Thanks. Retried with a clean rebuild. Still crashing (after the PDF has
been created):

(  1) src/lyx:
lyx::frontend::Alert::doError(std::__cxx11::basic_string, std::allocator > const&,
std::__cxx11::basic_string,
std::allocator > const&, bool)
(  2) src/lyx: std::_Function_handler, std::allocator > const>,
std::reference_wrapper, std::allocator > const>,
std::reference_wrapper))(std::__cxx11::basic_string, std::allocator > const&,
std::__cxx11::basic_string,
std::allocator > const&, bool)> >::_M_invoke(std::_Any_data
const&)
(  3) src/lyx:
lyx::frontend::InGuiThread::synchronousFunctionCall()
(  4) src/lyx: lyx::frontend::IntoGuiThreadMover::callInGuiThread()
(  5) src/lyx:
lyx::frontend::Alert::error(std::__cxx11::basic_string, std::allocator > const&,
std::__cxx11::basic_string,
std::allocator > const&, bool)
(  6) src/lyx: src/lyx() [0x9d5f33]
(  7) /lib64/libc.so.6: /lib64/libc.so.6(+0x427a0) [0x7fa36873e7a0]
(  8) /lib64/libstdc:
/lib64/libstdc++.so.6(_ZSt18_Rb_tree_decrementPKSt18_Rb_tree_node_base+
0x23) [0x7fa368ac8003]
(  9) /lib64/libQt6Core.so.6: QtPrivate::ResultStoreBase::resultAt(int)
const
( 10) src/lyx: lyx::frontend::GuiView::processingThreadFinished()
( 11) src/lyx: src/lyx() [0xf74af0]
( 12) /lib64/libQt6Core.so.6: /lib64/libQt6Core.so.6(+0x1bd97f)
[0x7fa368e1c97f]
( 13) /lib64/libQt6Core.so.6: QFutureWatcherBase::event(QEvent*)
( 14) /lib64/libQt6Widgets.so.6:
QApplicationPrivate::notify_helper(QObject*, QEvent*)
( 15) src/lyx: lyx::frontend::GuiApplication::notify(QObject*, QEvent*)
( 16) /lib64/libQt6Core.so.6:
QCoreApplication::notifyInternal2(QObject*, QEvent*)
( 17) /lib64/libQt6Core.so.6:
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
( 18) /lib64/libQt6Core.so.6: /lib64/libQt6Core.so.6(+0x3568c3)
[0x7fa368fb58c3]
( 19) /lib64/libglib-2.0.so.0: /lib64/libglib-
2.0.so.0(g_main_context_dispatch+0x16f) [0x7fa368426d5f]
( 20) /lib64/libglib-2.0.so.0: /lib64/libglib-2.0.so.0(+0x570e8)
[0x7fa3684270e8]
( 21) /lib64/libglib-2.0.so.0: /lib64/libglib-
2.0.so.0(g_main_context_iteration+0x2f) [0x7fa36842719f]
( 22) /lib64/libQt6Core.so.6:
QEventDispatcherGlib::processEvents(QFlags)
( 23) /lib64/libQt6Core.so.6:
QEventLoop::exec(QFlags)
( 24) /lib64/libQt6Core.so.6: QCoreApplication::exec()
( 25) src/lyx: lyx::frontend::GuiApplication::exec()
( 26) src/lyx: lyx::LyX::exec(int&, char**)
( 27) src/lyx: src/lyx(main+0x45) [0x76d32b]
( 28) /lib64/libc.so.6: /lib64/libc.so.6(+0x2d540) [0x7fa368729540]
( 29) /lib64/libc.so.6: /lib64/libc.so.6(__libc_start_main+0x7c)
[0x7fa3687295ec]
( 30) src/lyx: src/lyx(_start+0x25) [0x76d225]


Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Qt6 crash

2021-11-02 Thread Stephan Witt
Am 02.11.2021 um 17:11 schrieb Jürgen Spitzmüller :
> 
> I just notices that, when compiling master against Qt 6.2.0, LyX
> crashes reliably at document compilation (somewhere in QFutureWatcher).
> 
> Can anyone confirm or is this something on my end?

I’ve built master with Qt 6.2.0 on Mac and it doesn’t crash. I’m compiling the 
UG with pdflatex.

Stephan

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Qt6 crash

2021-11-02 Thread Jürgen Spitzmüller
I just notices that, when compiling master against Qt 6.2.0, LyX
crashes reliably at document compilation (somewhere in QFutureWatcher).

Can anyone confirm or is this something on my end?

Thanks,
Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel