media hub crashes on startup on arm64

Bug #1618416 reported by Michał Sawicz
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
Yuan-Chen Cheng
libhybris (Ubuntu)
Invalid
Undecided
Unassigned
media-hub (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

media-hub-server crashes on startup on arm64:

$ system-image-cli -i
current build number: 23
device name: frieza_arm64
channel: ubuntu-touch/staging/ubuntu
last update: 2016-08-30 09:13:12
version version: 23
version ubuntu: 20160830
version device: 20160824.0
version custom: 20160830

Steps:
* flash the above channel (remember --device frieza_arm64)

== Logfile =================================
Using default log level: info
Log level: II
[DD 2016-08-30 10:43:48.658077] [server.cpp:78@platform_init] Found hybris backend
library "libmedia_compat_layer.so" not found

== Stacktrace =================================
#0 0x0000000000000000 in ()
#1 0x00000000005ea8c4 in main() () at /build/media-hub-BSVeif/media-hub-4.6.0+16.04.20160823/src/core/media/server/server.cpp:79
        b = <optimized out>
        trap = std::shared_ptr (count 2, weak 0) 0x3d01bbf0
        shutdown_requested = false
        external_services = {io_service = {<boost::asio::detail::noncopyable> = {<No data fields>}, service_registry_ = 0x3d01bd70, impl_ = @0x7f92dbfbf0}, keep_alive = {io_service_impl_ = @0x7fcf0d47d8}, session
 = std::shared_ptr (count 2037544051, weak 1633907550) 0x0, system = <error reading variable: Cannot access memory at address 0x12>}
        external_services_worker = {_M_id = {_M_thread = 0}}
        player_store = std::shared_ptr (expired, weak 0) 0x3
        service_config = <optimized out>
        impl = std::shared_ptr (count -821213128, weak 126) 0x7f92dbfbf0
        skeleton = std::shared_ptr (count 2037544051, weak 1633907550) 0x0
        service_worker = {_M_id = {_M_thread = 1023923248}}
#2 0x00000000005ea8c4 in main() () at /build/media-hub-BSVeif/media-hub-4.6.0+16.04.20160823/src/core/media/server/server.cpp:117
        trap = std::shared_ptr (count 2, weak 0) 0x3d01bbf0
        shutdown_requested = false
        external_services = {io_service = {<boost::asio::detail::noncopyable> = {<No data fields>}, service_registry_ = 0x3d01bd70, impl_ = @0x7f92dbfbf0}, keep_alive = {io_service_impl_ = @0x7fcf0d47d8}, session
 = std::shared_ptr (count 2037544051, weak 1633907550) 0x0, system = <error reading variable: Cannot access memory at address 0x12>}
        external_services_worker = {_M_id = {_M_thread = 0}}
        player_store = std::shared_ptr (expired, weak 0) 0x3
        service_config = <optimized out>
        impl = std::shared_ptr (count -821213128, weak 126) 0x7f92dbfbf0
        skeleton = std::shared_ptr (count 2037544051, weak 1633907550) 0x0
        service_worker = {_M_id = {_M_thread = 1023923248}}

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: media-hub 4.6.0+16.04.20160823-0ubuntu1 [origin: LP-PPA-ci-train-ppa-service-stable-phone-overlay]
Uname: Linux 3.10.93+ aarch64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: arm64
Date: Tue Aug 30 10:45:25 2016
SourcePackage: media-hub
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Michał Sawicz (saviq) wrote :
Changed in canonical-devices-system-image:
milestone: none → xenial
Revision history for this message
Jim Hodapp (jhodapp) wrote :

On what device are you trying this out? This seems like the issue is that libhybris is not available for this platform or some weird combination of only certain parts being available.

Revision history for this message
Michał Sawicz (saviq) wrote :

On frieza:
> device name: frieza_arm64
> channel: ubuntu-touch/staging/ubuntu

And yes, it's possible that hybris isn't fully/correctly ported to arm64 yet - that's really what this bug is about.

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

it's confirmed that a fix in audio driver (device part) and another apparmor fix this issue.

Changed in canonical-devices-system-image:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Yuan-Chen Cheng (ycheng-twn)
status: Confirmed → In Progress
Changed in libhybris (Ubuntu):
status: New → Invalid
Changed in media-hub (Ubuntu):
status: New → Invalid
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
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.