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

--- Comment #4 from Dmitrii Utkin <loen...@gmail.com> ---
I managed to reproduce it on local build. Unfortunately the `event` variable
was optimized out (release with debug info build). But at least we know it came
from KisApplication.cpp:756

----------------------------------------------------------------------------------------------------------
                }
            } else {
                result = QApplication::notify(receiver, event);  <<---- this
line
            }
        }

        if (!info.eventRecursionCount) {
----------------------------------------------------------------------------------------------------------

backtrace
----------------------------------------------------------------------------------------------------------
(gdb) bt
#0  0x00007ffff5e6d64c in QMetaObject::cast(QObject const*) const () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007ffff69ebc20 in QMdiArea::eventFilter(QObject*, QEvent*) () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#2  0x00007ffff5e643eb in
QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*)
()
    at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ffff687caa0 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#4  0x00007ffff68860f0 in QApplication::notify(QObject*, QEvent*) () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5  0x00007ffff7cddd3c in KisApplication::notify(QObject*, QEvent*)
    (this=<optimized out>, receiver=<optimized out>, event=<optimized out>)
    at /home/dem/kritadev/krita/libs/ui/KisApplication.cpp:756
#6  0x00007ffff5e6480a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff5e67488 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) ()
    at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff5ebce37 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ffff36ed17d in g_main_context_dispatch () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff36ed400 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff36ed4a3 in g_main_context_iteration () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ffff5ebc435 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ffff5e633ab in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ffff5e6b116 in QCoreApplication::exec() () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x000055555555d63b in main(int, char**) (argc=<optimized out>,
argv=<optimized out>)
    at /home/dem/kritadev/krita/krita/main.cc:694


(gdb) select-frame 5
(gdb) info locals
guard = {m_info = 0x555556042120}
result = true
info = @0x555556042120: {eventRecursionCount = 1,
postponedSynchronizationEvents = std::queue wrapping: std::deque with 0
elements}
(gdb) 

----------------------------------------------------------------------------------------------------------

Locals dumped from core file with QtCreator
----------------------------------------------------------------------------------------------------------
        Locals          
                guard           (anonymous namespace)::AppRecursionGuard
                        m_info  @0x555556042120 (anonymous
namespace)::AppRecursionInfo
                                eventRecursionCount     1       int
                                postponedSynchronizationEvents  @0x555556042128
std::queue<KisSynchronizedConnectionEvent,
std::deque<KisSynchronizedConnectionEvent,
std::allocator<KisSynchronizedConnectionEvent> > >
                                        c       <0 items>      
std::deque<KisSynchronizedConnectionEvent,
std::allocator<KisSynchronizedConnectionEvent> >
                info    @0x555556042120 (anonymous namespace)::AppRecursionInfo
&
                        eventRecursionCount     1       int
                        postponedSynchronizationEvents  @0x555556042128
std::queue<KisSynchronizedConnectionEvent,
std::deque<KisSynchronizedConnectionEvent,
std::allocator<KisSynchronizedConnectionEvent> > >
                                c       <0 items>      
std::deque<KisSynchronizedConnectionEvent,
std::allocator<KisSynchronizedConnectionEvent> >
                result  true    bool
        Inspector               
        Expressions             
                resource        <no such value>  
                resource->resourceId()  <no such value>  
                this    <no such value>  
        Return Value            
        Tooltip         
----------------------------------------------------------------------------------------------------------


I have core file of the crash if it is helpful.
Also I'll try to reproduce it with in debug build.

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

Reply via email to