Bug 277036

Summary: Plasma Desktop Crashes When Adding Weather Widgets (Geolocation) [gps_read, Gpsd::run]
Product: [Unmaintained] plasma4 Reporter: Carter Young <ecyoung>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, andrew5859, bou.gui, bruno, cobexer, damu, dariocambie, EagleScreen, f.leerink, freekdekruijf, jdkaye10, jens, johan.walles, kurt.shingler, m.cole, max7442, mpartap, pswzyu, rb03884, sergeevaas
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.4
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 Carter Young 2011-07-04 00:16:35 UTC
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
Comment 1 Christoph Feck 2011-08-21 23:55:43 UTC
*** Bug 280545 has been marked as a duplicate of this bug. ***
Comment 2 Marcel Partap 2011-08-31 13:41:35 UTC
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
Comment 3 Freek de Kruijf 2011-09-05 20:36:54 UTC
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
[...]
Comment 4 Christoph Obexer 2011-09-17 12:11:42 UTC
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 5 Dario Andres 2011-10-02 13:32:15 UTC
[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)
Comment 6 Dario Andres 2011-10-02 13:32:21 UTC
*** Bug 281807 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2011-10-02 13:32:24 UTC
*** Bug 282039 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2011-10-02 13:32:27 UTC
*** Bug 282040 has been marked as a duplicate of this bug. ***
Comment 9 Bruno Friedmann 2011-10-05 04:55:11 UTC
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
Comment 10 Roman Bysh 2011-10-21 22:43:47 UTC
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
[...]
Comment 11 Christoph Feck 2011-10-25 12:11:36 UTC
*** Bug 284927 has been marked as a duplicate of this bug. ***
Comment 12 Alina Sergeeva 2011-10-28 14:54:46 UTC
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
[...]
Comment 13 Christoph Feck 2011-10-30 10:10:45 UTC
*** Bug 285262 has been marked as a duplicate of this bug. ***
Comment 14 Lamarque V. Souza 2011-11-06 00:20:28 UTC
*** Bug 285861 has been marked as a duplicate of this bug. ***
Comment 15 Lamarque V. Souza 2011-11-06 00:55:19 UTC
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.
Comment 16 Lamarque V. Souza 2011-11-06 19:30:02 UTC
*** Bug 285908 has been marked as a duplicate of this bug. ***
Comment 17 Max Lin 2011-11-07 04:15:22 UTC
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
Comment 18 Marcel Partap 2011-11-07 09:50:54 UTC
..how can this even bring down whole plasma-workspace?
something is poorly designed here.
Comment 19 Lamarque V. Souza 2011-11-07 13:46:00 UTC
(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.
Comment 20 Max Lin 2011-11-07 14:07:36 UTC
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 :/
Comment 21 Marcel Partap 2011-11-07 14:09:00 UTC
> 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?
Comment 22 Lamarque V. Souza 2011-11-07 14:23:02 UTC
(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.
Comment 23 Lamarque V. Souza 2011-11-07 14:27:12 UTC
(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 :-)
Comment 24 Marcel Partap 2011-11-07 14:37:48 UTC
> 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?)...
Comment 25 Marcel Partap 2011-11-07 14:58:37 UTC
> 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:
Comment 26 Lamarque V. Souza 2011-12-14 20:07:32 UTC
*** Bug 288994 has been marked as a duplicate of this bug. ***
Comment 27 Lamarque V. Souza 2011-12-17 13:20:17 UTC
*** Bug 289161 has been marked as a duplicate of this bug. ***
Comment 28 Anne-Marie Mahfouf 2011-12-21 10:02:41 UTC
*** Bug 289481 has been marked as a duplicate of this bug. ***
Comment 29 Lamarque V. Souza 2011-12-25 18:46:41 UTC
*** Bug 289789 has been marked as a duplicate of this bug. ***
Comment 30 Lamarque V. Souza 2011-12-25 18:46:52 UTC
*** Bug 289771 has been marked as a duplicate of this bug. ***
Comment 31 Jonathan Kaye 2011-12-26 10:07:50 UTC
Is there a workaround for this? or do we need to wait for KDE5 to use the KDE desktop again?
thanks.
Comment 32 Lamarque V. Souza 2011-12-26 11:25:23 UTC
(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?
Comment 33 Jonathan Kaye 2011-12-26 13:47:12 UTC
(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.
Comment 34 Lamarque V. Souza 2011-12-26 14:09:29 UTC
(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.
Comment 35 Anne-Marie Mahfouf 2011-12-26 14:10:31 UTC
*** Bug 289852 has been marked as a duplicate of this bug. ***
Comment 36 Jonathan Kaye 2011-12-26 14:22:49 UTC
(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
Comment 37 Lamarque V. Souza 2011-12-26 15:01:30 UTC
(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.
Comment 38 Jonathan Kaye 2011-12-26 15:22:48 UTC
(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.
Comment 39 Lamarque V. Souza 2011-12-26 15:37:29 UTC
(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.
Comment 40 Carter Young 2011-12-26 21:31:27 UTC
(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.
Comment 41 Carter Young 2011-12-26 21:40:33 UTC
(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.
Comment 42 Jonathan Kaye 2011-12-27 03:32:24 UTC
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.
Comment 43 Christoph Feck 2012-01-10 00:34:23 UTC
*** Bug 291063 has been marked as a duplicate of this bug. ***
Comment 44 Roman Bysh 2012-01-10 17:09:06 UTC
I'm running KDE 4.74 with openSUSE 12.1 and it is no longer crashing.
Comment 45 Thijs 2012-01-11 13:49:17 UTC
*** Bug 289847 has been marked as a duplicate of this bug. ***
Comment 46 bou.gui 2012-03-01 11:05:08 UTC
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