Bug 271699 - ksecretservice crashes when session ends
Summary: ksecretservice crashes when session ends
Status: RESOLVED FIXED
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Valentin Rusu
URL:
Keywords:
: 271687 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-25 17:49 UTC by Alin M Elena
Modified: 2011-04-30 00:58 UTC (History)
1 user (show)

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 Alin M Elena 2011-04-25 17:49:54 UTC
Application: ksecretserviced (0.0)
KDE Platform Version: 4.6.41 (4.7 >= 20110106) "release 1"
Qt Version: 4.7.2
Operating System: Linux 2.6.39-rc4-9-desktop x86_64
Distribution: "openSUSE 12.1 Milestone 0 (x86_64)"

-- Information about the crash:
ksecretservice crashes when session ends after a password was created.
before exiting I checked that a collection was indeed created via qdbus...
- What I was doing when the application crashed:

- Unusual behavior I noticed:

- Custom settings of the application:

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Secret Service (ksecretserviced), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f21333822f1 in QCA::Botan::MemoryRegion<unsigned char>::deallocate (this=0x92a830, p=0xaac5c0 'E' <repeats 200 times>..., n=17) at botantools/botan/botan/secmem.h:114
#7  0x00007f213338221d in QCA::Botan::MemoryRegion<unsigned char>::~MemoryRegion (this=0x92a830, __in_chrg=<optimized out>) at botantools/botan/botan/secmem.h:98
#8  0x00007f213338219e in QCA::Botan::SecureVector<unsigned char>::~SecureVector (this=0x92a830, __in_chrg=<optimized out>) at botantools/botan/botan/secmem.h:210
#9  0x00007f213338e76d in QCA::ai_delete (ai=0x968ac8) at qca_tools.cpp:378
#10 0x00007f2133390884 in QCA::MemoryRegion::Private::~Private (this=0x968ac0, __in_chrg=<optimized out>) at qca_tools.cpp:412
#11 0x00007f2133390a87 in QSharedDataPointer<QCA::MemoryRegion::Private>::~QSharedDataPointer (this=0x9adc70, __in_chrg=<optimized out>) at /usr/include/QtCore/qshareddata.h:90
#12 0x00007f213338e944 in QCA::MemoryRegion::~MemoryRegion (this=0x9adc68, __in_chrg=<optimized out>) at qca_tools.cpp:454
#13 0x00007f213338f21c in QCA::SecureArray::~SecureArray (this=0x9adc68, __in_chrg=<optimized out>) at qca_tools.cpp:635
#14 0x00007f21333a77cc in QCA::InitializationVector::~InitializationVector (this=0x9adc68, __in_chrg=<optimized out>) at ../include/QtCrypto/qca_core.h:1214
#15 0x00007f21333a79f7 in QCA::Cipher::Private::~Private (this=0x9adc40, __in_chrg=<optimized out>) at qca_basic.cpp:257
#16 0x00007f21333a678b in QCA::Cipher::~Cipher (this=0x973ba0, __in_chrg=<optimized out>) at qca_basic.cpp:291
#17 0x00007f21333a6820 in QCA::Cipher::~Cipher (this=0x973ba0, __in_chrg=<optimized out>) at qca_basic.cpp:292
#18 0x000000000041488c in KSecretCollection::~KSecretCollection (this=0x98bd50, __in_chrg=<optimized out>) at /usr/src/debug/ksecretservice-0.0.1git.1301212918/daemon/backend/ksecret/ksecretcollection.cpp:135
#19 0x0000000000414b59 in KSecretCollection::~KSecretCollection (this=0x98bd50, __in_chrg=<optimized out>) at /usr/src/debug/ksecretservice-0.0.1git.1301212918/daemon/backend/ksecret/ksecretcollection.cpp:141
#20 0x00007f2132ad4b14 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQtCore.so.4
#21 0x00007f2132ad9872 in QObject::~QObject() () from /usr/lib64/libQtCore.so.4
#22 0x0000000000411e29 in KSecretCollectionManager::~KSecretCollectionManager (this=0x7e9550, __in_chrg=<optimized out>) at /usr/src/debug/ksecretservice-0.0.1git.1301212918/daemon/backend/ksecret/ksecretcollectionmanager.cpp:46
#23 0x00007f2132ad4b14 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQtCore.so.4
#24 0x00007f2132ad9872 in QObject::~QObject() () from /usr/lib64/libQtCore.so.4
#25 0x0000000000411339 in BackendMaster::~BackendMaster (this=0x821410, __in_chrg=<optimized out>) at /usr/src/debug/ksecretservice-0.0.1git.1301212918/daemon/backend/backendmaster.cpp:42
#26 0x00007f2132ac50ae in qt_call_post_routines() () from /usr/lib64/libQtCore.so.4
#27 0x00007f213381f7f8 in QApplication::~QApplication() () from /usr/lib64/libQtGui.so.4
#28 0x000000000041079d in main (argc=6849792, argv=0x7fff69026128) at /usr/src/debug/ksecretservice-0.0.1git.1301212918/daemon/main.cpp:51

Possible duplicates by query: bug 271687.

Reported using DrKonqi
Comment 1 Valentin Rusu 2011-04-30 00:38:12 UTC
Commited a fix attempt :
http://commits.kde.org/ksecretservice/078d638d54ab50ca2f04c8416b5b15551ba8496d

Could you please confirm is crashes no more on exit?
Comment 2 Valentin Rusu 2011-04-30 00:40:40 UTC
*** Bug 271687 has been marked as a duplicate of this bug. ***
Comment 3 Alin M Elena 2011-04-30 00:58:33 UTC
fixed indeed... thank you
Alin