2.4.0 plan for #12215 [LyX crashes with async processes (Qt6 only)] ?
Scott Kostyshak
skostysh at lyx.org
Sat Nov 19 15:53:17 UTC 2022
On Sat, Nov 19, 2022 at 11:48:58AM +0100, Jürgen Spitzmüller wrote:
> Am Freitag, dem 18.11.2022 um 19:50 -0500 schrieb Scott Kostyshak:
> > Jürgen, can you compile with Clang to see if you can reproduce?
>
> Yes, this also crashes:
>
> (gdb) bt
> #0 0x00007ffff60957ec in __pthread_kill_implementation () at
> /lib64/libc.so.6
> #1 0x00007ffff6042816 in raise () at /lib64/libc.so.6
> #2 0x00007ffff602b81c in abort () at /lib64/libc.so.6
> #3 0x00007ffff62ac141 in std::__throw_bad_exception() () at
> /lib64/libstdc++.so.6
> #4 0x0000555556086e36 in
> __gnu_debug::_Safe_iterator<std::_Rb_tree_const_iterator<std::pair<int
> const, QtPrivate::ResultItem> >, std::__debug::map<int,
> QtPrivate::ResultItem, std::less<int>, std::allocator<std::pair<int
> const, QtPrivate::ResultItem> > >,
> std::forward_iterator_tag>::operator->() const
> (this=this at entry=0x7fffffffd128)
> at /usr/bin/../lib64/gcc/x86_64-suse-
> linux/12/../../../../include/c++/12/debug/safe_iterator.h:318
> #5 0x0000555556089d59 in QMap<int,
> QtPrivate::ResultItem>::const_iterator::value() const
> (this=0x7fffffffd128) at /usr/include/qt6/QtCore/qmap.h:513
> #6 QtPrivate::ResultIteratorBase::pointer<lyx::Buffer::ExportStatus>()
> const (this=0x7fffffffd128) at
> /usr/include/qt6/QtCore/qresultstore.h:81
> #7 QtPrivate::ResultIteratorBase::pointer<lyx::Buffer::ExportStatus>()
> (this=0x7fffffffd128) at /usr/include/qt6/QtCore/qresultstore.h:74
> #8 QtPrivate::ResultIteratorBase::value<lyx::Buffer::ExportStatus>()
> (this=0x7fffffffd128) at /usr/include/qt6/QtCore/qresultstore.h:68
> #9 QFutureInterface<lyx::Buffer::ExportStatus>::resultReference(int)
> const (this=this at entry=0x555557515a80, index=index at entry=0) at
> /usr/include/qt6/QtCore/qfutureinterface.h:373
> #10 0x000055555606861d in
> QFuture<lyx::Buffer::ExportStatus>::result<lyx::Buffer::ExportStatus,
> void>() const (this=0x555557515a80) at
> /usr/include/qt6/QtCore/qfuture.h:308
> #11
> QFutureWatcher<lyx::Buffer::ExportStatus>::result<lyx::Buffer::ExportSt
> atus, void>() const (this=<optimized out>) at
> /usr/include/qt6/QtCore/qfuturewatcher.h:113
> #12 lyx::frontend::GuiView::processingThreadFinished()
> (this=0x555557701f10) at GuiView.cpp:948
> #13 0x00007ffff67a6b83 in () at /lib64/libQt6Core.so.6
> #14 0x00007ffff68adce8 in QFutureWatcherBase::event(QEvent*) () at
> /lib64/libQt6Core.so.6
> #15 0x00007ffff77bc543 in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () at /lib64/libQt6Widgets.so.6
> #16 0x0000555556037036 in
> lyx::frontend::GuiApplication::notify(QObject*, QEvent*) (this=0xa2e,
> receiver=0xa2e, event=0x6) at GuiApplication.cpp:3059
> #17 0x00007ffff67510f8 in QCoreApplication::notifyInternal2(QObject*,
> QEvent*) () at /lib64/libQt6Core.so.6
> #18 0x00007ffff67512e0 in
> QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
> () at /lib64/libQt6Core.so.6
> #19 0x00007ffff6967613 in () at /lib64/libQt6Core.so.6
> #20 0x00007ffff5ddba90 in g_main_context_dispatch () at /lib64/libglib-
> 2.0.so.0
> #21 0x00007ffff5ddbe48 in () at /lib64/libglib-2.0.so.0
> #22 0x00007ffff5ddbedc in g_main_context_iteration () at
> /lib64/libglib-2.0.so.0
> #23 0x00007ffff6965b0c in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFla
> g>) () at /lib64/libQt6Core.so.6
> #24 0x00007ffff675b98b in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
> /lib64/libQt6Core.so.6
> #25 0x00007ffff6754538 in QCoreApplication::exec() () at
> /lib64/libQt6Core.so.6
> #26 0x0000555555c0292d in lyx::LyX::exec(int&, char**)
> (this=0x7fffffffd7e0, argc=<optimized out>, argv=<optimized out>) at
> LyX.cpp:397
> #27 0x0000555555a36ff9 in main(int, char**) (argc=<optimized out>,
> argv=0x6) at main.cpp:55
Thanks for checking, Jürgen. Things are not as simple as we thought, it seems.
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221119/e704d13d/attachment.asc>
More information about the lyx-devel
mailing list