[konversation] [Bug 387596] New: Crash when toggling between new UI and old UI

David Edmundson bugzilla_noreply at kde.org
Mon Dec 4 17:56:12 UTC 2017


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

            Bug ID: 387596
           Summary: Crash when toggling between new UI and old UI
           Product: konversation
           Version: unspecified
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: konversation-devel at kde.org
          Reporter: kde at davidedmundson.co.uk
  Target Milestone: ---

Application: konversation (1.7-konvi2x #5105)

Qt Version: 5.10.0
Frameworks Version: 5.41.0
Operating System: Linux 4.10.17-2-MANJARO x86_64
Distribution: "Manjaro Linux"

-- Information about the crash:
Crash when toggling between the QtQuick UI and the widgets UI. 

I think we might still have focus on an invisible window.

The crash can be reproduced every time.

-- Backtrace:
Application: Konversation (konversation), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbe58d04d00 (LWP 19222))]

Thread 5 (Thread 0x7fbe3da87700 (LWP 19228)):
#0  0x00007fbe6274038d in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x00007fbe636d6187 in QWaitConditionPrivate::wait
(time=18446744073709551615, this=0x56441ac59d80) at
/home/david/projects/qt5/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this at entry=0x56441ac5a3a8,
mutex=mutex at entry=0x56441ac5a3a0, time=time at entry=18446744073709551615) at
/home/david/projects/qt5/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:215
#3  0x00007fbe68d20f6f in QSGRenderThreadEventQueue::takeEvent (wait=true,
this=0x56441ac5a398) at
/home/david/projects/qt5/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:245
#4  QSGRenderThread::processEventsAndWaitForMore
(this=this at entry=0x56441ac5a320) at
/home/david/projects/qt5/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:709
#5  0x00007fbe68d214e4 in QSGRenderThread::run (this=0x56441ac5a320) at
/home/david/projects/qt5/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:738
#6  0x00007fbe636d5a20 in QThreadPrivate::start (arg=0x56441ac5a320) at
/home/david/projects/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:376
#7  0x00007fbe6273a08a in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007fbe62a4724f in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7fbe4e874700 (LWP 19225)):
#0  QMutexLocker::QMutexLocker (m=0x56441a0d8300, this=0x7fbe4e873af0) at
../../include/QtCore/../../../../qt5/qtbase/src/corelib/thread/qmutex.h:201
#1  QThreadData::canWaitLocked (this=0x56441a0d82d0) at
../../include/QtCore/5.10.0/QtCore/private/../../../../../../../qt5/qtbase/src/corelib/thread/qthread_p.h:253
#2  postEventSourcePrepare (s=0x7fbe44004790, timeout=0x7fbe4e873b34) at
/home/david/projects/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:259
#3  0x00007fbe5be2d771 in g_main_context_prepare () from
/usr/lib/libglib-2.0.so.0
#4  0x00007fbe5be2ddf6 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007fbe5be2dfae in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#6  0x00007fbe6390231c in QEventDispatcherGlib::processEvents
(this=0x7fbe44000b10, flags=...) at
/home/david/projects/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:425
#7  0x00007fbe638a2f49 in QEventLoop::processEvents
(this=this at entry=0x7fbe4e873d20, flags=..., flags at entry=...) at
/home/david/projects/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:134
#8  0x00007fbe638a3397 in QEventLoop::exec (this=this at entry=0x7fbe4e873d20,
flags=flags at entry=...) at
/home/david/projects/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:212
#9  0x00007fbe636cf45c in QThread::exec (this=this at entry=0x56441a0df420) at
/home/david/projects/qt5/qtbase/src/corelib/thread/qthread.cpp:515
#10 0x00007fbe689d1b76 in QQmlThreadPrivate::run (this=0x56441a0df420) at
/home/david/projects/qt5/qtdeclarative/src/qml/qml/ftw/qqmlthread.cpp:147
#11 0x00007fbe636d5a20 in QThreadPrivate::start (arg=0x56441a0df420) at
/home/david/projects/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:376
#12 0x00007fbe6273a08a in start_thread () from /usr/lib/libpthread.so.0
#13 0x00007fbe62a4724f in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7fbe5597e700 (LWP 19224)):
#0  0x00007fbe5be55664 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0
#1  0x00007fbe5be27472 in g_main_context_query () from
/usr/lib/libglib-2.0.so.0
#2  0x00007fbe5be2de4c in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007fbe5be2dfae in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#4  0x00007fbe6390231c in QEventDispatcherGlib::processEvents
(this=0x7fbe48000b10, flags=...) at
/home/david/projects/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fbe638a2f49 in QEventLoop::processEvents
(this=this at entry=0x7fbe5597dd30, flags=..., flags at entry=...) at
/home/david/projects/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:134
#6  0x00007fbe638a3397 in QEventLoop::exec (this=this at entry=0x7fbe5597dd30,
flags=flags at entry=...) at
/home/david/projects/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:212
#7  0x00007fbe636cf45c in QThread::exec (this=<optimized out>) at
/home/david/projects/qt5/qtbase/src/corelib/thread/qthread.cpp:515
#8  0x00007fbe636cf4eb in QThread::run (this=<optimized out>) at
/home/david/projects/qt5/qtbase/src/corelib/thread/qthread.cpp:582
#9  0x00007fbe636d5a20 in QThreadPrivate::start (arg=0x564419e63230) at
/home/david/projects/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:376
#10 0x00007fbe6273a08a in start_thread () from /usr/lib/libpthread.so.0
#11 0x00007fbe62a4724f in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fbe56d9a700 (LWP 19223)):
#0  0x00007fbe62a3cd4b in poll () from /usr/lib/libc.so.6
#1  0x00007fbe5be2ded3 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fbe5be2dfae in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#3  0x00007fbe6390231c in QEventDispatcherGlib::processEvents
(this=0x7fbe50000b10, flags=...) at
/home/david/projects/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fbe638a2f49 in QEventLoop::processEvents
(this=this at entry=0x7fbe56d99d00, flags=..., flags at entry=...) at
/home/david/projects/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:134
#5  0x00007fbe638a3397 in QEventLoop::exec (this=this at entry=0x7fbe56d99d00,
flags=flags at entry=...) at
/home/david/projects/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:212
#6  0x00007fbe636cf45c in QThread::exec (this=this at entry=0x7fbe64362dc0
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
/home/david/projects/qt5/qtbase/src/corelib/thread/qthread.cpp:515
#7  0x00007fbe642da730 in QDBusConnectionManager::run (this=0x7fbe64362dc0
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
/home/david/projects/qt5/qtbase/src/dbus/qdbusconnection.cpp:178
#8  0x00007fbe636d5a20 in QThreadPrivate::start (arg=0x7fbe64362dc0 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
/home/david/projects/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:376
#9  0x00007fbe6273a08a in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007fbe62a4724f in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fbe58d04d00 (LWP 19222)):
[KCrash Handler]
#6  0x00007fbe629858a0 in raise () from /usr/lib/libc.so.6
#7  0x00007fbe62986f09 in abort () from /usr/lib/libc.so.6
#8  0x00007fbe587dfb80 in ?? () from /usr/lib/libwayland-client.so.0
#9  0x00007fbe587dbb50 in wl_proxy_marshal_array_constructor_versioned () from
/usr/lib/libwayland-client.so.0
#10 0x00007fbe587dbc5e in wl_proxy_marshal () from
/usr/lib/libwayland-client.so.0
#11 0x00007fbe58a9da22 in zwp_text_input_v2_enable (surface=0x0,
zwp_text_input_v2=<optimized out>) at
../../include/QtWaylandClient/5.10.0/QtWaylandClient/private/wayland-text-input-unstable-v2-client-protocol.h:747
#12 QtWayland::zwp_text_input_v2::enable (this=<optimized out>,
surface=surface at entry=0x0) at qwayland-text-input-unstable-v2.cpp:59
#13 0x00007fbe58a8b998 in QtWaylandClient::QWaylandInputContext::update
(this=0x564419de87c0, queries=...) at
/home/david/projects/qt5/qtwayland/src/client/qwaylandinputcontext.cpp:446
#14 0x00007fbe6448bfcc in QInputMethod::update (this=0x56441a1c30f0,
queries=...) at
/home/david/projects/qt5/qtbase/src/gui/kernel/qinputmethod.cpp:327
#15 0x00007fbe68d63a55 in QQuickItem::updateInputMethod
(this=this at entry=0x56441a595000, queries=queries at entry=...) at
/home/david/projects/qt5/qtdeclarative/src/quick/items/qquickitem.cpp:5169
#16 0x00007fbe68dfd4c5 in QQuickTextEdit::moveCursorDelegate
(this=0x56441a595000) at
/home/david/projects/qt5/qtdeclarative/src/quick/items/qquicktextedit.cpp:2378
#17 0x00007fbe68e02f6e in QQuickTextEdit::qt_static_metacall
(_o=_o at entry=0x56441a595000, _c=_c at entry=QMetaObject::InvokeMetaMethod,
_id=_id at entry=61, _a=_a at entry=0x7fff06f2efa0) at
.moc/moc_qquicktextedit_p.cpp:798
#18 0x00007fbe68e03fe1 in QQuickTextEdit::qt_metacall
(this=this at entry=0x56441a595000, _c=_c at entry=QMetaObject::InvokeMetaMethod,
_id=61, _a=_a at entry=0x7fff06f2efa0) at .moc/moc_qquicktextedit_p.cpp:1275
#19 0x00007fbe5733f6b1 in QQuickTextArea::qt_metacall (this=0x56441a595000,
_c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff06f2efa0) at
.moc/moc_qquicktextarea_p.cpp:346
#20 0x00007fbe6890e7e1 in QQmlVMEMetaObject::metaCall (this=0x56441a40f2e0,
o=<optimized out>, c=QMetaObject::InvokeMetaMethod, _id=107, a=0x7fff06f2efa0)
at /home/david/projects/qt5/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:978
#21 0x00007fbe638b0769 in QMetaObject::metacall
(object=object at entry=0x56441a595000, cl=cl at entry=QMetaObject::InvokeMetaMethod,
idx=idx at entry=107, argv=<optimized out>) at
/home/david/projects/qt5/qtbase/src/corelib/kernel/qmetaobject.cpp:299
#22 0x00007fbe638d70e4 in QMetaObject::activate
(sender=sender at entry=0x56441a598220, signalOffset=<optimized out>,
local_signal_index=local_signal_index at entry=12, argv=argv at entry=0x0) at
/home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3781
#23 0x00007fbe638d7379 in QMetaObject::activate (sender=0x56441a598220,
m=m at entry=0x7fbe6902a220 <QQuickTextControl::staticMetaObject>,
local_signal_index=local_signal_index at entry=12, argv=argv at entry=0x0) at
/home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3628
#24 0x00007fbe68df141e in QQuickTextControl::cursorRectangleChanged
(this=<optimized out>) at .moc/moc_qquicktextcontrol_p.cpp:447
#25 0x00007fbe68df2632 in QQuickTextControl::updateCursorRectangle
(this=this at entry=0x56441a598220, force=force at entry=true) at
/home/david/projects/qt5/qtdeclarative/src/quick/items/qquicktextcontrol.cpp:650
#26 0x00007fbe68df2cc6 in QQuickTextControlPrivate::_q_updateCursorPosChanged
(this=<optimized out>, someCursor=...) at
/home/david/projects/qt5/qtdeclarative/src/quick/items/qquicktextcontrol.cpp:460
#27 0x00007fbe68df7cc7 in QQuickTextControl::qt_static_metacall
(_o=_o at entry=0x56441a598220, _c=_c at entry=QMetaObject::InvokeMetaMethod,
_id=_id at entry=26, _a=_a at entry=0x7fff06f2f1c0) at
.moc/moc_qquicktextcontrol_p.cpp:215
#28 0x00007fbe68df8045 in QQuickTextControl::qt_metacall (this=0x56441a598220,
_c=QMetaObject::InvokeMetaMethod, _id=26, _a=0x7fff06f2f1c0) at
.moc/moc_qquicktextcontrol_p.cpp:356
#29 0x00007fbe638b0774 in QMetaObject::metacall
(object=object at entry=0x56441a598220, cl=cl at entry=QMetaObject::InvokeMetaMethod,
idx=idx at entry=31, argv=<optimized out>) at
/home/david/projects/qt5/qtbase/src/corelib/kernel/qmetaobject.cpp:301
#30 0x00007fbe638d70e4 in QMetaObject::activate
(sender=sender at entry=0x56441a5950b0, signalOffset=<optimized out>,
local_signal_index=local_signal_index at entry=6, argv=argv at entry=0x7fff06f2f1c0)
at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3781
#31 0x00007fbe638d7379 in QMetaObject::activate
(sender=sender at entry=0x56441a5950b0, m=m at entry=0x7fbe648cce20
<QTextDocument::staticMetaObject>,
local_signal_index=local_signal_index at entry=6, argv=argv at entry=0x7fff06f2f1c0)
at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3628
#32 0x00007fbe647c7e01 in QTextDocument::cursorPositionChanged
(this=this at entry=0x56441a5950b0, _t1=...) at .moc/moc_qtextdocument.cpp:423
#33 0x00007fbe6457ca83 in QTextDocumentPrivate::finishEdit
(this=this at entry=0x56441a5950e0) at
/home/david/projects/qt5/qtbase/src/gui/text/qtextdocument_p.cpp:1244
#34 0x00007fbe6457cc66 in QTextDocumentPrivate::insert
(this=this at entry=0x56441a5950e0, pos=0, strPos=strPos at entry=1,
strLength=strLength at entry=1, format=format at entry=0) at
/home/david/projects/qt5/qtbase/src/gui/text/qtextdocument_p.cpp:471
#35 0x00007fbe645a8a51 in QTextCursor::insertText
(this=this at entry=0x7fff06f2f380, text=..., _format=...) at
/home/david/projects/qt5/qtbase/src/gui/text/qtextcursor.cpp:1474
#36 0x00007fbe645a8ac7 in QTextCursor::insertText
(this=this at entry=0x7fff06f2f380, text=...) at
/home/david/projects/qt5/qtbase/src/gui/text/qtextcursor.cpp:1403
#37 0x00007fbe68dfe030 in QQuickTextEdit::insert (this=<optimized out>,
position=0, text=...) at
/home/david/projects/qt5/qtdeclarative/src/quick/items/qquicktextedit.cpp:2780
#38 0x00007fbe68e02f06 in QQuickTextEdit::qt_static_metacall
(_o=_o at entry=0x56441a595000, _c=_c at entry=QMetaObject::InvokeMetaMethod,
_id=_id at entry=54, _a=_a at entry=0x7fff06f2f630) at
.moc/moc_qquicktextedit_p.cpp:791
#39 0x00007fbe68e03fe1 in QQuickTextEdit::qt_metacall
(this=this at entry=0x56441a595000, _c=_c at entry=QMetaObject::InvokeMetaMethod,
_id=54, _a=_a at entry=0x7fff06f2f630) at .moc/moc_qquicktextedit_p.cpp:1275
#40 0x00007fbe5733f6b1 in QQuickTextArea::qt_metacall (this=0x56441a595000,
_c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff06f2f630) at
.moc/moc_qquicktextarea_p.cpp:346
#41 0x00007fbe6890e7e1 in QQmlVMEMetaObject::metaCall (this=0x56441a40f2e0,
o=<optimized out>, c=QMetaObject::InvokeMetaMethod, _id=100, a=0x7fff06f2f630)
at /home/david/projects/qt5/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:978
#42 0x00007fbe638b0769 in QMetaObject::metacall (object=<optimized out>,
cl=<optimized out>, idx=<optimized out>, argv=<optimized out>) at
/home/david/projects/qt5/qtbase/src/corelib/kernel/qmetaobject.cpp:299
#43 0x00007fbe68974969 in QQmlObjectOrGadget::metacall
(this=this at entry=0x7fff06f2f930, type=type at entry=QMetaObject::InvokeMetaMethod,
index=<optimized out>, index at entry=100, argv=0x7fff06f2f630) at
/home/david/projects/qt5/qtdeclarative/src/qml/qml/qqmlpropertycache.cpp:1732
#44 0x00007fbe688db5e3 in CallMethod (object=..., index=<optimized out>,
returnType=returnType at entry=43, argCount=<optimized out>, argTypes=<optimized
out>, engine=engine at entry=0x56441a0df830, callArgs=<optimized out>,
callType=<optimized out>) at
/home/david/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1158
#45 0x00007fbe688dbcb7 in CallPrecise (object=..., data=...,
engine=engine at entry=0x56441a0df830, callArgs=callArgs at entry=0x7fbe4d835450,
callType=callType at entry=QMetaObject::InvokeMetaMethod) at
/home/david/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1420
#46 0x00007fbe688dc466 in QV4::QObjectMethod::callInternal
(this=0x7fbe4d8354a8, callData=0x7fbe4d835450, scope=...) at
/home/david/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1966
#47 0x00007fbe688dc742 in QV4::QObjectMethod::call (m=<optimized out>,
scope=..., callData=<optimized out>) at
/home/david/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1895
#48 0x00007fbe688fee86 in QV4::Object::call (d=0x7fbe4d835450, scope=...,
this=<optimized out>) at
/home/david/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4object_p.h:445
#49 QV4::Runtime::method_callProperty (engine=0x56441a0df830,
nameIndex=<optimized out>, callData=0x7fbe4d835450) at
/home/david/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:1104
#50 0x00007fbe42baefc7 in ?? ()
#51 0x000056441a2123e0 in ?? ()
#52 0x00007fbe688d9df1 in QV4::QObjectWrapper::getProperty
(engine=0x7fbe4d835490, object=0x7fff06f2fb00, property=0x7fbe4dc80480,
captureRequired=<optimized out>) at
/home/david/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:235
#53 0x00007fbe688172eb in QV4::ExecutionContext::simpleCall
(this=0x56441a0df830, scope=..., callData=<optimized out>,
function=0x56441a0df830) at
/home/david/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4context.cpp:302
#54 0x00007fbe68845caa in QV4::ScriptFunction::call (that=<optimized out>,
scope=..., callData=<optimized out>) at
/home/david/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:409
#55 0x00007fbe688fee86 in QV4::Object::call (d=0x7fbe4d8353a8, scope=...,
this=<optimized out>) at
/home/david/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4object_p.h:445
#56 QV4::Runtime::method_callProperty (engine=0x56441a0df830,
nameIndex=<optimized out>, callData=0x7fbe4d8353a8) at
/home/david/projects/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:1104
#57 0x00007fbe4c0039c4 in ?? ()
#58 0x000000000000000f in ?? ()
#59 0x00007fbe68f3b26b in qt_meta_stringdata_QQuickKeysAttached () from
/opt/qt5/lib/libQt5Quick.so.5
#60 0x0000000000000001 in ?? ()
#61 0x0003400000000001 in ?? ()
#62 0x000000000000000f in ?? ()
#63 0x00007fbe638bbc94 in QReadLocker::unlock (this=0x7fff06f2fcb8) at
../../include/QtCore/../../../../qt5/qtbase/src/corelib/thread/qreadwritelock.h:97
#64 QReadLocker::~QReadLocker (this=0x7fff06f2fcb8, __in_chrg=<optimized out>)
at
../../include/QtCore/../../../../qt5/qtbase/src/corelib/thread/qreadwritelock.h:90
#65 qMetaTypeTypeImpl<true> (typeName=<optimized out>, length=<optimized out>)
at /home/david/projects/qt5/qtbase/src/corelib/kernel/qmetatype.cpp:1267
#66 0x00007fbe68945652 in QHash<QMetaObject const*,
QQmlPropertyCache*>::findNode (this=<optimized out>, akey=<optimized out>,
ahp=<optimized out>) at
/home/david/projects/qt5-build/qtbase/include/QtCore/../../../../qt5/qtbase/src/corelib/tools/qhash.h:936
#67 0x0000000000000000 in ?? ()

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Konversation-devel mailing list