https://bugs.kde.org/show_bug.cgi?id=479870

Emmet O'Neill <emmetoneill....@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emmetoneill....@gmail.com

--- Comment #8 from Emmet O'Neill <emmetoneill....@gmail.com> ---
Yeah. I've been able to reproduce this on the master branch.
To confirm what was said above, the lock seems to happen as a response to
clicking on the other document tab while this animation file is open.

Seems likely to be a thread locking / data race issue, so I'm not sure how
useful this'll be, but I have a backtrace:

```
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x7ffccc009510) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7ffccc0094c0,
cond=0x7ffccc0094e8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7ffccc0094e8, mutex=0x7ffccc0094c0) at
pthread_cond_wait.c:647
#3  0x00007ffff50d52eb in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/home/appimage/appimage-workspace/deps/usr/lib/libQt5Core.so.5
#4  0x00007ffff6c95061 in KisUpdaterContext::waitForDone (this=0x7fff7400e330)
at /home/appimage/persistent/krita/libs/image/kis_updater_context.cpp:213
#5  0x00007ffff6cac145 in KisUpdateScheduler::waitForDone (this=0x55555bb81698)
at /home/appimage/persistent/krita/libs/image/kis_update_scheduler.cpp:365
#6  0x00007ffff6cce1bd in KisImage::waitForDone (this=0x7ffcd8004030) at
/home/appimage/persistent/krita/libs/image/kis_image.cc:1865
#7  0x00007ffff6cdcd18 in KisImage::~KisImage (this=0x7ffcd8004030,
__in_chrg=<optimized out>) at
/home/appimage/persistent/krita/libs/image/kis_image.cc:331
#8  0x00007ffff6cdcdfd in KisImage::~KisImage (this=0x7ffcd8004030,
__in_chrg=<optimized out>) at
/home/appimage/persistent/krita/libs/image/kis_image.cc:335
#9  0x00007ffff7c86466 in KisSharedPtr<KisImage>::deref (sp=<optimized out>,
t=<optimized out>) at
/home/appimage/persistent/krita/libs/global/kis_shared_ptr.h:202
#10 KisSharedPtr<KisImage>::deref (t=<optimized out>, sp=<optimized out>) at
/home/appimage/persistent/krita/libs/global/kis_shared_ptr.h:194
#11 KisSharedPtr<KisImage>::attach (p=0x0, this=<optimized out>) at
/home/appimage/persistent/krita/libs/global/kis_shared_ptr.h:509
#12 KisSharedPtr<KisImage>::operator= (p=0x0, this=<optimized out>) at
/home/appimage/persistent/krita/libs/global/kis_shared_ptr.h:121
#13 KisAsyncAnimationRendererBase::clearFrameRegenerationState
(this=0x5555584a6bc0, isCancelled=<optimized out>)
    at
/home/appimage/persistent/krita/libs/ui/KisAsyncAnimationRendererBase.cpp:172
#14 0x00007ffff7c8613a in operator() (__closure=<synthetic pointer>) at
/home/appimage/persistent/krita/libs/ui/KisAsyncAnimationRendererBase.cpp:155
#15 kismpl::finally<KisAsyncAnimationRendererBase::notifyFrameCancelled(int,
KisAsyncAnimationRendererBase::CancelReason)::<lambda()> >::~finally (
    this=<synthetic pointer>, __in_chrg=<optimized out>) at
/home/appimage/persistent/krita/libs/global/KisMpl.h:428
#16 KisAsyncAnimationRendererBase::notifyFrameCancelled (this=0x5555584a6bc0,
frame=279, cancelReason=KisAsyncAnimationRendererBase::UserCancelled)
    at
/home/appimage/persistent/krita/libs/ui/KisAsyncAnimationRendererBase.cpp:160
#17 0x00007ffff52f89de in QObject::event(QEvent*) () from
/home/appimage/appimage-workspace/deps/usr/lib/libQt5Core.so.5
#18 0x00007ffff5f6e7e3 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /home/appimage/appimage-workspace/deps/usr/lib/libQt5Widgets.so.5
#19 0x00007ffff7b7be35 in KisApplication::notify (this=0x7fffffffe030,
receiver=0x5555584a6bc0, event=0x55555cf026f0)
    at /home/appimage/persistent/krita/libs/ui/KisApplication.cpp:774
#20 0x00007ffff52caf4a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /home/appimage/appimage-workspace/deps/usr/lib/libQt5Core.so.5
#21 0x00007ffff52ce047 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) ()
   from /home/appimage/appimage-workspace/deps/usr/lib/libQt5Core.so.5
#22 0x00007ffff5325407 in ?? () from
/home/appimage/appimage-workspace/deps/usr/lib/libQt5Core.so.5
#23 0x00007ffff294217d in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff2942400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff29424a3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ffff5324a58 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/appimage/appimage-workspace/deps/usr/lib/libQt5Core.so.5
#27 0x00007ffff52c985b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/home/appimage/appimage-workspace/deps/usr/lib/libQt5Core.so.5
#28 0x00007ffff52d1e14 in QCoreApplication::exec() () from
/home/appimage/appimage-workspace/deps/usr/lib/libQt5Core.so.5
#29 0x000055555555e02c in main (argc=<optimized out>, argv=<optimized out>) at
/home/appimage/persistent/krita/krita/main.cc:790
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to