Bug 299726 - Crash in TooltipWidget::setContent() [KFileItem is null]
Summary: Crash in TooltipWidget::setContent() [KFileItem is null]
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-folderview (show other bugs)
Version: 4.9.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Ignat Semenov
URL:
Keywords:
: 294089 300308 307974 310803 314856 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-10 08:34 UTC by Jannis Liapis
Modified: 2018-06-08 19:49 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.97 KB, text/plain)
2012-08-21 20:45 UTC, yurchenkoms
Details
New crash information added by DrKonqi (9.46 KB, text/plain)
2012-08-22 13:36 UTC, yurchenkoms
Details
New crash information added by DrKonqi (18.79 KB, text/plain)
2012-09-12 11:26 UTC, Andrei ILIE
Details
New crash information added by DrKonqi (8.59 KB, text/plain)
2012-09-12 17:49 UTC, yurchenkoms
Details
New crash information added by DrKonqi (7.92 KB, text/plain)
2012-09-25 17:12 UTC, William Bergemann
Details
New crash information added by DrKonqi (7.86 KB, text/plain)
2012-10-17 10:55 UTC, Andrei ILIE
Details
New crash information added by DrKonqi (8.84 KB, text/plain)
2013-01-15 05:21 UTC, William Bergemann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jannis Liapis 2012-05-10 08:34:53 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed: Hello there! I just installed kubuntu precise and after installing some updates, plasma crashed.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5a2aa917c0 (LWP 1834))]

Thread 5 (Thread 0x7f5a0407c700 (LWP 1835)):
#0  __libc_enable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:70
#1  0x00007f5a2a354ae8 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:85
#2  0x00007f5a1e511ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5a1e512124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5a27532426 in QEventDispatcherGlib::processEvents (this=0x7f59fc0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f5a27501c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f5a27501ed7 in QEventLoop::exec (this=0x7f5a0407bcd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f5a27400fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f5a274e19ff in QInotifyFileSystemWatcherEngine::run (this=0x264eee0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f5a27403fcb in QThreadPrivate::start (arg=0x264eee0) at thread/qthread_unix.cpp:298
#10 0x00007f5a1b80bb74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007f5a1ee16e9a in start_thread (arg=0x7f5a0407c700) at pthread_create.c:308
#12 0x00007f5a2a3604bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f5a02bbc700 (LWP 1836)):
#0  0x00007f5a1ee1a05d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f59f4000a80) at pthread_mutex_unlock.c:290
#2  0x00007f5a1e54d591 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5a1e511713 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5a1e511f1b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f5a1e512124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f5a27532426 in QEventDispatcherGlib::processEvents (this=0x7f59f40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f5a27501c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f5a27501ed7 in QEventLoop::exec (this=0x7f5a02bbbcd0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f5a27400fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f5a274e19ff in QInotifyFileSystemWatcherEngine::run (this=0x27b35b0) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f5a27403fcb in QThreadPrivate::start (arg=0x27b35b0) at thread/qthread_unix.cpp:298
#12 0x00007f5a1b80bb74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#13 0x00007f5a1ee16e9a in start_thread (arg=0x7f5a02bbc700) at pthread_create.c:308
#14 0x00007f5a2a3604bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f59fb7fe700 (LWP 1839)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5a242e6222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f5a242e6259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f5a1b80bb74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#4  0x00007f5a1ee16e9a in start_thread (arg=0x7f59fb7fe700) at pthread_create.c:308
#5  0x00007f5a2a3604bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f59effff700 (LWP 1844)):
#0  0x00007f59f9219e97 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#1  0x00007f59f9219f3e in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#2  0x00007f5a1e511a33 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5a1e511f96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5a1e51245a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f59f92752c6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f5a1e5339a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f5a1b80bb74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#8  0x00007f5a1ee16e9a in start_thread (arg=0x7f59effff700) at pthread_create.c:308
#9  0x00007f5a2a3604bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5a2aa917c0 (LWP 1834)):
[KCrash Handler]
#6  0x00007f5a299f83cc in operator= (o=..., this=0x70) at /usr/include/qt4/QtCore/qshareddata.h:95
#7  KFileMetaInfo::operator= (this=0x70, kfmi=...) at ../../kio/kio/kfilemetainfo.cpp:318
#8  0x00007f5a299e0da6 in KFileItem::metaInfo (this=0x323cba0, autoget=true, what=12) at ../../kio/kio/kfileitem.cpp:1309
#9  0x00007f5a0b510fc7 in ToolTipWidget::metaInfo (this=0x323cb60) at ../../../../plasma/applets/folderview/tooltipwidget.cpp:101
#10 0x00007f5a0b513640 in ToolTipWidget::setContent (this=0x323cb60) at ../../../../plasma/applets/folderview/tooltipwidget.cpp:244
#11 0x00007f5a0b5138be in ToolTipWidget::toolTipAboutToShow (this=<optimized out>) at ../../../../plasma/applets/folderview/tooltipwidget.cpp:284
#12 0x00007f5a2750af01 in QMetaMethod::invoke (this=0x7fff02de92a0, object=0x323cb60, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#13 0x00007f5a2750d210 in QMetaObject::invokeMethod (obj=0x323cb60, member=<optimized out>, type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#14 0x00007f5a29f1e6d9 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=0x7f5a29ffa287 "toolTipAboutToShow", obj=0x323cb60) at /usr/include/qt4/QtCore/qobjectdefs.h:434
#15 Plasma::ToolTipManagerPrivate::showToolTip (this=0x210fa70) at ../../plasma/tooltipmanager.cpp:387
#16 0x00007f5a29f1eac1 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./tooltipmanager.moc:65
#17 Plasma::ToolTipManager::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./tooltipmanager.moc:57
#18 0x00007f5a27517281 in QMetaObject::activate (sender=0x210f590, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#19 0x00007f5a2751c179 in QObject::event (this=0x210f590, e=<optimized out>) at kernel/qobject.cpp:1157
#20 0x00007f5a26885894 in notify_helper (e=0x7fff02de9eb0, receiver=0x210f590, this=0x1ef0be0) at kernel/qapplication.cpp:4559
#21 QApplicationPrivate::notify_helper (this=0x1ef0be0, receiver=0x210f590, e=0x7fff02de9eb0) at kernel/qapplication.cpp:4531
#22 0x00007f5a2688a713 in QApplication::notify (this=0x1ea5090, receiver=0x210f590, e=0x7fff02de9eb0) at kernel/qapplication.cpp:4420
#23 0x00007f5a281dfb46 in KApplication::notify (this=0x1ea5090, receiver=0x210f590, event=0x7fff02de9eb0) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f5a27502e9c in QCoreApplication::notifyInternal (this=0x1ea5090, receiver=0x210f590, event=0x7fff02de9eb0) at kernel/qcoreapplication.cpp:876
#25 0x00007f5a275341f2 in sendEvent (event=0x7fff02de9eb0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QTimerInfoList::activateTimers (this=0x1ef3660) at kernel/qeventdispatcher_unix.cpp:611
#27 0x00007f5a27531c0d in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#28 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#29 0x00007f5a27531c31 in idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:233
#30 0x00007f5a1e511c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f5a1e512060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f5a1e512124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f5a275323bf in QEventDispatcherGlib::processEvents (this=0x1dfead0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0x00007f5a2692dd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f5a27501c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f5a27501ed7 in QEventLoop::exec (this=0x7fff02dea120, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007f5a27506f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#38 0x00007f5a2a66ca13 in kdemain (argc=1, argv=0x7fff02dea508) at ../../../../plasma/desktop/shell/main.cpp:120
#39 0x00007f5a2a28f76d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fff02dea508, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff02dea4f8) at libc-start.c:226
#40 0x0000000000400671 in _start ()

Possible duplicates by query: bug 294089.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-05-19 19:47:43 UTC
*** Bug 294089 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2012-05-19 19:49:21 UTC
*** Bug 300308 has been marked as a duplicate of this bug. ***
Comment 3 Myriam Schweingruber 2012-05-19 22:42:52 UTC
Confirmed by duplicates.
Comment 4 Ignat Semenov 2012-05-29 15:07:18 UTC
Why is this being called a folderview bug? There is not a word about folderview in the report.

The bt is not complete either, will look at the code, maybe that will clarify things a bit.

Original reporter, what applets do you have on the desktop? Which one did you hover (a tooltip appeared, so, obviously, you had hovered an applet)?

Do you have all the debug packages installed? Please check this thoroughly and try to reproduce again, post the bt if it changes.

Most importantly, list the applets and your actions in detail, even the obvious actions.
Comment 5 yurchenkoms 2012-08-21 20:45:41 UTC
Created attachment 73373 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

- What I was doing when the application crashed:
Launching some applications and opening folders using links on desktop.

-- Backtrace (Reduced):
#7  operator= (o=..., this=0x3c) at /usr/include/qt4/QtCore/qshareddata.h:95
#8  KFileMetaInfo::operator= (this=0x3c, kfmi=...) at ../../kio/kio/kfilemetainfo.cpp:318
#9  0xb70efc27 in KFileItem::metaInfo (this=0x9e13f58, autoget=true, what=12) at ../../kio/kio/kfileitem.cpp:1309
#10 0xad123e83 in ToolTipWidget::metaInfo (this=0x9e13f38) at ../../../../plasma/applets/folderview/tooltipwidget.cpp:101
#11 0xad12691a in ToolTipWidget::setContent (this=0x9e13f38) at ../../../../plasma/applets/folderview/tooltipwidget.cpp:244
Comment 6 yurchenkoms 2012-08-22 13:36:34 UTC
Created attachment 73384 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

Plasma crashes without without objective reasons. Sometimes while clicking links on desktop, sometimes while computer is idle.

-- Backtrace (Reduced):
#7  operator= (o=..., this=0x3c) at /usr/include/qt4/QtCore/qshareddata.h:95
#8  KFileMetaInfo::operator= (this=0x3c, kfmi=...) at ../../kio/kio/kfilemetainfo.cpp:318
#9  0xb7088c27 in KFileItem::metaInfo (this=0x9ce8340, autoget=true, what=12) at ../../kio/kio/kfileitem.cpp:1309
#10 0xad0bee83 in ToolTipWidget::metaInfo (this=0x9ce8320) at ../../../../plasma/applets/folderview/tooltipwidget.cpp:101
#11 0xad0c191a in ToolTipWidget::setContent (this=0x9ce8320) at ../../../../plasma/applets/folderview/tooltipwidget.cpp:244
Comment 7 Andrei ILIE 2012-09-12 11:26:17 UTC
Created attachment 73856 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.2

- What I was doing when the application crashed:

1. Minimizing Firefox
2. left click a icon in a Folder View
3. SEG FAULT - "Wallpaper Slideshow" related ?


Please note:
I've never experienced this bug before activating the "Wallpaper Slideshow" feature in Plasma, so this could be a cause...

-- Backtrace (Reduced):
#6  0x00000038ab14572c in operator= (o=..., this=0x70) at /usr/include/QtCore/qshareddata.h:95
#7  KFileMetaInfo::operator= (this=0x70, kfmi=...) at /usr/src/debug/kdelibs-4.8.5/kio/kio/kfilemetainfo.cpp:318
#8  0x00000038ab13247c in KFileItem::metaInfo (this=0x266fcb0, autoget=true, what=12) at /usr/src/debug/kdelibs-4.8.5/kio/kio/kfileitem.cpp:1309
#9  0x00007f1f39569c58 in ToolTipWidget::metaInfo (this=this@entry=0x266fc70) at /usr/src/debug/kde-baseapps-4.8.5/plasma/applets/folderview/tooltipwidget.cpp:101
#10 0x00007f1f3956c165 in ToolTipWidget::setContent (this=this@entry=0x266fc70) at /usr/src/debug/kde-baseapps-4.8.5/plasma/applets/folderview/tooltipwidget.cpp:244
Comment 8 yurchenkoms 2012-09-12 17:49:14 UTC
Created attachment 73864 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.9.00 using Qt 4.8.2

- What I was doing when the application crashed:
Switching between opened windows or something.

-- Backtrace (Reduced):
#7  operator= (o=..., this=0x3c) at /usr/include/qt4/QtCore/qshareddata.h:95
#8  KFileMetaInfo::operator= (this=0x3c, kfmi=...) at ../../kio/kio/kfilemetainfo.cpp:318
#9  0xb708cd67 in KFileItem::metaInfo (this=0x89b1858, autoget=true, what=12) at ../../kio/kio/kfileitem.cpp:1309
#10 0xacf1b9f3 in ToolTipWidget::metaInfo (this=0x89b1838) at ../../../../plasma/applets/folderview/tooltipwidget.cpp:101
#11 0xacf1e48a in ToolTipWidget::setContent (this=0x89b1838) at ../../../../plasma/applets/folderview/tooltipwidget.cpp:244
Comment 9 William Bergemann 2012-09-25 17:12:45 UTC
Created attachment 74169 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

Changing focus to another window (Dolphin).  Getting more frequent.

-- Backtrace (Reduced):
#7  operator= (o=..., this=0x3c) at /usr/include/qt4/QtCore/qshareddata.h:95
#8  KFileMetaInfo::operator= (this=0x3c, kfmi=...) at ../../kio/kio/kfilemetainfo.cpp:318
#9  0x00753d07 in KFileItem::metaInfo (this=0x9d5be18, autoget=true, what=12) at ../../kio/kio/kfileitem.cpp:1309
#10 0x04eebe93 in ToolTipWidget::metaInfo (this=0x9d5bdf8) at ../../../../plasma/applets/folderview/tooltipwidget.cpp:101
#11 0x04eee92a in ToolTipWidget::setContent (this=0x9d5bdf8) at ../../../../plasma/applets/folderview/tooltipwidget.cpp:244
Comment 10 Jekyll Wu 2012-10-06 12:43:03 UTC
*** Bug 307974 has been marked as a duplicate of this bug. ***
Comment 11 Andrei ILIE 2012-10-06 13:53:08 UTC
I've never experienced this bug before activating the "Wallpaper Slideshow" feature in Plasma.
Comment 12 David Faure 2012-10-14 21:37:01 UTC
I think a fix like this might help:
http://www.davidfaure.fr/2012/kfileitem.cpp.diff
Comment 13 William Bergemann 2012-10-15 04:42:32 UTC
Okay, I'm glad there may be a solution.  The question is - what do I do 
with this?  I'm not that sophisticated that I know how to handle it.  I 
haven't coded in years (remember Cobol?).  I am going to trust that you 
will implement a solution into an upcoming software update.  Hopefully 
soon, since this is getting annoying.  But thanks for taking my 
situation into consideration.

Bill Bergemann


On 10/14/2012 04:37 PM, David Faure wrote:
> https://bugs.kde.org/show_bug.cgi?id=299726
>
> David Faure <faure@kde.org> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |faure@kde.org
>
> --- Comment #12 from David Faure <faure@kde.org> ---
> I think a fix like this might help:
> http://www.davidfaure.fr/2012/kfileitem.cpp.diff
>
Comment 14 David Faure 2012-10-15 09:59:36 UTC
Git commit 1c74cd7c1869b03902e3f25ab668d67edd72ff8c by David Faure.
Committed on 15/10/2012 at 12:00.
Pushed by dfaure into branch 'KDE/4.9'.

Don't crash when calling metaInfo() on a null KFileItem

M  +1    -1    kio/kio/kfileitem.cpp

http://commits.kde.org/kdelibs/1c74cd7c1869b03902e3f25ab668d67edd72ff8c
Comment 15 Andrei ILIE 2012-10-17 10:55:09 UTC
Created attachment 74594 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.9.2 using Qt 4.8.2

- What I was doing when the application crashed:

Just browsing the net via Firefox........

-- Backtrace (Reduced):
#6  0x0000003525f4595c in operator= (o=..., this=0x70) at /usr/include/QtCore/qshareddata.h:95
#7  KFileMetaInfo::operator= (this=0x70, kfmi=...) at /usr/src/debug/kdelibs-4.9.2/kio/kio/kfilemetainfo.cpp:318
#8  0x0000003525f326ac in KFileItem::metaInfo (this=0x4283070, autoget=true, what=12) at /usr/src/debug/kdelibs-4.9.2/kio/kio/kfileitem.cpp:1309
#9  0x00007fd2424956a8 in ToolTipWidget::metaInfo (this=this@entry=0x4283030) at /usr/src/debug/kde-baseapps-4.9.2/plasma/applets/folderview/tooltipwidget.cpp:101
#10 0x00007fd242497bb5 in ToolTipWidget::setContent (this=this@entry=0x4283030) at /usr/src/debug/kde-baseapps-4.9.2/plasma/applets/folderview/tooltipwidget.cpp:244
Comment 16 Ignat Semenov 2012-10-21 19:15:47 UTC
Git commit 0b8942128aafe59d7ffef17cef28419c30cbf684 by Ignat Semenov.
Committed on 21/10/2012 at 20:59.
Pushed by isemenov into branch 'KDE/4.9'.

add KFileItem d-pointer checks

The default KFileItem ctor sets d to 0, so we need to check d for
validity to avoid crashes. This is based on similar code from QImage.
REVIEW: 106902

M  +220  -9    kio/kio/kfileitem.cpp

http://commits.kde.org/kdelibs/0b8942128aafe59d7ffef17cef28419c30cbf684
Comment 17 Ignat Semenov 2012-11-28 12:02:32 UTC
*** Bug 310803 has been marked as a duplicate of this bug. ***
Comment 18 Ignat Semenov 2012-12-24 15:12:05 UTC
OK, the aforementioned commit has fixed the kdelibs part of the problem, so that the crash can not happen any more. However, what remains is to find the faulty logic in folderview which leads to null KFileItems being used.
Comment 19 Ignat Semenov 2013-01-04 15:44:01 UTC
To the users who are experiencing this bug:

Please, provide as much information as possible. I can not reproduce the bug therefore can not fix it (except for the kdelibs part, but the faulty logic is in the folderview itself).

The backtrace indicates a tooltip was shown for an icon in a folderview applet. Now e.g. in the last report, "just browsing the net via Firefox". When you are in the Firefox window, you can not hover the folderview icons!

Please, describe every detail, your actions before the crash, what did you change in the Plasma settings, what did you do to the folderview applet, maybe you added a folderview or removed it, anything you do to plasma should be documented. Otherwise the bug will be a WONTFIX since I (the current maintainer) can not reproduce it, nor can the original folderview author. Thank you in advance!
Comment 20 William Bergemann 2013-01-15 05:21:27 UTC
Created attachment 76477 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:
Closed "Game" pulldown menu in kpatience and opened playlist in VLC, which had just loaded.

-- Backtrace (Reduced):
#7  operator= (o=..., this=0x3c) at /usr/include/qt4/QtCore/qshareddata.h:95
#8  KFileMetaInfo::operator= (this=0x3c, kfmi=...) at ../../kio/kio/kfilemetainfo.cpp:318
#9  0x00cc3d07 in KFileItem::metaInfo (this=0xa89db48, autoget=true, what=12) at ../../kio/kio/kfileitem.cpp:1309
#10 0x0521ee93 in ToolTipWidget::metaInfo (this=0xa89db28) at ../../../../plasma/applets/folderview/tooltipwidget.cpp:101
#11 0x0522192a in ToolTipWidget::setContent (this=0xa89db28) at ../../../../plasma/applets/folderview/tooltipwidget.cpp:244
Comment 21 Jekyll Wu 2013-02-11 03:07:53 UTC
*** Bug 314856 has been marked as a duplicate of this bug. ***
Comment 22 Nate Graham 2018-06-08 19:49:14 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug is already resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham