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

            Bug ID: 472193
           Summary: Various crashes when creating two views of an animated
                    file and trying to play any of them
    Classification: Applications
           Product: krita
           Version: git master (please specify the git hash!)
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Animation
          Assignee: krita-bugs-n...@kde.org
          Reporter: dimul...@gmail.com
  Target Milestone: ---

STEPS TO REPRODUCE
1. Open a document with animation (don't create from scratch, since it involves
the cache populator and long delay when constructing the image hides the
problem) 
2. Winodw->View->New View
3. Window->Tiled (to make both views visible)
4. Click Play button

OBSERVED RESULT

Frame cache generation dialog appears followed by an assert/crash, depending on
the OS:

Windows: assert triggers in
KisAsyncAnimationRendererBase::notifyFrameCompleted:
KIS_SAFE_ASSERT_RECOVER_RETURN(m_d->requestedFrame == frame)

Linux: crash in timer even handler:

Thread 1 (Thread 0x7ffff06fe840 (LWP 678131) "krita"):
#0  0x00007ffff777fd32 in KisPlaybackEngineQT::throttledDriverCallback
(this=0x5555576c9c10) at
/home/appimage/persistent/krita/libs/ui/KisPlaybackEngineQT.cpp:358
        neededRefresh = true
        targetFrame = 1
        displayProxy = 0x5555586ccea0
        animInterface = <optimized out>
        currentFrame = 0
        startFrame = 0
        endFrame = 100
        timeSinceLastFrame = <optimized out>
        timePerFrame = <optimized out>
        extraFrames = 0
#1  0x00007ffff5793c28 in ?? () from
/home/appimage/appimage-workspace/deps/usr/lib/libQt5Core.so.5
No symbol table info available.
#2  0x00007ffff5793c28 in ?? () from
/home/appimage/appimage-workspace/deps/usr/lib/libQt5Core.so.5
No symbol table info available.
#3  0x00007ffff5797c9e in QTimer::timeout(QTimer::QPrivateSignal) () from
/home/appimage/appimage-workspace/deps/usr/lib/libQt5Core.so.5
No symbol table info available.
#4  0x00007ffff57894ff in QObject::event(QEvent*) () from
/home/appimage/appimage-workspace/deps/usr/lib/libQt5Core.so.5
No symbol table info available.
#5  0x00007ffff62ad7e3 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /home/appimage/appimage-workspace/deps/usr/lib/libQt5Widgets.so.5
No symbol table info available.
#6  0x00007ffff7bd7a45 in KisApplication::notify (this=0x7fffffffd400,
receiver=0x55555e674500, event=0x7fffffffce90) at
/home/appimage/persistent/krita/libs/ui/KisApplication.cpp:767
        guard = {m_info = 0x555555edd9b0}

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

I have tested in this branch, but it seems like the MR change should not be
related:
https://invent.kde.org/graphics/krita/-/merge_requests/1843

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

Reply via email to