On dimanche 5 août 2018 01:41:01 CEST Ben Cooksley wrote:
> On Sat, Aug 4, 2018 at 11:06 PM, David Faure <fa...@kde.org> wrote:
> > Anyone running FreeBSD, who could to try and debug this hanging unittest
> > from the ktextwidgets framework?
> > 
> > https://build.kde.org/view/Frameworks/job/Frameworks%20ktextwidgets%20kf5-> 
> > > qt5%20FreeBSDQt5.10/9/testReport/junit/(root)/TestSuite/ktextwidgets_krich
> > textedittest/
> > 
> > There's no waiting of any kind in the code, it's straight QTextDocument
> > usage, this shouldn't deadlock or anything. Yet it times out (after 30
> > seconds!!) quite often in CI.
> 
> This is a rather unusual failure, as the CI system is giving that test
> 5 minutes to timeout, after the test has finished.
> 
> Usually this happens when tests start background daemons and don't
> kill those processes off before the test exits (which CTest doesn't
> like).
> However I don't think it's a background process sticking around in
> this case as those type of hangs are usually
> manual-intervention-required ones, which this isn't.
> 
> Unfortunately it seems that the issue has gone away though so it's not
> possible to dig into this much further...
> https://build.kde.org/view/Frameworks/job/Frameworks%20ktextwidgets%20kf5-qt
> 5%20FreeBSDQt5.10/22/

It went away because the freebsd people made a fix and forgot to CC this list 
;-)

See attached email.

Thanks everyone! One more green (well, blue) in the CI...

-- 
David Faure, fa...@kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5
--- Begin Message ---
I replaced the backend of qt5-speech with flite instead of
speech-dispatcher which seemed to hang every 20-30th time....
let's see if that is enough.

mfg Tobias

On Sat, 4 Aug 2018 at 16:13, Adriaan de Groot <gr...@kde.org> wrote:

> On Saturday, 4 August 2018 15:09:02 CEST Adriaan de Groot wrote:
> > On Saturday, 4 August 2018 13:06:42 CEST David Faure wrote:
> > > There's no waiting of any kind in the code, it's straight QTextDocument
> > > usage, this shouldn't deadlock or anything. Yet it times out (after 30
> > > seconds!!) quite often in CI.
> >
> > I just built master -- after changing the CMakeLists.txt to accept
> > Frameworks 5.46 which I have on my live desktop -- and ran the tests
> twice
> > with "make test".
>
> On the CI nodes themselves, this does lock up, like so: (but I have no
> idea
> what to do about it)
>
> (gdb) thread apply 1 bt
>
> Thread 1 (LWP 101006 of process 16170):
> #0  0x0000000803a2fc7c in ?? () from /lib/libthr.so.3
> #1  0x0000000803a2c325 in ?? () from /lib/libthr.so.3
> #2  0x0000000812e45306 in spd_close () from /usr/local/lib/libspeechd.so.2
> #3  0x0000000812c377f6 in
> QTextToSpeechEngineSpeechd::~QTextToSpeechEngineSpeechd
> (this=0x606000026840)
>     at
> /wrkdirs/usr/ports/accessibility/qt5-speech/work/qtspeech-everywhere-
> src-5.10.1/src/plugins/tts/speechdispatcher/qtexttospeech_speechd.cpp:78
> #4  0x0000000812c37889 in
> QTextToSpeechEngineSpeechd::~QTextToSpeechEngineSpeechd
> (this=0x606000026840)
>     at
> /wrkdirs/usr/ports/accessibility/qt5-speech/work/qtspeech-everywhere-
> src-5.10.1/src/plugins/tts/speechdispatcher/qtexttospeech_speechd.cpp:74
> #5  0x00000008049094f1 in QTextToSpeechPrivate::~QTextToSpeechPrivate
> (this=0x60e000012aa0) at /wrkdirs/usr/ports/accessibility/qt5-speech/work/
> qtspeech-everywhere-src-5.10.1/src/tts/qtexttospeech.cpp:88
> #6  0x0000000804909589 in QTextToSpeechPrivate::~QTextToSpeechPrivate
> (this=0x60e000012aa0) at /wrkdirs/usr/ports/accessibility/qt5-speech/work/
> qtspeech-everywhere-src-5.10.1/src/tts/qtexttospeech.cpp:86
> #7  0x0000000802dfce6b in QScopedPointerDeleter<QObjectData>::cleanup
> (pointer=0x60e000012aa0) at ../../include/QtCore/../../src/corelib/tools/
> qscopedpointer.h:60
> #8  0x0000000802df9530 in QScopedPointer<QObjectData,
> QScopedPointerDeleter<QObjectData> >::~QScopedPointer
> (this=0x60200001ed98) at
> ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:107
> #9  0x0000000802dec748 in QObject::~QObject (this=0x60200001ed90) at
> kernel/
> qobject.cpp:1033
> #10 0x000000080490f405 in QTextToSpeech::~QTextToSpeech
> (this=0x60200001ed90)
> at
> .moc/../../../../qtspeech-everywhere-src-5.10.1/src/tts/qtexttospeech.h:54
> #11 0x000000080490f429 in QTextToSpeech::~QTextToSpeech
> (this=0x60200001ed90)
> at
> .moc/../../../../qtspeech-everywhere-src-5.10.1/src/tts/qtexttospeech.h:54
> #12 0x00000008003b2d33 in KTextEdit::Private::~Private
> (this=0x60d000016350)
> at /usr/home/jenkins/workspace/Frameworks ktextwidgets kf5-qt5
> FreeBSDQt5.10/
> src/widgets/ktextedit.cpp:99
> #13 0x00000008003a0d1a in KTextEdit::~KTextEdit (this=0x7fffffffce00) at
> /usr/
> home/jenkins/workspace/Frameworks ktextwidgets kf5-qt5 FreeBSDQt5.10/src/
> widgets/ktextedit.cpp:341
> #14 0x0000000800375fca in KRichTextEdit::~KRichTextEdit
> (this=0x7fffffffce00)
> at /usr/home/jenkins/workspace/Frameworks ktextwidgets kf5-qt5
> FreeBSDQt5.10/
> src/widgets/krichtextedit.cpp:133
> #15 0x00000000002be6fe in KRichTextEditTest::testUpdateLinkAdd
> (this=0x7fffffffe990) at /usr/home/jenkins/workspace/Frameworks
> ktextwidgets
> kf5-qt5 FreeBSDQt5.10/autotests/krichtextedittest.cpp:81
> #16 0x00000000002cbfbd in KRichTextEditTest::qt_static_metacall
> (_o=0x7fffffffe990, _c=QMetaObject::InvokeMetaMethod, _id=1,
> _a=0x7fffffffd5b0)
>     at /usr/home/jenkins/workspace/Frameworks ktextwidgets kf5-qt5
> FreeBSDQt5.10/build/autotests/ktextwidgets-krichtextedittest_autogen/
> EWIEGA46WW/moc_krichtextedittest.cpp:90
> #17 0x0000000802db1d37 in QMetaMethod::invoke (this=0x60f000003d40,
> object=0x7fffffffe990, connectionType=Qt::DirectConnection,
> returnValue=...,
> val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=...,
>     val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:2311
> #18 0x0000000800505bcd in QMetaMethod::invoke (this=0x60f000003d40,
> object=0x7fffffffe990, connectionType=Qt::DirectConnection, val0=...,
> val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=...,
>     val8=..., val9=...) at ../../include/QtCore/../../src/corelib/kernel/
> qmetaobject.h:122
> #19 0x00000008004fde62 in QTest::TestMethods::invokeTestOnData
> (this=0x7fffffffe6e0, index=1) at qtestcase.cpp:893
> #20 0x00000008004fee79 in QTest::TestMethods::invokeTest
> (this=0x7fffffffe6e0,
> index=1, data=0x0, watchDog=0x60400000dc10) at qtestcase.cpp:1074
> #21 0x00000008005006c4 in QTest::TestMethods::invokeTests
> (this=0x7fffffffe6e0, testObject=0x7fffffffe990) at qtestcase.cpp:1391
> #22 0x0000000800501584 in QTest::qRun () at qtestcase.cpp:1831
> #23 0x0000000800500d98 in QTest::qExec (testObject=0x7fffffffe990, argc=1,
> argv=0x7fffffffead0) at qtestcase.cpp:1718
> #24 0x00000000002bc877 in main (argc=1, argv=0x7fffffffead0) at /usr/home/
> jenkins/workspace/Frameworks ktextwidgets kf5-qt5 FreeBSDQt5.10/autotests/
> krichtextedittest.cpp:31
>
> [ade]

--- End Message ---

Reply via email to