Bug 167473 - Plasma crash with internet connection "disabled"
Summary: Plasma crash with internet connection "disabled"
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: knewstuff (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 174078 178271 178294 181667 182593 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-26 14:34 UTC by SlashDevDsp
Modified: 2009-05-25 20:03 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
get hot new stuff with internet disabled crashed plasma (10.23 KB, text/plain)
2008-07-29 14:17 UTC, SlashDevDsp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SlashDevDsp 2008-07-26 14:34:33 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          g++ (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) 
OS:                Linux

Plasma crash with internet connection "disabled".

desktop settings -> new wallpaper -> loads GHNS and shows error "there was an error loading data providers" with OK button. click OK and plasma dies.
Attached backtrace:

Application: Plasma Workspace (plasma), signal SIGSEGV
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[New Thread -1262659872 (LWP 4354)]
[New Thread -1315603568 (LWP 4543)]
[New Thread -1303237744 (LWP 4362)]
[New Thread -1294845040 (LWP 4360)]
[Current thread is 0 (LWP 4354)]

Thread 4 (Thread -1294845040 (LWP 4360)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6a5e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6ae1a06 in QWaitCondition::wait (this=0x81eeef0, mutex=0x81eeeec, time=4294967295) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:88
#3  0xb69d6e6d in QHostInfoAgent::run (this=0x81eeee0) at /home/kde-devel/kdesvn/qt-copy/src/network/kernel/qhostinfo.cpp:247
#4  0xb6ae1327 in QThreadPrivate::start (arg=0x81eeee0) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:190
#5  0xb6a5a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb5d466de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread -1303237744 (LWP 4362)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6a5e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6ae1a06 in QWaitCondition::wait (this=0x813f62c, mutex=0x813f628, time=4294967295) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:88
#3  0xb30aced6 in RenderThread::run (this=0x813f620) at /home/kde-devel/kdesvn/kdebase/workspace/plasma/containments/desktop/renderthread.cpp:84
#4  0xb6ae1327 in QThreadPrivate::start (arg=0x813f620) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:190
#5  0xb6a5a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb5d466de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1315603568 (LWP 4543)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6a5e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6ae1a06 in QWaitCondition::wait (this=0x86f5fe4, mutex=0x86f5fe0, time=4294967295) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:88
#3  0xb30aced6 in RenderThread::run (this=0x86f5fd8) at /home/kde-devel/kdesvn/kdebase/workspace/plasma/containments/desktop/renderthread.cpp:84
#4  0xb6ae1327 in QThreadPrivate::start (arg=0x86f5fd8) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:190
#5  0xb6a5a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb5d466de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1262659872 (LWP 4354)):
[KCrash Handler]
#6  KTranslatable (this=0xbfb1d994, other=@0x845a990) at /home/kde-devel/kdesvn/build/qt-copy/include/QtCore/../../../../qt-copy/src/corelib/arch/qatomic_i386.h:122
#7  0xb73c470e in KNS::Entry::preview (this=0x80af988) at /home/kde-devel/kdesvn/kdelibs/knewstuff/knewstuff2/core/entry.cpp:175
#8  0xb73fb349 in KNS::ItemsModel::data (this=0x87ae090, index=@0xbfb1da40, role=44) at /home/kde-devel/kdesvn/kdelibs/knewstuff/knewstuff2/ui/itemsmodel.cpp:82
#9  0xb661a11f in QSortFilterProxyModel::data (this=0x8492670, index=@0x8a24ce8, role=44) at /home/kde-devel/kdesvn/qt-copy/src/gui/itemviews/qsortfilterproxymodel.cpp:1505
#10 0xb73fce75 in KNS::ItemsViewDelegate::paint (this=0x8808628, painter=0xbfb1ddf0, option=@0xbfb1dc70, index=@0x8a24ce8)
    at /home/kde-devel/kdesvn/build/qt-copy/include/QtCore/../../../../qt-copy/src/corelib/kernel/qabstractitemmodel.h:373
#11 0xb65c1523 in QListView::paintEvent (this=0x8745ac0, e=0xbfb1e5f4) at /home/kde-devel/kdesvn/qt-copy/src/gui/itemviews/qlistview.cpp:1152
#12 0xb6197be3 in QWidget::event (this=0x8745ac0, event=0xbfb1e5f4) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:7065
#13 0xb6490583 in QFrame::event (this=0x8745ac0, e=0xbfb1e5f4) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qframe.cpp:657
#14 0xb651567c in QAbstractScrollArea::viewportEvent (this=0xb740f5e8, e=0x610072) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea.cpp:941
#15 0xb65ab70e in QAbstractItemView::viewportEvent (this=0x8745ac0, event=0xbfb1e5f4) at /home/kde-devel/kdesvn/qt-copy/src/gui/itemviews/qabstractitemview.cpp:1426
#16 0xb6516855 in QAbstractScrollAreaFilter::eventFilter (this=0x86c7138, o=0x87ed9f8, e=0xbfb1e5f4) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea_p.h:102
#17 0xb6bb9a49 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8084e18, receiver=0x87ed9f8, event=0xbfb1e5f4)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:694
#18 0xb6149739 in QApplicationPrivate::notify_helper (this=0x8084e18, receiver=0x87ed9f8, e=0xbfb1e5f4) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3768
#19 0xb615014e in QApplication::notify (this=0x806a9f0, receiver=0x87ed9f8, e=0xbfb1e5f4) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3739
#20 0xb7969fea in KApplication::notify (this=0x806a9f0, receiver=0x87ed9f8, event=0xbfb1e5f4) at /home/kde-devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:311
#21 0xb6bb9469 in QCoreApplication::notifyInternal (this=0x806a9f0, receiver=0x87ed9f8, event=0xbfb1e5f4) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#22 0xb619e21e in qt_sendSpontaneousEvent (receiver=0x87ed9f8, event=0x610072) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:218
#23 0xb6193088 in QWidgetPrivate::drawWidget (this=0x86c7210, pdev=0x87eef8c, rgn=@0xbfb1e79c, offset=@0xbfb1e794, flags=4, sharedPainter=0x81cb500)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4491
#24 0xb619390c in QWidgetPrivate::paintSiblingsRecursive (this=0x86e36e0, pdev=0x87eef8c, siblings=@0xbfb1e960, index=1, rgn=@0xbfb1ea1c, offset=@0xbfb1ea14, flags=4, sharedPainter=0x81cb500)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4589
#25 0xb6192cea in QWidgetPrivate::drawWidget (this=0x86e36e0, pdev=0x87eef8c, rgn=@0xbfb1ea1c, offset=@0xbfb1ea14, flags=4, sharedPainter=0x81cb500)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4532
#26 0xb619390c in QWidgetPrivate::paintSiblingsRecursive (this=0x86c5da0, pdev=0x87eef8c, siblings=@0xbfb1ebe0, index=8, rgn=@0xbfb1ec9c, offset=@0xbfb1ec94, flags=4, sharedPainter=0x81cb500)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4589
#27 0xb6192cea in QWidgetPrivate::drawWidget (this=0x86c5da0, pdev=0x87eef8c, rgn=@0xbfb1ec9c, offset=@0xbfb1ec94, flags=4, sharedPainter=0x81cb500)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4532
#28 0xb619390c in QWidgetPrivate::paintSiblingsRecursive (this=0x86fdf68, pdev=0x87eef8c, siblings=@0xbfb1ee60, index=3, rgn=@0xbfb1ef64, offset=@0x86c5f3c, flags=4, sharedPainter=0x81cb500)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4589
#29 0xb6192cea in QWidgetPrivate::drawWidget (this=0x86fdf68, pdev=0x87eef8c, rgn=@0xbfb1ef64, offset=@0x86c5f3c, flags=4, sharedPainter=0x81cb500)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4532
#30 0xb62e54e0 in QWidgetBackingStore::cleanRegion (this=0x86c5f30, rgn=@0xbfb1efc8, widget=0x8461208, recursiveCopyToScreen=true)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/painting/qbackingstore.cpp:1035
#31 0xb62e5847 in qt_syncBackingStore (widget=0x8461208) at /home/kde-devel/kdesvn/qt-copy/src/gui/painting/qbackingstore.cpp:319
#32 0xb61979cd in QWidget::event (this=0x8461208, event=0x896fb10) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:7209
#33 0xb614975f in QApplicationPrivate::notify_helper (this=0x8084e18, receiver=0x8461208, e=0x896fb10) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3772
#34 0xb615014e in QApplication::notify (this=0x806a9f0, receiver=0x8461208, e=0x896fb10) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3739
#35 0xb7969fea in KApplication::notify (this=0x806a9f0, receiver=0x8461208, event=0x896fb10) at /home/kde-devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:311
#36 0xb6bb9469 in QCoreApplication::notifyInternal (this=0x806a9f0, receiver=0x8461208, event=0x896fb10) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#37 0xb6bba77b in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x80531a0) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:215
#38 0xb6bba9ad in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1091
#39 0xb6bdfb9f in postEventSourceDispatch (s=0x8086f20) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:220
#40 0xb59e711c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0xb59ea55f in ?? () from /usr/lib/libglib-2.0.so.0
#42 0x08086e98 in ?? ()
#43 0x00000000 in ?? ()
Comment 1 Dominik Tritscher 2008-07-27 23:55:15 UTC
Could you please tell us what revision or release you compiled?
Anyways, I can confirm that bug with KDE 4.1RC1 from Kubuntu packages.
My backtrace looks quite the same, so I don't post it here again.
Comment 2 SlashDevDsp 2008-07-28 03:04:17 UTC
The rev I am using is: 837925
Comment 3 Aaron J. Seigo 2008-07-28 19:39:36 UTC
SlashDevDsp: i can't reproduce this myself, but i did commit a fix in r#838767. can you test with that (or newer) kdelibs and let me know if that helps this issue? thanks...
Comment 4 SlashDevDsp 2008-07-29 14:17:29 UTC
Created attachment 26475 [details]
get hot new stuff with internet disabled crashed plasma
Comment 5 SlashDevDsp 2008-07-29 14:23:52 UTC
this is with todays svn compile (about 2hrs ago) with kdelibs at r#839063 and it still crashes see attachment in previous comment.

another thing to note: 
I have networkManager disabled (no networking). After getting the error dialog about not able to get new sources from GHNS plasma crashes.
Comment 6 Bill Rosmus 2008-10-09 03:49:58 UTC
I just had this same error using Fedora Core 9 K Desktop Environment Version 4.1.1 (KDE 4.1.1).  I have my wired internet connection (eth0) disabled but wireless (wlan0) running.  

Not sure where to find the stack trace for this... checked the systems logs and can't find anything relating to plasma.  Anyway, there it is... I just had the same error.  Tried several times... same error every time.
Comment 7 Dario Andres 2008-12-20 13:57:35 UTC
*** Bug 178271 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2008-12-20 18:11:33 UTC
*** Bug 178294 has been marked as a duplicate of this bug. ***
Comment 9 SlashDevDsp 2009-01-02 16:19:49 UTC
this bug can be closed, it does not happen in trunk now :)
Comment 10 Dario Andres 2009-01-24 14:52:57 UTC
*** Bug 181667 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2009-01-24 15:05:40 UTC
*** Bug 174078 has been marked as a duplicate of this bug. ***
Comment 12 Dario Andres 2009-01-31 16:23:13 UTC
*** Bug 182593 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2009-01-31 16:23:48 UTC
The reporter of bug 182593 experienced this using 4.2. Reopening
Comment 14 marco 2009-04-26 14:59:18 UTC
I have recently tested in Kubuntu 9.04 (Kde 4.2.2 & Qt 4.5.0) and still happens the same

1) Internet connection "disabled".
2) Desktop settings -> new wallpaper -> "there was an error loading data providers" message with OK 
3) Click OK and plasma dies.

Here its the backtrace:


(no debugging symbols found)
0x00007fd70096bd21 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 3181)]

Thread 5 (Thread 0x7fd6e7a03950 (LWP 3191)):
#0  0x00007fd6fdda52e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd70144d939 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd704c094cc in ?? () from /usr/lib/libQtNetwork.so.4
#3  0x00007fd70144c952 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd6fdda13ba in start_thread () from /lib/libpthread.so.0
#5  0x00007fd7009a9fcd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd6e6b56950 (LWP 3192)):
#0  0x00007fd6fdda52e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd70144d939 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd6e8673d4e in ?? () from /usr/lib/kde4/plasma_wallpaper_image.so
#3  0x00007fd70144c952 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd6fdda13ba in start_thread () from /lib/libpthread.so.0
#5  0x00007fd7009a9fcd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd6da64f950 (LWP 3329)):
#0  0x00007fd6fdda556d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd70144d917 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd701443409 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fd70144c952 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd6fdda13ba in start_thread () from /lib/libpthread.so.0
#5  0x00007fd7009a9fcd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd6e6355950 (LWP 3362)):
#0  0x00007fd6fdda52e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd70144d939 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd6e8673d4e in ?? () from /usr/lib/kde4/plasma_wallpaper_image.so
#3  0x00007fd70144c952 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd6fdda13ba in start_thread () from /lib/libpthread.so.0
#5  0x00007fd7009a9fcd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd7060c0760 (LWP 3181)):
#0  0x00007fd70096bd21 in nanosleep () from /lib/libc.so.6
#1  0x00007fd70096bb47 in sleep () from /lib/libc.so.6
#2  0x00007fd70439cb1f in ?? () from /usr/lib/libkdeui.so.5
#3  0x00007fd70439d42a in KCrash::defaultCrashHandler () from /usr/lib/libkdeui.so.5
#4  <signal handler called>
#5  0x00007fd70560d344 in KNS::KTranslatable::KTranslatable () from /usr/lib/libknewstuff2.so.4
#6  0x00007fd70560eb70 in KNS::Entry::preview () from /usr/lib/libknewstuff2.so.4
#7  0x00007fd70563ae2b in ?? () from /usr/lib/libknewstuff2.so.4ternet connection "disabled".

desktop settings -> new wallpaper -> loads GHNS and shows error "there was an error loading data providers" with OK button. click OK and plasma dies.
#8  0x00007fd702214ff3 in QSortFilterProxyModel::data () from /usr/lib/libQtGui.so.4
#9  0x00007fd70563d42b in ?? () from /usr/lib/libknewstuff2.so.4
#10 0x00007fd7021b23b0 in QListView::paintEvent () from /usr/lib/libQtGui.so.4
#11 0x00007fd701ccb796 in QWidget::event () from /usr/lib/libQtGui.so.4
#12 0x00007fd7020656eb in QFrame::event () from /usr/lib/libQtGui.so.4
#13 0x00007fd70219a59d in QAbstractItemView::viewportEvent () from /usr/lib/libQtGui.so.4
#14 0x00007fd701534a68 in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#15 0x00007fd701c7a80c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#16 0x00007fd701c82a2a in QApplication::notify () from /usr/lib/libQtGui.so.4
#17 0x00007fd70433726b in KApplication::notify () from /usr/lib/libkdeui.so.5
#18 0x00007fd70153575c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#19 0x00007fd701cd2a55 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#20 0x00007fd701e763ae in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007fd701cc4100 in QWidgetPrivate::syncBackingStore () from /usr/lib/libQtGui.so.4
#22 0x00007fd701ccb62d in QWidget::event () from /usr/lib/libQtGui.so.4
#23 0x00007fd701c7a83d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#24 0x00007fd701c82a2a in QApplication::notify () from /usr/lib/libQtGui.so.4
#25 0x00007fd70433726b in KApplication::notify () from /usr/lib/libkdeui.so.5
#26 0x00007fd70153575c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#27 0x00007fd7015363ca in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#28 0x00007fd70155f1e3 in ?? () from /usr/lib/libQtCore.so.4
#29 0x00007fd6fc17120a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0x00007fd6fc1748e0 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0x00007fd6fc174a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0x00007fd70155ee6f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#33 0x00007fd701d12c9f in ?? () from /usr/lib/libQtGui.so.4
#34 0x00007fd701534002 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#35 0x00007fd7015343cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#36 0x00007fd701536694 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#37 0x00007fd705c969bb in kdemain () from /usr/lib/libkdeinit4_plasma.so
#38 0x00007fd7008e25a6 in __libc_start_main () from /lib/libc.so.6
#39 0x00000000004007c9 in _start ()
#0  0x00007fd70096bd21 in nanosleep () from /lib/libc.so.6

Here's the backtrace

(no debugging symbols found)
0x00007fd70096bd21 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 3181)]

Thread 5 (Thread 0x7fd6e7a03950 (LWP 3191)):
#0  0x00007fd6fdda52e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd70144d939 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd704c094cc in ?? () from /usr/lib/libQtNetwork.so.4
#3  0x00007fd70144c952 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd6fdda13ba in start_thread () from /lib/libpthread.so.0
#5  0x00007fd7009a9fcd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd6e6b56950 (LWP 3192)):
#0  0x00007fd6fdda52e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd70144d939 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd6e8673d4e in ?? () from /usr/lib/kde4/plasma_wallpaper_image.so
#3  0x00007fd70144c952 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd6fdda13ba in start_thread () from /lib/libpthread.so.0
#5  0x00007fd7009a9fcd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd6da64f950 (LWP 3329)):
#0  0x00007fd6fdda556d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd70144d917 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd701443409 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fd70144c952 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd6fdda13ba in start_thread () from /lib/libpthread.so.0
#5  0x00007fd7009a9fcd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd6e6355950 (LWP 3362)):
#0  0x00007fd6fdda52e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd70144d939 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd6e8673d4e in ?? () from /usr/lib/kde4/plasma_wallpaper_image.so
#3  0x00007fd70144c952 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd6fdda13ba in start_thread () from /lib/libpthread.so.0
#5  0x00007fd7009a9fcd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd7060c0760 (LWP 3181)):
#0  0x00007fd70096bd21 in nanosleep () from /lib/libc.so.6
#1  0x00007fd70096bb47 in sleep () from /lib/libc.so.6
#2  0x00007fd70439cb1f in ?? () from /usr/lib/libkdeui.so.5
#3  0x00007fd70439d42a in KCrash::defaultCrashHandler () from /usr/lib/libkdeui.so.5
#4  <signal handler called>
#5  0x00007fd70560d344 in KNS::KTranslatable::KTranslatable () from /usr/lib/libknewstuff2.so.4
#6  0x00007fd70560eb70 in KNS::Entry::preview () from /usr/lib/libknewstuff2.so.4
#7  0x00007fd70563ae2b in ?? () from /usr/lib/libknewstuff2.so.4
#8  0x00007fd702214ff3 in QSortFilterProxyModel::data () from /usr/lib/libQtGui.so.4
#9  0x00007fd70563d42b in ?? () from /usr/lib/libknewstuff2.so.4
#10 0x00007fd7021b23b0 in QListView::paintEvent () from /usr/lib/libQtGui.so.4
#11 0x00007fd701ccb796 in QWidget::event () from /usr/lib/libQtGui.so.4
#12 0x00007fd7020656eb in QFrame::event () from /usr/lib/libQtGui.so.4
#13 0x00007fd70219a59d in QAbstractItemView::viewportEvent () from /usr/lib/libQtGui.so.4
#14 0x00007fd701534a68 in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#15 0x00007fd701c7a80c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#16 0x00007fd701c82a2a in QApplication::notify () from /usr/lib/libQtGui.so.4
#17 0x00007fd70433726b in KApplication::notify () from /usr/lib/libkdeui.so.5
#18 0x00007fd70153575c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#19 0x00007fd701cd2a55 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#20 0x00007fd701e763ae in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007fd701cc4100 in QWidgetPrivate::syncBackingStore () from /usr/lib/libQtGui.so.4
#22 0x00007fd701ccb62d in QWidget::event () from /usr/lib/libQtGui.so.4
#23 0x00007fd701c7a83d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#24 0x00007fd701c82a2a in QApplication::notify () from /usr/lib/libQtGui.so.4
#25 0x00007fd70433726b in KApplication::notify () from /usr/lib/libkdeui.so.5
#26 0x00007fd70153575c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#27 0x00007fd7015363ca in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#28 0x00007fd70155f1e3 in ?? () from /usr/lib/libQtCore.so.4
#29 0x00007fd6fc17120a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0x00007fd6fc1748e0 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0x00007fd6fc174a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0x00007fd70155ee6f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#33 0x00007fd701d12c9f in ?? () from /usr/lib/libQtGui.so.4
#34 0x00007fd701534002 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#35 0x00007fd7015343cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#36 0x00007fd701536694 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#37 0x00007fd705c969bb in kdemain () from /usr/lib/libkdeinit4_plasma.so
#38 0x00007fd7008e25a6 in __libc_start_main () from /lib/libc.so.6
#39 0x00000000004007c9 in _start ()
#0  0x00007fd70096bd21 in nanosleep () from /lib/libc.so.6
Comment 15 Christoph Feck 2009-05-24 20:38:35 UTC
Can you reproduce the crash with KDE 4.3 beta1 ? Does the crash only occur with Plasmas wallpapers/themes, or does calling e.g. "khotnewstuff4 YOUR_KDE4PATH/share/config/icons.knsrc" also crash when no connection?

Thanks for testing.
Comment 16 marco 2009-05-24 21:06:39 UTC
I have recently re-tested this bug in Kde 4.3 Beta1 and also in Trunk20090519
and still crash. Here it the backtrace:



Application: Plasma Workspace (kdeinit), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5e9c700 (LWP 3490))]

Thread 2 (Thread 0xa8973b90 (LWP 3721)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7d46f62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7da66fc in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb7d9bc26 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb7da570e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb7d431b5 in start_thread () from /lib/libpthread.so.0
#6  0xb65633be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5e9c700 (LWP 3490)):
[KCrash Handler]
#6  0xb5a5e2b7 in KNS::KTranslatable::KTranslatable(KNS::KTranslatable const&) () from /usr/lib/libknewstuff2.so.4
#7  0xb5a5fd4e in KNS::Entry::preview() const () from /usr/lib/libknewstuff2.so.4
#8  0xb5a907e0 in ?? () from /usr/lib/libknewstuff2.so.4
#9  0xb6e21b9e in QSortFilterProxyModel::data(QModelIndex const&, int) const () from /usr/lib/libQtGui.so.4
#10 0xb5a93c12 in ?? () from /usr/lib/libknewstuff2.so.4
#11 0xb6dc1c86 in QListView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#12 0xb68910fe in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#13 0xb6c4fa63 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0xb6cefc3f in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#15 0xb6da1a27 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#16 0xb6cf2245 in ?? () from /usr/lib/libQtGui.so.4
#17 0xb7e98cea in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#18 0xb683a67a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#19 0xb6842a82 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0xb735797d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#21 0xb7e99adb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#22 0xb68457ee in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0xb6898e69 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#24 0xb6a567b5 in ?? () from /usr/lib/libQtGui.so.4
#25 0xb6889956 in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#26 0xb6891565 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#27 0xb683a69c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#28 0xb6842a82 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#29 0xb735797d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#30 0xb7e99adb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#31 0xb7e9a725 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#32 0xb7e9a91d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#33 0xb7ec590f in ?? () from /usr/lib/libQtCore.so.4
#34 0xb63e09c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#35 0xb63e4083 in ?? () from /usr/lib/libglib-2.0.so.0
#36 0xb63e4241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#37 0xb7ec5558 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0xb68da975 in ?? () from /usr/lib/libQtGui.so.4
#39 0xb7e980fa in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#40 0xb7e9853a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#41 0xb7e9a9e9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#42 0xb683a517 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#43 0xb48dd630 in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#44 0x0804e270 in _start ()
Comment 17 Christoph Feck 2009-05-25 20:03:22 UTC
SVN commit 972805 by cfeck:

Fix crash in Wallpapers GHNS when no providers are found

The problem was this: If you have an Internet connection, you
can download the list of provided themes, and GHNS caches that.

If you later open that dialog, but have no Internet connection,
then the dialog will show cached entries, but still say "No
providers found", and abort the dialog. After that abort, the
engine is deleted, but the dialog is not closed.

When we later get a paint() event, we crash because the model
for the items has already been deleted.

The fix changes the slot to close the dialog before returning
to the event loop in case the providers were not found, so that
the dialog has a chance to delete the widgets before the engine
is deleted.

BUG: 167473
CCMAIL: jeremy@scitools.com


 M  +1 -1      engine.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=972805