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

Daniel Vrátil <dvra...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dvra...@kde.org
         Resolution|WAITINGFORINFO              |---
             Status|RESOLVED                    |UNCONFIRMED

--- Comment #3 from Daniel Vrátil <dvra...@kde.org> ---
I can reproduce the crash with current git master running against Qt 5.7.1
(compiled in debug mode).

Since the reason for the crash is a Q_ASSERT inside Qt, you won't be able to
reproduce the crash unless you have Qt compiled without QT_NO_DEBUG (i.e. a
debug build). When Qt is compiled with QT_NO_DEBUG then it will just discard
the event (and possibly complain to console), but won't crash. The nature of
the assert however indicates that it's kdenlive that's doing something that it
should not be doing rather than a problem in Qt.

Thread 19 (Thread 0x7fff8bffd700 (LWP 6576)):
#0  0x00007fffeb2106f5 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007fffeb2122fa in __GI_abort () at abort.c:89
#2  0x00007fffebef1760 in qt_message_fatal(QtMsgType, QMessageLogContext
const&, QString const&) (context=..., message="ASSERT failure in
QCoreApplication::sendEvent: \"Cannot send events to objects owned by a
different thread. 
Current thread 3525fa0. Receiver '' (of type 'QOffscreenSurface') was created
in thread beba9"...) at
/data/Qt/qt5/qtbase/src/corelib/global/qlogging.cpp:1682
#3  0x00007fffebeed9fa in QMessageLogger::fatal(char const*, ...) const
(this=0x7fff8bffbaf0, msg=0x7fffec229178 "ASSERT failure in %s: \"%s\", file
%s, line %d") at /data/Qt/qt5/qtbase/src/corelib/global/qlogging.cpp:793
#4  0x00007fffebee6b9f in qt_assert_x(char const*, char const*, char const*,
int) (where=0x7fffec2f1d24 "QCoreApplication::sendEvent", what=0x7fff5811b7d8
"Cannot send events to objects owned by a different thread. Current threa
d 3525fa0. Receiver '' (of type 'QOffscreenSurface') was created in thread
beba90", file=0x7fffec2f1b38
"/data/Qt/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp", line=541)
    at /data/Qt/qt5/qtbase/src/corelib/global/qglobal.cpp:3089
#5  0x00007fffec140569 in
QCoreApplicationPrivate::checkReceiverThread(QObject*) (receiver=0x1eec0d0) at
/data/Qt/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:533
#6  0x00007ffff0cc6f18 in QApplication::notify(QObject*, QEvent*)
(this=0x7fffffffd420, receiver=0x1eec0d0, e=0x7fff8bffc3d0) at
/data/Qt/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3021
#7  0x00007fffec141390 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x1eec0d0, event=0x7fff8bffc3d0) at
/data/Qt/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:988
#8  0x00007fffec55b73e in QCoreApplication::sendEvent(QObject*, QEvent*)
(receiver=0x1eec0d0, event=0x7fff8bffc3d0) at
../../include/QtCore/../../../../qtbase/src/corelib/kernel/qcoreapplication.h:231
#9  0x00007fffec58d6e0 in QOffscreenSurface::create() (this=0x1eec0d0) at
/data/Qt/qt5/qtbase/src/gui/kernel/qoffscreensurface.cpp:197
#10 0x00000000007184db in GLWidget::initializeGL() (this=0x1eebfb0) at
/data/KDE/src/kde/kdemultimedia/kdenlive/src/monitor/glwidget.cpp:150
#11 0x000000000085aec5 in GLWidget::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=0x1eebfb0, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>)
    at /data/KDE/build/kde/kdemultimedia/kdenlive/src/moc_glwidget.cpp:236
#12 0x00007fffec182148 in QMetaObject::activate(QObject*, int, int, void**)
(sender=0x1eebfb0, signalOffset=21, local_signal_index=2, argv=0x0) at
/data/Qt/qt5/qtbase/src/corelib/kernel/qobject.cpp:3740
#13 0x00007fffec18193c in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=0x1eebfb0, m=0x7ffff5fd5400
<QQuickWindow::staticMetaObject>, local_signal_index=2, argv=0x0)
    at /data/Qt/qt5/qtbase/src/corelib/kernel/qobject.cpp:3602
#14 0x00007ffff5c7c5e1 in QQuickWindow::sceneGraphInitialized()
(this=0x1eebfb0) at .moc/moc_qquickwindow.cpp:467
#15 0x00007ffff5c7b8ef in QQuickWindow::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=0x1eebfb0,
_c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff8bffca20) at
.moc/moc_qquickwindow.cpp:229
#16 0x00007fffec182148 in QMetaObject::activate(QObject*, int, int, void**)
(sender=0x18a2790, signalOffset=3, local_signal_index=0, argv=0x0) at
/data/Qt/qt5/qtbase/src/corelib/kernel/qobject.cpp:3740
#17 0x00007fffec18193c in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=0x18a2790, m=0x7ffff5fe2480
<QSGRenderContext::staticMetaObject>, local_signal_index=0, argv=0x0)
    at /data/Qt/qt5/qtbase/src/corelib/kernel/qobject.cpp:3602
#18 0x00007ffff5e06ac1 in QSGRenderContext::initialized() (this=0x18a2790) at
.moc/moc_qsgcontext_p.cpp:146
#19 0x00007ffff5c0cf05 in QSGRenderContext::initialize(QOpenGLContext*)
(this=0x18a2790, context=0x26b6670) at
/data/Qt/qt5/qtdeclarative/src/quick/scenegraph/qsgcontext.cpp:639
#20 0x00007ffff5c31506 in QSGRenderThread::run() (this=0x3525fa0) at
/data/Qt/qt5/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:709
#21 0x00007fffebf080e0 in QThreadPrivate::start(void*) (arg=0x3525fa0) at
/data/Qt/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:368
#22 0x00007fffe96065ca in start_thread (arg=0x7fff8bffd700) at
pthread_create.c:333
#23 0x00007fffeb2def6d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

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

Reply via email to