Skip to content

Conversation

@zzxyb
Copy link

@zzxyb zzxyb commented Oct 7, 2023

use qapitrace to open apitrace tracking result,
crashes at typeid.

Log:

use qapitrace to open apitrace tracking result,
crashes at typeid.

Log:
@deepin-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: zzxyb

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@zzxyb
Copy link
Author

zzxyb commented Oct 7, 2023

coredump bt:

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `qapitrace'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f8e123a92dc in std::type_info::operator!= (__arg=..., this=0x0) at /usr/include/c++/8/typeinfo:137
137         { return !operator==(__arg); }
[Current thread is 1 (Thread 0x7f8e14e0d780 (LWP 549))]
(gdb) bt
#0  0x00007f8e123a92dc in std::type_info::operator!=(std::type_info const&) const (__arg=..., this=0x0) at /usr/include/c++/8/typeinfo:137
#1  0x00007f8e123a92dc in chameleon::ChameleonStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*, QPainter*, QWidget const*) const
    (this=0x7f8e0c0061e0, pe=QStyle::PE_PanelItemViewRow, opt=0x7fff92009b70, p=0x7fff92009e88, w=0x2484f60) at chameleonstyle.cpp:562
#2  0x00007f8e187aea2b in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const (this=0x2484f60, painter=0x7fff92009e88, option=..., index=...) at itemviews/qtreeview.cpp:1752
#3  0x00007f8e187b3887 in QTreeView::drawTree(QPainter*, QRegion const&) const (this=this@entry=0x2484f60, painter=painter@entry=0x7fff92009e88, region=...)
    at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:61
#4  0x00007f8e187b82c3 in QTreeView::paintEvent(QPaintEvent*) (this=0x2484f60, event=0x7fff9200a440) at ../../include/QtGui/../../src/gui/kernel/qevent.h:410
#5  0x00007f8e1853a5c8 in QWidget::event(QEvent*) (this=this@entry=0x2484f60, event=event@entry=0x7fff9200a440) at kernel/qwidget.cpp:8939
#6  0x00007f8e185de1fe in QFrame::event(QEvent*) (this=0x2484f60, e=0x7fff9200a440) at widgets/qframe.cpp:550
#7  0x00007f8e1875043b in QAbstractItemView::viewportEvent(QEvent*) (this=this@entry=0x2484f60, event=event@entry=0x7fff9200a440) at itemviews/qabstractitemview.cpp:1755
#8  0x00007f8e187b924b in QTreeView::viewportEvent(QEvent*) (this=0x2484f60, event=0x7fff9200a440) at itemviews/qtreeview.cpp:1326
#9  0x00007f8e17b7f33b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1175
#10 0x00007f8e17b7f33b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (receiver=receiver@entry=0x247ff30, event=event@entry=0x7fff9200a440) at kernel/qcoreapplication.cpp:1164
#11 0x00007f8e184fc531 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x238d6b0, receiver=receiver@entry=0x247ff30, e=e@entry=0x7fff9200a440) at kernel/qapplication.cpp:3728
#12 0x00007f8e18503a30 in QApplication::notify(QObject*, QEvent*) (this=0x7fff9200bbf0, receiver=0x247ff30, e=0x7fff9200a440) at kernel/qapplication.cpp:3491
#13 0x00007f8e17b7f629 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x247ff30, event=event@entry=0x7fff9200a440)
    at ../../include/QtCore/5.11.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#14 0x00007f8e1853315a in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (event=0x7fff9200a440, receiver=0x247ff30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#15 0x00007f8e1853315a in QWidgetPrivate::sendPaintEvent(QRegion const&) (this=this@entry=0x2403a30, toBePainted=...) at kernel/qwidget.cpp:5683
#16 0x00007f8e18533a17 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)
    (this=0x2403a30, pdev=0x7f8e0401b410, rgn=..., offset=..., flags=4, sharedPainter=<optimized out>, backingStore=<optimized out>) at kernel/qwidget.cpp:5623
#17 0x00007f8e18534611 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)
    (this=0x247d7f0, pdev=0x7f8e0401b410, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x273c510) at ../../include/QtCore/../../src/corelib/tools/qpoint.h:122
#18 0x00007f8e18534500 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)
    (this=this@entry=0x247d7f0, pdev=pdev@entry=0x7f8e0401b410, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x273c510) at kernel/qwidget.cpp:5804
#19 0x00007f8e1853369c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)
    (this=0x247d7f0, pdev=0x7f8e0401b410, rgn=..., offset=..., flags=<optimized out>, sharedPainter=<optimized out>, backingStore=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:170
#20 0x00007f8e18534611 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)
    (this=this@entry=0x2402e30, pdev=pdev@entry=0x7f8e0401b410, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x273c510)
    at ../../include/QtCore/../../src/corelib/tools/qpoint.h:122
#21 0x00007f8e1853369c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)
    (this=0x2402e30, pdev=0x7f8e0401b410, rgn=..., offset=..., flags=<optimized out>, sharedPainter=<optimized out>, backingStore=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:170
#22 0x00007f8e18534611 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)
    (this=this@entry=0x23d3ef0, pdev=pdev@entry=0x7f8e0401b410, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x273c510)
    at ../../include/QtCore/../../src/corelib/tools/qpoint.h:122
#23 0x00007f8e1853369c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)
    (this=this@entry=0x23d3ef0, pdev=0x7f8e0401b410, rgn=..., offset=..., flags=flags@entry=5, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>)
    at ../../include/QtCore/../../src/corelib/tools/qlist.h:170
#24 0x00007f8e1850bb0c in QWidgetBackingStore::doSync() (this=0x273c510) at ../../include/QtCore/../../src/corelib/tools/qpoint.h:120
#25 0x00007f8e1850be89 in QWidgetBackingStore::sync() (this=0x273c510) at kernel/qwidgetbackingstore.cpp:1144
#26 0x00007f8e18522a65 in QWidgetPrivate::syncBackingStore() (this=0x23d3ef0) at kernel/qwidget.cpp:1953
#27 0x00007f8e1853a6f8 in QWidget::event(QEvent*) (this=this@entry=0x7fff9200b830, event=event@entry=0x2c1a570) at kernel/qwidget.cpp:9240
#28 0x00007f8e18642034 in QMainWindow::event(QEvent*) (this=0x7fff9200b830, event=0x2c1a570) at widgets/qmainwindow.cpp:1348
#29 0x00007f8e184fc541 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x238d6b0, receiver=receiver@entry=0x7fff9200b830, e=e@entry=0x2c1a570) at kernel/qapplication.cpp:3732
#30 0x00007f8e18503a30 in QApplication::notify(QObject*, QEvent*) (this=0x7fff9200bbf0, receiver=0x7fff9200b830, e=0x2c1a570) at kernel/qapplication.cpp:3491
--Type <RET> for more, q to quit, c to continue without paging--
#31 0x00007f8e17b7f629 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7fff9200b830, event=0x2c1a570)
    at ../../include/QtCore/5.11.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#32 0x00007f8e17b8260b in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x2c1a570, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#33 0x00007f8e17b8260b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x238d830) at kernel/qcoreapplication.cpp:1746
#34 0x00007f8e17bd1393 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x239ae40) at kernel/qeventdispatcher_glib.cpp:276
#35 0x00007f8e16c55fee in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f8e16c56288 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f8e16c5631c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f8e17bd09b7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x239ae20, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#39 0x00007f8e142357f1 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#40 0x00007f8e17b7e2fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff9200b7b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#41 0x00007f8e17b862e2 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#42 0x000000000047c0ef in main(int, char**) (argc=1, argv=0x7fff9200bde8) at /home/xyb/Code/Github/apitrace-gui/gui/main.cpp:99

@BLumia BLumia requested a review from asterwyx October 7, 2023 07:13
@kegechen kegechen merged commit b80e65a into linuxdeepin:master Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants