https://bugs.kde.org/show_bug.cgi?id=379175

            Bug ID: 379175
           Summary: kactivitymanagerd crashes in QtCurve code
           Product: QtCurve
           Version: git
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: qt5
          Assignee: yyc1...@gmail.com
          Reporter: luke-jr+kdeb...@utopios.org
                CC: h...@kde.org
  Target Milestone: ---

Application: kactivitymanagerd (kactivitymanagerd), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9264db2740 (LWP 2996))]

Thread 2 (Thread 0x7f92585db700 (LWP 3001)):
#0  0x00007f9262bf04ed in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9262590692 in poll (__timeout=-1, __nfds=1, __fds=0x7f92585dad70)
at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x56182496d1e0, cond=cond@entry=0x56182496d220,
vector=vector@entry=0x0, count=count@entry=0x0) at
/var/tmp/portage/x11-libs/libxcb-1.12-r2/work/libxcb-1.12/src/xcb_conn.c:479
#3  0x00007f9262592c57 in xcb_wait_for_event (c=0x56182496d1e0) at
/var/tmp/portage/x11-libs/libxcb-1.12-r2/work/libxcb-1.12/src/xcb_in.c:693
#4  0x00007f925ab5b0a9 in QXcbEventReader::run (this=0x561824980230) at
qxcbconnection.cpp:1331
#5  0x00007f92633899cb in QThreadPrivate::start (arg=0x561824980230) at
thread/qthread_unix.cpp:365
#6  0x00007f9261c12120 in start_thread (arg=0x7f92585db700) at
pthread_create.c:333
#7  0x00007f9262bf9dcd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f9264db2740 (LWP 2996)):
[KCrash Handler]
#6  std::__atomic_base<QMutexData*>::compare_exchange_strong (__m2=<optimized
out>, __m1=std::memory_order_acquire, __p2=<optimized out>,
__p1=@0x7fff418b5388: 0x0, this=0x20) at
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/atomic_base.h:752
#7  std::atomic<QMutexData*>::compare_exchange_strong
(__m=std::memory_order_acquire, __p2=<optimized out>, __p1=@0x7fff418b5388:
0x0, this=0x20) at
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/atomic:475
#8  QAtomicOps<QMutexData*>::testAndSetAcquire<QMutexData*>
(currentValue=<synthetic pointer>, newValue=<optimized out>, expectedValue=0x0,
_q_value=...) at
../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:158
#9  QBasicAtomicPointer<QMutexData>::testAndSetAcquire (currentValue=<synthetic
pointer>, newValue=<optimized out>, expectedValue=0x0, this=0x20) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:276
#10 QBasicMutex::fastTryLock (current=<synthetic pointer>, this=0x20) at
thread/qmutex.h:82
#11 QMutex::lock (this=this@entry=0x20) at thread/qmutex.cpp:219
#12 0x00007f9264de2a7e in QMutexLocker::QMutexLocker (m=0x20, this=<synthetic
pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:128
#13 QDBusConnectionManager::busConnection (this=0x0,
type=type@entry=QDBusConnection::SessionBus) at qdbusconnection.cpp:120
#14 0x00007f9264de3ffd in QDBusConnection::sessionBus () at
qdbusconnection.cpp:1188
#15 0x00007f924dc65d55 in QtCurve::Style::disconnectDBus (this=0x5618249f3500)
at
/var/tmp/portage/x11-themes/qtcurve-9999/work/qtcurve-9999/qt5/style/qtcurve.cpp:702
#16 0x00007f924dca42de in QtCurve::runAllCleanups () at
/var/tmp/portage/x11-themes/qtcurve-9999/work/qtcurve-9999/qt5/style/qtcurve_plugin.cpp:86
#17 QtCurve::StylePlugin::~StylePlugin (this=0x5618249f1140,
__in_chrg=<optimized out>) at
/var/tmp/portage/x11-themes/qtcurve-9999/work/qtcurve-9999/qt5/style/qtcurve_plugin.cpp:167
#18 0x00007f924dca434c in QtCurve::StylePlugin::~StylePlugin
(this=0x5618249f1140, __in_chrg=<optimized out>) at
/var/tmp/portage/x11-themes/qtcurve-9999/work/qtcurve-9999/qt5/style/qtcurve_plugin.cpp:170
#19 0x00007f92635531b2 in QLibraryPrivate::unload
(this=this@entry=0x5618249c56a0, flag=flag@entry=QLibraryPrivate::UnloadSys) at
plugin/qlibrary.cpp:551
#20 0x00007f9263549118 in QFactoryLoaderPrivate::~QFactoryLoaderPrivate
(this=0x5618249c5fd0, __in_chrg=<optimized out>) at
plugin/qfactoryloader.cpp:88
#21 0x00007f926354927c in QFactoryLoaderPrivate::~QFactoryLoaderPrivate
(this=0x5618249c5fd0, __in_chrg=<optimized out>) at
plugin/qfactoryloader.cpp:91
#22 0x00007f9263593631 in QScopedPointerDeleter<QObjectData>::cleanup
(pointer=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:54
#23 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData>
>::~QScopedPointer (this=0x7f92643c53e8 <(anonymous
namespace)::Q_QGS_loader::innerFunction()::holder+8>, __in_chrg=<optimized
out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:101
#24 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at
kernel/qobject.cpp:893
#25 0x00007f92635481a9 in QFactoryLoader::~QFactoryLoader (this=0x7f92643c53e0
<(anonymous namespace)::Q_QGS_loader::innerFunction()::holder>,
__in_chrg=<optimized out>) at plugin/qfactoryloader.cpp:228
#26 0x00007f9263ea3818 in (anonymous namespace)::Q_QGS_loader::Holder::~Holder
(this=<optimized out>, __in_chrg=<optimized out>) at
styles/qstylefactory.cpp:70
#27 0x00007f9262b41c08 in __run_exit_handlers (status=0, listp=0x7f9262eaa578
<__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#28 0x00007f9262b41c64 in __GI_exit (status=<optimized out>) at exit.c:104
#29 0x00007f9264a8246a in KDBusService::KDBusService (this=0x7fff418b59d0,
options=..., parent=<optimized out>) at
/var/tmp/portage/kde-frameworks/kdbusaddons-5.29.0/work/kdbusaddons-5.29.0/src/kdbusservice.cpp:120
#30 0x0000561824719645 in main (argc=2, argv=0x7fff418b5b18) at
/var/tmp/portage/kde-plasma/kactivitymanagerd-5.8.6/work/kactivitymanagerd-5.8.6/src/service/Application.cpp:404

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to