Summary: | Crash in TooltipWidget::setContent() [KFileItem is null] | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Jannis Liapis <ahepas1999> |
Component: | widget-folderview | Assignee: | Ignat Semenov <i.semenov.kde> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | crash | CC: | andrei.ilie, aniello.barletta, arnost649, der_elefant, faure, plasma-bugs, wbrgmnn, yurchenkoms, zerterone |
Priority: | NOR | ||
Version: | 4.9.2 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Jannis Liapis
2012-05-10 08:34:53 UTC
*** Bug 294089 has been marked as a duplicate of this bug. *** *** Bug 300308 has been marked as a duplicate of this bug. *** Confirmed by duplicates. 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. 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
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
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
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
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
*** Bug 307974 has been marked as a duplicate of this bug. *** I've never experienced this bug before activating the "Wallpaper Slideshow" feature in Plasma. I think a fix like this might help: http://www.davidfaure.fr/2012/kfileitem.cpp.diff 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 > 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 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
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 *** Bug 310803 has been marked as a duplicate of this bug. *** 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. 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! 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
*** Bug 314856 has been marked as a duplicate of this bug. *** 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 |