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

            Bug ID: 524899
           Summary: ksecretd upon logging in
    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.9-arch1-2 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.7.4 [CoredumpBackend]

-- Information about the crash:
Whenever i'm logging in via the plasma-login-manager,  KDE wallet asks for my
password and there is a crash; previously the wallet was always unlocked
automatically and there wasn't any.

Operating System: Arch Linux 
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.2
Kernel Version: 7.1.9-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i7-13700H
Memory: 40 Gio of RAM (38.8 Gio usable)
Graphics Processor 1: Intel® Iris® Xe Graphics
Graphics Processor 2: NVIDIA GeForce RTX 4060 Laptop GPU

The crash can be reproduced every time.

-- Backtrace:
Application: Service de portefeuilles de KDE (ksecretd), signal: Segmentation
fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
Downloading separate debug info for /usr/bin/ksecretd...
[New LWP 1108]
[New LWP 1368]
[New LWP 1355]
[New LWP 1369]
Downloading 5.58 M separate debug info for /usr/lib/libnss3.so...
Downloading 593.44 K separate debug info for /usr/lib/libnssutil3.so...
Downloading 987.62 K separate debug info for /usr/lib/libsmime3.so...
[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 8 9'.
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 0x7f6e9a7aab00 (LWP 1108))]
Using eu-unstrip to resolve modules.

Python Exception <class 'gdb.error'>: value has been optimized out
Python Exception <class 'gdb.error'>: value has been optimized out
[Current thread is 4 (Thread 0x7f6e8e5ff6c0 (LWP 1369))]

Thread 4 (Thread 0x7f6e8e5ff6c0 (LWP 1369)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6e9b911365 in internal_syscall_cancel (a1=140112811780320, 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=140112811780320, 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=0x7f6e8e5fe960, nfds=nfds@entry=2,
timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#4  0x00007f6e9a06f728 in poll (__fds=0x7f6e8e5fe960, __nfds=2, __timeout=-1)
at /usr/include/bits/poll2.h:44
#5  QtWaylandClient::EventThread::run (this=0x563390b782f0) at
/usr/src/debug/qt6-base/qtbase/src/plugins/platforms/wayland/qwaylanddisplay.cpp:186
#6  0x00007f6e9c3721eb in QThreadPrivate::start (arg=0x563390b782f0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:466
#7  0x00007f6e9b8980a2 in start_thread (arg=<optimized out>) at
pthread_create.c:454
#8  0x00007f6e9b92080c in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7f6e977ff6c0 (LWP 1355)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6e9b911a57 in internal_syscall_cancel (a1=140112839054880, 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=140112839054880, 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=0x7f6e90001620, nfds=nfds@entry=2,
timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at
../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007f6e9b40cf59 in ppoll (__fds=0x7f6e90001620, __nfds=2, __timeout=0x0,
__ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>,
context=0x7f6e90000ca0, timeout_usec=<optimized out>, fds=0x7f6e90001620,
n_fds=2) at ../glib/glib/gmain.c:4837
#6  g_main_context_iterate_unlocked (context=context@entry=0x7f6e90000ca0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/glib/gmain.c:4511
#7  0x00007f6e9b40d055 in g_main_context_iteration (context=0x7f6e90000ca0,
may_block=1) at ../glib/glib/gmain.c:4582
#8  0x00007f6e9c496f32 in QEventDispatcherGlib::processEvents
(this=0x7f6e90000880, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:402
#9  0x00007f6e9c18f664 in QEventLoop::processEvents (this=0x7f6e977fe920,
flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:109
#10 QEventLoop::exec (this=0x7f6e977fe920, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:198
#11 0x00007f6e9c2b7ce2 in QThread::exec (this=this@entry=0x7f6e9c7fee20
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:672
#12 0x00007f6e9c76c951 in QDBusConnectionManager::run (this=0x7f6e9c7fee20
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-base/qtbase/src/dbus/qdbusconnectionmanager.cpp:145
#13 0x00007f6e9c3721eb in QThreadPrivate::start (arg=0x7f6e9c7fee20
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:466
#14 0x00007f6e9b8980a2 in start_thread (arg=<optimized out>) at
pthread_create.c:454
#15 0x00007f6e9b92080c in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7f6e94b5e6c0 (LWP 1368)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6e9b911365 in internal_syscall_cancel (a1=140112918075616, 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=140112918075616, 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=0x7f6e94b5d960, nfds=nfds@entry=2,
timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#4  0x00007f6e9a06f728 in poll (__fds=0x7f6e94b5d960, __nfds=2, __timeout=-1)
at /usr/include/bits/poll2.h:44
#5  QtWaylandClient::EventThread::run (this=0x563390b62700) at
/usr/src/debug/qt6-base/qtbase/src/plugins/platforms/wayland/qwaylanddisplay.cpp:186
#6  0x00007f6e9c3721eb in QThreadPrivate::start (arg=0x563390b62700) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:466
#7  0x00007f6e9b8980a2 in start_thread (arg=<optimized out>) at
pthread_create.c:454
#8  0x00007f6e9b92080c in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7f6e9a7aab00 (LWP 1108)):
[KCrash Handler]
#5  EVP_CIPHER_CTX_set_key_length (c=0x7f6e9000f2b0, keylen=16) at
crypto/evp/evp_enc.c:1370
#6  0x00007f6e8dcd7cfb in opensslQCAPlugin::opensslCipherContext::setup
(this=0x563390cd2140, dir=<optimized out>, key=..., iv=..., tag=<optimized
out>) at /usr/src/debug/qca/qca-2.3.10/plugins/qca-ossl/qca-ossl.cpp:6321
#7  0x00007f6e9dc94fca in QCA::Cipher::setup (this=this@entry=0x7ffd0f6d8570,
dir=dir@entry=QCA::Decode, key=..., iv=...) at
/usr/src/debug/qca/qca-2.3.10/src/qca_basic.cpp:400
#8  0x00007f6e9dc95314 in QCA::Cipher::Cipher (this=this@entry=0x7ffd0f6d8570,
type=..., mode=mode@entry=QCA::Cipher::CBC, pad=pad@entry=QCA::Cipher::PKCS7,
dir=dir@entry=QCA::Decode, key=..., iv=..., provider=..., this=<optimized out>,
type=<optimized out>, mode=<optimized out>, pad=<optimized out>, dir=<optimized
out>, key=<optimized out>, iv=<optimized out>, provider=<optimized out>) at
/usr/src/debug/qca/qca-2.3.10/src/qca_basic.cpp:281
#9  0x0000563351f6f8c4 in KWalletFreedesktopSessionAlgorithmDhAes::decrypt
(this=0x563390e1e060, secret=...) at
/usr/src/debug/kwallet/kwallet-6.29.0/src/runtime/ksecretd/kwalletfreedesktopsession.cpp:152
#10 0x0000563351f771a8 in KWalletFreedesktopCollection::CreateItem
(this=0x7f6e9000a2b0, properties=<optimized out>, secret=...,
replace=<optimized out>, prompt=<optimized out>) at
/usr/src/debug/kwallet/kwallet-6.29.0/src/runtime/ksecretd/kwalletfreedesktopcollection.cpp:173
#11 0x0000563351f8bc0a in KWalletFreedesktopCollectionAdaptor::CreateItem
(this=<optimized out>, properties=..., secret=..., replace=true, prompt=...) at
/usr/src/debug/kwallet/build/src/runtime/ksecretd/kwalletfreedesktopcollectionadaptor.cpp:75
#12 KWalletFreedesktopCollectionAdaptor::qt_static_metacall (_o=<optimized
out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
/usr/src/debug/kwallet/build/src/runtime/ksecretd/moc_kwalletfreedesktopcollectionadaptor.cpp:160
#13 0x0000563351f8c147 in KWalletFreedesktopCollectionAdaptor::qt_metacall
(this=0x7f6e9000a290, _c=<optimized out>, _id=3, _a=0x7ffd0f6d8ad8) at
/usr/src/debug/kwallet/build/src/runtime/ksecretd/moc_kwalletfreedesktopcollectionadaptor.cpp:238
#14 0x00007f6e9c778ae9 in QDBusConnectionPrivate::deliverCall
(this=this@entry=0x7f6e90001680, object=object@entry=0x7f6e9000a290, msg=...,
metaTypes=<optimized out>, slotIdx=7) at
/usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:1009
#15 0x00007f6e9c77979b in QDBusConnectionPrivate::activateCall
(this=this@entry=0x7f6e90001680, object=0x7f6e9000a290, flags=...,
flags@entry=..., msg=...) at
/usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:918
#16 0x00007f6e9c77f82d in QDBusConnectionPrivate::activateObject
(this=0x7f6e90001680, node=..., msg=..., pathStartPos=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:1499
#17 0x00007f6e9c78035a in QDBusActivateObjectEvent::placeMetaCall
(this=0x7f6e900081d0) at
/usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:1619
#18 0x00007f6e9c1e6b96 in QObject::event (this=<optimized out>, e=<optimized
out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1480
#19 0x00007f6e9d30325f in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x7f6e9000a2b0, e=0x7f6e900081d0) at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3273
#20 0x00007f6e9c1822b8 in QCoreApplication::notifyInternal2
(receiver=0x7f6e9000a2b0, event=event@entry=0x7f6e900081d0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1126
#21 0x00007f6e9c1826c1 in QCoreApplication::sendEvent (receiver=<optimized
out>, event=0x7f6e900081d0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1571
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x563390b4fb20) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1926
#23 0x00007f6e9c49a4b8 in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1779
#24 postEventSourceDispatch (s=0x563390b55f30) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:248
#25 0x00007f6e9b40ac76 in g_main_dispatch (context=0x7f6e90000f00) at
../glib/glib/gmain.c:3591
#26 0x00007f6e9b40ced7 in g_main_context_dispatch_unlocked
(context=0x7f6e90000f00) at ../glib/glib/gmain.c:4451
#27 g_main_context_iterate_unlocked (context=context@entry=0x7f6e90000f00,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/glib/gmain.c:4516
#28 0x00007f6e9b40d055 in g_main_context_iteration (context=0x7f6e90000f00,
may_block=1) at ../glib/glib/gmain.c:4582
#29 0x00007f6e9c496f32 in QEventDispatcherGlib::processEvents
(this=0x563390b56040, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:402
#30 0x00007f6e9c18f664 in QEventLoop::processEvents (this=0x7ffd0f6d93d0,
flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:109
#31 QEventLoop::exec (this=0x7ffd0f6d93d0, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:198
#32 0x00007f6e9c18685a in QCoreApplication::exec () at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1469
#33 0x00007f6e9d2ffb7a in QApplication::exec () at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2543
#34 0x0000563351f400f2 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