Bug 284819

Summary: Part 2 of the MASTERCRASH
Product: [Unmaintained] kdelibs Reporter: Unknown <null>
Component: kwalletAssignee: Michael Leupold <lemma>
Status: RESOLVED NOT A BUG    
Severity: crash    
Priority: NOR    
Version: 0.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Unknown 2011-10-23 21:42:39 UTC
Application: kwalletd (0.2)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
And it is not even hard.

You just have to run BleachBit (bleachbit-cli on another session WILL work) with all options (because I do not know which option is the one that kills everything).
Every program you start after the cleanup and every program running at the moment will CRASH. This also works if you are another, evil, user running bleachbit-cli on ssh to kill the KDE-screenlock of another user using the KDE desktop environment.

How to reconstruct the bug:
1. Lock the screen
2. Press Ctrl+Alt+F1 (or whatever).
3. login as any user
4. run bleachbit-cli with all options
5. return to Ctrl+Alt+F7 and move your mouse
6. The screen lock and every program protecting the session CRASHES!

I could not believe that it works, but it does. And it also works on another computers I use to test this.
You do not have to  run bleachbit as root. I am sure that it will also work if you login per ssh. Try it! O.O

This is the first program which crashed. To report the other ones, I need the debug symbols - and apt-get keeps crashing. xD

-- END OF PART 2 --

The crash can be reproduced every time.

-- Backtrace:
Application: KDE-Dienst für digitale Brieftasche (kwalletd), signal: Bus error
[KCrash Handler]
#6  0x00007f29764596f7 in lock (this=0x87cfd0) at ../../kdecore/util/kshareddatacache.cpp:1123
#7  KSharedDataCache::Private::CacheLocker::cautiousLock (this=0x7fffd4c4fb50) at ../../kdecore/util/kshareddatacache.cpp:1146
#8  0x00007f2976455959 in CacheLocker (_d=<optimized out>, this=0x7fffd4c4fb50) at ../../kdecore/util/kshareddatacache.cpp:1170
#9  KSharedDataCache::find (this=0x8539b0, key=..., destination=0x7fffd4c4fc20) at ../../kdecore/util/kshareddatacache.cpp:1492
#10 0x00007f2976ae1dd9 in KIconLoaderPrivate::findCachedPixmapWithPath (this=0x87ce10, key=..., data=..., path=...) at ../../kdeui/icons/kiconloader.cpp:860
#11 0x00007f2976ae20f1 in KIconLoader::loadIcon (this=0x867390, _name=<optimized out>, group=KIconLoader::Desktop, size=16, state=0, overlays=..., path_store=0x0, canReturnNull=false) at ../../kdeui/icons/kiconloader.cpp:1222
#12 0x00007f2976ad999f in KIconEngine::pixmap (this=<optimized out>, size=..., mode=<optimized out>, state=<optimized out>) at ../../kdeui/icons/kiconengine.cpp:104
#13 0x00007f29750cd0a5 in QIcon::pixmap (this=<optimized out>, size=<optimized out>, mode=<optimized out>, state=<optimized out>) at image/qicon.cpp:676
#14 0x00007f29750bfadb in QWidgetPrivate::setWindowIcon_sys (this=0x95e110, forceReset=false) at kernel/qwidget_x11.cpp:1482
#15 0x00007f29750706b2 in QWidget::setWindowIcon (this=<optimized out>, icon=...) at kernel/qwidget.cpp:6092
#16 0x00007f2976aae126 in KPasswordDialog::KPasswordDialog (this=0x935dc0, parent=<optimized out>, flags=..., otherButtons=...) at ../../kdeui/dialogs/kpassworddialog.cpp:71
#17 0x00007f2977316aeb in KWalletD::internalOpen (this=0x7fffd4c51750, appid=..., wallet=..., isPath=false, w=94372110, modal=true, service=...) at ../../kwalletd/kwalletd.cpp:442
#18 0x00007f2977318510 in KWalletD::doTransactionOpen (this=0x7fffd4c51750, appid=..., wallet=..., isPath=false, wId=94372110, modal=<optimized out>, service=...) at ../../kwalletd/kwalletd.cpp:403
#19 0x00007f297731963b in KWalletD::processTransactions (this=0x7fffd4c51750) at ../../kwalletd/kwalletd.cpp:183
#20 0x00007f297731a86d in KWalletD::qt_metacall (this=0x7fffd4c51750, _c=QMetaObject::InvokeMetaMethod, _id=58, _a=0x93d860) at ./kwalletd.moc:288
#21 0x00007f2975c89a5e in QObject::event (this=0x7fffd4c51750, e=<optimized out>) at kernel/qobject.cpp:1217
#22 0x00007f2975023424 in notify_helper (e=0x9354d0, receiver=0x7fffd4c51750, this=0x7c10c0) at kernel/qapplication.cpp:4486
#23 QApplicationPrivate::notify_helper (this=0x7c10c0, receiver=0x7fffd4c51750, e=0x9354d0) at kernel/qapplication.cpp:4458
#24 0x00007f2975028291 in QApplication::notify (this=0x7fffd4c51810, receiver=0x7fffd4c51750, e=0x9354d0) at kernel/qapplication.cpp:4365
#25 0x00007f2976b33126 in KApplication::notify (this=0x7fffd4c51810, receiver=0x7fffd4c51750, event=0x9354d0) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007f2975c72afc in QCoreApplication::notifyInternal (this=0x7fffd4c51810, receiver=0x7fffd4c51750, event=0x9354d0) at kernel/qcoreapplication.cpp:787
#27 0x00007f2975c7651f in sendEvent (event=0x9354d0, receiver=0x7fffd4c51750) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x78e5e0) at kernel/qcoreapplication.cpp:1428
#29 0x00007f2975c9da73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#30 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#31 0x00007f2971af9a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f2971afa258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f2971afa429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f2975c9ded6 in QEventDispatcherGlib::processEvents (this=0x78fcd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#35 0x00007f29750cb07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f2975c71cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f2975c71ef7 in QEventLoop::exec (this=0x7fffd4c516e0, flags=...) at kernel/qeventloop.cpp:201
#38 0x00007f2975c76789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#39 0x00007f297730fc7f in kdemain (argc=1, argv=0x7fffd4c51b48) at ../../kwalletd/main.cpp:68
#40 0x00007f2976f8530d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fffd4c51b48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd4c51b38) at libc-start.c:226
#41 0x0000000000400671 in _start ()

Possible duplicates by query: bug 284770.

Reported using DrKonqi
Comment 1 Unknown 2011-10-24 06:36:25 UTC
I found out which option causes the bug. It is:

bleachbit -d kde.cache
Comment 2 Unknown 2011-10-24 12:25:48 UTC
invalid - multiple submissions