Bug 411104 - Spectacle crashes after hovering over the Share menu
Summary: Spectacle crashes after hovering over the Share menu
Status: RESOLVED WORKSFORME
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 19.08.0
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-08-20 15:25 UTC by lunibackup
Modified: 2022-01-12 04:36 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 lunibackup 2019-08-20 15:25:56 UTC
Application: spectacle (19.08.0)

Qt Version: 5.12.3
Frameworks Version: 5.61.0
Operating System: Linux 4.15.0-58-generic x86_64
Distribution: KDE neon User Edition 5.16

-- Information about the crash:
- What I was doing when the application crashed:
1. Open Spectacle.
2. Click on Export.
3. Hover mouse over Share.
4. Get an error that says "Cannot save screenshot. Error while writing temporary local file."
5. After clicking Ok the program closes.

The crash can be reproduced every time.

-- Backtrace:
Application: Spectacle (spectacle), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbb5a4d3800 (LWP 10746))]

Thread 4 (Thread 0x7fbb2800a700 (LWP 10754)):
#0  0x00007fbb5468b0b4 in __GI___libc_read (fd=19, buf=0x7fbb28009bde, nbytes=10) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fbb2cdf2021 in pa_read () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#2  0x00007fbb2d070a2e in pa_mainloop_prepare () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007fbb2d0714a0 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007fbb2d071560 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007fbb2d07f3c9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007fbb2ce21318 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#7  0x00007fbb508386db in start_thread (arg=0x7fbb2800a700) at pthread_create.c:463
#8  0x00007fbb5469c88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fbb3661d700 (LWP 10749)):
#0  0x00007fbb5083e9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x557c32194898) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x557c32194848, cond=0x557c32194870) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x557c32194870, mutex=0x557c32194848) at pthread_cond_wait.c:655
#3  0x00007fbb374d20aa in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fbb374d1dd7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fbb508386db in start_thread (arg=0x7fbb3661d700) at pthread_create.c:463
#6  0x00007fbb5469c88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fbb3f7a1700 (LWP 10748)):
#0  0x00007fbb5468b0b4 in __GI___libc_read (fd=7, buf=0x7fbb3f7a0b60, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fbb4df8c2d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbb4df470b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbb4df47570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fbb4df476dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fbb54fd2dcb in QEventDispatcherGlib::processEvents (this=0x7fbb38000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fbb54f7403a in QEventLoop::exec (this=this@entry=0x7fbb3f7a0d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007fbb54d9b4ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007fbb55c2b015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007fbb54d9cc72 in QThreadPrivate::start (arg=0x7fbb55ea2d80) at thread/qthread_unix.cpp:361
#10 0x00007fbb508386db in start_thread (arg=0x7fbb3f7a1700) at pthread_create.c:463
#11 0x00007fbb5469c88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fbb5a4d3800 (LWP 10746)):
[KCrash Handler]
#6  QMenuSloppyState::setSubMenuPopup (this=0x557c3221ece0, actionRect=..., resetAction=0x0, subMenu=0x0) at widgets/qmenu.cpp:796
#7  0x00007fbb568918fa in QMenu::internalDelayedPopup (this=0x557c32209020) at widgets/qmenu.cpp:3634
#8  0x00007fbb54fa639b in QObject::event (this=this@entry=0x557c32209020, e=e@entry=0x7ffdd17fbc80) at kernel/qobject.cpp:1282
#9  0x00007fbb5675b0db in QWidget::event (this=this@entry=0x557c32209020, event=event@entry=0x7ffdd17fbc80) at kernel/qwidget.cpp:9388
#10 0x00007fbb568967db in QMenu::event (this=0x557c32209020, e=0x7ffdd17fbc80) at widgets/qmenu.cpp:3046
#11 0x00007fbb5671a65c in QApplicationPrivate::notify_helper (this=this@entry=0x557c32099fb0, receiver=receiver@entry=0x557c32209020, e=e@entry=0x7ffdd17fbc80) at kernel/qapplication.cpp:3736
#12 0x00007fbb56721b90 in QApplication::notify (this=0x7ffdd17fd1f0, receiver=0x557c32209020, e=0x7ffdd17fbc80) at kernel/qapplication.cpp:3483
#13 0x00007fbb54f75d18 in QCoreApplication::notifyInternal2 (receiver=0x557c32209020, event=0x7ffdd17fbc80) at kernel/qcoreapplication.cpp:1060
#14 0x00007fbb54fd2219 in QTimerInfoList::activateTimers (this=0x557c320fc360) at kernel/qtimerinfo_unix.cpp:643
#15 0x00007fbb54fd29e1 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#16 0x00007fbb4df47417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007fbb4df47650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007fbb4df476dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fbb54fd2daf in QEventDispatcherGlib::processEvents (this=0x557c320fcad0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#20 0x00007fbb54f7403a in QEventLoop::exec (this=this@entry=0x7ffdd17fbed0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#21 0x00007fbb56891380 in QMenu::exec (this=<optimized out>, p=..., action=action@entry=0x0) at widgets/qmenu.cpp:2657
#22 0x00007fbb568a2561 in QPushButtonPrivate::_q_popupPressed (this=0x557c321b99e0) at widgets/qpushbutton.cpp:589
#23 0x00007fbb54fa5875 in QMetaObject::activate (sender=sender@entry=0x557c3225fef0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3795
#24 0x00007fbb54fa5f47 in QMetaObject::activate (sender=sender@entry=0x557c3225fef0, m=m@entry=0x7fbb56df3840 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3648
#25 0x00007fbb568021a0 in QAbstractButton::pressed (this=this@entry=0x557c3225fef0) at .moc/moc_qabstractbutton.cpp:299
#26 0x00007fbb568024dd in QAbstractButtonPrivate::emitPressed (this=0x557c321b99e0) at widgets/qabstractbutton.cpp:428
#27 0x00007fbb56802bdc in QAbstractButton::mousePressEvent (this=0x557c3225fef0, e=0x7ffdd17fc570) at widgets/qabstractbutton.cpp:983
#28 0x00007fbb5675b31f in QWidget::event (this=0x557c3225fef0, event=0x7ffdd17fc570) at kernel/qwidget.cpp:8938
#29 0x00007fbb5671a65c in QApplicationPrivate::notify_helper (this=this@entry=0x557c32099fb0, receiver=receiver@entry=0x557c3225fef0, e=e@entry=0x7ffdd17fc570) at kernel/qapplication.cpp:3736
#30 0x00007fbb56722a58 in QApplication::notify (this=<optimized out>, receiver=0x557c3225fef0, e=0x7ffdd17fc570) at kernel/qapplication.cpp:3197
#31 0x00007fbb54f75d18 in QCoreApplication::notifyInternal2 (receiver=0x557c3225fef0, event=0x7ffdd17fc570) at kernel/qcoreapplication.cpp:1060
#32 0x00007fbb54f75efe in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x557c3225fef0, event=event@entry=0x7ffdd17fc570) at kernel/qcoreapplication.cpp:1462
#33 0x00007fbb5672105f in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x557c3225fef0, event=event@entry=0x7ffdd17fc570, alienWidget=0x557c3225fef0, nativeWidget=0x557c321455e0, buttonDown=buttonDown@entry=0x7fbb56e1d8d0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2683
#34 0x00007fbb567758a1 in QWidgetWindow::handleMouseEvent (this=this@entry=0x557c32213e70, event=event@entry=0x7ffdd17fca00) at kernel/qwidgetwindow.cpp:662
#35 0x00007fbb567786fa in QWidgetWindow::event (this=0x557c32213e70, event=0x7ffdd17fca00) at kernel/qwidgetwindow.cpp:281
#36 0x00007fbb5671a65c in QApplicationPrivate::notify_helper (this=this@entry=0x557c32099fb0, receiver=receiver@entry=0x557c32213e70, e=e@entry=0x7ffdd17fca00) at kernel/qapplication.cpp:3736
#37 0x00007fbb56721b90 in QApplication::notify (this=0x7ffdd17fd1f0, receiver=0x557c32213e70, e=0x7ffdd17fca00) at kernel/qapplication.cpp:3483
#38 0x00007fbb54f75d18 in QCoreApplication::notifyInternal2 (receiver=0x557c32213e70, event=0x7ffdd17fca00) at kernel/qcoreapplication.cpp:1060
#39 0x00007fbb54f75efe in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x557c32213e70, event=event@entry=0x7ffdd17fca00) at kernel/qcoreapplication.cpp:1462
#40 0x00007fbb5553f1fb in QGuiApplicationPrivate::processMouseEvent (e=0x557c32d6a3e0) at kernel/qguiapplication.cpp:2102
#41 0x00007fbb55540365 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x557c32d6a3e0) at kernel/qguiapplication.cpp:1837
#42 0x00007fbb55518b4b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1151
#43 0x00007fbb4889259a in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#44 0x00007fbb4df47417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fbb4df47650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fbb4df476dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007fbb54fd2daf in QEventDispatcherGlib::processEvents (this=0x557c320fcad0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#48 0x00007fbb54f7403a in QEventLoop::exec (this=this@entry=0x7ffdd17fcda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#49 0x00007fbb54f7d170 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1363
#50 0x0000557c30b6ae4f in ?? ()
#51 0x00007fbb5459cb97 in __libc_start_main (main=0x557c30b697a0, argc=1, argv=0x7ffdd17fd508, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdd17fd4f8) at ../csu/libc-start.c:310
#52 0x0000557c30b6b73a in ?? ()

Reported using DrKonqi
Comment 1 Antonio Prcela 2019-09-03 20:48:27 UTC
Can not reproduce it. Tested with:

19.04.3 & 19.11.70

Can you try with one of these two version I mentioned (or some other than 19.08.0) ?
Comment 2 Nate Graham 2019-09-03 21:20:26 UTC
Also cannot reproduce. However when hovering over the share menu, this happens: Bug 411569.

Seems related. I suspect fixing the bug causing that will fix whatever could possibly cause this.
Comment 3 lunibackup 2019-09-12 14:30:03 UTC
I'm sorry but I don't know how to upgrade the package to test this. I'm on KDE Neon 5.16 User Edition.
Comment 4 Antonio Prcela 2019-09-12 16:55:35 UTC
(In reply to lunibackup from comment #3)
> I'm sorry but I don't know how to upgrade the package to test this. I'm on
> KDE Neon 5.16 User Edition.

pkcon update
Comment 5 lunibackup 2019-09-13 05:58:38 UTC
(In reply to Antonio from comment #4)
> (In reply to lunibackup from comment #3)
> > I'm sorry but I don't know how to upgrade the package to test this. I'm on
> > KDE Neon 5.16 User Edition.
> 
> pkcon update

Yes I made sure I had updated (now on 19.08.1) by doing pkcon refresh && pkcon update
Comment 6 Antonio Prcela 2019-09-22 20:21:07 UTC
(In reply to lunibackup from comment #5)
> (In reply to Antonio from comment #4)
> > (In reply to lunibackup from comment #3)
> > > I'm sorry but I don't know how to upgrade the package to test this. I'm on
> > > KDE Neon 5.16 User Edition.
> > 
> > pkcon update
> 
> Yes I made sure I had updated (now on 19.08.1) by doing pkcon refresh &&
> pkcon update

I tested now with 19.08.1 and I don't get that error..
Do you have anything connected via bluetooth or KDE Connect?
Comment 7 lunibackup 2020-01-29 19:22:40 UTC
(In reply to Antonio from comment #6)
> (In reply to lunibackup from comment #5)
> > (In reply to Antonio from comment #4)
> > > (In reply to lunibackup from comment #3)
> > > > I'm sorry but I don't know how to upgrade the package to test this. I'm on
> > > > KDE Neon 5.16 User Edition.
> > > 
> > > pkcon update
> > 
> > Yes I made sure I had updated (now on 19.08.1) by doing pkcon refresh &&
> > pkcon update
> 
> I tested now with 19.08.1 and I don't get that error..
> Do you have anything connected via bluetooth or KDE Connect?

Paired yes, but even if the phone is connected or not to the network Spectacle crashes on hover. Still happens in Spectacle 19.12.1. Is there any info I could provide to help?
Comment 8 Antonio Prcela 2020-03-01 17:37:55 UTC
(In reply to lunibackup from comment #7)
> (In reply to Antonio from comment #6)
> > (In reply to lunibackup from comment #5)
> > > (In reply to Antonio from comment #4)
> > > > (In reply to lunibackup from comment #3)
> > > > > I'm sorry but I don't know how to upgrade the package to test this. I'm on
> > > > > KDE Neon 5.16 User Edition.
> > > > 
> > > > pkcon update
> > > 
> > > Yes I made sure I had updated (now on 19.08.1) by doing pkcon refresh &&
> > > pkcon update
> > 
> > I tested now with 19.08.1 and I don't get that error..
> > Do you have anything connected via bluetooth or KDE Connect?
> 
> Paired yes, but even if the phone is connected or not to the network
> Spectacle crashes on hover. Still happens in Spectacle 19.12.1. Is there any
> info I could provide to help?

I assume that everything else, hovering over 'more online services' which is also in 'Export', does not trigger the bug. Only 'share'?
Comment 9 lunibackup 2020-03-15 05:07:11 UTC
(In reply to Antonio from comment #8)
> (In reply to lunibackup from comment #7)
> > (In reply to Antonio from comment #6)
> > > (In reply to lunibackup from comment #5)
> > > > (In reply to Antonio from comment #4)
> > > > > (In reply to lunibackup from comment #3)
> > > > > > I'm sorry but I don't know how to upgrade the package to test this. I'm on
> > > > > > KDE Neon 5.16 User Edition.
> > > > > 
> > > > > pkcon update
> > > > 
> > > > Yes I made sure I had updated (now on 19.08.1) by doing pkcon refresh &&
> > > > pkcon update
> > > 
> > > I tested now with 19.08.1 and I don't get that error..
> > > Do you have anything connected via bluetooth or KDE Connect?
> > 
> > Paired yes, but even if the phone is connected or not to the network
> > Spectacle crashes on hover. Still happens in Spectacle 19.12.1. Is there any
> > info I could provide to help?
> 
> I assume that everything else, hovering over 'more online services' which is
> also in 'Export', does not trigger the bug. Only 'share'?

Yes. Hovering on "More online services" creates a "please wait..." entry which shows for a split second and then it reads "No KIPI plugins available."

Also I just noticed that if you hover over Share quick enough nothing happens, it's only if you trigger the show more entries.
Comment 10 Antonio Prcela 2020-03-28 21:49:21 UTC
(In reply to lunibackup from comment #9)
vices' which is
> 
> Yes. Hovering on "More online services" creates a "please wait..." entry
> which shows for a split second and then it reads "No KIPI plugins available."
> 
> Also I just noticed that if you hover over Share quick enough nothing
> happens, it's only if you trigger the show more entries.

Can you try to install kipi-plugins?
sudo pkconf install kipi-plugins

Sorry for this late reply..
Comment 11 lunibackup 2020-04-02 05:30:20 UTC
(In reply to Antonio from comment #10)
> (In reply to lunibackup from comment #9)
> vices' which is
> > 
> > Yes. Hovering on "More online services" creates a "please wait..." entry
> > which shows for a split second and then it reads "No KIPI plugins available."
> > 
> > Also I just noticed that if you hover over Share quick enough nothing
> > happens, it's only if you trigger the show more entries.
> 
> Can you try to install kipi-plugins?
> sudo pkconf install kipi-plugins
> 
> Sorry for this late reply..

It does still happen even after installing that package. I also tested after 
restarting my machine just to make sure. 

Just to let you know I'm now on version 19.12.3 of Spectacle and I reinstalled KDE Neon a week ago or so.
Comment 12 Antonio Prcela 2021-02-09 21:56:05 UTC
(In reply to lunibackup from comment #11)
> (In reply to Antonio from comment #10)
> > (In reply to lunibackup from comment #9)
> > vices' which is
> > > 
> > > Yes. Hovering on "More online services" creates a "please wait..." entry
> > > which shows for a split second and then it reads "No KIPI plugins available."
> > > 
> > > Also I just noticed that if you hover over Share quick enough nothing
> > > happens, it's only if you trigger the show more entries.
> > 
> > Can you try to install kipi-plugins?
> > sudo pkconf install kipi-plugins
> > 
> > Sorry for this late reply..
> 
> It does still happen even after installing that package. I also tested after 
> restarting my machine just to make sure. 
> 
> Just to let you know I'm now on version 19.12.3 of Spectacle and I
> reinstalled KDE Neon a week ago or so.

Can yo reproduce this in v20?
Comment 13 Nate Graham 2021-12-13 21:06:39 UTC
.
Comment 14 Bug Janitor Service 2021-12-28 04:34:52 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 15 Bug Janitor Service 2022-01-12 04:36:06 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!