Summary: | Non-existant background file crashes plasma | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Drew Laughlin <laughlin.drew> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kde, majewsky, Regnaron, vivymarcy |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Crash when enter a non-existant filename for wallpaper |
Description
Drew Laughlin
2008-01-30 02:39:17 UTC
Created attachment 23366 [details]
Crash when enter a non-existant filename for wallpaper
I can confirm that trunk r767568 crashes when I enter a non-existant file in
the "Select Wallpaper Image File" filedialog. Plasma crashes right after
choosing Open, I haven't clicked Apply or OK.
I can confirm this bug with kdebase r769736. Reading an empty image seems to trigger some division by zero or something the like in renderthread.cpp. My backtrace for this crash (patched with the patch from bug #157105) is: Application: Plasma Workspace (plasma), signal SIGABRT Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 0xb628b6e0 (LWP 6469)] [New Thread 0xb3020b90 (LWP 6684)] [New Thread 0xb3821b90 (LWP 6683)] [New Thread 0xb4022b90 (LWP 6603)] [New Thread 0xb4b30b90 (LWP 6472)] [KCrash handler] #6 0xffffe410 in __kernel_vsyscall () #7 0xb65311f1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #8 0xb65329b8 in *__GI_abort () at abort.c:88 #9 0xb7320265 in qt_message_output (msgType=QtFatalMsg, buf=0xb402018c "Oh, oh. We may earn a dif-by-zero here! width=0 height=0 ratio=0.125") at global/qglobal.cpp:2160 #10 0xb732032a in qFatal ( msg=0x8533570 "Oh, oh. We may earn a dif-by-zero here! width=0 height=0 ratio=0.125") at global/qglobal.cpp:2392 #11 0xb4d6fa0a in RenderThread::run (this=0x83388a4) at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/workspace/plasma/containments/desktop/renderthread.cpp:132 #12 0xb73285de in QThreadPrivate::start (arg=0x83388a4) at thread/qthread_unix.cpp:179 #13 0xb72dc18b in start_thread (arg=0xb4022b90) at pthread_create.c:296 #14 0xb65c935e in clone () from /lib/libc.so.6 Thread 3 (Thread 0xb3821b90 (LWP 6683)): #0 0xffffe410 in __kernel_vsyscall () #1 0xb72e0586 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb73290e0 in QWaitCondition::wait (this=0x8301c90, mutex=0x8204278, time=4294967295) at thread/qwaitcondition_unix.cpp:267 #3 0xb4c7212e in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8301c78, th=0x82d2d50) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/threadweaver/Weaver/WeaverImpl.cpp:365 #4 0xb4c76d2c in ThreadWeaver::WorkingHardState::waitForAvailableJob ( this=0x8205cc8, th=0x82d2d50) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/threadweaver/Weaver/WorkingHardState.cpp:80 #5 0xb4c7176b in ThreadWeaver::WeaverImpl::waitForAvailableJob ( this=0x8301c78, th=0x82d2d50) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/threadweaver/Weaver/WeaverImpl.cpp:356 #6 0xb4c76e46 in ThreadWeaver::WorkingHardState::applyForWork ( this=0x8205cc8, th=0x82d2d50) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/threadweaver/Weaver/WorkingHardState.cpp:71 #7 0xb4c72371 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8301c78, th=0x82d2d50, previous=0x83690a0) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/threadweaver/Weaver/WeaverImpl.cpp:351 #8 0xb4c74eec in ThreadWeaver::ThreadRunHelper::run (this=0xb3821350, parent=0x8301c78, th=0x82d2d50) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/threadweaver/Weaver/Thread.cpp:87 #9 0xb4c7503f in ThreadWeaver::Thread::run (this=0x82d2d50) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/threadweaver/Weaver/Thread.cpp:142 #10 0xb73285de in QThreadPrivate::start (arg=0x82d2d50) at thread/qthread_unix.cpp:179 #11 0xb72dc18b in start_thread (arg=0xb3821b90) at pthread_create.c:296 #12 0xb65c935e in clone () from /lib/libc.so.6 Thread 2 (Thread 0xb3020b90 (LWP 6684)): #0 0xffffe410 in __kernel_vsyscall () #1 0xb72e0586 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb73290e0 in QWaitCondition::wait (this=0x8301c90, mutex=0x8204278, time=4294967295) at thread/qwaitcondition_unix.cpp:267 #3 0xb4c7212e in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8301c78, th=0x8408048) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/threadweaver/Weaver/WeaverImpl.cpp:365 #4 0xb4c76d2c in ThreadWeaver::WorkingHardState::waitForAvailableJob ( this=0x8205cc8, th=0x8408048) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/threadweaver/Weaver/WorkingHardState.cpp:80 #5 0xb4c7176b in ThreadWeaver::WeaverImpl::waitForAvailableJob ( this=0x8301c78, th=0x8408048) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/threadweaver/Weaver/WeaverImpl.cpp:356 #6 0xb4c76e46 in ThreadWeaver::WorkingHardState::applyForWork ( this=0x8205cc8, th=0x8408048) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/threadweaver/Weaver/WorkingHardState.cpp:71 #7 0xb4c72371 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8301c78, th=0x8408048, previous=0x82d7050) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/threadweaver/Weaver/WeaverImpl.cpp:351 #8 0xb4c74eec in ThreadWeaver::ThreadRunHelper::run (this=0xb3020350, parent=0x8301c78, th=0x8408048) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/threadweaver/Weaver/Thread.cpp:87 #9 0xb4c7503f in ThreadWeaver::Thread::run (this=0x8408048) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/threadweaver/Weaver/Thread.cpp:142 #10 0xb73285de in QThreadPrivate::start (arg=0x8408048) at thread/qthread_unix.cpp:179 #11 0xb72dc18b in start_thread (arg=0xb3020b90) at pthread_create.c:296 #12 0xb65c935e in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb628b6e0 (LWP 6469)): #0 0xb63d904a in *__GI_clock_gettime (clock_id=1, tp=0xbff33f18) at ../sysdeps/unix/clock_gettime.c:101 #1 0xb741a4b2 in QTimerInfoList::getTime (this=0x807520c, t=@0x8075230) at kernel/qeventdispatcher_unix.cpp:346 #2 0xb741a571 in QTimerInfoList::updateCurrentTime (this=0x807520c) at kernel/qeventdispatcher_unix.cpp:290 #3 0xb741bcf3 in QTimerInfoList::activateTimers (this=0x807520c) at kernel/qeventdispatcher_unix.cpp:513 #4 0xb741bfd1 in QEventDispatcherUNIX::activateTimers (this=0x8073de8) at kernel/qeventdispatcher_unix.cpp:828 #5 0xb741c9ab in QEventDispatcherUNIX::processEvents (this=0x8073de8, flags=@0xbff34128) at kernel/qeventdispatcher_unix.cpp:890 #6 0xb6b1dcce in QEventDispatcherX11::processEvents (this=0x8073de8, flags=@0xbff34154) at kernel/qeventdispatcher_x11.cpp:145 #7 0xb73f2191 in QEventLoop::processEvents (this=0xbff341c0, flags=@0xbff34188) at kernel/qeventloop.cpp:140 #8 0xb73f229a in QEventLoop::exec (this=0xbff341c0, flags=@0xbff341c8) at kernel/qeventloop.cpp:186 #9 0xb73f4626 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:759 #10 0xb6a93487 in QApplication::exec () at kernel/qapplication.cpp:3053 #11 0xb7f69d54 in kdemain (argc=1, argv=0xbff343c4) at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/workspace/plasma/plasma/main.cpp:54 #12 0x080487e2 in main (argc=15628, argv=0x1de77ee6) at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase_build/workspace/plasma/plasma/plasma-qgv_dummy.cpp:3 #13 0xb651dfdc in __libc_start_main (main=0x80487c0 <main>, argc=1, ubp_av=0xbff343c4, init=0x8048810 <__libc_csu_init>, fini=0x8048800 <__libc_csu_fini>, rtld_fini=0xb7f84100 <_dl_fini>, stack_end=0xbff343bc) at libc-start.c:229 #14 0x08048731 in _start () 0xb63d904a 101 in ../sysdeps/unix/clock_gettime.c This is fixed now with r769787 in trunk and r769788 in the 4.0-branch. Seems we missed the 4.0.1-tagging just some days what means, it will be part of 4.0.2. Thank you all three for the feedback! :-) *** Bug 157105 has been marked as a duplicate of this bug. *** *** Bug 156802 has been marked as a duplicate of this bug. *** *** Bug 158382 has been marked as a duplicate of this bug. *** *** Bug 158579 has been marked as a duplicate of this bug. *** there's a workaround to this issue? i have to stay away from my house for some days... For people who cannot update yet their KDE 4: the configuration line for the desktop wallpaper is in the file $KDEHOME/share/config/plasma-appletsrc and in that file you look for wallpaper= and you delete that line. |