Bug 375049 - plasma crash while selection new widget
Summary: plasma crash while selection new widget
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kpackage
Classification: Frameworks and Libraries
Component: default (show other bugs)
Version: 5.26.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-01-14 17:13 UTC by Martin Koller
Modified: 2017-12-17 11:02 UTC (History)
4 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 Martin Koller 2017-01-14 17:13:20 UTC
Application: plasmashell (5.8.3)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.9.1-1.g1072b39-vanilla x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
- What I was doing when the application crashed:

I wanted to modify the systemloadviewer code, copied it to my $HOME, just commented a block, installed it via plasmapkg2 -i .
Then I wanted to add it again, opened the "add new widget" dialog thingy and could not select it (greyed out). If iltered on "load" and tried to add another widget - the "CPU load monitor". When clicking/double clicking on it, plasma crashed

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdf8f07f900 (LWP 12940))]

Thread 11 (Thread 0x7fdea5721700 (LWP 4773)):
#0  0x00007fdf887b251d in read () at /lib64/libc.so.6
#1  0x00007fdf7ddac931 in pa_read () at /usr/lib64/pulseaudio/libpulsecommon-9.0.so
#2  0x00007fdf7e4353be in pa_mainloop_prepare () at /usr/lib64/libpulse.so.0
#3  0x00007fdf7e435dd2 in pa_mainloop_iterate () at /usr/lib64/libpulse.so.0
#4  0x00007fdf7e435e90 in pa_mainloop_run () at /usr/lib64/libpulse.so.0
#5  0x00007fdf7e444006 in  () at /usr/lib64/libpulse.so.0
#6  0x00007fdf7dddb408 in  () at /usr/lib64/pulseaudio/libpulsecommon-9.0.so
#7  0x00007fdf87fbf734 in start_thread () at /lib64/libpthread.so.0
#8  0x00007fdf887bed3d in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7fdeb17be700 (LWP 4772)):
#0  0x00007fdf887b649d in poll () at /lib64/libc.so.6
#1  0x00007fdf84e7e314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fdf84e7e42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fdf890c232b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fdeac0106f0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007fdf8906ffdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fdeb17bdcb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fdf88eaaf1a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:500
#6  0x00007fdf8c1b69b8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007fdf88eaf9e9 in QThreadPrivate::start(void*) (arg=0x641ed40) at thread/qthread_unix.cpp:341
#8  0x00007fdf87fbf734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fdf887bed3d in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7fdebf0a1700 (LWP 13325)):
#0  0x00007fdf84e7dc10 in g_main_context_query () at /usr/lib64/libglib-2.0.so.0
#1  0x00007fdf84e7e27f in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fdf84e7e42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fdf890c232b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fdeb80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007fdf8906ffdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fdebf0a0c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fdf88eaaf1a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:500
#6  0x00007fdec04c98f7 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#7  0x00007fdf88eaf9e9 in QThreadPrivate::start(void*) (arg=0x4dc1520) at thread/qthread_unix.cpp:341
#8  0x00007fdf87fbf734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fdf887bed3d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7fded1204700 (LWP 13172)):
#0  0x00007fdf84e7d4c7 in g_main_context_release () at /usr/lib64/libglib-2.0.so.0
#1  0x00007fdf84e7e2be in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fdf84e7e42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fdf890c232b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fdecc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007fdf8906ffdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fded1203c70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fdf88eaaf1a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:500
#6  0x00007fdf8cd39632 in  () at /usr/lib64/libQt5Quick.so.5
#7  0x00007fdf88eaf9e9 in QThreadPrivate::start(void*) (arg=0x1e303f0) at thread/qthread_unix.cpp:341
#8  0x00007fdf87fbf734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fdf887bed3d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7fdf5739e700 (LWP 13074)):
#0  0x00007fdf87fc40af in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fdf8e77893b in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007fdf8e778969 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007fdf87fbf734 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fdf887bed3d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7fdf6512f700 (LWP 13014)):
#0  0x00007fdf887b649d in poll () at /lib64/libc.so.6
#1  0x00007fdf84e7e314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fdf84e7e42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fdf890c232b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fdf5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007fdf8906ffdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fdf6512ecd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fdf88eaaf1a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:500
#6  0x00007fdf88eaf9e9 in QThreadPrivate::start(void*) (arg=0x1796fc0) at thread/qthread_unix.cpp:341
#7  0x00007fdf87fbf734 in start_thread () at /lib64/libpthread.so.0
#8  0x00007fdf887bed3d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fdf66bb5700 (LWP 13012)):
#0  0x00007fdf887cb18f in __libc_enable_asynccancel () at /lib64/libc.so.6
#1  0x00007fdf887b2512 in read () at /lib64/libc.so.6
#2  0x00007fdf84ebe670 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fdf84e7de49 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fdf84e7e2a8 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fdf84e7e42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#6  0x00007fdf890c232b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fdf580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#7  0x00007fdf8906ffdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fdf66bb4cb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007fdf88eaaf1a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:500
#9  0x00007fdf8c1b69b8 in  () at /usr/lib64/libQt5Qml.so.5
#10 0x00007fdf88eaf9e9 in QThreadPrivate::start(void*) (arg=0x15ad0c0) at thread/qthread_unix.cpp:341
#11 0x00007fdf87fbf734 in start_thread () at /lib64/libpthread.so.0
#12 0x00007fdf887bed3d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fdf67fff700 (LWP 12985)):
#0  0x00007fdf84ebf7e0 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007fdf84e7e2be in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fdf84e7e42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fdf890c232b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fdf600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007fdf8906ffdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fdf67ffecb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fdf88eaaf1a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:500
#6  0x00007fdf8c1b69b8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007fdf88eaf9e9 in QThreadPrivate::start(void*) (arg=0x14a9a10) at thread/qthread_unix.cpp:341
#8  0x00007fdf87fbf734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fdf887bed3d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fdf6e183700 (LWP 12967)):
#0  0x00007fdf887b649d in poll () at /lib64/libc.so.6
#1  0x00007fdf84e7e314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fdf84e7e42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fdf890c232b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fdf680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007fdf8906ffdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fdf6e182ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fdf88eaaf1a in QThread::exec() (this=this@entry=0x7fdf89e93ce0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#6  0x00007fdf89c2b1d5 in QDBusConnectionManager::run() (this=0x7fdf89e93ce0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:189
#7  0x00007fdf88eaf9e9 in QThreadPrivate::start(void*) (arg=0x7fdf89e93ce0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341
#8  0x00007fdf87fbf734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fdf887bed3d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fdf785c6700 (LWP 12956)):
#0  0x00007fdf887b649d in poll () at /lib64/libc.so.6
#1  0x00007fdf8d6ef3c2 in _xcb_conn_wait () at /usr/lib64/libxcb.so.1
#2  0x00007fdf8d6f110f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007fdf7a924839 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fdf88eaf9e9 in QThreadPrivate::start(void*) (arg=0x13b44a0) at thread/qthread_unix.cpp:341
#5  0x00007fdf87fbf734 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fdf887bed3d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fdf8f07f900 (LWP 12940)):
[KCrash Handler]
#6  0x00007fdf88f3c70b in operator==(QString const&, QString const&) (s1=..., s2=...) at tools/qstring.cpp:2686
#7  0x00007fdf8ca0cae7 in KPackage::Package::setPath(QString const&) () at /usr/lib64/libKF5Package.so.5
#8  0x00007fdf8ca186c0 in  () at /usr/lib64/libKF5Package.so.5
#9  0x00007fdf8909d166 in QObject::event(QEvent*) (this=0x798cbf0, e=<optimized out>) at kernel/qobject.cpp:1256
#10 0x00007fdf89ff9e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#11 0x00007fdf89ffe49a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#12 0x00007fdf89071fc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x798cbf0, event=event@entry=0x69f36e0) at kernel/qcoreapplication.cpp:1015
#13 0x00007fdf89073daa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x69f36e0, receiver=<optimized out>) at kernel/qcoreapplication.h:225
#14 0x00007fdf89073daa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x13920b0) at kernel/qcoreapplication.cpp:1650
#15 0x00007fdf89074358 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1508
#16 0x00007fdf890c2c83 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x13cb070) at kernel/qeventdispatcher_glib.cpp:270
#17 0x00007fdf84e7e134 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#18 0x00007fdf84e7e388 in  () at /usr/lib64/libglib-2.0.so.0
#19 0x00007fdf84e7e42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#20 0x00007fdf890c230c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x13f31c0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#21 0x00007fdf8906ffdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffee5244db0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#22 0x00007fdf89077ec6 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1285
#23 0x000000000041eacf in main(int, char**) (argc=2, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.8.3/shell/main.cpp:166

Reported using DrKonqi
Comment 1 Marco Martin 2017-01-17 10:25:14 UTC
did yoou change the plugin name for your modified widget?
Comment 2 Martin Koller 2017-01-17 15:44:09 UTC
You mean this one ?
X-KDE-PluginInfo-Name=org.kde.plasma.systemloadviewer_martin
Comment 3 Marco Martin 2017-03-17 14:34:14 UTC
(In reply to Martin Koller from comment #2)
> You mean this one ?
> X-KDE-PluginInfo-Name=org.kde.plasma.systemloadviewer_martin

does it match with the folder name?
Comment 4 Martin Koller 2017-03-17 15:27:41 UTC
$HOME/.local/share/plasma/plasmoids/org.kde.plasma.systemloadviewer_martin
Comment 5 Martin Koller 2017-12-17 11:02:19 UTC
Since I already have my own desktop shell, liquidshell, I don't care any longer.