KDAB / hotspot

The Linux perf GUI for performance analysis.
4.09k stars 252 forks source link

Crash in disassembler #642

Closed lievenhey closed 4 months ago

lievenhey commented 5 months ago

Maybe fixed by #636

....
[Detaching after fork from child process 10763]
[Detaching after fork from child process 10764]
[Detaching after fork from child process 10765]
ASSERT failure in QVector<T>::operator[]: "index out of range", file /usr/include/qt/QtCore/qvector.h, line 453

Thread 1 "hotspot" received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
Downloading source file /usr/src/debug/glibc/glibc/nptl/pthread_kill.c
warning: 44     pthread_kill.c: Datei oder Verzeichnis nicht gefunden                                                                                                                                                                       
(gdb) where
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007ffff4aab393 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007ffff4a5a6c8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007ffff4a424b8 in __GI_abort () at abort.c:79
#4  0x00007ffff50980c2 in qt_message_fatal (message=<synthetic pointer>..., context=<optimized out>) at global/qlogging.cpp:1919
#5  QMessageLogger::fatal (this=this@entry=0x7fffffffb808, msg=msg@entry=0x7ffff5378200 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qlogging.cpp:898
#6  0x00007ffff5098181 in qt_assert_x (where=<optimized out>, what=<optimized out>, file=<optimized out>, line=<optimized out>) at global/qglobal.cpp:3400
#7  0x000055555683b242 in QVector<long long>::operator[] (this=0x5120000f7320, i=-1) at /usr/include/qt/QtCore/qvector.h:453
#8  0x0000555556836e06 in Data::Costs::totalCost (this=0x5120000f7310, type=-1) at /home/lieven/KDAB/hotspot/src/models/data.h:279
#9  0x0000555556bf1029 in DisassemblyModel::data (this=0x5120000f7240, index=..., role=3) at /home/lieven/KDAB/hotspot/src/models/disassemblymodel.cpp:138
#10 0x00007ffff61db92b in QModelIndex::data (arole=3, this=<optimized out>) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:460