Valgrind: conditional jump or move depends on uninitalized value(s)

Scott Kostyshak skostysh at lyx.org
Thu Jun 20 18:03:07 UTC 2024


This report is from opening LyX, starting a new document, and quitting.
How can I read it to know if it's LyX's fault or not? Specifically, how
can I know whether the uninitialised value is created inside
QPainter::drawPixmap() or if it's instead in
lyx::frontend::(anonymous namespace)::BackgroundWidet::paintEvent()?


==10988== Conditional jump or move depends on uninitialised value(s)
==10988==    at 0x558152E: ??? (in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.4.2)
==10988==    by 0x538A139: ??? (in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.4.2)
==10988==    by 0x539B061: QPainter::drawPixmap(QRectF const&, QPixmap const&, QRectF const&) (in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.4.2)
==10988==    by 0xA0D117: QPainter::drawPixmap(int, int, int, int, QPixmap const&) (qpainter.h:740)
==10988==    by 0xA07E97: lyx::frontend::(anonymous namespace)::BackgroundWidget::paintEvent(QPaintEvent*) (repo/src/frontends/qt/GuiView.cpp:241)
==10988==    by 0x4BB46FE: QWidget::event(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.4.2)
==10988==    by 0x4B6B3AF: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.4.2)
==10988==    by 0x990010: lyx::frontend::GuiApplication::notify(QObject*, QEvent*) (repo/src/frontends/qt/GuiApplication.cpp:3022)
==10988==    by 0x597F447: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.4.2)
==10988==    by 0x4BA30CD: QWidgetPrivate::sendPaintEvent(QRegion const&) (in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.4.2)
==10988==    by 0x4BA4BBC: QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) (in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.4.2)
==10988==    by 0x4BA7108: QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) (in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.4.2)
==10988==  Uninitialised value was created by a stack allocation
==10988==    at 0x5389490: ??? (in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.4.2)
==10988==

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/20240620/1d9ac2c4/attachment.asc>


More information about the lyx-devel mailing list