2.4 Crash (was: Updated LaTeXConfig.lyx (bxjsclasses added))
Pavel Sanda
sanda at lyx.org
Thu Jan 26 00:23:55 UTC 2023
On Wed, Jan 25, 2023 at 09:41:48PM +0900, Yokota K. wrote:
> Dear list,
>
> Here is updated LaTeXConfig.lyx in which bxjsclasses (extended Japanese new
> standard class) added. The class supports XeLaTeX and LuaLaTeX so that
> users can use it without relying on Japanese local pLaTeX to write Japanese
> texts.
>
> If it looks appropriate, please include it in English version.
The changes look OK to me and I commited it.
But fun times ahead! I get SIGSEGV when loading your file (when view is
scrolled on your changes).
I can reproduce it only when not running under gdb.
The backtrace from our error window:
( 1) /home//lyx/devel/src/lyx: lyx::frontend::Alert::doError(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool)
( 2) /home//lyx/devel/src/lyx: lyx::frontend::Alert::error(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool)
( 3) /home//lyx/devel/src/lyx: /home//lyx/devel/src/lyx(+0x48dd27) [0x55947f718d27]
( 4) /lib/x86_64-linux-gnu/libc.so.6: /lib/x86_64-linux-gnu/libc.so.6(+0x38d60) [0x7fd98a4f7d60]
( 5) /home//lyx/devel/src/lyx: lyx::Paragraph::id() const
( 6) /home//lyx/devel/src/lyx: lyx::TextMetrics::drawParagraph(lyx::PainterInfo&, long, int, int) const
( 7) /home//lyx/devel/src/lyx: lyx::TextMetrics::draw(lyx::PainterInfo&, int, int) const
( 8) /home//lyx/devel/src/lyx: lyx::InsetText::draw(lyx::PainterInfo&, int, int) const
( 9) /home//lyx/devel/src/lyx: lyx::InsetCollapsible::draw(lyx::PainterInfo&, int, int) const
( 10) /home//lyx/devel/src/lyx: lyx::InsetInfo::draw(lyx::PainterInfo&, int, int) const
( 11) /home//lyx/devel/src/lyx: lyx::RowPainter::paintInset(lyx::Row::Element const&) const
( 12) /home//lyx/devel/src/lyx: lyx::RowPainter::paintText()
( 13) /home//lyx/devel/src/lyx: lyx::TextMetrics::drawParagraph(lyx::PainterInfo&, long, int, int) const
( 14) /home//lyx/devel/src/lyx: lyx::TextMetrics::draw(lyx::PainterInfo&, int, int) const
( 15) /home//lyx/devel/src/lyx: lyx::BufferView::draw(lyx::frontend::Painter&, bool)
( 16) /home//lyx/devel/src/lyx: lyx::frontend::GuiWorkArea::paintEvent(QPaintEvent*)
( 17) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: QWidget::event(QEvent*)
( 18) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: QFrame::event(QEvent*)
( 19) /lib/x86_64-linux-gnu/libQt5Core.so.5: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
( 20) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: QApplicationPrivate::notify_helper(QObject*, QEvent*)
( 21) /home//lyx/devel/src/lyx: lyx::frontend::GuiApplication::notify(QObject*, QEvent*)
( 22) /lib/x86_64-linux-gnu/libQt5Core.so.5: QCoreApplication::notifyInternal2(QObject*, QEvent*)
( 23) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: QWidgetPrivate::sendPaintEvent(QRegion const&)
( 24) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*)
( 25) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1737f0) [0x7fd98b7417f0]
( 26) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: QWidget::event(QEvent*)
( 27) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: QApplicationPrivate::notify_helper(QObject*, QEvent*)
( 28) /home//lyx/devel/src/lyx: lyx::frontend::GuiApplication::notify(QObject*, QEvent*)
( 29) /lib/x86_64-linux-gnu/libQt5Core.so.5: QCoreApplication::notifyInternal2(QObject*, QEvent*)
( 30) /lib/x86_64-linux-gnu/libQt5Core.so.5: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
( 31) /lib/x86_64-linux-gnu/libQt5Core.so.5: /lib/x86_64-linux-gnu/libQt5Core.so.5(+0x305e93) [0x7fd98acc4e93]
( 32) /lib/x86_64-linux-gnu/libglib-2.0.so.0: /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x25b) [0x7fd98a3d9e6b]
( 33) /lib/x86_64-linux-gnu/libglib-2.0.so.0: /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52118) [0x7fd98a3da118]
( 34) /lib/x86_64-linux-gnu/libglib-2.0.so.0: /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2f) [0x7fd98a3da1cf]
( 35) /lib/x86_64-linux-gnu/libQt5Core.so.5: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
( 36) /lib/x86_64-linux-gnu/libQt5Core.so.5: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
( 37) /lib/x86_64-linux-gnu/libQt5Core.so.5: QCoreApplication::exec()
( 38) /home//lyx/devel/src/lyx: lyx::LyX::exec(int&, char**)
( 39) /home//lyx/devel/src/lyx: /home//lyx/devel/src/lyx(main+0x47) [0x55947f5bb337]
( 40) /lib/x86_64-linux-gnu/libc.so.6: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7fd98a4e2d0a]
( 41) /home//lyx/devel/src/lyx: /home//lyx/devel/src/lyx(_start+0x2a) [0x55947f5c9baa]
Terminal:
QPaintDevice: Cannot destroy paint device that is being painted
Pavel
At the same time I can't rep
>
> Koji
> --
> lyx-docs mailing list
> lyx-docs at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-docs
More information about the lyx-devel
mailing list