Bug 332890

Summary: kwaletd crashes at startup
Product: [Unmaintained] kdelibs Reporter: Luis Silva <lacsilva>
Component: kwalletAssignee: Alex Fiestas <afiestas>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kkoksvik, th3f1tz, valir
Priority: NOR Keywords: drkonqi
Version: 0.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Luis Silva 2014-04-01 05:26:14 UTC
Application: kwalletd (0.2)
KDE Platform Version: 4.12.95 (Compiled from sources)
Qt Version: 4.8.6
Operating System: Linux 3.13.0-20-generic x86_64
Distribution: Ubuntu Trusty Tahr (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
The crash occurs at every login. The wallet daemon then restarts normally but it leaves services that require passwords in an awkward state. Wireless network connections won't connect, email accounts will stop working, etc.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Wallet Service (kwalletd), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f77d1da9f79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f77d1dad388 in __GI_abort () at abort.c:89
#8  0x00007f77cd6f2c94 in _gcry_initialize_fips_mode (force=<optimized out>) at fips.c:170
#9  0x00007f77cd6ed032 in global_init () at global.c:111
#10 0x00007f77cd6ed1ab in _gcry_check_version (req_version=0x7f77d1527809 "1.5.0") at global.c:243
#11 0x00007f77d151e450 in password2PBKDF2_SHA512 (salt=..., hash=..., password=...) at ../../../kwalletd/backend/kwalletbackend.cc:103
#12 KWallet::Backend::setPassword (this=this@entry=0xec4c30, password=...) at ../../../kwalletd/backend/kwalletbackend.cc:675
#13 0x00007f77d151ea97 in KWallet::Backend::open (this=this@entry=0xec4c30, password=..., w=w@entry=0) at ../../../kwalletd/backend/kwalletbackend.cc:270
#14 0x00007f77d215102a in KWalletD::internalOpen (this=this@entry=0x7fff9340dcb0, appid=..., wallet=..., isPath=isPath@entry=false, w=w@entry=0, modal=modal@entry=true, service=...) at ../../kwalletd/kwalletd.cpp:510
#15 0x00007f77d21529b3 in KWalletD::doTransactionOpen (this=0x7fff9340dcb0, appid=..., wallet=..., isPath=<optimized out>, wId=0, modal=<optimized out>, service=...) at ../../kwalletd/kwalletd.cpp:477
#16 0x00007f77d21538d7 in KWalletD::processTransactions (this=0x7fff9340dcb0) at ../../kwalletd/kwalletd.cpp:210
#17 0x00007f77d2154365 in KWalletD::qt_static_metacall (_o=0x12b2, _id=4786, _a=0xdde120, _c=<optimized out>) at ./kwalletd.moc:264
#18 0x00007f77d0616c1e in QObject::event (this=0x7fff9340dcb0, e=<optimized out>) at kernel/qobject.cpp:1194
#19 0x00007f77cf997e2c in QApplicationPrivate::notify_helper (this=this@entry=0xd60140, receiver=receiver@entry=0x7fff9340dcb0, e=e@entry=0xd48ee0) at kernel/qapplication.cpp:4567
#20 0x00007f77cf99e4a0 in QApplication::notify (this=this@entry=0x7fff9340dc90, receiver=receiver@entry=0x7fff9340dcb0, e=e@entry=0xd48ee0) at kernel/qapplication.cpp:4353
#21 0x00007f77d194dbaa in KApplication::notify (this=0x7fff9340dc90, receiver=0x7fff9340dcb0, event=0xd48ee0) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007f77d05fe4dd in QCoreApplication::notifyInternal (this=0x7fff9340dc90, receiver=receiver@entry=0x7fff9340dcb0, event=event@entry=0xd48ee0) at kernel/qcoreapplication.cpp:953
#23 0x00007f77d0601b3d in sendEvent (event=0xd48ee0, receiver=0x7fff9340dcb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xd191d0) at kernel/qcoreapplication.cpp:1577
#25 0x00007f77d0601fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#26 0x00007f77d062bf83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#27 postEventSourceDispatch (s=0xd48260) at kernel/qeventdispatcher_glib.cpp:287
#28 0x00007f77cc346e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f77cc347048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f77cc3470ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f77d062b7a1 in QEventDispatcherGlib::processEvents (this=0xd1a6b0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#32 0x00007f77cfa39bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f77d05fd0af in QEventLoop::processEvents (this=this@entry=0x7fff9340db60, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f77d05fd3a5 in QEventLoop::exec (this=this@entry=0x7fff9340db60, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007f77d0602b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#36 0x00007f77cf99637c in QApplication::exec () at kernel/qapplication.cpp:3828
#37 0x00007f77d2149486 in kdemain (argc=1, argv=0x7fff9340de88) at ../../kwalletd/main.cpp:191
#38 0x00007f77d1d94ec5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, argv=0x7fff9340de88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff9340de78) at libc-start.c:287
#39 0x00000000004006fe in _start ()

Reported using DrKonqi
Comment 1 Russell 2014-04-02 20:56:31 UTC
Created attachment 85917 [details]
New crash information added by DrKonqi

kwalletd (0.2) on KDE Platform 4.12.97 using Qt 4.8.6

- What I was doing when the application crashed:

kwalletd crashes after login. kwalletd restarts but leaves network-manager/wifi in a state.

-- Backtrace (Reduced):
#6  0x00007f75ce2a4f79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f75ce2a8388 in __GI_abort () at abort.c:89
#8  0x00007f75c9bf1c94 in _gcry_initialize_fips_mode (force=<optimized out>) at fips.c:170
#9  0x00007f75c9bec032 in global_init () at global.c:111
#10 0x00007f75c9bec1ab in _gcry_check_version (req_version=0x7f75cda22809 "1.5.0") at global.c:243
Comment 2 Christoph Feck 2014-04-04 09:09:23 UTC

*** This bug has been marked as a duplicate of bug 332942 ***
Comment 3 kkoksvik 2014-04-05 20:11:58 UTC
Created attachment 85968 [details]
New crash information added by DrKonqi

kwalletd (0.2) on KDE Platform 4.12.95 using Qt 4.8.6

- What I was doing when the application crashed:
Crash on every boot, after restart of of the wallet subsequent crashes happens regularly.

-- Backtrace (Reduced):
#6  0x00007f005807cb43 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x9ec1d0) at kernel/qcoreapplication.cpp:1593
#7  0x00007f005807cfe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#8  0x00007f00580a6f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#9  postEventSourceDispatch (s=0xa1ffb0) at kernel/qeventdispatcher_glib.cpp:287
[...]
#13 0x00007f00580a67a1 in QEventDispatcherGlib::processEvents (this=0xa1f420, flags=...) at kernel/qeventdispatcher_glib.cpp:434