Application: plasma-desktop (0.4) KDE Platform Version: 4.6.4 (4.6.4) (Compiled from sources) Qt Version: 4.7.2 Operating System: Linux 2.6.38-gentoo-r6 x86_64 Distribution (Platform): Gentoo Packages -- Information about the crash: - What I was doing when the application crashed: Trying to Add Weather Widget, during addition, circle spins, and kdeinit4 segfaults. This is related to KDE Bug 269165, as I have applied the patch used in that bug to my marbe. I have a sneaking suspicion that any Widget or application that requires geolocation will crash in this same manner. - Unusual behavior I noticed: Trying to add widget again results in locked thread as Crash reporter is only valid the first time. The crash can be reproduced every time. -- Backtrace: Application: Plasma Desktop Shell (kdeinit4), signal: Segmentation fault [Current thread is 1 (Thread 0x7ff9c16ea760 (LWP 23764))] Thread 3 (Thread 0x7ff99708c700 (LWP 23770)): #0 0x00007ff9bff745b5 in pthread_mutex_lock () from /lib64/libpthread.so.0 #1 0x00007ff9bbadce9e in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0 #2 0x00007ff9bbadd31e in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007ff9c03219ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007ff9c02f4672 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007ff9c02f4a3d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #6 0x00007ff9c0201b72 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4 #7 0x00007ff9c02d44c0 in QInotifyFileSystemWatcherEngine::run() () from /usr/lib64/qt4/libQtCore.so.4 #8 0x00007ff9c0204b25 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4 #9 0x00007ff9b25da853 in ?? () from //usr/lib64/opengl/nvidia/lib/libGL.so.1 #10 0x00007ff9bff71dba in start_thread () from /lib64/libpthread.so.0 #11 0x00007ff9bece902d in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7ff993465700 (LWP 24241)): [KCrash Handler] #6 0x00007ff9843a9d5c in gps_read () from /usr/lib64/libgps.so.20 #7 0x00007ff9845b5ca9 in Gpsd::run() () from /usr/lib64/kde4/plasma-geolocation-gps.so #8 0x00007ff9c0204b25 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4 #9 0x00007ff9b25da853 in ?? () from //usr/lib64/opengl/nvidia/lib/libGL.so.1 #10 0x00007ff9bff71dba in start_thread () from /lib64/libpthread.so.0 #11 0x00007ff9bece902d in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7ff9c16ea760 (LWP 23764)): #0 0x00007ff9bece0293 in poll () from /lib64/libc.so.6 #1 0x00007ff9bcc1abd2 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1 #2 0x00007ff9bcc1c764 in xcb_wait_for_reply () from /usr/lib64/libxcb.so.1 #3 0x00007ff9c0b783cd in _XReply () from /usr/lib64/libX11.so.6 #4 0x00007ff9c0b5c38d in XGetImage () from /usr/lib64/libX11.so.6 #5 0x00007ff9bf5600da in QX11PixmapData::toImage(QRect const&) const () from /usr/lib64/qt4/libQtGui.so.4 #6 0x00007ff9bf5599b8 in QX11PixmapData::toImage() const () from /usr/lib64/qt4/libQtGui.so.4 #7 0x00007ff9bf5461a8 in QPixmap::toImage() const () from /usr/lib64/qt4/libQtGui.so.4 #8 0x00007ff9c114f3b0 in KImageCache::insertPixmap(QString const&, QPixmap const&) () from /usr/lib64/libkdeui.so.5 #9 0x00007ff9b5e42981 in Plasma::ThemePrivate::scheduledCacheUpdate() () from /usr/lib64/libplasma.so.3 #10 0x00007ff9b5e42dbc in Plasma::Theme::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libplasma.so.3 #11 0x00007ff9c030d5e7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #12 0x00007ff9c03073f9 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #13 0x00007ff9bf45e8ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #14 0x00007ff9bf46514d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #15 0x00007ff9c10dc108 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #16 0x00007ff9c02f592b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #17 0x00007ff9c0324e1a in QTimerInfoList::activateTimers() () from /usr/lib64/qt4/libQtCore.so.4 #18 0x00007ff9c0321cb4 in timerSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4 #19 0x00007ff9bbad8c39 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #20 0x00007ff9bbadd178 in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0 #21 0x00007ff9bbadd31e in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #22 0x00007ff9c032197e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #23 0x00007ff9bf512186 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4 #24 0x00007ff9c02f4672 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #25 0x00007ff9c02f4a3d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #26 0x00007ff9c02f8abb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4 #27 0x00007ff9ad8f4849 in kdemain () from /usr/lib64/libkdeinit4_plasma-desktop.so #28 0x0000000000407f58 in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) () #29 0x0000000000408b18 in handle_launcher_request(int, char const*) () #30 0x0000000000409093 in handle_requests(int) () #31 0x0000000000409c79 in main () Reported using DrKonqi
*** Bug 280545 has been marked as a duplicate of this bug. ***
Created attachment 63261 [details] New crash information added by DrKonqi plasma-desktop (0.4) on KDE Platform 4.7.41 (4.7.41 (KDE 4.8 >= 20110807) using Qt 4.8.0 - What I was doing when the application crashed: Trying to start KDE's super plasma shell nested in a xephyr under xfce - Custom settings of the application: Maybe it's the public transport widget that i installed and added to the kic... panel bar. Ages ago. When i last could start KDE as a workspace. -- Backtrace (Reduced): #6 gps_read (gpsdata=0x1974e10) at libgps_core.c:541 #7 0x00007f45cb3c6e79 in Gpsd::run (this=0x1958ae0) at /usr/src/debug/kde-base/plasma-workspace-9999/plasma-workspace-9999/plasma/generic/dataengines/geolocation/location_gps.cpp:55 #8 0x00007f4642156e87 in QThreadPrivate::start (arg=0x1958ae0) at thread/qthread_unix.cpp:298 [...] #10 0x00007f4641ec0ebc in start_thread (arg=0x7f45cafa7700) at pthread_create.c:301 #11 0x00007f4640bdad6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Created attachment 63416 [details] New crash information added by DrKonqi plasma-desktop (0.4) on KDE Platform 4.7.1 (4.7.1) using Qt 4.7.3 - What I was doing when the application crashed: Just adding the weather applet to the panel in a newly generated openSUSE 12.1 M5 system -- Backtrace (Reduced): #6 gps_read (gpsdata=0x1dec6d0) at libgps_core.c:541 #7 0x00007f39ff907a03 in Gpsd::run (this=0x1def280) at /usr/src/debug/kde-workspace-4.7.0/plasma/generic/dataengines/geolocation/location_gps.cpp:55 #8 0x00007f3a24a07b25 in QThreadPrivate::start (arg=0x1def280) at thread/qthread_unix.cpp:320 [...]
Created attachment 63723 [details] New crash information added by DrKonqi plasma-netbook (0.2) on KDE Platform 4.7.1 (4.7.1) using Qt 4.7.3 - What I was doing when the application crashed: i tried to start plasma-netbook for the first time, it crashed. I do not have a GPS device. Bugs #282040 #282039 and #281807 are exact duplicates, is there any information missing that blocks you from fixing this bug? -- Backtrace (Reduced): #6 gps_read (gpsdata=0x111dc00) at libgps_core.c:541 #7 0x00007f418e736a03 in Gpsd::run (this=0x10fccd0) at /usr/src/debug/kde-workspace-4.7.0/plasma/generic/dataengines/geolocation/location_gps.cpp:55 #8 0x00007f41b02bbb25 in QThreadPrivate::start (arg=0x10fccd0) at thread/qthread_unix.cpp:320 [...]
[Comment from a bug report cleaner] Adding maintainer of the code to the CC (extracted from https://projects.kde.org/projects/kde/kde-workspace/repository/revisions/master/entry/plasma/generic/dataengines/geolocation/location_gps.cpp) From bug 281807: - What I was doing when the application crashed: I was selecting plasma-netbook workspace from the workspace tab of the kcm, previously selected plasma-desktop worked flawlessly except for the weather desktop disposition (whose backtrace is suggested as releted by dr. konqui)
*** Bug 281807 has been marked as a duplicate of this bug. ***
*** Bug 282039 has been marked as a duplicate of this bug. ***
*** Bug 282040 has been marked as a duplicate of this bug. ***
Created attachment 64225 [details] New crash information added by DrKonqi plasma-desktop (0.4) on KDE Platform 4.7.1 (4.7.1) using Qt 4.7.4 - What I was doing when the application crashed: Each you try to put weather background plasma crash and restart with the previous background setting. This setup was made inside a house where you can't get a gps signal. I don't even know if my computer has a such device. In my case Wifi, bluetooth are all off. Happen each time. -- Backtrace (Reduced): #6 gps_read (gpsdata=0x3043520) at libgps_core.c:541 #7 0x00007fd7c32d1a03 in Gpsd::run (this=0x353d320) at /usr/src/debug/kde-workspace-4.7.1/plasma/generic/dataengines/geolocation/location_gps.cpp:55 #8 0x00007fd7fbb85015 in QThreadPrivate::start (arg=0x353d320) at thread/qthread_unix.cpp:331 [...] #10 0x00007fd7fb8f4f05 in start_thread (arg=0x7fd7c132d700) at pthread_create.c:301 #11 0x00007fd7fa68f24d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Created attachment 64772 [details] New crash information added by DrKonqi plasma-desktop (0.4) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4 - What I was doing when the application crashed: 1. Selected Add Widgets 2. Clicked and dragged any weather plasmoid on to the desktop -- Backtrace (Reduced): #6 gps_read (gpsdata=0x1f21f90) at libgps_core.c:541 #7 0x00007f306c7c3a03 in Gpsd::run (this=0x1f217e0) at /usr/src/debug/kde-workspace-4.7.2/plasma/generic/dataengines/geolocation/location_gps.cpp:55 #8 0x00007f3095deb015 in QThreadPrivate::start (arg=0x1f217e0) at thread/qthread_unix.cpp:331 [...]
*** Bug 284927 has been marked as a duplicate of this bug. ***
Created attachment 64983 [details] New crash information added by DrKonqi plasma-desktop (0.4) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4 - What I was doing when the application crashed: - Custom settings of the application: Adding the Weather widget. The problem appears every time I do that -- Backtrace (Reduced): #6 gps_read (gpsdata=0x91be450) at libgps_core.c:541 #7 0xb09b908a in Gpsd::run (this=0x9188df8) at /usr/src/debug/kde-workspace-4.7.2/plasma/generic/dataengines/geolocation/location_gps.cpp:55 #8 0xb6ddb613 in QThreadPrivate::start (arg=0x9188df8) at thread/qthread_unix.cpp:331 [...]
*** Bug 285262 has been marked as a duplicate of this bug. ***
*** Bug 285861 has been marked as a duplicate of this bug. ***
This crash happens in gpsd, it is very likely it is an upstream bug. I use gpsd-2.95 and I cannot reproduce this crash.
*** Bug 285908 has been marked as a duplicate of this bug. ***
I can reproduce this crash with gpsd version high than 2.96. I had a review request provided and was already commit to kde-workspace master and 4.7 branch. https://projects.kde.org/projects/kde/kde-workspace/repository/revisions/92b1e7cc6766023050aaaae41390bb5cfcc07ec5
..how can this even bring down whole plasma-workspace? something is poorly designed here.
(In reply to comment #17) > I can reproduce this crash with gpsd version high than 2.96. I had a review > request provided and was already commit to kde-workspace master and 4.7 branch. > > https://projects.kde.org/projects/kde/kde-workspace/repository/revisions/92b1e7cc6766023050aaaae41390bb5cfcc07ec5 Does your patch fix this problem? The commit above should have closed this bug as fixed, but it did not. If your patch really fix this bug then I will close this bug. All plasmoids run on behalf of the plasma-desktop process, if any plasmoid crashes it brings down the entire desktop. That is why we have so many bugs opened for Plasma, although several of them are just duplicates.
I was test this on source build with gpsd 2.96, it works fine for me. I had added BUG keyword in my patch then commit, but I don't understand why there didn't closed this bug as well :/
> All plasmoids run on behalf of the plasma-desktop process, if any plasmoid > crashes it brings down the entire desktop. Yeah, that's exactly what i referred to as 'poor design'. Shouldn't the workspace be made a bit more resilient against crashing sub processes? I mean, refusing to *show a desktop environment* _ever again until manual interference_ after a spoilt app has been added is not what one could call 'fail safe' or even 'safe fail' design, is it? Who's responsible for Plasma architecture again?
(In reply to comment #20) > I was test this on source build with gpsd 2.96, it works fine for me. I had > added BUG keyword in my patch then commit, but I don't understand why there > didn't closed this bug as well :/ You need to have administrator's permissions in bugs.kde.org for the BUG line take effect. I will close this bug then.
(In reply to comment #21) > Yeah, that's exactly what i referred to as 'poor design'. > Shouldn't the workspace be made a bit more resilient against crashing sub > processes? I mean, refusing to *show a desktop environment* _ever again until > manual interference_ after a spoilt app has been added is not what one could > call 'fail safe' or even 'safe fail' design, is it? > Who's responsible for Plasma architecture again? Any Plasma developer is aware of this problem. However we cannot change it until KDE 5.0 because we keep binary compatibility throughout a major version (KDE 4 in this case). I do not know exactly who designed plasma-desktop to work this way, but it does not matter, for sure the one who did it is already aware of this problem :-)
> Any Plasma developer is aware of this problem. However we cannot change it > until KDE 5.0 because we keep binary compatibility throughout a major version > (KDE 4 in this case). I do not know exactly who designed plasma-desktop to work > this way, but it does not matter, for sure the one who did it is already aware > of this problem :-) Well awareness is a good first step indeed... However, an unknown number of technically inapt users might *right now* sit in front of some shiny wallpaper, waiting for their desktop to appear - in vain. By the time KDE 5.0 will be released, many of them might be deceased already! So maybe someone can come up with a way to deal with it without breaking ABI (for whatever good that is anyways - any product known in the wild that statically link to KDE plasma-desktop?)...
> However we cannot change it [..] because we keep binary compatibility That by the way is the primary reason windows™ never stopped sucking... still does it C:
*** Bug 288994 has been marked as a duplicate of this bug. ***
*** Bug 289161 has been marked as a duplicate of this bug. ***
*** Bug 289481 has been marked as a duplicate of this bug. ***
*** Bug 289789 has been marked as a duplicate of this bug. ***
*** Bug 289771 has been marked as a duplicate of this bug. ***
Is there a workaround for this? or do we need to wait for KDE5 to use the KDE desktop again? thanks.
(In reply to comment #31) > Is there a workaround for this? or do we need to wait for KDE5 to use the KDE > desktop again? > thanks. The FIXED-IN above says it is fixed in 4.7.4. Have you upgraded to that version and tested the fix?
(In reply to comment #32) > (In reply to comment #31) > > Is there a workaround for this? or do we need to wait for KDE5 to use the KDE > > desktop again? > > thanks. > > The FIXED-IN above says it is fixed in 4.7.4. Have you upgraded to that version > and tested the fix? No, I'm using Debian Wheezy/Sid so we are only up to 4.6.5. I would have to start running Experimental in and upgrade a zillion package to get to 4.7.4 running right away.
(In reply to comment #33) > No, I'm using Debian Wheezy/Sid so we are only up to 4.6.5. I would have to > start running Experimental in and upgrade a zillion package to get to 4.7.4 > running right away. You can apply yourself the patch mentioned in comment #17 or contact Debian maintainers to do it for you. Honestly, why did you complain that you would have to wait until KDE5 if you do not even bother to read the comments and see that the bug is already fixed for the current KDE SC version? You decided to keep using an old KDE version and not get the fix automatically.
*** Bug 289852 has been marked as a duplicate of this bug. ***
(In reply to comment #34) > (In reply to comment #33) > > No, I'm using Debian Wheezy/Sid so we are only up to 4.6.5. I would have to > > start running Experimental in and upgrade a zillion package to get to 4.7.4 > > running right away. > > You can apply yourself the patch mentioned in comment #17 or contact Debian > maintainers to do it for you. > > Honestly, why did you complain that you would have to wait until KDE5 if you do > not even bother to read the comments and see that the bug is already fixed for > the current KDE SC version? You decided to keep using an old KDE version and > not get the fix automatically. I'm sorry for annoying you. I read and reread #17 and I don't see any patch. I am not running gpsd now and never have. I do not use bluetooth nor any weather plasmoid. thank you
(In reply to comment #36) > I'm sorry for annoying you. I read and reread #17 and I don't see any patch. I > am not running gpsd now and never have. I do not use bluetooth nor any weather > plasmoid. > thank you This bug is about a crash in weather plasmoids. Why did you complain in the first place if you do not use any of them? If you want the patch anyway click on the link in comment #17, then on link "View differences", then on "Also available in: Unified diff". It will download a file called changeset_r92b1e7cc6766023050aaaae41390bb5cfcc07ec5.diff, that is the patch to fix this bug.
(In reply to comment #37) > (In reply to comment #36) > > I'm sorry for annoying you. I read and reread #17 and I don't see any patch. I > > am not running gpsd now and never have. I do not use bluetooth nor any weather > > plasmoid. > > thank you > > This bug is about a crash in weather plasmoids. Why did you complain in the > first place if you do not use any of them? Sorry but I didn't move the bug anywhere. I posted the bug and received the number #289789. I believe you moved the bug yourself. If you look at my original bug report, I mentioned nothing about any weather widgets. > > If you want the patch anyway click on the link in comment #17, then on link > "View differences", then on "Also available in: Unified diff". It will download > a file called changeset_r92b1e7cc6766023050aaaae41390bb5cfcc07ec5.diff, that is > the patch to fix this bug. I'll apply the patch and report back.
(In reply to comment #38) > Sorry but I didn't move the bug anywhere. I posted the bug and received the > number #289789. I believe you moved the bug yourself. If you look at my > original bug report, I mentioned nothing about any weather widgets. Ok, now I get it. You should have mentioned the original bug before. Anyway, one of your plasmoids is using the geolocation dataengine, which uses the library where this bug happens.
(In reply to comment #33) > (In reply to comment #32) > > (In reply to comment #31) > > > Is there a workaround for this? or do we need to wait for KDE5 to use the KDE > > > desktop again? > > > thanks. > > > > The FIXED-IN above says it is fixed in 4.7.4. Have you upgraded to that version > > and tested the fix? > > No, I'm using Debian Wheezy/Sid so we are only up to 4.6.5. I would have to > start running Experimental in and upgrade a zillion package to get to 4.7.4 > running right away. The "proper" fix for this bug has been stated multiple times by the bug maintainer who duplicated your bug. Instead of trying to integrate the patch yourself file a bug on the Debian Bug Tracker page, refer them back to this bug, and as such they will: 1.) Apply the patch into the Debian package, as it is affecting a stable Debian version, and thus justifies aggravating the Debian Maintainers. 2.) Re-prioritize the stabilization of KDE 4.7.4 into the MAIN repository, as this bug is/was rather annoying. Either option will get the ball rolling on Debian's end, as no one there will know until you file a bug related to this one or your original on their bug tracker.
(In reply to comment #40) > (In reply to comment #33) > > (In reply to comment #32) > > > (In reply to comment #31) > > > > Is there a workaround for this? or do we need to wait for KDE5 to use the KDE > > > > desktop again? > > > > thanks. > > > > > > The FIXED-IN above says it is fixed in 4.7.4. Have you upgraded to that version > > > and tested the fix? > > > > No, I'm using Debian Wheezy/Sid so we are only up to 4.6.5. I would have to > > start running Experimental in and upgrade a zillion package to get to 4.7.4 > > running right away. > > The "proper" fix for this bug has been stated multiple times by the bug > maintainer who duplicated your bug. Instead of trying to integrate the patch > yourself file a bug on the Debian Bug Tracker page, refer them back to this > bug, and as such they will: > > 1.) Apply the patch into the Debian package, as it is affecting a stable Debian > version, and thus justifies aggravating the Debian Maintainers. > 2.) Re-prioritize the stabilization of KDE 4.7.4 into the MAIN repository, as > this bug is/was rather annoying. > > Either option will get the ball rolling on Debian's end, as no one there will > know until you file a bug related to this one or your original on their bug > tracker. I'm sorry, the "proper way" on any binary based distro, IE Debian, Ubuntu, Fedora(I can't edit my comment). The slowness of response, regarding these types of fixes, by these distros is one of the reasons I switched to a source based distro, like Gentoo or Arch Linux.
Thanks Carter. I have filed a bug report to Debian which includes the information contained in my original KDE bug report (#289789). We'll see if this produces anything. In the meantime I'm using fluxbox.
*** Bug 291063 has been marked as a duplicate of this bug. ***
I'm running KDE 4.74 with openSUSE 12.1 and it is no longer crashing.
*** Bug 289847 has been marked as a duplicate of this bug. ***
Created attachment 69205 [details] New crash information added by DrKonqi plasma-netbook (0.2) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.4 - What I was doing when the application crashed: Just turning plasma-desktop to plasma-netbook -- Backtrace (Reduced): #6 0x00007fb56c434e8e in gps_sock_read () from /usr/lib/x86_64-linux-gnu/libgps.so.20 #7 0x00007fb56c4313a2 in gps_read () from /usr/lib/x86_64-linux-gnu/libgps.so.20 #8 0x00007fb56c642af3 in Gpsd::run (this=0x15ad1a0) at ../../../../../plasma/generic/dataengines/geolocation/location_gps.cpp:55 #9 0x00007fb59205acf5 in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4 #10 0x00007fb58b5f1b50 in start_thread (arg=<optimized out>) at pthread_create.c:304