Bug 375269 - Widget to share files make whole desktop crash
Summary: Widget to share files make whole desktop crash
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-purpose
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
: 388157 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-01-18 23:50 UTC by aldobelus
Modified: 2021-01-16 04:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aldobelus 2017-01-18 23:50:00 UTC
Application: plasmashell (5.8.5)

Qt Version: 5.7.1
Frameworks Version: 5.29.0
Operating System: Linux 4.9.0-2-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I was playing with the share plasmoid, seeing how works, and the whole desktop, al least the panel that has desappeared, crashed. Later it has happened again trying to make work the same widget but when I tried to send nothing to a contact.

The crash can be reproduced sometimes.

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

Thread 11 (Thread 0x7f2592155700 (LWP 9196)):
#0  0x00007f266e02a66d in poll () from /lib64/libc.so.6
#1  0x00007f26690be876 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f26690bec02 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f25a74f9236 in ?? () from /usr/lib64/libgio-2.0.so.0
#4  0x00007f26690e61c5 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f266d82c454 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f266e03337f in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f2593c17700 (LWP 9195)):
#0  0x00007f2669103ec4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f26690be82a in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f26690be98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f26690be9d1 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f26690e61c5 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f266d82c454 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f266e03337f in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f259886e700 (LWP 6593)):
#0  0x00007f266e02a66d in poll () from /lib64/libc.so.6
#1  0x00007f26636d2be1 in ?? () from /usr/lib64/libpulse.so.0
#2  0x00007f26636c43b1 in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x00007f26636c4a4e in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00007f26636c4b00 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x00007f26636d2b29 in ?? () from /usr/lib64/libpulse.so.0
#6  0x00007f26629371e8 in ?? () from /usr/lib64/pulseaudio/libpulsecommon-9.0.so
#7  0x00007f266d82c454 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f266e03337f in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f259a9d9700 (LWP 6098)):
#0  0x00007f2669103ec4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f26690be261 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f26690be814 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f26690be98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f266e94a18b in QEventDispatcherGlib::processEvents (this=0x7f2594003510, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f266e8f3aea in QEventLoop::exec (this=this@entry=0x7f259a9d8ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f266e721813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007f2671a4d305 in ?? () from /usr/lib64/libQt5Qml.so.5
#8  0x00007f266e7264c8 in QThreadPrivate::start (arg=0x6ca1b80) at thread/qthread_unix.cpp:368
#9  0x00007f266d82c454 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f266e03337f in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f25adbf8700 (LWP 1916)):
#0  0x00007f26690be250 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f26690be814 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f26690be98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f266e94a18b in QEventDispatcherGlib::processEvents (this=0x7f25a80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f266e8f3aea in QEventLoop::exec (this=this@entry=0x7f25adbf7d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f266e721813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f266e7264c8 in QThreadPrivate::start (arg=0x5f44ce0) at thread/qthread_unix.cpp:368
#7  0x00007f266d82c454 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f266e03337f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f25bb167700 (LWP 1843)):
#0  0x00007f266e0266dd in read () from /lib64/libc.so.6
#1  0x00007f2669102b00 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f26690be325 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f26690be814 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f26690be98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f266e94a18b in QEventDispatcherGlib::processEvents (this=0x7f25b40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f266e8f3aea in QEventLoop::exec (this=this@entry=0x7f25bb166c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f266e721813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#8  0x00007f26725dc2d6 in ?? () from /usr/lib64/libQt5Quick.so.5
#9  0x00007f266e7264c8 in QThreadPrivate::start (arg=0x1cd6080) at thread/qthread_unix.cpp:368
#10 0x00007f266d82c454 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f266e03337f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f264a5a8700 (LWP 1826)):
#0  0x00007f266d83210f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f267406d974 in ?? () from /usr/lib64/libQt5Script.so.5
#2  0x00007f267406d9b9 in ?? () from /usr/lib64/libQt5Script.so.5
#3  0x00007f266d82c454 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f266e03337f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f264bfff700 (LWP 1800)):
#0  0x00007f2669103ec4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f26690bdd6c in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f26690be79b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f26690be98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f266e94a18b in QEventDispatcherGlib::processEvents (this=0x7f26440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f266e8f3aea in QEventLoop::exec (this=this@entry=0x7f264bffece0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f266e721813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007f2671a4d305 in ?? () from /usr/lib64/libQt5Qml.so.5
#8  0x00007f266e7264c8 in QThreadPrivate::start (arg=0x1d05bf0) at thread/qthread_unix.cpp:368
#9  0x00007f266d82c454 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f266e03337f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f2651fc4700 (LWP 1701)):
#0  0x00007f2669103ea9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f26690be832 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f26690be98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f266e94a18b in QEventDispatcherGlib::processEvents (this=0x7f264c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f266e8f3aea in QEventLoop::exec (this=this@entry=0x7f2651fc3ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f266e721813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f2671a4d305 in ?? () from /usr/lib64/libQt5Qml.so.5
#7  0x00007f266e7264c8 in QThreadPrivate::start (arg=0x1c9b3b0) at thread/qthread_unix.cpp:368
#8  0x00007f266d82c454 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f266e03337f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f266192a700 (LWP 1577)):
#0  0x00007f266e02a66d in poll () from /lib64/libc.so.6
#1  0x00007f26690be876 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f26690be98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f266e94a18b in QEventDispatcherGlib::processEvents (this=0x7f265c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f266e8f3aea in QEventLoop::exec (this=this@entry=0x7f2661929cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f266e721813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f266ed5c385 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f266e7264c8 in QThreadPrivate::start (arg=0x7f266efcdd20) at thread/qthread_unix.cpp:368
#8  0x00007f266d82c454 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f266e03337f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f26749968c0 (LWP 1562)):
[KCrash Handler]
#6  Purpose::ProcessJob::processStateChanged (this=0x8380330, state=<optimized out>) at /usr/src/debug/purpose-1.1/src/externalprocess/processjob.cpp:134
#7  0x00007f266e921a7e in QtPrivate::QSlotObjectBase::call (a=0x7ffd19948c00, r=0x8380330, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:101
#8  QMetaObject::activate (sender=0x60a07f0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7ffd19948c00) at kernel/qobject.cpp:3723
#9  0x00007f266e922027 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f266ed37200 <QProcess::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7ffd19948c00) at kernel/qobject.cpp:3602
#10 0x00007f266e827c61 in QProcess::stateChanged (this=<optimized out>, _t1=<optimized out>, _t1@entry=QProcess::NotRunning) at .moc/moc_qprocess.cpp:353
#11 0x00007f266e829cfd in QProcess::setProcessState (this=<optimized out>, state=state@entry=QProcess::NotRunning) at io/qprocess.cpp:1936
#12 0x00007f266e829d24 in QProcessPrivate::cleanup (this=this@entry=0x92fb1c0) at io/qprocess.cpp:905
#13 0x00007f266e82fc9f in QProcessPrivate::_q_processDied (this=this@entry=0x92fb1c0) at io/qprocess.cpp:1169
#14 0x00007f266e88abf7 in QProcessPrivate::waitForFinished (this=this@entry=0x92fb1c0, msecs=msecs@entry=30000) at io/qprocess_unix.cpp:895
#15 0x00007f266e829c6b in QProcess::waitForFinished (this=this@entry=0x60a07f0, msecs=msecs@entry=30000) at io/qprocess.cpp:1922
#16 0x00007f266e82a495 in QProcess::~QProcess (this=0x60a07f0, __in_chrg=<optimized out>) at io/qprocess.cpp:1261
#17 0x00007f266e82a539 in QProcess::~QProcess (this=0x60a07f0, __in_chrg=<optimized out>) at io/qprocess.cpp:1268
#18 0x00007f25b22b633a in Purpose::ProcessJob::~ProcessJob (this=0x8380330, __in_chrg=<optimized out>) at /usr/src/debug/purpose-1.1/src/externalprocess/processjob.cpp:67
#19 0x00007f25b22b63c9 in Purpose::ProcessJob::~ProcessJob (this=0x8380330, __in_chrg=<optimized out>) at /usr/src/debug/purpose-1.1/src/externalprocess/processjob.cpp:68
#20 0x00007f266e91ff31 in QObjectPrivate::deleteChildren (this=this@entry=0x1ec6410) at kernel/qobject.cpp:1970
#21 0x00007f266e9292bf in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1041
#22 0x00007f25b22b2929 in Purpose::Configuration::~Configuration (this=0x907fba0, __in_chrg=<optimized out>) at /usr/src/debug/purpose-1.1/src/configuration.cpp:101
#23 0x00007f266e9225f0 in QObject::event (this=0x907fba0, e=<optimized out>) at kernel/qobject.cpp:1254
#24 0x00007f266f870eac in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x907fba0, e=0x41929e0) at kernel/qapplication.cpp:3799
#25 0x00007f266f878661 in QApplication::notify (this=0x7ffd19949610, receiver=0x907fba0, e=0x41929e0) at kernel/qapplication.cpp:3556
#26 0x00007f266e8f5b00 in QCoreApplication::notifyInternal2 (receiver=0x907fba0, event=event@entry=0x41929e0) at kernel/qcoreapplication.cpp:988
#27 0x00007f266e8f828d in QCoreApplication::sendEvent (event=0x41929e0, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1b9fc30) at kernel/qcoreapplication.cpp:1649
#29 0x00007f266e8f86f8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503
#30 0x00007f266e949d63 in postEventSourceDispatch (s=0x1bed340) at kernel/qeventdispatcher_glib.cpp:276
#31 0x00007f26690be677 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f26690be8e0 in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f26690be98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f266e94a16f in QEventDispatcherGlib::processEvents (this=0x1c0c410, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#35 0x00007f266e8f3aea in QEventLoop::exec (this=this@entry=0x7ffd199494a0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#36 0x00007f266e8fc25c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#37 0x000000000041ea42 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.8.5/shell/main.cpp:166

Reported using DrKonqi
Comment 1 Aleix Pol 2017-02-23 23:59:37 UTC
Git commit 4f5c426fd555594392bc4b213c74193beadd9f1b by Aleix Pol.
Committed on 23/02/2017 at 23:59.
Pushed by apol into branch 'master'.

Sanitize use of QObject* in ProcessJob

M  +1    -2    src/externalprocess/processjob.cpp
M  +4    -3    src/externalprocess/processjob.h

https://commits.kde.org/purpose/4f5c426fd555594392bc4b213c74193beadd9f1b
Comment 2 Christoph Feck 2018-01-10 22:27:05 UTC
*** Bug 388157 has been marked as a duplicate of this bug. ***
Comment 3 Justin Zobel 2020-12-17 05:33:34 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 4 Bug Janitor Service 2021-01-01 04:36:16 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-01-16 04:35:20 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!