Remove dependency of qtmultimedia on gst0.10
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Dropping Letters |
Critical
|
Unassigned | ||
| | Ubuntu Clock App |
Critical
|
Unassigned | ||
| | Ubuntu Music App |
Critical
|
Unassigned | ||
| | qtmultimedia-opensource-src (Ubuntu) |
Critical
|
Jim Hodapp | ||
| | thumbnailer (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
Seems for a few days some of the core apps which use qtmultimedia now fail to start on the desktop with output like this:-
β« qmlscene music-app.qml
unity::
Could not determine application identifier. HUD will not work properly.
Provide your application identifier in $APP_ID environment variable.
(qmlscene:25234): GLib-GObject-
(qmlscene:25234): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(qmlscene:25234): GLib-GObject-
(qmlscene:25234): GLib-GObject-
(qmlscene:25234): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(qmlscene:25234): GLib-GObject-
(qmlscene:25234): GLib-GObject-
(qmlscene:25234): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(qmlscene:25234): GLib-GObject-
Attached is the strace output as foo.txt
A simple sample app which reproduces the issue can be seen at https:/
Also affected include core apps which use Audio {} such as Clock and Dropping Letters.
Related branches
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2014-09-03
- James Henstridge: Approve on 2014-09-03
-
Diff: 281 lines (+135/-70)4 files modifieddebian/changelog (+15/-0)
src/CMakeLists.txt (+1/-2)
src/audioimageextractor.cpp (+18/-60)
src/vs-thumb.cpp (+101/-8)
| Changed in ubuntu-clock-app: | |
| status: | New → Confirmed |
| Changed in music-app: | |
| status: | New → Confirmed |
| Changed in ubuntu-clock-app: | |
| importance: | Undecided → Critical |
| milestone: | none → rtm |
| Andrew Hayzen (ahayzen) wrote : | #3 |
Marked music app as critical as it is blocking landings
| Changed in music-app: | |
| importance: | Undecided → Critical |
| tags: | added: lt-blocker lt-category-visible lt-date-20140901 lt-prio-high |
| Εukasz Zemczak (sil2100) wrote : | #4 |
Might be related to LP: #1363653 ?
| MichaΕ Sawicz (saviq) wrote : | #5 |
See some details on description in bug #1364258
Looking at the logs it all seems to have broken down around the 28th August.
| Timo Jyrinki (timo-jyrinki) wrote : | #7 |
gst-plugins-bad1.0 1.4.0 update happened on 26th August: https:/
No other GStreamer (or Qt) updates lately. The ubuntu-rtm still has 1.2.4 of gst-plugins-bad1.0
| Timo Jyrinki (timo-jyrinki) wrote : | #8 |
Downgrading on desktop to plugins-bad 1.2.4-1ubuntu3 does not however help in eg. starting up camera-app. So the problem may lie in some other place than GStreamer.
| Stephen M. Webb (bregma) wrote : | #9 |
This problem also causes Unity 8 on desktop to hang during startup. A key clue:
$ grep "Initializing GStreamer Core" unity8.log
0:00:00.000070748 2537 0x1169400 INFO GST_INIT gst.c:499:init_pre: Initializing GStreamer Core Library version 1.4.0
0:00:00.000063448 2537 0x1169400 INFO GST_INIT gst.c:613:init_pre: Initializing GStreamer Core Library version 0.10.36
I don't think it's a good idea to use both versions of GStreamer in the same binary, hilarity ensues.
| Stephen M. Webb (bregma) wrote : | #10 |
Apparently the package libqt5multimedi
| Changed in dropping-letters: | |
| status: | New → Confirmed |
| importance: | Undecided → Critical |
| Will Cooke (willcooke) wrote : | #11 |
Further investigation points to this being a problem with thumbnailer. qtmultimedia uses gst0.10 and libthumbnailer use gst1.0 and they end up loaded in the same process and have symbol conflicts.
Probably this merge: https:/
is the culprit.
Assigning to Jussi for more checks.
| Nicholas Skaggs (nskaggs) wrote : | #12 |
If this affects you, as a workaround downgrade thumbnailer-service and libthumbnailer0, and be wary of upgrades until fixed ;-)
| Changed in thumbnailer: | |
| assignee: | nobody → Jussi Pakkanen (jpakkane) |
| importance: | Undecided → Critical |
| Nicholas Skaggs (nskaggs) wrote : | #13 |
lol @willcooke, posting the cause at the sametime is a little scary.
| Steve Langasek (vorlon) wrote : | #14 |
Why is libqt5multimedi
I've sponsored an upload of thumbnailer to revert the gst1.0 linkage, but it's failed to build; so continuing to work on this.
| Launchpad Janitor (janitor) wrote : | #15 |
This bug was fixed in the package thumbnailer - 1.2+14.
---------------
thumbnailer (1.2+14.
* Reintroduce the pthread linkage fix from 1.2+14.
required for the package to build.
-- Steve Langasek <email address hidden> Tue, 02 Sep 2014 13:26:28 -0700
| Changed in thumbnailer (Ubuntu): | |
| status: | New → Fix Released |
| Steve Langasek (vorlon) wrote : | #16 |
This bug has been worked around by dropping gstreamer linkage from thumbnailer, but the fact that libqt5multimedi
| Changed in qtmultimedia-opensource-src (Ubuntu): | |
| importance: | Undecided → Critical |
| Changed in thumbnailer: | |
| status: | New → In Progress |
| tags: | added: touch-2014-09-11 |
| Changed in dropping-letters: | |
| status: | Confirmed → Invalid |
| Changed in ubuntu-clock-app: | |
| status: | Confirmed → Invalid |
| Changed in music-app: | |
| status: | Confirmed → Invalid |
| Changed in thumbnailer: | |
| status: | In Progress → Invalid |
| assignee: | Jussi Pakkanen (jpakkane) → nobody |
| Changed in qtmultimedia-opensource-src (Ubuntu): | |
| assignee: | nobody → Jim Hodapp (jhodapp) |
| Changed in thumbnailer: | |
| importance: | Critical → Undecided |
| no longer affects: | thumbnailer |
| summary: |
- App fails to launch on up-to-date utopic desktop + Remove dependency of qtmultimedia on gst0.10 |
| Jim Hodapp (jhodapp) wrote : | #17 |
@Pat: to do this, we need to finish the qtmultimedia port to gstreamer 1.x and then get it upstreamed. I already have most of it ported, but not all of it. It's submitted upstream already, but Digia is not prioritizing any engineering time to finish this up, so it will be up to us to do it.
| Timo Jyrinki (timo-jyrinki) wrote : | #18 |
Note that the original offer to upstream was a mailing list discussion and an external git repository, needing a bit more than usual effort from upstream considering they really do not have anyone working on it on paid time.
So please contribute directly to upstream code review system so that they can more easily do the review and acceptance. I found Jim was registered at the codereview site, so I added him now to the Canonical CLA group.
It seems there's a wip/gstreamer-1.0 branch that has just seen first non-merge porting commit for this year: https:/
| Jim Hodapp (jhodapp) wrote : | #19 |
@Timo: Right, but as you discovered, my branch got submitted to the code review system in the proper way. So really now it's just a matter of Digia not prioritizing finishing this porting process yet.
| Timo Jyrinki (timo-jyrinki) wrote : | #20 |
Right, so your former github branch is now more or less merged with that last commit to the wip branch from Andrew den Exter (I think a Jolla guy)? It's probably the biggest work done! But if we want to help getting it to a release any time soon, you could do merge proposals towards https:/
| Ricardo Salveti (rsalveti) wrote : | #21 |
Why is this bug tagged for RTM? Removing the GST 0.10 dependency (and migrating to GST 1.0) seems to be a major effort and would also required a new upstream version from qtmultimedia. Can we track this for post RTM?
| Jim Hodapp (jhodapp) wrote : | #22 |
Definitely not going to happen for RTM.
| tags: |
added: touch-2014-10-09 removed: touch-2014-09-11 |
| Changed in ubuntu-clock-app: | |
| milestone: | rtm → none |
| tags: | removed: rtm14 touch-2014-10-09 |
| Changed in qtmultimedia-opensource-src (Ubuntu): | |
| status: | New → Confirmed |
Just to be clear, the package currently causing problems in trusty and above is "libqt5multimed
philippe@
qtgstreamer-
libqtmultimed
libqtgstreame
libqtgstreame
libqt5multime
This bug prevents any Qt app using both QtWebkit and QtMultimedia to function.
| Dmitry Shachnev (mitya57) wrote : | #24 |
This will be fixed only in Qt 5.5 AFAICT.
| Jim Hodapp (jhodapp) wrote : | #25 |
Indeed, that's the current plan. I've been in contact with the QtMultimedia maintainer and that was the plan last time we spoke. Here's a link to the WIP branch with code reviews. Things look like they've stabilized in changes needing review:
| Dmitry Shachnev (mitya57) wrote : Re: [Bug 1363314] Re: Remove dependency of qtmultimedia on gst0.10 | #26 |
That branch is already merged, isn't it?
https:/
| Jim Hodapp (jhodapp) wrote : | #27 |
Looks like it is, awesome.
| tags: | added: gst0.10 |
| Bryan Quigley (bryanquigley) wrote : | #28 |
I believe this was mostly fixed with QT5.5 landing.
The only QT package that didn't move is libqtmultimediakit1 (src:qtmobility) but that might be obsolete, but still included at least on kubuntu image.
| Timo Jyrinki (timo-jyrinki) wrote : | #29 |
Yes this is fixed for all of Qt 5 now.
qtmobility is Qt 4 and Qt 4 is EOL:d by upstream.
| Changed in qtmultimedia-opensource-src (Ubuntu): | |
| status: | Confirmed → Fix Released |


This is critical since it essentially blocks all landings due to jenkins test failing :/