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

--- Comment #8 from 1238...@gmail.com ---
Here is the backtrace for the crash. I notice it happens more regularly it
editing the lesson Description field.

Application: Typewriting Trainer (ktouch), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f873eff3040 (LWP 6350))]

Thread 5 (Thread 0x7f872aac8700 (LWP 6357)):
#0  0x00007f8742ec63c5 in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x00007f874348fcf0 in QWaitConditionPrivate::wait (deadline=...,
this=0x55a63b07afd0) at thread/qwaitcondition_unix.cpp:146
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x55a63b07c2c0,
deadline=...) at thread/qwaitcondition_unix.cpp:225
#3  0x00007f874348fde2 in QWaitCondition::wait (this=0x55a63b07c2c8,
mutex=0x55a63b07c2c0, time=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#4  0x00007f874472f4cd in ?? () from /usr/lib/libQt5Quick.so.5
#5  0x00007f874472f73c in ?? () from /usr/lib/libQt5Quick.so.5
#6  0x00007f8743489bf0 in QThreadPrivate::start (arg=0x55a63b07c240) at
thread/qthread_unix.cpp:361
#7  0x00007f8742ec057f in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f8742fd3f13 in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f872bfff700 (LWP 6355)):
#0  0x00007f87402c3bb7 in ?? () from /usr/lib/libglib-2.0.so.0
#1  0x00007f87402c3d9f in g_main_context_check () from
/usr/lib/libglib-2.0.so.0
#2  0x00007f87402c5766 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f87402c58ae in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#4  0x00007f87436a627c in QEventDispatcherGlib::processEvents
(this=0x7f8724000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f874364d3ac in QEventLoop::exec (this=this@entry=0x7f872bffed80,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f87434889c5 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f87443da969 in ?? () from /usr/lib/libQt5Qml.so.5
#8  0x00007f8743489bf0 in QThreadPrivate::start (arg=0x55a63a6a2d80) at
thread/qthread_unix.cpp:361
#9  0x00007f8742ec057f in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f8742fd3f13 in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f8737fff700 (LWP 6354)):
#0  0x00007f87402733a9 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#1  0x00007f87402c4ee8 in g_main_context_prepare () from
/usr/lib/libglib-2.0.so.0
#2  0x00007f87402c56e6 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f87402c58ae in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#4  0x00007f87436a627c in QEventDispatcherGlib::processEvents
(this=0x7f872c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f874364d3ac in QEventLoop::exec (this=this@entry=0x7f8737ffeda0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f87434889c5 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f8743489bf0 in QThreadPrivate::start (arg=0x55a63a681ec0) at
thread/qthread_unix.cpp:361
#8  0x00007f8742ec057f in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f8742fd3f13 in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f873c89d700 (LWP 6353)):
#0  0x00007f8740273414 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0
#1  0x00007f87402c58b9 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#2  0x00007f87436a627c in QEventDispatcherGlib::processEvents
(this=0x7f8730000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#3  0x00007f874364d3ac in QEventLoop::exec (this=this@entry=0x7f873c89cd70,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#4  0x00007f87434889c5 in QThread::exec (this=this@entry=0x7f8742c67080
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#5  0x00007f8742be3b37 in QDBusConnectionManager::run (this=0x7f8742c67080
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#6  0x00007f8743489bf0 in QThreadPrivate::start (arg=0x7f8742c67080 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:361
#7  0x00007f8742ec057f in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f8742fd3f13 in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f873eff3040 (LWP 6350)):
[KCrash Handler]
#6  0x00007f8744327702 in
QQmlData::isSignalConnected(QAbstractDeclarativeData*, QObject const*, int) ()
from /usr/lib/libQt5Qml.so.5
#7  0x00007f8743679b9a in QObjectPrivate::isDeclarativeSignalConnected
(signal_index=7, this=<optimized out>) at kernel/qobject_p.h:110
#8  QMetaObject::activate (sender=0x55a63b83d5f0, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3669
#9  0x000055a63a1dd6e7 in CourseEditor::setLessonText
(this=this@entry=0x55a63b129580, newText=...) at
/usr/src/debug/ktouch-19.04.2/src/editor/courseeditor.cpp:233
#10 0x000055a63a1dd85f in CourseEditor::onLessonTextChanged
(this=0x55a63b129580) at
/usr/src/debug/ktouch-19.04.2/src/editor/courseeditor.cpp:342
#11 CourseEditor::onLessonTextChanged (this=0x55a63b129580) at
/usr/src/debug/ktouch-19.04.2/src/editor/courseeditor.cpp:333
#12 0x00007f874367a460 in QtPrivate::QSlotObjectBase::call (a=0x7ffc77b70b10,
r=0x55a63b129580, this=0x55a63b6976c0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#13 QMetaObject::activate (sender=0x55a63b67b380, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3781
#14 0x00007f8744e1da25 in QTextEdit::qt_static_metacall (_o=0x55a63b67b380,
_c=<optimized out>, _id=<optimized out>, _a=0x7ffc77b70c60) at
.moc/moc_qtextedit.cpp:325
#15 0x00007f874367a2f9 in QMetaObject::activate (sender=0x55a63b67fec0,
signalOffset=<optimized out>, local_signal_index=<optimized out>,
argv=<optimized out>) at kernel/qobject.cpp:3801
#16 0x00007f8744e444f1 in QWidgetTextControl::qt_static_metacall
(_o=_o@entry=0x55a63b67fec0, _c=_c@entry=QMetaObject::InvokeMetaMethod,
_id=_id@entry=0, _a=_a@entry=0x7ffc77b70de0) at
.moc/moc_qwidgettextcontrol_p.cpp:256
#17 0x00007f8744e448e3 in QWidgetTextControl::qt_metacall (this=0x55a63b67fec0,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffc77b70de0) at
.moc/moc_qwidgettextcontrol_p.cpp:471
#18 0x00007f874367a3bd in QMetaObject::activate (sender=0x55a63b67ff10,
signalOffset=<optimized out>, local_signal_index=<optimized out>,
argv=<optimized out>) at kernel/qobject.cpp:3819
#19 0x00007f8743c045fe in QTextDocumentPrivate::finishEdit
(this=0x55a63b67ff70) at text/qtextdocument_p.cpp:1246
#20 0x00007f8743c049c8 in QTextDocumentPrivate::endEditBlock (this=<optimized
out>) at text/qtextdocument_p.cpp:1201
#21 QTextDocumentPrivate::endEditBlock (this=<optimized out>) at
text/qtextdocument_p.cpp:1184
#22 0x00007f8743c4aa4e in QSyntaxHighlighter::setDocument
(this=this@entry=0x55a63b6790a0, doc=doc@entry=0x0) at
text/qsyntaxhighlighter.cpp:341
#23 0x00007f8743c4ac7a in QSyntaxHighlighter::~QSyntaxHighlighter
(this=0x55a63b6790a0, __in_chrg=<optimized out>) at
text/qsyntaxhighlighter.cpp:323
#24 0x000055a63a192e11 in LessonTextHighlighter::~LessonTextHighlighter
(this=0x55a63b6790a0, __in_chrg=<optimized out>) at
/usr/include/c++/9.1.0/bits/atomic_base.h:326
#25 LessonTextHighlighter::~LessonTextHighlighter (this=0x55a63b6790a0,
__in_chrg=<optimized out>) at
/usr/src/debug/build/src/ktouch_autogen/3HAKN7MTYQ/../../../../ktouch-19.04.2/src/editor/lessontexthighlighter.h:25
#26 0x00007f874367803e in QObjectPrivate::deleteChildren
(this=this@entry=0x55a63b678e60) at kernel/qobject.cpp:2016
#27 0x00007f8744c87ae3 in QWidget::~QWidget (this=0x55a63b678de0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1708
#28 0x000055a63a191eee in LessonTextEditor::~LessonTextEditor
(this=0x55a63b678de0, __in_chrg=<optimized out>) at
/usr/src/debug/ktouch-19.04.2/src/editor/lessontexteditor.h:26
#29 LessonTextEditor::~LessonTextEditor (this=0x55a63b678de0,
__in_chrg=<optimized out>) at
/usr/src/debug/ktouch-19.04.2/src/editor/lessontexteditor.h:26
#30 0x00007f874367803e in QObjectPrivate::deleteChildren
(this=this@entry=0x55a63b673bb0) at kernel/qobject.cpp:2016
#31 0x00007f8744c87ae3 in QWidget::~QWidget (this=0x55a63b673b70,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1708
#32 0x00007f8744c87cea in QWidget::~QWidget (this=0x55a63b673b70,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1570
#33 0x00007f874367803e in QObjectPrivate::deleteChildren
(this=this@entry=0x55a63b662460) at kernel/qobject.cpp:2016
#34 0x00007f8744c87ae3 in QWidget::~QWidget (this=0x55a63b662420,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1708
#35 0x00007f8744dff7ea in QSplitter::~QSplitter (this=0x55a63b662420,
__in_chrg=<optimized out>) at widgets/qsplitter.cpp:972
#36 0x00007f874367803e in QObjectPrivate::deleteChildren
(this=this@entry=0x55a63b664bb0) at kernel/qobject.cpp:2016
#37 0x00007f8744c87ae3 in QWidget::~QWidget (this=0x55a63b662230,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1708
#38 0x00007f8744d8326a in QGroupBox::~QGroupBox (this=0x55a63b662230,
__in_chrg=<optimized out>) at widgets/qgroupbox.cpp:201
#39 0x00007f874367803e in QObjectPrivate::deleteChildren
(this=this@entry=0x55a63b64f8e0) at kernel/qobject.cpp:2016
#40 0x00007f8744c87ae3 in QWidget::~QWidget (this=0x55a63b129580,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1708
#41 0x000055a63a19234e in CourseEditor::~CourseEditor (this=0x55a63b129580,
__in_chrg=<optimized out>) at
/usr/src/debug/build/src/ktouch_autogen/3HAKN7MTYQ/../../../../ktouch-19.04.2/src/editor/courseeditor.h:34
#42 CourseEditor::~CourseEditor (this=0x55a63b129580, __in_chrg=<optimized
out>) at
/usr/src/debug/build/src/ktouch_autogen/3HAKN7MTYQ/../../../../ktouch-19.04.2/src/editor/courseeditor.h:34
#43 0x00007f874367803e in QObjectPrivate::deleteChildren
(this=this@entry=0x55a63a75b3b0) at kernel/qobject.cpp:2016
#44 0x00007f8744c87ae3 in QWidget::~QWidget (this=0x55a63b64e960,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1708
#45 0x00007f8744e0062a in QStackedWidget::~QStackedWidget (this=0x55a63b64e960,
__in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:145
#46 0x00007f874367803e in QObjectPrivate::deleteChildren
(this=this@entry=0x55a63b21f830) at kernel/qobject.cpp:2016
#47 0x00007f8744c87ae3 in QWidget::~QWidget (this=0x55a63b648aa0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1708
#48 0x00007f8744dff7ea in QSplitter::~QSplitter (this=0x55a63b648aa0,
__in_chrg=<optimized out>) at widgets/qsplitter.cpp:972
#49 0x00007f874367803e in QObjectPrivate::deleteChildren
(this=this@entry=0x55a63b435d70) at kernel/qobject.cpp:2016
#50 0x00007f8744c87ae3 in QWidget::~QWidget (this=0x55a63b622800,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1708
#51 0x000055a63a191d0e in ResourceEditorWidget::~ResourceEditorWidget
(this=0x55a63b622800, __in_chrg=<optimized out>) at
/usr/src/debug/build/src/ktouch_autogen/3HAKN7MTYQ/../../../../ktouch-19.04.2/src/editor/resourceeditorwidget.h:32
#52 ResourceEditorWidget::~ResourceEditorWidget (this=0x55a63b622800,
__in_chrg=<optimized out>) at
/usr/src/debug/build/src/ktouch_autogen/3HAKN7MTYQ/../../../../ktouch-19.04.2/src/editor/resourceeditorwidget.h:32
#53 0x00007f874367803e in QObjectPrivate::deleteChildren
(this=this@entry=0x55a63b620f00) at kernel/qobject.cpp:2016
#54 0x00007f8744c87ae3 in QWidget::~QWidget (this=0x55a63b620240,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1708
#55 0x00007f874546e6a5 in KMainWindow::~KMainWindow() () from
/usr/lib/libKF5XmlGui.so.5
#56 0x000055a63a1d0749 in ResourceEditor::~ResourceEditor (this=0x55a63b620240,
__in_chrg=<optimized out>) at
/usr/src/debug/ktouch-19.04.2/src/editor/resourceeditor.cpp:122
#57 0x00007f874367ab51 in QObject::event (this=this@entry=0x55a63b620240,
e=e@entry=0x55a63c213be0) at kernel/qobject.cpp:1251
#58 0x00007f8744c8c3cf in QWidget::event (this=this@entry=0x55a63b620240,
event=event@entry=0x55a63c213be0) at kernel/qwidget.cpp:9397
#59 0x00007f8744da31c5 in QMainWindow::event (this=0x55a63b620240,
event=0x55a63c213be0) at widgets/qmainwindow.cpp:1339
#60 0x00007f8745470c2c in KMainWindow::event(QEvent*) () from
/usr/lib/libKF5XmlGui.so.5
#61 0x00007f8744c49485 in QApplicationPrivate::notify_helper
(this=this@entry=0x55a63a5e42f0, receiver=receiver@entry=0x55a63b620240,
e=e@entry=0x55a63c213be0) at kernel/qapplication.cpp:3737
#62 0x00007f8744c529b1 in QApplication::notify (this=0x7ffc77b71d60,
receiver=0x55a63b620240, e=0x55a63c213be0) at kernel/qapplication.cpp:3483
#63 0x00007f874364e782 in QCoreApplication::notifyInternal2
(receiver=0x55a63b620240, event=0x55a63c213be0) at
../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#64 0x00007f8743651459 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x55a63a5df250) at
kernel/qcoreapplication.cpp:1821
#65 0x00007f87436a6c64 in postEventSourceDispatch (s=0x55a63a653ae0) at
kernel/qeventdispatcher_glib.cpp:276
#66 0x00007f87402c390f in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#67 0x00007f87402c5869 in ?? () from /usr/lib/libglib-2.0.so.0
#68 0x00007f87402c58ae in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#69 0x00007f87436a6263 in QEventDispatcherGlib::processEvents
(this=0x55a63a654df0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#70 0x00007f874364d3ac in QEventLoop::exec (this=this@entry=0x7ffc77b71c60,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#71 0x00007f8743655056 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#72 0x000055a63a1859cc in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/ktouch-19.04.2/src/main.cpp:130
[Inferior 1 (process 6350) detached]

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

Reply via email to