Bug 343342

Summary: System Settings crash during adding Google Account to Social Accounts
Product: [Frameworks and Libraries] libkgapi Reporter: Piotr <pietruszka23>
Component: GeneralAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Piotr 2015-01-26 17:37:08 UTC
Application: systemsettings (4.13.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-44-generic x86_64
Distribution: Netrunner 14 (Frontier)

-- Information about the crash:
- Custom settings of the application:
Google caalendar used to be linked with this user. But ~/.kde was overwritten during system's upgrade.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7feffde227c0 (LWP 5878))]

Thread 8 (Thread 0x7fefdffff700 (LWP 5879)):
#0  __GI___pthread_mutex_lock (mutex=0x7fefd8000a60) at ../nptl/pthread_mutex_lock.c:66
#1  0x00007feff3dbd981 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007feff3d7b0b0 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007feff3d7bea5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007feff3d7c0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007feffb5a77be in QEventDispatcherGlib::processEvents (this=0x7fefd80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007feffb5790af in QEventLoop::processEvents (this=this@entry=0x7fefdfffede0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007feffb5793a5 in QEventLoop::exec (this=this@entry=0x7fefdfffede0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007feffb475c5f in QThread::exec (this=this@entry=0x22c1fb0) at thread/qthread.cpp:537
#9  0x00007feffb55a823 in QInotifyFileSystemWatcherEngine::run (this=0x22c1fb0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007feffb47832f in QThreadPrivate::start (arg=0x22c1fb0) at thread/qthread_unix.cpp:349
#11 0x00007feff425b182 in start_thread (arg=0x7fefdffff700) at pthread_create.c:312
#12 0x00007feffae2e00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7fefd7fff700 (LWP 5882)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007feffa24181d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007feffa241859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007feff425b182 in start_thread (arg=0x7fefd7fff700) at pthread_create.c:312
#4  0x00007feffae2e00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fef977fc700 (LWP 5883)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007feff9f8220d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007feffa270fd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007feff425b182 in start_thread (arg=0x7fef977fc700) at pthread_create.c:312
#4  0x00007feffae2e00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fef96bfb700 (LWP 5884)):
#0  0x00007feff3dbd8aa in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007feff3dbdd29 in g_private_get () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007feff3da13a0 in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007feff3d7b09c in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007feff3d7bea5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007feff3d7c0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007feffb5a77be in QEventDispatcherGlib::processEvents (this=0x7fef880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007feffb5790af in QEventLoop::processEvents (this=this@entry=0x7fef96bfae20, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007feffb5793a5 in QEventLoop::exec (this=this@entry=0x7fef96bfae20, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007feffb475c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#10 0x00007feffb47832f in QThreadPrivate::start (arg=0x23f6f10) at thread/qthread_unix.cpp:349
#11 0x00007feff425b182 in start_thread (arg=0x7fef96bfb700) at pthread_create.c:312
#12 0x00007feffae2e00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fef95744700 (LWP 5885)):
#0  0x00007feffae20cbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007feff3d7bfe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007feff3d7c0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007feffb5a77be in QEventDispatcherGlib::processEvents (this=0x7fef8c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007feffb5790af in QEventLoop::processEvents (this=this@entry=0x7fef95743e20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007feffb5793a5 in QEventLoop::exec (this=this@entry=0x7fef95743e20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007feffb475c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#7  0x00007feffb47832f in QThreadPrivate::start (arg=0x1f58ee0) at thread/qthread_unix.cpp:349
#8  0x00007feff425b182 in start_thread (arg=0x7fef95744700) at pthread_create.c:312
#9  0x00007feffae2e00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fef94f43700 (LWP 5886)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007feffb4787f4 in wait (time=30000, this=0x7fef8c009b10) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x7fef8c0098c0, mutex=mutex@entry=0x7fef8c0095f8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007feffb46c0fa in QThreadPoolThread::run (this=0x7fef8c0098b0) at concurrent/qthreadpool.cpp:142
#4  0x00007feffb47832f in QThreadPrivate::start (arg=0x7fef8c0098b0) at thread/qthread_unix.cpp:349
#5  0x00007feff425b182 in start_thread (arg=0x7fef94f43700) at pthread_create.c:312
#6  0x00007feffae2e00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fef8743d700 (LWP 5887)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007feffb4787f4 in wait (time=30000, this=0x7fef8c26a000) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x7fef8c269c20, mutex=mutex@entry=0x7fef8c0095f8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007feffb46c0fa in QThreadPoolThread::run (this=0x7fef8c269c10) at concurrent/qthreadpool.cpp:142
#4  0x00007feffb47832f in QThreadPrivate::start (arg=0x7fef8c269c10) at thread/qthread_unix.cpp:349
#5  0x00007feff425b182 in start_thread (arg=0x7fef8743d700) at pthread_create.c:312
#6  0x00007feffae2e00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7feffde227c0 (LWP 5878)):
[KCrash Handler]
#6  0x00007fefdf5af9ed in OAuth::authenticated(KGAPI2::Job*) () from /usr/lib/kde4/webaccounts.so
#7  0x00007fefdf59c98d in OAuth::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/kde4/webaccounts.so
#8  0x00007feffb58e87a in QMetaObject::activate (sender=0x23e6ef0, m=m@entry=0x7fefdee59660 <KGAPI2::Job::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff71724dd0) at kernel/qobject.cpp:3539
#9  0x00007fefdeb621af in KGAPI2::Job::finished (this=<optimized out>, _t1=0x23e6ef0) at /build/buildd/libkgapi-2.1.1/obj-x86_64-linux-gnu/libkgapi2/job.moc:150
#10 0x00007feffb592c1e in QObject::event (this=0x23e6ef0, e=<optimized out>) at kernel/qobject.cpp:1194
#11 0x00007feffc1e7e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1e9b9c0, receiver=receiver@entry=0x23e6ef0, e=e@entry=0x2652790) at kernel/qapplication.cpp:4567
#12 0x00007feffc1ee4a0 in QApplication::notify (this=this@entry=0x7fff717254f0, receiver=receiver@entry=0x23e6ef0, e=e@entry=0x2652790) at kernel/qapplication.cpp:4353
#13 0x00007feffcef2cca in KApplication::notify (this=0x7fff717254f0, receiver=0x23e6ef0, event=0x2652790) at ../../kdeui/kernel/kapplication.cpp:311
#14 0x00007feffb57a4dd in QCoreApplication::notifyInternal (this=0x7fff717254f0, receiver=receiver@entry=0x23e6ef0, event=event@entry=0x2652790) at kernel/qcoreapplication.cpp:953
#15 0x00007feffb57db3d in sendEvent (event=0x2652790, receiver=0x23e6ef0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1e5b230) at kernel/qcoreapplication.cpp:1577
#17 0x00007feffb57dfe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#18 0x00007feffb5a7f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#19 postEventSourceDispatch (s=0x1e9fa60) at kernel/qeventdispatcher_glib.cpp:287
#20 0x00007feff3d7be04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007feff3d7c048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007feff3d7c0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007feffb5a77a1 in QEventDispatcherGlib::processEvents (this=0x1e95ab0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#24 0x00007feffc289bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007feffb5790af in QEventLoop::processEvents (this=this@entry=0x7fff717253f0, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007feffb5793a5 in QEventLoop::exec (this=this@entry=0x7fff717253f0, flags=...) at kernel/qeventloop.cpp:204
#27 0x00007feffb57eb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#28 0x00007feffc1e637c in QApplication::exec () at kernel/qapplication.cpp:3828
#29 0x000000000040aadb in main (argc=5, argv=0x7fff71725638) at ../../../systemsettings/app/main.cpp:49

Reported using DrKonqi
Comment 1 Andrew Crouthamel 2018-10-31 03:53:52 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Bug Janitor Service 2018-11-15 10:50:59 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-11-30 04:03:39 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!