Bug 371787 - Share plasmoid crashed when using pastebin option
Summary: Share plasmoid crashed when using pastebin option
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-purpose
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-10-28 16:22 UTC by Łukasz Żarnowiecki
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 Łukasz Żarnowiecki 2016-10-28 16:22:54 UTC
Application: plasmashell (5.8.2)

Qt Version: 5.7.0
Frameworks Version: 5.27.0
Operating System: Linux 4.8.4-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

1. I copied text.
2. I clicking plasmoid.
3. I clicked right arrow in the same line as Pastebin.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Plazma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fed7cf4b800 (LWP 860))]

Thread 10 (Thread 0x7fecad583700 (LWP 24913)):
#0  0x00007fed75e434b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fed76d2f42e in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007fed76d2aa84 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007fed76d2e5e8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007fed75e3d454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007fed766437df in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fecaeb0e700 (LWP 2600)):
#0  0x00007fed7663a48d in poll () at /usr/lib/libc.so.6
#1  0x00007fed71901786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fed7190189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fed76f64ddb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fed76f0d35a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fed76d298c3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fed76d2e5e8 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fed75e3d454 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fed766437df in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fecafbcd700 (LWP 1087)):
#0  0x00007fed71900c33 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#1  0x00007fed719016ab in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fed7190189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fed76f64ddb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fed76f0d35a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fed76d298c3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fed7a09b2d5 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007fed76d2e5e8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fed75e3d454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fed766437df in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fecc8980700 (LWP 1037)):
#0  0x00007fed71900bd0 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#1  0x00007fed719016ab in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fed7190189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fed76f64ddb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fed76f0d35a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fed76d298c3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fed7ac39856 in  () at /usr/lib/libQt5Quick.so.5
#7  0x00007fed76d2e5e8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fed75e3d454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fed766437df in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fed4f1c0700 (LWP 966)):
#0  0x00007fed75e4310f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fed7c6c9ac4 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007fed7c6c9b09 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007fed75e3d454 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fed766437df in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fed5ce70700 (LWP 932)):
#0  0x00007fed7663a48d in poll () at /usr/lib/libc.so.6
#1  0x00007fed71901786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fed7190189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fed76f64ddb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fed76f0d35a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fed76d298c3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fed7a09b2d5 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007fed76d2e5e8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fed75e3d454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fed766437df in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fed5e9e0700 (LWP 925)):
#0  0x00007fed71946db9 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007fed71900c95 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007fed719016ab in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007fed7190189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007fed76f64ddb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fed76f0d35a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fed76d298c3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007fed7a09b2d5 in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007fed76d2e5e8 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007fed75e3d454 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007fed766437df in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fed5ffff700 (LWP 885)):
#0  0x00007fed7663a48d in poll () at /usr/lib/libc.so.6
#1  0x00007fed71901786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fed7190189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fed76f64ddb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fed76f0d35a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fed76d298c3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fed77ac4e55 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007fed76d2e5e8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fed75e3d454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fed766437df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fed660fb700 (LWP 872)):
#0  0x00007fed7663a48d in poll () at /usr/lib/libc.so.6
#1  0x00007fed7b6098e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007fed7b60b679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fed6824a7d9 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fed76d2e5e8 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fed75e3d454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fed766437df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fed7cf4b800 (LWP 860)):
[KCrash Handler]
#6  0x00007fecc035fdf1 in  () at /usr/lib/libKF5Purpose.so.5
#7  0x00007fed76f3bbcc in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#8  0x00007fed76e3f641 in QProcess::stateChanged(QProcess::ProcessState, QProcess::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#9  0x00007fed76e416dd in QProcess::setProcessState(QProcess::ProcessState) () at /usr/lib/libQt5Core.so.5
#10 0x00007fed76e41704 in  () at /usr/lib/libQt5Core.so.5
#11 0x00007fed76e4773f in  () at /usr/lib/libQt5Core.so.5
#12 0x00007fed76ea2967 in  () at /usr/lib/libQt5Core.so.5
#13 0x00007fed76e4164b in QProcess::waitForFinished(int) () at /usr/lib/libQt5Core.so.5
#14 0x00007fed76e41e75 in QProcess::~QProcess() () at /usr/lib/libQt5Core.so.5
#15 0x00007fed76e41f19 in QProcess::~QProcess() () at /usr/lib/libQt5Core.so.5
#16 0x00007fecc0360b1a in  () at /usr/lib/libKF5Purpose.so.5
#17 0x00007fed76f39f91 in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#18 0x00007fed76f439cf in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#19 0x00007fecc035c8a9 in Purpose::Configuration::~Configuration() () at /usr/lib/libKF5Purpose.so.5
#20 0x00007fed76f3c760 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#21 0x00007fed77e8ddfc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#22 0x00007fed77e95559 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#23 0x00007fed76f0ef30 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#24 0x00007fed76f1170d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#25 0x00007fed76f649b3 in  () at /usr/lib/libQt5Core.so.5
#26 0x00007fed71901587 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#27 0x00007fed719017f0 in  () at /usr/lib/libglib-2.0.so.0
#28 0x00007fed7190189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#29 0x00007fed76f64dbf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#30 0x00007fed76f0d35a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#31 0x00007fed76f159bc in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#32 0x000000000041c8b2 in  ()
#33 0x00007fed7657b291 in __libc_start_main () at /usr/lib/libc.so.6
#34 0x000000000041cc3a in _start ()

Reported using DrKonqi
Comment 1 Aleix Pol 2016-10-28 23:47:09 UTC
Can you always reproduce?
Can you try it with debug symbols?
Comment 2 Antonio Rojas 2016-10-29 08:22:14 UTC
I can reproduce this about 50% of the times. Full backtrace:

Thread 1 "plasmashell" received signal SIGSEGV, Segmentation fault.
Purpose::ProcessJob::processStateChanged (this=0x6522780, state=<optimized out>)
    at /home/antonio/Software/abs/extra/purpose/src/purpose-1.1/src/externalprocess/processjob.cpp:134
134             } while (m_localSocket->waitForReadyRead());
(gdb) bt
#0  0x00007fff1c77f521 in Purpose::ProcessJob::processStateChanged(QProcess::ProcessState) (this=0x6522780, state=<optimized out>)
    at /home/antonio/Software/abs/extra/purpose/src/purpose-1.1/src/externalprocess/processjob.cpp:134
#1  0x00007ffff1ee49de in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffffdaf0, r=0x6522780, this=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:130
#2  0x00007ffff1ee49de in QMetaObject::activate(QObject*, int, int, void**) (sender=0x6520670, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7fffffffdaf0) at kernel/qobject.cpp:3723
#3  0x00007ffff1ee4f87 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7ffff22fe200 <QProcess::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7fffffffdaf0) at kernel/qobject.cpp:3602
#4  0x00007ffff1debf61 in QProcess::stateChanged(QProcess::ProcessState, QProcess::QPrivateSignal) (this=<optimized out>, _t1=<optimized out>, 
    _t1@entry=QProcess::NotRunning) at .moc/moc_qprocess.cpp:353
#5  0x00007ffff1dedffd in QProcess::setProcessState(QProcess::ProcessState) (this=<optimized out>, state=state@entry=QProcess::NotRunning)
    at io/qprocess.cpp:1949
#6  0x00007ffff1dee024 in QProcessPrivate::cleanup() (this=this@entry=0x65228e0) at io/qprocess.cpp:912
#7  0x00007ffff1df3f8f in QProcessPrivate::_q_processDied() (this=this@entry=0x65228e0) at io/qprocess.cpp:1176
#8  0x00007ffff1e4ea67 in QProcessPrivate::waitForFinished(int) (this=this@entry=0x65228e0, msecs=msecs@entry=30000) at io/qprocess_unix.cpp:895
#9  0x00007ffff1dedf6b in QProcess::waitForFinished(int) (this=this@entry=0x6520670, msecs=msecs@entry=30000) at io/qprocess.cpp:1935
#10 0x00007ffff1dee795 in QProcess::~QProcess() (this=0x6520670, __in_chrg=<optimized out>) at io/qprocess.cpp:1268
#11 0x00007ffff1dee839 in QProcess::~QProcess() (this=0x6520670, __in_chrg=<optimized out>) at io/qprocess.cpp:1275
#12 0x00007fff1c77feca in Purpose::ProcessJob::~ProcessJob() (this=0x6522780, __in_chrg=<optimized out>)
    at /home/antonio/Software/abs/extra/purpose/src/purpose-1.1/src/externalprocess/processjob.cpp:67
#13 0x00007fff1c77ff59 in Purpose::ProcessJob::~ProcessJob() (this=0x6522780, __in_chrg=<optimized out>)
    at /home/antonio/Software/abs/extra/purpose/src/purpose-1.1/src/externalprocess/processjob.cpp:68
#14 0x00007ffff1ee2dd1 in QObjectPrivate::deleteChildren() (this=this@entry=0x6522240) at kernel/qobject.cpp:1970
#15 0x00007ffff1eec67f in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1041
#16 0x00007fff1c77c4b9 in Purpose::Configuration::~Configuration() (this=0x649dc70, __in_chrg=<optimized out>)
    at /home/antonio/Software/abs/extra/purpose/src/purpose-1.1/src/configuration.cpp:101
#17 0x00007ffff1ee5500 in QObject::event(QEvent*) (this=0x649dc70, e=<optimized out>) at kernel/qobject.cpp:1254
#18 0x00007ffff2e23e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x649dc70, e=0x6521350)
    at kernel/qapplication.cpp:3799
#19 0x00007ffff2e2b581 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffe500, receiver=0x649dc70, e=0x6521350) at kernel/qapplication.cpp:3556
#20 0x00007ffff1eb8df0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x649dc70, event=event@entry=0x6521350)
    at kernel/qcoreapplication.cpp:988
#21 0x00007ffff1ebb57d in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x6521350, receiver=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 0x00007ffff1ebb57d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry
=0, data=0x6baba0) at kernel/qcoreapplication.cpp:1649
#23 0x00007ffff1ebb9e8 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0)
    at kernel/qcoreapplication.cpp:1503
#24 0x00007ffff1f0d313 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x70aef0) at kernel/qeventdispatcher_glib.cpp:276
#25 0x00007fffec8b3587 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#26 0x00007fffec8b37f0 in  () at /usr/lib/libglib-2.0.so.0
#27 0x00007fffec8b389c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#28 0x00007ffff1f0d71f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x70dbb0, flags=...)
    at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007ffff1eb724a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffe390, flags=..., flags@entry=...)
    at kernel/qeventloop.cpp:210
#30 0x00007ffff1ebf74c in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1261
#31 0x000000000041c8b2 in  ()
#32 0x00007ffff152c291 in __libc_start_main () at /usr/lib/libc.so.6
#33 0x000000000041cc3a in _start ()
Comment 3 Aleix Pol 2016-11-03 00:39:45 UTC
Alejandro, would you be able to test if you can reproduce these issues in the 1.1 branch?
Comment 4 Antonio Rojas 2017-10-20 21:55:44 UTC
Seems to be fixed in 1.2
Comment 5 Justin Zobel 2020-12-17 05:32:48 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 6 Bug Janitor Service 2021-01-01 04:35:56 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 7 Bug Janitor Service 2021-01-16 04:35:02 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!