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

            Bug ID: 524522
           Summary: Ksecretd crash on startup
    Classification: I don't know
           Product: kde
      Version First unspecified
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Application: ksecretd (6.29.0)

ApplicationNotResponding [ANR]: false
Qt Version: 6.11.2
Frameworks Version: 6.29.0
Operating System: Linux 7.1.8-arch1-3 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 6.7.4 [CoredumpBackend]

-- Information about the crash:
Happens everytime I restart.
KDE Wallet requests password everytime I login after the crash occured.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Wallet Service (ksecretd), signal: Segmentation fault

[New LWP 936]
[New LWP 1193]
[New LWP 1197]
[New LWP 1198]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/ksecretd --pam-login 12 13'.
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
44            return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO
(ret) : 0;
[Current thread is 1 (Thread 0x7f6722dfdb00 (LWP 936))]
Using eu-unstrip to resolve modules.
add symbol table from file "/usr/lib/libc.so.6"
add symbol table from file "/usr/lib/libKF6Crash.so.6"
add symbol table from file "/usr/lib/libcrypto.so.3"
add symbol table from file "/usr/lib/qt6/plugins/crypto/libqca-ossl.so"
add symbol table from file "/usr/lib/libqca-qt6.so.2"
add symbol table from file "/usr/bin/ksecretd"
add symbol table from file "/usr/lib/libQt6DBus.so.6"
add symbol table from file "/usr/lib/libQt6Core.so.6"
add symbol table from file "/usr/lib/libQt6Widgets.so.6"
add symbol table from file "/usr/lib/libglib-2.0.so.0"
add symbol table from file "/usr/lib/libQt6WaylandClient.so.6"
[Current thread is 4 (Thread 0x7f67137fe6c0 (LWP 1198))]

Thread 4 (Thread 0x7f67137fe6c0 (LWP 1198)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6720911365 in internal_syscall_cancel (a1=140080685504736, a2=2,
a3=-1, a4=0, a5=0, a6=0, nr=7) at ../sysdeps/unix/sysv/linux/sysdep-cancel.h:53
#2  syscall_cancel (a1=140080685504736, a2=2, a3=-1, a4=0, a5=0, a6=0, nr=7) at
../sysdeps/unix/sysv/linux/sysdep-cancel.h:79
#3  __GI___poll (fds=fds@entry=0x7f67137fd960, nfds=nfds@entry=2,
timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#4  0x00007f671f150728 in poll (__fds=0x7f67137fd960, __nfds=2, __timeout=-1)
at /usr/include/bits/poll2.h:44
#5  QtWaylandClient::EventThread::run (this=0x5620369960f0) at
/usr/src/debug/qt6-base/qtbase/src/plugins/platforms/wayland/qwaylanddisplay.cpp:186
#6  0x00007f67213721eb in ?? () from /usr/lib/libQt6Core.so.6
#7  0x00007f67208980a2 in start_thread (arg=<optimized out>) at
pthread_create.c:454
#8  0x00007f672092080c in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7f6713fff6c0 (LWP 1197)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6720911365 in internal_syscall_cancel (a1=140080693897440, a2=2,
a3=-1, a4=0, a5=0, a6=0, nr=7) at ../sysdeps/unix/sysv/linux/sysdep-cancel.h:53
#2  syscall_cancel (a1=140080693897440, a2=2, a3=-1, a4=0, a5=0, a6=0, nr=7) at
../sysdeps/unix/sysv/linux/sysdep-cancel.h:79
#3  __GI___poll (fds=fds@entry=0x7f6713ffe960, nfds=nfds@entry=2,
timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#4  0x00007f671f150728 in poll (__fds=0x7f6713ffe960, __nfds=2, __timeout=-1)
at /usr/include/bits/poll2.h:44
#5  QtWaylandClient::EventThread::run (this=0x562036989940) at
/usr/src/debug/qt6-base/qtbase/src/plugins/platforms/wayland/qwaylanddisplay.cpp:186
#6  0x00007f67213721eb in ?? () from /usr/lib/libQt6Core.so.6
#7  0x00007f67208980a2 in start_thread (arg=<optimized out>) at
pthread_create.c:454
#8  0x00007f672092080c in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7f671c9ff6c0 (LWP 1193)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6720911a57 in internal_syscall_cancel (a1=140080693909024, a2=2,
a3=<optimized out>, a4=0, a5=8, a6=0, nr=271) at
../sysdeps/unix/sysv/linux/sysdep-cancel.h:53
#2  syscall_cancel (a1=140080693909024, a2=2, a3=<optimized out>, a4=0, a5=8,
a6=0, nr=271) at ../sysdeps/unix/sysv/linux/sysdep-cancel.h:79
#3  __GI_ppoll (fds=fds@entry=0x7f6714001620, nfds=nfds@entry=2,
timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at
../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007f67204e3f59 in ppoll (__fds=0x7f6714001620, __nfds=2, __timeout=0x0,
__ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>,
context=0x7f6714000ca0, timeout_usec=<optimized out>, fds=0x7f6714001620,
n_fds=2) at ../glib/glib/gmain.c:4837
#6  g_main_context_iterate_unlocked (context=context@entry=0x7f6714000ca0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/glib/gmain.c:4511
#7  0x00007f67204e4055 in g_main_context_iteration (context=0x7f6714000ca0,
may_block=1) at ../glib/glib/gmain.c:4582
#8  0x00007f6721496f32 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt6Core.so.6
#9  0x00007f672118f664 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt6Core.so.6
#10 0x00007f67212b7ce2 in QThread::exec() () from /usr/lib/libQt6Core.so.6
#11 0x00007f6722269951 in QDBusConnectionManager::run (this=0x7f67222fbe20
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-base/qtbase/src/dbus/qdbusconnectionmanager.cpp:145
#12 0x00007f67213721eb in ?? () from /usr/lib/libQt6Core.so.6
#13 0x00007f67208980a2 in start_thread (arg=<optimized out>) at
pthread_create.c:454
#14 0x00007f672092080c in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7f6722dfdb00 (LWP 936)):
[KCrash Handler]
#4  EVP_CIPHER_CTX_set_key_length (c=0x7f671400d730, keylen=16) at
crypto/evp/evp_enc.c:1370
#5  0x00007f6712439c55 in opensslQCAPlugin::opensslCipherContext::setup
(this=0x562036c34090, dir=<optimized out>, key=..., iv=..., tag=...) at
/usr/src/debug/qca/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:6312
#6  0x00007f6722d31fca in QCA::Cipher::setup (this=this@entry=0x7ffd7aa6e520,
dir=dir@entry=QCA::Encode, key=..., iv=...) at
/usr/src/debug/qca/qca-2.3.10/src/qca_basic.cpp:400
#7  0x00007f6722d32314 in QCA::Cipher::Cipher (this=<optimized out>, type=...,
mode=<optimized out>, pad=<optimized out>, dir=<optimized out>, key=...,
iv=..., provider=..., this=<optimized out>, type=..., mode=<optimized out>,
pad=<optimized out>, dir=<optimized out>, key=..., iv=..., provider=...) at
/usr/src/debug/qca/qca-2.3.10/src/qca_basic.cpp:281
#8  0x0000561ffbe285df in KWalletFreedesktopSessionAlgorithmDhAes::encrypt
(this=0x562036e4dd20, secret=...) at /usr/include/c++/16/bits/move.h:188
#9  0x0000561ffbe32bd9 in KWalletFreedesktopSession::encrypt (message=...,
this=0x562036c8c510, secret=...) at
/usr/src/debug/kwallet/kwallet-6.29.0/src/runtime/ksecretd/kwalletfreedesktopsession.cpp:78
#10 KWalletFreedesktopSession::encrypt (this=0x562036c8c510, message=...,
secret=...) at
/usr/src/debug/kwallet/kwallet-6.29.0/src/runtime/ksecretd/kwalletfreedesktopsession.cpp:72
#11 KWalletFreedesktopService::ensecret (this=<optimized out>, message=...,
secret=...) at
/usr/src/debug/kwallet/kwallet-6.29.0/src/runtime/ksecretd/kwalletfreedesktopservice.cpp:580
#12 KWalletFreedesktopItem::getSecret (this=<optimized out>, connection=...,
message=..., session=...) at
/usr/src/debug/kwallet/kwallet-6.29.0/src/runtime/ksecretd/kwalletfreedesktopitem.cpp:146
#13 0x0000561ffbe174ed in KWalletFreedesktopService::GetSecrets
(this=0x56203699f9b0, items=..., session=...) at
/usr/src/debug/kwallet/kwallet-6.29.0/src/runtime/ksecretd/kwalletfreedesktopservice.cpp:234
#14 0x0000561ffbe4450a in KWalletFreedesktopServiceAdaptor::GetSecrets
(this=<optimized out>, items=..., session=...) at
/usr/src/debug/kwallet/build/src/runtime/ksecretd/kwalletfreedesktopserviceadaptor.cpp:51
#15 KWalletFreedesktopServiceAdaptor::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=0x7ffd7aa6eb28) at
/usr/src/debug/kwallet/build/src/runtime/ksecretd/moc_kwalletfreedesktopserviceadaptor.cpp:202
#16 0x0000561ffbe448b7 in KWalletFreedesktopServiceAdaptor::qt_metacall
(this=0x562036b05440, _c=<optimized out>, _id=4, _a=0x7ffd7aa6eb28) at
/usr/src/debug/kwallet/build/src/runtime/ksecretd/moc_kwalletfreedesktopserviceadaptor.cpp:267
#17 0x00007f6722275ae9 in QDBusConnectionPrivate::deliverCall
(this=this@entry=0x7f6714001680, object=object@entry=0x562036b05440, msg=...,
metaTypes=..., slotIdx=8) at
/usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:1009
#18 0x00007f6722276a4a in QDBusConnectionPrivate::activateCall
(this=this@entry=0x7f6714001680, object=<optimized out>, flags=flags@entry=...,
msg=...) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:911
#19 0x00007f672227c82d in QDBusConnectionPrivate::activateObject
(this=0x7f6714001680, node=..., msg=..., pathStartPos=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:1499
#20 0x00007f672227d35a in QDBusActivateObjectEvent::placeMetaCall
(this=0x7f671400d800) at
/usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:1619
#21 0x00007f67211e6b96 in QObject::event(QEvent*) () from
/usr/lib/libQt6Core.so.6
#22 0x00007f672250325f in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt6Widgets.so.6
#23 0x00007f67211822b8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt6Core.so.6
#24 0x00007f67211826c1 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/libQt6Core.so.6
#25 0x00007f672149a4b8 in ?? () from /usr/lib/libQt6Core.so.6
#26 0x00007f67204e1c76 in g_main_dispatch (context=0x7f6714000f00) at
../glib/glib/gmain.c:3591
#27 0x00007f67204e3ed7 in g_main_context_dispatch_unlocked
(context=0x7f6714000f00) at ../glib/glib/gmain.c:4451
#28 g_main_context_iterate_unlocked (context=context@entry=0x7f6714000f00,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/glib/gmain.c:4516
#29 0x00007f67204e4055 in g_main_context_iteration (context=0x7f6714000f00,
may_block=1) at ../glib/glib/gmain.c:4582
#30 0x00007f6721496f32 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt6Core.so.6
#31 0x00007f672118f664 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt6Core.so.6
#32 0x00007f672118685a in QCoreApplication::exec() () from
/usr/lib/libQt6Core.so.6
#33 0x0000561ffbdf90f2 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kwallet/kwallet-6.29.0/src/runtime/ksecretd/main.cpp:211

Reported using DrKonqi
This report was filed against 'kde' because the product 'ksecretd' could not be
located in Bugzilla. Add it to drkonqi's mappings file!

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

Reply via email to