Bug 221063 - Crash when applying icon settings [QString::operator==, findSubEntry, KDirWatchPrivate::inotifyEventReceived]
Summary: Crash when applying icon settings [QString::operator==, findSubEntry, KDirWa...
Status: RESOLVED DUPLICATE of bug 222974
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 224959 227218 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-03 05:25 UTC by Petar Petrov
Modified: 2010-02-17 23:33 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.90 KB, text/plain)
2010-02-11 10:34 UTC, Petar Petrov
Details
New crash information added by DrKonqi (10.01 KB, text/plain)
2010-02-14 02:16 UTC, Unknown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petar Petrov 2010-01-03 05:25:50 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.3.86 (KDE 4.3.86 (KDE 4.4 >= 20091231)) "release 1"
Qt Version: 4.6.1
Operating System: Linux 2.6.31.5-0.1-default i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
The bug doesn't happen every time. I go to icon preferences, click on the icon, choose system/other icons, choose icon and when i apply the settings plasma crashes. 

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Работно пространство на Plasma (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  0xb6a592ac in QString::operator== (this=0x8a15fa0, other=...) at tools/qstring.cpp:2060
#7  0xb713f8e2 in findSubEntry (path=<value optimized out>, this=0x816cde0) at /usr/src/debug/kdelibs-4.3.86svn1068163/kio/kio/kdirwatch_p.h:161
#8  KDirWatchPrivate::inotifyEventReceived (path=<value optimized out>, this=0x816cde0) at /usr/src/debug/kdelibs-4.3.86svn1068163/kio/kio/kdirwatch.cpp:309
#9  0xb714306c in KDirWatchPrivate::qt_metacall (this=0x816cde0, _c=InvokeMetaMethod, _id=6, _a=0xbff1ea48) at /usr/src/debug/kdelibs-4.3.86svn1068163/build/kio/kdirwatch_p.moc:83
#10 0xb6b1d3dd in QMetaObject::metacall (object=0x816cde0, cl=160395448, idx=6, argv=0xbff1ea48) at kernel/qmetaobject.cpp:237
#11 0xb6b2c20a in QMetaObject::activate (sender=0x8224840, m=0xb6c2e550, local_signal_index=0, argv=0xbff1ea48) at kernel/qobject.cpp:3267
#12 0xb6b7f6f5 in QSocketNotifier::activated (this=0x8224840, _t1=11) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#13 0xb6b3379f in QSocketNotifier::event (this=0x8224840, e=0xbff1eec4) at kernel/qsocketnotifier.cpp:317
#14 0xb605168c in QApplicationPrivate::notify_helper (this=0x80a3e78, receiver=0x8224840, e=0xbff1eec4) at kernel/qapplication.cpp:4297
#15 0xb60584d0 in QApplication::notify (this=0x809c988, receiver=0x8224840, e=0xbff1eec4) at kernel/qapplication.cpp:4180
#16 0xb6e03641 in KApplication::notify (this=0x809c988, receiver=0x8224840, event=0xbff1eec4) at /usr/src/debug/kdelibs-4.3.86svn1068163/kdeui/kernel/kapplication.cpp:302
#17 0xb6b1806e in QCoreApplication::notifyInternal (this=0x809c988, receiver=0x8224840, event=0xbff1eec4) at kernel/qcoreapplication.cpp:704
#18 0xb6b45028 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#19 socketNotifierSourceDispatch (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:110
#20 0xb57c24c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0xb57c5d98 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0xb57c5ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0xb6b44c41 in QEventDispatcherGlib::processEvents (this=0x80a3280, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#24 0xb611181a in QGuiEventDispatcherGlib::processEvents (this=0x80a3280, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#25 0xb6b166dd in QEventLoop::processEvents (this=0xbff1f124, flags=) at kernel/qeventloop.cpp:149
#26 0xb6b16b29 in QEventLoop::exec (this=0xbff1f124, flags=...) at kernel/qeventloop.cpp:201
#27 0xb6b1aca0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#28 0xb6051734 in QApplication::exec () at kernel/qapplication.cpp:3576
#29 0xb35702e5 in kdemain (argc=1, argv=0x8095eb0) at /usr/src/debug/kdebase-workspace-4.3.86svn1068163/plasma/desktop/shell/main.cpp:112
#30 0x0804e17f in launch (argc=134828808, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x8095308 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=
    0x805163d "0") at /usr/src/debug/kdelibs-4.3.86svn1068163/kinit/kinit.cpp:706
#31 0x0804ee17 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at /usr/src/debug/kdelibs-4.3.86svn1068163/kinit/kinit.cpp:1198
#32 0x0804f264 in handle_requests (waitForPid=<value optimized out>) at /usr/src/debug/kdelibs-4.3.86svn1068163/kinit/kinit.cpp:1391
#33 0x0804fff7 in main (argc=4, argv=0xbff1fbb4, envp=0xbff1fbc8) at /usr/src/debug/kdelibs-4.3.86svn1068163/kinit/kinit.cpp:1830

Possible duplicates by query: bug 216914, bug 216782.

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-03 14:50:19 UTC
- Does this happen with every Icon widget ?
- Does this happen with more than one icon (image) you select ?
This could be related to bug 165548
Thanks
Comment 2 Petar Petrov 2010-01-10 07:54:22 UTC
Yes. First i thought it was just Firefox but after that i tried with other icon widgets and also had a crash. I haven't used icon widgets with RC1 for now.
Comment 3 Dario Andres 2010-01-31 13:34:56 UTC
*** Bug 224959 has been marked as a duplicate of this bug. ***
Comment 4 Petar Petrov 2010-02-11 10:34:26 UTC
Created attachment 40663 [details]
New crash information added by DrKonqi

The same bug but this time it happened in KDE4.4.0
Comment 5 Unknown 2010-02-14 02:16:31 UTC
Created attachment 40756 [details]
New crash information added by DrKonqi

What I was doing prior the crash:
- From the K menu I put Opera's icon onto the taskbar
- Right clicked on it and selected "Settings - Icon"
- Changed its icon picture to "Applications > [search] Opera"
Comment 6 Dario Andres 2010-02-15 21:14:53 UTC
*** Bug 225793 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2010-02-15 21:14:55 UTC
*** Bug 227068 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2010-02-15 23:11:04 UTC
SVN commit 1090729 by dfaure:

Fix the "kdirwatch crash on re-entrancy from the slots" by emitting the signals
in a delayed manner.
Fixed for: 4.4.1
BUG: 224229 208486 226674 222547


 M  +21 -9     kdirwatch.cpp  
 M  +20 -16    kdirwatch.h  
 M  +2 -0      kdirwatch_p.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1090729
Comment 9 Dario Andres 2010-02-16 17:40:46 UTC
*** Bug 227218 has been marked as a duplicate of this bug. ***
Comment 10 David Faure 2010-02-17 23:33:10 UTC
Actually this was a findSubEntry crash, so rather a duplicate of bug 222974, which I just fixed.

*** This bug has been marked as a duplicate of bug 222974 ***