Bug 293447 - Crash after login
Summary: Crash after login
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kshareddatacache (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-06 14:07 UTC by Richard McLaughlin
Modified: 2018-11-29 09:37 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 Richard McLaughlin 2012-02-06 14:07:04 UTC
Application: kmix (3.9)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.2.2-1.fc16.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Crash after login. I can login using gnome. This is the second crash report I have sent.

The crash can be reproduced every time.

-- Backtrace:
Application: KMix (kmix), signal: Bus error
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  0x00000037dbe45c5b in findNamedEntry (key=..., this=0x7f5a738ee000) at /usr/src/debug/kdelibs-4.7.4/kdecore/util/kshareddatacache.cpp:693
#7  KSharedDataCache::find (this=<optimized out>, key=<optimized out>, destination=0x7fffc29da320) at /usr/src/debug/kdelibs-4.7.4/kdecore/util/kshareddatacache.cpp:1499
#8  0x000000353aab650f in KImageCache::findPixmap (this=0x1751e00, key=..., destination=0x7fffc29da390) at /usr/src/debug/kdelibs-4.7.4/kdeui/util/kimagecache.cpp:150
#9  0x00000035447d864a in Plasma::Theme::findInCache (this=0x16b9630, key=..., pix=...) at /usr/src/debug/kdelibs-4.7.4/plasma/theme.cpp:924
#10 0x00000035447d5a6f in Plasma::SvgPrivate::findInCache (this=0x171b6f0, elementId=..., s=<optimized out>) at /usr/src/debug/kdelibs-4.7.4/plasma/svg.cpp:339
#11 0x00000035447d622b in Plasma::Svg::pixmap (this=0x172cfa0, elementID=<optimized out>) at /usr/src/debug/kdelibs-4.7.4/plasma/svg.cpp:649
#12 0x000000353fa4b979 in OSDWidget::OSDWidget (this=0x16a1910, parent=<optimized out>) at /usr/src/debug/kdemultimedia-4.7.4/kmix/gui/osdwidget.cpp:68
#13 0x000000353fa28c32 in KMixWindow::initActions (this=0x1687bf0) at /usr/src/debug/kdemultimedia-4.7.4/kmix/apps/kmix.cpp:167
#14 0x000000353fa2efaf in KMixWindow::KMixWindow (this=0x1687bf0, invisible=false, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdemultimedia-4.7.4/kmix/apps/kmix.cpp:86
#15 0x000000353fa303a3 in KMixApp::newInstance (this=0x14f9830) at /usr/src/debug/kdemultimedia-4.7.4/kmix/apps/KMixApp.cpp:106
#16 0x000000353aa56a82 in KUniqueApplicationAdaptor::newInstance (this=0x16863c0, asn_id=<optimized out>, args=...) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kuniqueapplication.cpp:442
#17 0x000000353aa56b04 in qt_static_metacall (_a=0x7fffc29dafe0, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdelibs-4.7.4/x86_64-redhat-linux-gnu/kdeui/kuniqueapplication_p.moc:58
#18 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fffc29dafe0) at /usr/src/debug/kdelibs-4.7.4/x86_64-redhat-linux-gnu/kdeui/kuniqueapplication_p.moc:52
#19 0x000000353aa56c4b in KUniqueApplicationAdaptor::qt_metacall (this=0x16863c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffc29dafe0) at /usr/src/debug/kdelibs-4.7.4/x86_64-redhat-linux-gnu/kdeui/kuniqueapplication_p.moc:102
#20 0x00000037dac22d8b in QDBusConnectionPrivate::deliverCall (this=0x14f9a20, object=0x16863c0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:947
#21 0x00000037dac23e0d in QDBusConnectionPrivate::activateCall (this=0x14f9a20, object=0x16863c0, flags=337, msg=...) at qdbusintegrator.cpp:850
#22 0x00000037dac2482b in QDBusConnectionPrivate::activateObject (this=0x14f9a20, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1423
#23 0x00000037dac2491b in QDBusActivateObjectEvent::placeMetaCall (this=0x1661d70) at qdbusintegrator.cpp:1537
#24 0x00000037da391f16 in QObject::event (this=0x14f9830, e=<optimized out>) at kernel/qobject.cpp:1195
#25 0x00000035397cd6f4 in QApplication::event (this=0x14f9830, e=0x1661d70) at kernel/qapplication.cpp:2532
#26 0x00000035397c9994 in notify_helper (e=0x1661d70, receiver=0x14f9830, this=0x150eea0) at kernel/qapplication.cpp:4550
#27 QApplicationPrivate::notify_helper (this=0x150eea0, receiver=0x14f9830, e=0x1661d70) at kernel/qapplication.cpp:4522
#28 0x00000035397ce813 in QApplication::notify (this=0x14f9830, receiver=0x14f9830, e=0x1661d70) at kernel/qapplication.cpp:4411
#29 0x000000353aa50766 in KApplication::notify (this=0x14f9830, receiver=0x14f9830, event=0x1661d70) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#30 0x00000037da37904c in QCoreApplication::notifyInternal (this=0x14f9830, receiver=0x14f9830, event=0x1661d70) at kernel/qcoreapplication.cpp:876
#31 0x00000037da37cada in sendEvent (event=0x1661d70, receiver=0x14f9830) at kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x14d8090) at kernel/qcoreapplication.cpp:1500
#33 0x00000037da3a7933 in sendPostedEvents () at kernel/qcoreapplication.h:236
#34 postEventSourceDispatch (s=0x15140f0) at kernel/qeventdispatcher_glib.cpp:279
#35 0x00000037cde44acd in g_main_dispatch (context=0x1514000) at gmain.c:2441
#36 g_main_context_dispatch (context=0x1514000) at gmain.c:3011
#37 0x00000037cde452c8 in g_main_context_iterate (context=0x1514000, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#38 0x00000037cde4549c in g_main_context_iteration (context=0x1514000, may_block=1) at gmain.c:3152
#39 0x00000037da3a7d5f in QEventDispatcherGlib::processEvents (this=0x14d9550, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#40 0x000000353986c66e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#41 0x00000037da378182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00000037da3783d7 in QEventLoop::exec (this=0x7fffc29dbce0, flags=...) at kernel/qeventloop.cpp:204
#43 0x00000037da37cdd5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#44 0x000000353fa283f2 in kdemain (argc=1, argv=0x7fffc29dc268) at /usr/src/debug/kdemultimedia-4.7.4/kmix/apps/main.cpp:73
#45 0x00000037ce22169d in __libc_start_main (main=0x400730 <main(int, char**)>, argc=1, ubp_av=0x7fffc29dc268, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc29dc258) at libc-start.c:226
#46 0x0000000000400761 in _start ()

Possible duplicates by query: bug 270915.

Reported using DrKonqi
Comment 1 Michael Pyne 2012-05-21 03:22:30 UTC
Git commit 561e6494bdd9a02cc8feef649f7dbbd40a1456c3 by Michael Pyne.
Committed on 20/05/2012 at 00:13.
Pushed by mpyne into branch 'KDE/4.8'.

kshareddatacache: Validate cache page size.

This commit ensures that the cache page size is actually a power-of-2
and within the band of possible sizes that could possibly have been set.

If this is not the case the cache is assumed corrupted and reset.

This should help with any cache-corruption bugs caused by a wrong cache
page size (although these don't exactly make themselves obvious). More
fixes to follow...

This one /should/ fix 274252 outright and may be of interest to several
others.
Related: bug 274252, bug 249362, bug 253665, bug 243573, bug 281217, bug 297815, bug 293954, bug 270915, bug 255233
FIXED-IN:4.8.4

M  +26   -1    kdecore/util/kshareddatacache.cpp

http://commits.kde.org/kdelibs/561e6494bdd9a02cc8feef649f7dbbd40a1456c3
Comment 2 Michael Pyne 2012-05-21 03:22:31 UTC
Git commit ca2a6a59784232857a35b313adc9599efb87bd5e by Michael Pyne.
Committed on 21/05/2012 at 01:19.
Pushed by mpyne into branch 'KDE/4.8'.

kshareddatacache: Adopt KSDCCorrupted for exceptional errors.

This involves converting many present assertions (which crash no matter
what) and error-code return values (which have to be checked everywhere
the return value is used at) into using the KSDCCorrupted exception.

The nice thing about using the exception is that it can be trapped and
handled so that it does not cause an application crash.

There's still a bit more to do -- the end goal is that all accesses to
shm, no matter how minor, are vetted beforehand to ensure it won't cause
a page fault or bus violation.
Related: bug 249362, bug 253665, bug 243573, bug 281217, bug 297815, bug 293954, bug 270915, bug 255233

M  +49   -34   kdecore/util/kshareddatacache.cpp

http://commits.kde.org/kdelibs/ca2a6a59784232857a35b313adc9599efb87bd5e
Comment 3 Andrew Crouthamel 2018-10-29 22:22:12 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2018-11-13 14:36:34 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2018-11-29 09:37:29 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!