Race condition on exit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Thumbnailer |
Invalid
|
High
|
Michi Henning | ||
gstreamer (Ubuntu) |
New
|
High
|
Unassigned |
Bug Description
Just got this on Jenkins amd64:
6: PASS : Thumbnailer:
6: PASS : Thumbnailer:
6: Totals: 19 passed, 1 failed, 0 skipped, 0 blacklisted
6: ********* Finished testing of Thumbnailer *********
6: Handler unity::
6: QProcess: Destroyed while process ("/tmp/
6: QObject::~QObject: Timers cannot be stopped from another thread
6/20 Test #6: qml .......
********* Start testing of Thumbnailer *********
Looks like we need to wait for the child process to exit in the destructor.
Changed in thumbnailer: | |
importance: | Undecided → Medium |
assignee: | nobody → Michi Henning (michihenning) |
Changed in thumbnailer: | |
status: | New → In Progress |
The QProcess error is easily dealt with by waiting for completion in the destructor.
The QTimer error is weird though.
Here is a link to the failed build: http:// s-jenkins. ubuntu- ci:8080/ job/thumbnailer -devel- wily-amd64- ci/36/console
I noticed that, prior to output I pasted in the original bug report, there was another failure:
6: PASS : Thumbnailer: :EmbeddedArt: :initTestCase( ) thumbnailer- 1.4bzr200pkg0wi ly36/tests/ media/testsong. ogg" at size QSize(-1, -1) :EmbeddedArt: :test_embedded_ art() 'wait for signal statusChanged' returned FALSE. () thumbnailer- 1.4bzr200pkg0wi ly36/tests/ qml/Fixture. qml(76) ] :EmbeddedArt: :cleanupTestCas e() :Photo: :initTestCase( )
6: Create thumbnail for "/tmp/buildd/
Connection Timeout: disconnecting client after 300.0 seconds
6: FAIL! : Thumbnailer:
6: Loc: [/tmp/buildd/
6: PASS : Thumbnailer:
6: PASS : Thumbnailer:
I'm not sure whether that's related.
I'm about to push a branch that fixes the wait problem and tidies up a few other things. But I don't have a definitive solution for the QTimer issue yet. We are now being called concurrently by the QML layer, which almost certainly is related, I'd say.