Bug 314507 - Plasma desktop keeps on crashing without any useful backtrace (I used valgrind to obtain a hopefully useful one)
Summary: Plasma desktop keeps on crashing without any useful backtrace (I used valgrin...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: scriptengines (other bugs)
Version First Reported In: 4.10.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-06 12:27 UTC by Vangelis
Modified: 2018-06-08 19:43 UTC (History)
1 user (show)

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


Attachments
Valgring Log of crash (219.20 KB, text/x-log)
2013-02-06 12:28 UTC, Vangelis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vangelis 2013-02-06 12:27:16 UTC
The plasma desktop keeps on crashing on every first login, and "randomly" when I am working on my desktop.

I have a set of plasmoids on a tabbing group with two tabs and only one activity running.
Plasmoid list
2x Folderview (one showing my home directory and one more showing my desktop directory)
1x Scripted image plasmoid (configured to show the weather from yr.no as described in this link: http://hanschen.org/2009/07/30/plasma-a-nice-weather-plasmoid-in-4-easy-steps/)
1x CWP (weather)
2x Notes
1x Timer
1x Mykosmos (http://kde-apps.org/content/show.php/mykosmos+plasmoid?content=111594)

Some more plasmoids on my taskbar:
Application Launcher
Color Picker
Digital Clock
Icon-only Task Manager
Lock/Logout
Pager
Quick Access
Quick Launch
System Tray
Trashcan

Reproducible: Sometimes

Steps to Reproduce:
I do not have any clear signs to know how exactly to reproduce the crash...
Actual Results:  
plasma-desktop crashes without any useful backtrace.
I have the debug packages installed in Kubuntu 12.10.

Expected Results:  
Of course, not crash.
Comment 1 Vangelis 2013-02-06 12:28:08 UTC
Created attachment 76941 [details]
Valgring Log of crash
Comment 2 Christoph Feck 2013-02-06 21:22:18 UTC
The crash from the log you added is caused by a Python-based third-party widget. Please try removing them in turn to find out which one is the culprit.
Comment 3 Vangelis 2013-02-06 22:47:08 UTC
(In reply to comment #2)
> The crash from the log you added is caused by a Python-based third-party
> widget. Please try removing them in turn to find out which one is the
> culprit.

I removed mykosmos plasmoid which is python-based and it looks like crashes have gone.
I will test it for some more time and report back if I still get any problems.
Comment 4 Vangelis 2013-02-07 10:31:25 UTC
Still some random crashes but not so often :(

This is the non useful backtrace as reported from time to time, but now it's harder to get a possibly useful one with valgrind because it's not crashing so often and when I run plasma-desktop with valgrind is so slow. I will still try and hope I am lucky.

Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0fecedc7c0 (LWP 3185))]

Thread 7 (Thread 0x7f0fc62df700 (LWP 3225)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0fe640fcd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f0fe640fd09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f0fddcf6764 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#4  0x00007f0fe0abde9a in start_thread (arg=0x7f0fc62df700) at pthread_create.c:308
#5  0x00007f0fec7cbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f0fc207f700 (LWP 3290)):
#0  0x00007f0fec7c0303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0fe03bed84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0fe03beea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0fe93b8c16 in QEventDispatcherGlib::processEvents (this=0x7f0fbc0008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f0fe93892bf in QEventLoop::processEvents (this=this@entry=0x7f0fc207ecd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0fe9389548 in QEventLoop::exec (this=0x7f0fc207ecd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f0fe928ab10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f0fe93699af in QInotifyFileSystemWatcherEngine::run (this=0x3773920) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f0fe928daec in QThreadPrivate::start (arg=0x3773920) at thread/qthread_unix.cpp:338
#9  0x00007f0fddcf6764 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#10 0x00007f0fe0abde9a in start_thread (arg=0x7f0fc207f700) at pthread_create.c:308
#11 0x00007f0fec7cbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f0fb9b41700 (LWP 3297)):
#0  0x00007f0fec7c0303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0fe03bed84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0fe03bf1e2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0fba62e4a6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f0fe03e2645 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0fddcf6764 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#6  0x00007f0fe0abde9a in start_thread (arg=0x7f0fb9b41700) at pthread_create.c:308
#7  0x00007f0fec7cbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f0fabfff700 (LWP 3301)):
#0  0x00007f0fec7c0303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0fe03bed84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0fe03beea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0fe93b8c16 in QEventDispatcherGlib::processEvents (this=0x7f0fa40008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f0fe93892bf in QEventLoop::processEvents (this=this@entry=0x7f0fabffecd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0fe9389548 in QEventLoop::exec (this=0x7f0fabffecd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f0fe928ab10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f0fe93699af in QInotifyFileSystemWatcherEngine::run (this=0x3e929d0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f0fe928daec in QThreadPrivate::start (arg=0x3e929d0) at thread/qthread_unix.cpp:338
#9  0x00007f0fddcf6764 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#10 0x00007f0fe0abde9a in start_thread (arg=0x7f0fabfff700) at pthread_create.c:308
#11 0x00007f0fec7cbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f0fab7fe700 (LWP 3304)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0fe787db2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f0fe787dc39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f0fddcf6764 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#4  0x00007f0fe0abde9a in start_thread (arg=0x7f0fab7fe700) at pthread_create.c:308
#5  0x00007f0fec7cbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0faaffd700 (LWP 3307)):
#0  0x00007f0fec7c0303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0fe03bed84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0fe03beea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0fe93b8c16 in QEventDispatcherGlib::processEvents (this=0x7f0f9c0008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f0fe93892bf in QEventLoop::processEvents (this=this@entry=0x7f0faaffcd00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0fe9389548 in QEventLoop::exec (this=0x7f0faaffcd00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f0fe928ab10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f0fe928daec in QThreadPrivate::start (arg=0x3da4c50) at thread/qthread_unix.cpp:338
#8  0x00007f0fddcf6764 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#9  0x00007f0fe0abde9a in start_thread (arg=0x7f0faaffd700) at pthread_create.c:308
#10 0x00007f0fec7cbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0fecedc7c0 (LWP 3185)):
[KCrash Handler]
#6  0x00007f0ed3c27030 in ?? ()
#7  0x00007f0f4e7dc15d in ?? ()
#8  0x0000000000000000 in ?? ()
Comment 5 Nate Graham 2018-06-08 19:43:24 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug is already resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham