Bug 412161 - Crash after asking a few times for the password
Summary: Crash after asking a few times for the password
Status: RESOLVED WORKSFORME
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: auth-handler (show other bugs)
Version: 18.12.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-09-21 15:37 UTC by Joachim Mairböck
Modified: 2022-09-26 16:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joachim Mairböck 2019-09-21 15:37:44 UTC
Application: ktp-auth-handler (18.12.3)

Qt Version: 5.9.7
Frameworks Version: 5.55.0
Operating System: Linux 4.12.14-lp151.28.13-default x86_64
Distribution: "openSUSE Leap 15.1"

-- Information about the crash:
- What I was doing when the application crashed:
The authetication agent asked a few times for the password, probably because the server (livejournal XMPP) rejected it. This is the first time I've seen this crash.

-- Backtrace:
Application: Telepathy Authentication Handler (ktp-auth-handler), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
29	  return SYSCALL_CANCEL (poll, fds, nfds, timeout);
[Current thread is 1 (Thread 0x7f13961e2e00 (LWP 8724))]

Thread 7 (Thread 0x7f1357fff700 (LWP 4736)):
#0  0x00007f138e4438ad in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5593da4513c8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f138e4438ad in __pthread_cond_wait_common (abstime=0x0, mutex=0x5593da451378, cond=0x5593da4513a0) at pthread_cond_wait.c:502
#2  0x00007f138e4438ad in __pthread_cond_wait (cond=0x5593da4513a0, mutex=0x5593da451378) at pthread_cond_wait.c:655
#3  0x00007f13617f088b in cnd_wait (mtx=0x5593da451378, cond=0x5593da4513a0) at ../../include/c11/threads_posix.h:155
#4  0x00007f13617f088b in util_queue_thread_func (input=input@entry=0x5593da4f6890) at u_queue.c:270
#5  0x00007f13617f0597 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
#6  0x00007f138e43d569 in start_thread (arg=0x7f1357fff700) at pthread_create.c:465
#7  0x00007f13918d09ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f135cde4700 (LWP 4735)):
#0  0x00007f138e4438ad in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5593db04fa00) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f138e4438ad in __pthread_cond_wait_common (abstime=0x0, mutex=0x5593db04f9b0, cond=0x5593db04f9d8) at pthread_cond_wait.c:502
#2  0x00007f138e4438ad in __pthread_cond_wait (cond=0x5593db04f9d8, mutex=0x5593db04f9b0) at pthread_cond_wait.c:655
#3  0x00007f13617f088b in cnd_wait (mtx=0x5593db04f9b0, cond=0x5593db04f9d8) at ../../include/c11/threads_posix.h:155
#4  0x00007f13617f088b in util_queue_thread_func (input=input@entry=0x5593da67b750) at u_queue.c:270
#5  0x00007f13617f0597 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
#6  0x00007f138e43d569 in start_thread (arg=0x7f135cde4700) at pthread_create.c:465
#7  0x00007f13918d09ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f1372dee700 (LWP 8729)):
#0  0x00007f138ff8aff4 in g_mutex_unlock (mutex=0x5593da331f20) at gthread-posix.c:1348
#1  0x00007f138ff4505d in g_main_context_iterate (context=0x5593da331f20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3816
#2  0x00007f138ff45542 in g_main_loop_run (loop=0x5593da332060) at gmain.c:4064
#3  0x00007f1390533d66 in gdbus_shared_thread_func (user_data=0x5593da333fd0) at gdbusprivate.c:275
#4  0x00007f138ff6cae6 in g_thread_proxy (data=0x5593da2f38a0) at gthread.c:784
#5  0x00007f138e43d569 in start_thread (arg=0x7f1372dee700) at pthread_create.c:465
#6  0x00007f13918d09ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f13735ef700 (LWP 8728)):
#0  0x00007f13918c1c98 in __GI___libc_read (fd=15, buf=buf@entry=0x7f13735eeba0, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007f138ff89ca0 in read (__nbytes=16, __buf=0x7f13735eeba0, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  0x00007f138ff89ca0 in g_wakeup_acknowledge (wakeup=0x5593da19ce10) at gwakeup.c:210
#3  0x00007f138ff44cb8 in g_main_context_check (context=context@entry=0x5593da2f3320, max_priority=2147483647, fds=fds@entry=0x5593da2f4640, n_fds=n_fds@entry=1) at gmain.c:3646
#4  0x00007f138ff45150 in g_main_context_iterate (context=context@entry=0x5593da2f3320, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3865
#5  0x00007f138ff452bc in g_main_context_iteration (context=0x5593da2f3320, may_block=may_block@entry=1) at gmain.c:3929
#6  0x00007f138ff45301 in glib_worker_main (data=<optimized out>) at gmain.c:5724
#7  0x00007f138ff6cae6 in g_thread_proxy (data=0x5593da2f3800) at gthread.c:784
#8  0x00007f138e43d569 in start_thread (arg=0x7f13735ef700) at pthread_create.c:465
#9  0x00007f13918d09ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f137912b700 (LWP 8726)):
#0  0x00007f13918c619b in __GI___poll (fds=0x7f137401bb80, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f138ff451a9 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f137401bb80, timeout=<optimized out>, context=0x7f1374000be0) at gmain.c:4169
#2  0x00007f138ff451a9 in g_main_context_iterate (context=context@entry=0x7f1374000be0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3863
#3  0x00007f138ff452bc in g_main_context_iteration (context=0x7f1374000be0, may_block=may_block@entry=1) at gmain.c:3929
#4  0x00007f139220b96b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f1374000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f13921b090a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f137912ac40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f1391fcedaa in QThread::exec() (this=this@entry=0x7f139369ad60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515
#7  0x00007f13934279e5 in QDBusConnectionManager::run() (this=0x7f139369ad60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f1391fd3ced in QThreadPrivate::start(void*) (arg=0x7f139369ad60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#9  0x00007f138e43d569 in start_thread (arg=0x7f137912b700) at pthread_create.c:465
#10 0x00007f13918d09ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f1381a88700 (LWP 8725)):
#0  0x00007f13918c619b in __GI___poll (fds=fds@entry=0x7f1381a87b78, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f138932a307 in poll (__timeout=-1, __nfds=1, __fds=0x7f1381a87b78) at /usr/include/bits/poll2.h:46
#2  0x00007f138932a307 in _xcb_conn_wait (c=c@entry=0x5593da1c09c0, cond=cond@entry=0x5593da1c0a00, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:479
#3  0x00007f138932bf3a in xcb_wait_for_event (c=0x5593da1c09c0) at xcb_in.c:697
#4  0x00007f1384638939 in QXcbEventReader::run() (this=0x5593da1c0440) at qxcbconnection.cpp:1334
#5  0x00007f1391fd3ced in QThreadPrivate::start(void*) (arg=0x5593da1c0440) at thread/qthread_unix.cpp:368
#6  0x00007f138e43d569 in start_thread (arg=0x7f1381a88700) at pthread_create.c:465
#7  0x00007f13918d09ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f13961e2e00 (LWP 8724)):
[KCrash Handler]
#6  0x00007f139394be03 in Tp::PendingOperation::setFinished() (this=0x5593da4e6db0) at /usr/src/debug/telepathy-qt5-0.9.7-lp151.2.4.x86_64/TelepathyQt/pending-operation.cpp:133
#7  0x00005593d804a7ed in XTelepathyPasswordAuthOperation::<lambda(quint32)>::<lambda()>::operator() (__closure=0x5593da673840) at /usr/src/debug/ktp-auth-handler-18.12.3-lp151.1.1.x86_64/x-telepathy-password-auth-operation.cpp:228
#8  0x00005593d804a7ed in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, XTelepathyPasswordAuthOperation::storeCredentials(const QString&)::<lambda(quint32)>::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:130
#9  0x00005593d804a7ed in QtPrivate::Functor<XTelepathyPasswordAuthOperation::storeCredentials(const QString&)::<lambda(quint32)>::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:240
#10 0x00005593d804a7ed in QtPrivate::QFunctorSlotObject<XTelepathyPasswordAuthOperation::storeCredentials(const QString&)::<lambda(quint32)>::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x5593da673830, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobject_impl.h:168
#11 0x00007f13921e164f in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdfb6c2a50, r=0x5593da29aed0, this=0x5593da673830) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#12 0x00007f13921e164f in QMetaObject::activate(QObject*, int, int, void**) (sender=0x5593da29aed0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3750
#13 0x00007f139589ce38 in Accounts::Account::Private::account_store_cb(_AgAccount*, _GAsyncResult*, Accounts::Account*) () at /usr/lib64/libaccounts-qt5.so.1
#14 0x00007f13904f21c4 in g_task_return_now (task=0x5593da335050 [GTask]) at gtask.c:1145
#15 0x00007f13904f21f9 in complete_in_idle_cb (task=task@entry=0x5593da335050) at gtask.c:1159
#16 0x00007f138ff41887 in g_idle_dispatch (source=0x5593da93c440, callback=0x7f13904f21f0 <complete_in_idle_cb>, user_data=0x5593da335050) at gmain.c:5486
#17 0x00007f138ff44e87 in g_main_dispatch (context=0x7f137c004fc0) at gmain.c:3142
#18 0x00007f138ff44e87 in g_main_context_dispatch (context=context@entry=0x7f137c004fc0) at gmain.c:3795
#19 0x00007f138ff45230 in g_main_context_iterate (context=context@entry=0x7f137c004fc0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3868
#20 0x00007f138ff452bc in g_main_context_iteration (context=0x7f137c004fc0, may_block=may_block@entry=1) at gmain.c:3929
#21 0x00007f139220b94f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5593da224f30, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#22 0x00007f13921b090a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffdfb6c2d10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#23 0x00007f13921b99b4 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1297
#24 0x00005593d8034321 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/ktp-auth-handler-18.12.3-lp151.1.1.x86_64/main.cpp:112
[Inferior 1 (process 8724) detached]

Reported using DrKonqi
Comment 1 Justin Zobel 2022-09-25 22:38:34 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 Joachim Mairböck 2022-09-26 16:33:35 UTC
I unfortunately can't reproduce it any more.