music-app crashed with SIGSEGV in GriloDataSource::removeModel() when using with Qt 5.3

Bug #1324105 reported by Timo Jyrinki
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Music App
Fix Released
Undecided
Music App Developers

Bug Description

This crasher happens when trying to start up Music app when using Qt 5.3.

---

Refer to kept-update info on the front page of https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-beta2 regarding where/how to get Qt 5.3. Note that it's not necessarily that PPA itself.

ProblemType: Crash
DistroRelease: Ubuntu 14.10
Package: qmlscene 5.3.0-0ubuntu1~utopic1~test3 [origin: LP-PPA-canonical-qt5-edgers-qt5-beta2]
Uname: Linux 3.4.0-5-mako armv7l
ApportVersion: 2.14.2-0ubuntu4
Architecture: armhf
CurrentDesktop: Unity
Date: Wed May 28 12:06:11 2014
ExecutablePath: /usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene
ExecutableTimestamp: 1400779285
InstallationDate: Installed on 2014-05-28 (0 days ago)
InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140528)
ProcCmdline: /usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene music-app.qml --url=file:///home/phablet/Music/Bj%C3%B6rk%20-%20Army%20of%20Me%20remixes%20and%20covers/20-Tor%20Bruce%20%20Army%20of%20me.ogg -I ./plugins
ProcCwd: /usr/share/click/preinstalled/com.ubuntu.music/1.3.453
Signal: 11
SourcePackage: qtdeclarative-opensource-src
StacktraceTop:
 GriloDataSource::removeModel(GriloModel*) () from /usr/share/click/preinstalled/com.ubuntu.music/1.3.453/lib/arm-linux-gnueabihf/org/nemomobile/grilo.0.1/libqmlgriloplugin.so
 GriloModel::setSource(GriloDataSource*) () from /usr/share/click/preinstalled/com.ubuntu.music/1.3.453/lib/arm-linux-gnueabihf/org/nemomobile/grilo.0.1/libqmlgriloplugin.so
 GriloModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/share/click/preinstalled/com.ubuntu.music/1.3.453/lib/arm-linux-gnueabihf/org/nemomobile/grilo.0.1/libqmlgriloplugin.so
 QQmlVMEMetaObject::metaCall(QMetaObject::Call, int, void**) () from /usr/lib/arm-linux-gnueabihf/libQt5Qml.so.5
 ?? ()
Title: qmlscene crashed with SIGSEGV in GriloDataSource::removeModel()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm autopilot cdrom dialout dip nopasswdlogin plugdev sudo tty video

Related branches

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Note that qtgrilo was rebuilt in the PPA, just in case it matters. The actual issue may be related to some general multimedia issue though, but it's also possible this is something grilo/music-app specific this time.

affects: qtdeclarative-opensource-src (Ubuntu) → music-app
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

Hopefully we'll be on mediascanner2 soon which should resolve this issue, so I have linked the related branch.

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

@Timo is there an easy way of/instructions to testing Qt5.3 on our devices yet?

Revision history for this message
Jim Hodapp (jhodapp) wrote :

It's very possible that this bug will go away very shortly since the music-app team is completely removing Grilo support in favor of mediascanner2 use only.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

@Andrew yes as mentioned in the description, see the page https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-beta2 for instructions.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Just to clarify a bit, with https://code.launchpad.net/~ricmm/qtvideo-node/qt-53-build/+merge/222344 added to the PPA now, video playback and camera seem fixed. However music app continues to crash, and indeed the music playback does work from preview so this crash is not related to the other, now fixed multimedia problems.

Dave Morley (davmor2)
Changed in music-app:
status: New → Confirmed
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Can we test the use_mediascanner branch on qt5.3 to confirm this fixes the world? Andrew, do you have a known good mediascanner2 click?

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

I have attached a click build of the latest mediascanner2 branch.

It should work however note that it has a hack to limit the songs models to a maximum of 500 tracks in order to prevent bug 1326753 so that we can test the application.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

I can confirm with at least minimal testing that the attached music-app seems to work fine on Qt 5.3. I tried seeking, switching tracks etc. Awesome!

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:music-app at revision 496, scheduled for release in music-app, milestone 1.0

Changed in music-app:
status: Confirmed → Fix Committed
Changed in music-app:
assignee: nobody → Music App Developers (music-app-dev)
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.