Bug 233740 - Plasma Desktop crashes when starting Eclipse
Summary: Plasma Desktop crashes when starting Eclipse
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: 4.5 and older
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 234890 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-08 15:40 UTC by Radu Solomon
Modified: 2012-06-03 18:59 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Radu Solomon 2010-04-08 15:40:00 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-19-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
Runnin eclipse resulted in plasma desktop crashing and the following error was shown in the terminal

The program 'Eclipse' received an X Window System error.
This probably reflects a bug in the program.
The error was 'RenderBadPicture (invalid Picture parameter)'.
  (Details: serial 18478 error_code 158 request_code 148 minor_code 7)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

 -- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f29b9cca760 (LWP 16114))]

Thread 7 (Thread 0x7f299563b710 (LWP 16115)):
#0  0x00007f29b36ad499 in g_thread_self () from /lib/libglib-2.0.so.0
#1  0x00007f29b36867f0 in g_main_context_acquire () from /lib/libglib-2.0.so.0
#2  0x00007f29b3688295 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f29b36888fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f29b82c9566 in QEventDispatcherGlib::processEvents (this=0x7f29900008b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f29b829e992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f29b829ed6c in QEventLoop::exec (this=0x7f299563adb0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f29b81a8d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f29b827f178 in QInotifyFileSystemWatcherEngine::run (this=0x1e25bb0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f29b81ab775 in QThreadPrivate::start (arg=0x1e25bb0) at thread/qthread_unix.cpp:248
#10 0x00007f29b7f1b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f29b6cce6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f298eb39710 (LWP 16117)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f29acd812a6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f29ad05f220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f29acd812e9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f29ad06d2ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f29b7f1b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f29b6cce6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f2983130710 (LWP 21850)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f29b81ac72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1f985f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1f985f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f29af149026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1f97220, th=0x2914eb0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f29af14b6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f986d0, th=0x2914eb0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f29af14b6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f986d0, th=0x2914eb0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f29af149bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f298312fe00, parent=0x1f97220, th=0x2914eb0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f29af14a168 in ThreadWeaver::Thread::run (this=0x2914eb0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f29b81ab775 in QThreadPrivate::start (arg=0x2914eb0) at thread/qthread_unix.cpp:248
#9  0x00007f29b7f1b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f29b6cce6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2983b37710 (LWP 21851)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f29b81ac72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1f985f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1f985f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f29af149026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1f97220, th=0x2902000) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f29af14b6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f986d0, th=0x2902000) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f29af149bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f2983b36e00, parent=0x1f97220, th=0x2902000) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f29af14a168 in ThreadWeaver::Thread::run (this=0x2902000) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f29b81ab775 in QThreadPrivate::start (arg=0x2902000) at thread/qthread_unix.cpp:248
#8  0x00007f29b7f1b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f29b6cce6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2981cf4710 (LWP 21852)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f29b81ac72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1f985f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1f985f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f29af149026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1f97220, th=0x28f14c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f29af14b6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f986d0, th=0x28f14c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f29af149bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f2981cf3e00, parent=0x1f97220, th=0x28f14c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f29af14a168 in ThreadWeaver::Thread::run (this=0x28f14c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f29b81ab775 in QThreadPrivate::start (arg=0x28f14c0) at thread/qthread_unix.cpp:248
#8  0x00007f29b7f1b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f29b6cce6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f29814f3710 (LWP 21853)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f29b81ac72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1f985f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1f985f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f29af149026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1f97220, th=0x20d5720) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f29af14b6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f986d0, th=0x20d5720) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f29af149bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f29814f2e00, parent=0x1f97220, th=0x20d5720) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f29af14a168 in ThreadWeaver::Thread::run (this=0x20d5720) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f29b81ab775 in QThreadPrivate::start (arg=0x20d5720) at thread/qthread_unix.cpp:248
#8  0x00007f29b7f1b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f29b6cce6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f29b9cca760 (LWP 16114)):
[KCrash Handler]
#5  TaskManager::Task::icon (this=0x0, width=32, height=32, allowResize=true) at ../../../libs/taskmanager/task.cpp:406
#6  0x00007f2999112869 in ?? () from /usr/lib/kde4/plasma_applet_daisy.so
#7  0x00007f2999119ff7 in ?? () from /usr/lib/kde4/plasma_applet_daisy.so
#8  0x00007f29b82b2e3f in QMetaObject::activate (sender=0x1a91fe0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x20) at kernel/qobject.cpp:3293
#9  0x00007f29b891f3bb in KWindowSystem::windowChanged (this=0x7fffdf3af7e0, _t1=90177539, _t2=0x7fffdf3afbc0) at ./kwindowsystem.moc:178
#10 0x00007f29b8922471 in KWindowSystemPrivate::x11Event (this=0x1acd460, ev=0x7fffdf3b0380) at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:180
#11 0x00007f29b87e6d06 in KAppX11HackWidget::publicx11Event (this=<value optimized out>, _event=0x7fffdf3b0380) at ../../kdeui/kernel/kapplication.cpp:903
#12 KApplication::x11EventFilter (this=<value optimized out>, _event=0x7fffdf3b0380) at ../../kdeui/kernel/kapplication.cpp:953
#13 0x00007f29ad2f7a17 in PlasmaApp::x11EventFilter (this=0x177ab50, event=0x7fffdf3b0380) at ../../../../plasma/desktop/shell/plasmaapp.cpp:600
#14 0x00007f29b74b1641 in qt_x11EventFilter (ev=0x7fffdf3b0380) at kernel/qapplication_x11.cpp:399
#15 0x00007f29b74c0191 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffdf3b0380) at kernel/qapplication_x11.cpp:3231
#16 0x00007f29b74ec732 in x11EventSourceDispatch (s=0x17946f0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#17 0x00007f29b36848c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#18 0x00007f29b3688748 in ?? () from /lib/libglib-2.0.so.0
#19 0x00007f29b36888fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#20 0x00007f29b82c9513 in QEventDispatcherGlib::processEvents (this=0x170bda0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#21 0x00007f29b74ec31e in QGuiEventDispatcherGlib::processEvents (this=0x7fffdf3af7e0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007f29b829e992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#23 0x00007f29b829ed6c in QEventLoop::exec (this=0x7fffdf3b06b0, flags=) at kernel/qeventloop.cpp:201
#24 0x00007f29b82a2aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#25 0x00007f29ad2e6102 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/desktop/shell/main.cpp:112
#26 0x00000000004070f3 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a4f9 "0") at ../../kinit/kinit.cpp:717
#27 0x0000000000407cb0 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#28 0x000000000040823a in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402
#29 0x0000000000408e22 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1845

Possible duplicates by query: bug 233030, bug 232927, bug 230709, bug 230180, bug 229932.

Reported using DrKonqi
Comment 1 Dario Andres 2010-04-08 18:37:39 UTC
The error is related to the Daisy widget.

#5  TaskManager::Task::icon (this=0x0, width=32, height=32, allowResize=true)
at ../../../libs/taskmanager/task.cpp:406
#6  0x00007f2999112869 in ?? () from /usr/lib/kde4/plasma_applet_daisy.so

- Was it recompiled/updated after the update to KDE SC 4.4.2 ?

Regards
Comment 2 Beat Wolf 2010-04-27 10:09:28 UTC
*** Bug 234890 has been marked as a duplicate of this bug. ***
Comment 3 Beat Wolf 2010-04-27 10:10:33 UTC
Info from the other bugreport:

Also just to give complete info:

I am using plasma-widget-daisy version 0.0.4.22a-0ubuntu2 and it was not
manually compiled or anything just installed/upgraded using synaptic.
Comment 4 Thomas Keller 2010-08-09 11:22:20 UTC
I'm experiencing exactly the same issue ("RenderBadPicture (invalid Picture parameter)"), but unfortunately I can't debug since eclipse segfaults before it even fully loaded its UI. This is openSUSE 11.3 with KDE 4.4.4 and eclipse 3.6 (Helios). I have no extra plasma widgets installed:

$ rpm -qa | grep plasma
plasma-theme-oxygen-4.4.4-2.4.i586
plasma-theme-aya-4.4.4-1.4.noarch
plasma-addons-4.4.4-1.3.i586
Comment 5 Thomas Keller 2010-08-09 11:23:51 UTC
(In reply to comment #4)
> I'm experiencing exactly the same issue ("RenderBadPicture (invalid Picture
> parameter)"), but unfortunately I can't debug since eclipse segfaults 

segfauls in gdb, that is, i.e. I also experience segfaults when using the autocompleter when eclipse is not run under gdb.
Comment 6 Thomas Keller 2010-08-09 11:34:07 UTC
Ok, the issue boils down to be Mozilla-specific

https://bugs.eclipse.org/bugs/show_bug.cgi?id=303372
https://bugzilla.mozilla.org/show_bug.cgi?id=522635#c21

so probably not a KDE bug at all. I could fix it by removing a stale mozilla-xulrunner package on my system. Sorry for the noise.
Comment 7 Myriam Schweingruber 2012-06-03 18:59:07 UTC
Closing based on comments #1 and 3