在使用QComboBox的时候,asan检测到 QLineEdit 内部的一个闪退,这种问题解决思路
Unsolved
Chinese
-
#0 0x7f7c053e0aa5 (/opt/apps/*/files/lib/libQt6Widgets.so.6+0x24caa5) #1 0x7f7c053e2163 (/opt/apps/*/files/lib/libQt6Widgets.so.6+0x24e163) #2 0x7f7c053b7095 (/opt/apps/*/files/lib/libQt6Widgets.so.6+0x223095) #3 0x7f7c053bc3be (/opt/apps/*/files/lib/libQt6Widgets.so.6+0x2283be) #4 0x7f7c05481c3a in QLineEdit::paintEvent(QPaintEvent*) (/opt/apps/*/files/lib/libQt6Widgets.so.6+0x2edc3a) #5 0x7f7c0535ed47 in QWidget::event(QEvent*) (/opt/apps/*/files/lib/libQt6Widgets.so.6+0x1cad47) #6 0x7f7c0530b4d1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (/opt/apps/*files/lib/libQt6Widgets.so.6+0x1774d1) #7 0x7f7c042cf1e9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (/opt/apps/*/files/lib/libQt6Core.so.6+0x1321e9) #8 0x7f7c05357995 in QWidgetPrivate::sendPaintEvent(QRegion const&) (/opt/apps/*/files/lib/libQt6Widgets.so.6+0x1c3995) #9 0x7f7c0535818d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) (/opt/apps/*/files/lib/libQt6Widgets.so.6+0x1c418d) #10 0x7f7c053595b8 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) (/opt/apps/*/files/lib/libQt6Widgets.so.6+0x1c55b8) #11 0x7f7c0535828f in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) (/opt/apps/*/files/lib/libQt6Widgets.so.6+0x1c428f) #12 0x7f7c053595b8 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) (/opt/apps/*/files/lib/libQt6Widgets.so.6+0x1c55b8)