Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when scrolling through xdg-desktop-portal-kde Application Chooser #876

Open
ratijas opened this issue Nov 25, 2023 · 0 comments
Open
Labels
Milestone

Comments

@ratijas
Copy link
Contributor

ratijas commented Nov 25, 2023

I was inspecting xdg-desktop-portal-kde dialog — the one for choosing an application to open a file with. GammaRay crashed while I was scrolling the huge lists of all installed apps back and forth.

It happened at least three times now with a similar stacktrace, so it's kinda consistent.

Stacktrace
Application: gammaray-client (gammaray-client), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#5  std::__atomic_base<int>::fetch_sub(int, std::memory_order) (__m=std::memory_order_acq_rel, __i=1, this=0x176dddf035e45581) at /usr/include/c++/13.2.1/bits/atomic_base.h:643
#6  QAtomicOps<int>::deref<int>(std::atomic<int>&) (_q_value=<error reading variable: Cannot access memory at address 0x176dddf035e45581>) at /usr/include/qt6/QtCore/qatomic_cxx11.h:265
#7  QBasicAtomicInteger<int>::deref() (this=0x176dddf035e45581) at /usr/include/qt6/QtCore/qbasicatomic.h:50
#8  QArrayData::deref() (this=0x176dddf035e45581) at /usr/include/qt6/QtCore/qarraydata.h:58
#9  QArrayDataPointer<GammaRay::RemoteModel::Node*>::deref() (this=0x5613eec7a4f8) at /usr/include/qt6/QtCore/qarraydatapointer.h:413
#10 QArrayDataPointer<GammaRay::RemoteModel::Node*>::~QArrayDataPointer() (this=0x5613eec7a4f8, __in_chrg=<optimized out>) at /usr/include/qt6/QtCore/qarraydatapointer.h:102
#11 QList<GammaRay::RemoteModel::Node*>::~QList() (this=0x5613eec7a4f8, __in_chrg=<optimized out>) at /usr/include/qt6/QtCore/qlist.h:70
#12 GammaRay::RemoteModel::Node::~Node() (this=0x5613eec7a4f0, __in_chrg=<optimized out>) at /home/ratijas/kde/src6/gammaray/client/remotemodel.cpp:39
#13 0x00007f70528e9d5d in GammaRay::RemoteModel::doRemoveRows(GammaRay::RemoteModel::Node*, int, int) (this=this@entry=0x5613ef340b10, parentNode=0x5613ef9e45b0, first=28, last=28) at /home/ratijas/kde/src6/gammaray/client/remotemodel.cpp:976
#14 0x00007f70528ed9cd in GammaRay::RemoteModel::newMessage(GammaRay::Message const&) (this=0x5613ef340b10, msg=...) at /home/ratijas/kde/src6/gammaray/client/remotemodel.cpp:532
#15 0x00007f70511774f5 in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () at /usr/lib/libQt6Core.so.6
#16 0x00007f705117784c in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () at /usr/lib/libQt6Core.so.6
#17 0x00007f705288214a in QMetaMethod::invoke<QMetaMethodArgument>(QObject*, Qt::ConnectionType, QMetaMethodReturnArgument, QMetaMethodArgument&&) const (r=..., c=Qt::AutoConnection, obj=<optimized out>, this=0x5613ee5a8fa0) at /usr/include/qt6/QtCore/qmetaobject.h:148
#18 QMetaMethod::invoke<QMetaMethodArgument>(QObject*, Qt::ConnectionType, QMetaMethodArgument&&) const (c=Qt::AutoConnection, obj=<optimized out>, this=0x5613ee5a8fa0) at /usr/include/qt6/QtCore/qmetaobject.h:160
#19 QMetaMethod::invoke<QMetaMethodArgument>(QObject*, QMetaMethodArgument&&) const (obj=<optimized out>, this=0x5613ee5a8fa0) at /usr/include/qt6/QtCore/qmetaobject.h:182
#20 GammaRay::Endpoint::dispatchMessage(GammaRay::Message const&) (this=<optimized out>, msg=...) at /home/ratijas/kde/src6/gammaray/common/endpoint.cpp:352
#21 0x00007f705287dd20 in GammaRay::Endpoint::readyRead() (this=0x5613ee1a0460) at /home/ratijas/kde/src6/gammaray/common/endpoint.cpp:159
#22 0x00007f70511b9a59 in  () at /usr/lib/libQt6Core.so.6
#23 0x00007f70504fb968 in  () at /usr/lib/libQt6Network.so.6
#24 0x00007f7050509bba in  () at /usr/lib/libQt6Network.so.6
#25 0x00007f705217318b in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6
#26 0x00007f70511626d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt6Core.so.6
#27 0x00007f7051399aa1 in  () at /usr/lib/libQt6Core.so.6
#28 0x00007f7050375f69 in  () at /usr/lib/libglib-2.0.so.0
#29 0x00007f70503d4327 in  () at /usr/lib/libglib-2.0.so.0
#30 0x00007f7050374162 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#31 0x00007f7051397934 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#32 0x00007f705116cc5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#33 0x00007f7051165178 in QCoreApplication::exec() () at /usr/lib/libQt6Core.so.6
#34 0x00005613ec1c2886 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/ratijas/kde/src6/gammaray/client/main.cpp:66
[Inferior 1 (process 38328) detached]

Versions

GammaRay: 3.0.95 revision aa5ec98 (current git master)
Operating System: Arch Linux
KDE Plasma Version: 5.81.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Kernel Version: 6.6.2-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2

@redstrate redstrate added the bug label Jan 10, 2024
@redstrate redstrate added this to the 3.1.0 milestone Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants