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

GammaRay app crashes on exit #824

Closed
ratijas opened this issue Aug 31, 2023 · 0 comments
Closed

GammaRay app crashes on exit #824

ratijas opened this issue Aug 31, 2023 · 0 comments

Comments

@ratijas
Copy link
Contributor

ratijas commented Aug 31, 2023

Basically, main app of GammaRay (I believe it is called client?) consistently crashes every time on exit.

The bug has been around for months.

Stacktrace
Core was generated by `/usr/local/kde6/lib/gammaray/libexec/gammaray-client tcp://127.0.0.1:11732'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0)
    at pthread_kill.c:44
#1  0x00007f5f10c8e8a3 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007f5f10c3e668 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007f5f098ba989 in KCrash::defaultCrashHandler(int) (sig=11)
    at /home/ratijas/kde/src6/kcrash/src/kcrash.cpp:612
#4  0x00007f5f10c3e710 in <signal handler called> () at /usr/lib/libc.so.6
#5  std::__atomic_base<int>::fetch_add(int, std::memory_order)
    (__m=std::memory_order_acq_rel, __i=1, this=0x555d3c29aee1) at /usr/include/c++/13.2.1/bits/atomic_base.h:633
#6  QAtomicOps<int>::ref<int>(std::atomic<int>&)
    (_q_value=<error reading variable: Cannot access memory at address 0x555d3c29aee1>)
    at /usr/include/qt6/QtCore/qatomic_cxx11.h:258
#7  QBasicAtomicInteger<int>::ref() (this=0x555d3c29aee1) at /usr/include/qt6/QtCore/qbasicatomic.h:51
#8  QArrayData::ref() (this=0x555d3c29aee1) at /usr/include/qt6/QtCore/qarraydata.h:51
#9  QArrayDataPointer<char16_t>::ref() (this=0x7ffcced3aa48) at /usr/include/qt6/QtCore/qarraydatapointer.h:311
#10 QArrayDataPointer<char16_t>::QArrayDataPointer(QArrayDataPointer<char16_t> const&)
    (other=..., this=0x7ffcced3aa48) at /usr/include/qt6/QtCore/qarraydatapointer.h:35
#11 QString::QString(QString const&) (other=..., this=0x7ffcced3aa48) at /usr/include/qt6/QtCore/qstring.h:1335
#12 std::pair<unsigned short, QString>::pair<unsigned short const&, QString&, true>(unsigned short const&, QString&) (__y=..., __x=@0x555869ad2e10: 238, this=0x7ffcced3aa40) at /usr/include/c++/13.2.1/bits/stl_pair.h:688
#13 std::make_pair<unsigned short const&, QString&>(unsigned short const&, QString&)
    (__y=..., __x=@0x555869ad2e10: 238) at /usr/include/c++/13.2.1/bits/stl_pair.h:927
#14 qMakePair<unsigned short const&, QString&>(unsigned short const&, QString&)
    (value2=..., value1=@0x555869ad2e10: 238) at /usr/include/qt6/QtCore/qpair.h:22
#15 GammaRay::Endpoint::objectAddresses() const (this=this@entry=0x55586949ccf0)
    at /home/ratijas/kde/src6/gammaray/common/endpoint.cpp:366
#16 0x00007f5f12dafb78 in GammaRay::Client::socketDisconnected() (this=0x55586949ccf0)
    at /home/ratijas/kde/src6/gammaray/client/client.cpp:107
#17 0x00007f5f1159134a in QtPrivate::QSlotObjectBase::call(QObject*, void**)
    (a=0x7ffcced3aba8, r=0x55586949ccf0, this=0x555869a3b180, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.2/src/corelib/kernel/qobjectdefs_impl.h:363
#18 doActivate<false>(QObject*, int, void**) (sender=0x55586949ccf0, signal_index=4, argv=0x7ffcced3aba8)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.2/src/corelib/kernel/qobject.cpp:3992
#19 0x00007f5f12d4893d in GammaRay::Endpoint::~Endpoint()
    (this=this@entry=0x55586949ccf0, __in_chrg=<optimized out>)
    at /home/ratijas/kde/src6/gammaray/common/endpoint.cpp:69
#20 0x00007f5f12daf1fa in GammaRay::Client::~Client() (this=0x55586949ccf0, __in_chrg=<optimized out>)
    at /home/ratijas/kde/src6/gammaray/client/client.cpp:46
#21 GammaRay::Client::~Client() (this=0x55586949ccf0, __in_chrg=<optimized out>)
    at /home/ratijas/kde/src6/gammaray/client/client.cpp:46
#22 0x00007f5f1157d57b in QObjectPrivate::deleteChildren() (this=this@entry=0x555869a5ca10)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.2/src/corelib/kernel/qobject.cpp:2174
#23 0x00007f5f11580d68 in QObject::~QObject() (this=this@entry=0x7ffcced3ae00, this=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.2/src/corelib/kernel/qobject.cpp:1112
#24 0x00007f5f12dc4660 in GammaRay::ClientConnectionManager::~ClientConnectionManager()
    (this=this@entry=0x7ffcced3ae00, __in_chrg=<optimized out>)
    at /home/ratijas/kde/src6/gammaray/client/clientconnectionmanager.cpp:145
#25 0x00005558675b28b4 in main(int, char**) (argc=<optimized out>, argv=<optimized out>)
    at /home/ratijas/kde/src6/gammaray/client/main.cpp:67

Versions

OS: Arch Linux
Qt: 6.5.2-1
GammaRay: built from master

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

No branches or pull requests

1 participant