[
https://issues.apache.org/jira/browse/CB-11416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15339444#comment-15339444
]
David Barth commented on CB-11416:
----------------------------------
Thanks Thomas for documenting this solution.
> [ubuntu] app randomly does not start
> ------------------------------------
>
> Key: CB-11416
> URL: https://issues.apache.org/jira/browse/CB-11416
> Project: Apache Cordova
> Issue Type: Bug
> Components: AllPlugins
> Affects Versions: 3.5.0
> Environment: ubuntu
> Reporter: Thomas Uher
> Assignee: David Barth
> Fix For: Master
>
>
> Sometimes the app stops at the splash screen without calling deviceready
> after clicking the launcher icon. Test device: Auqaris E 4.5
> =====LOG=====
> Apache Cordova native platform version 4.4.0-dev is starting
> Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
> Warning: Got invalid serialized mime data. Ignoring it.
> shm_open() failed: Permission denied
> [TT 2016-06-11 16:44:33.914889] [service.cpp:29@instance]
> Warning: QNetworkManagerInterface::QNetworkManagerInterface(QObject*)
> propsReply "An AppArmor policy prevents this sender from sending this message
> to this recipient; type="method_call", sender=":1.278" (uid=32011 pid=18969
> comm="./cordova-ubuntu www/ ") interface="org.freedesktop.DBus.Properties"
> member="GetAll" error name="(unset)" requested_reply="0"
> destination="org.freedesktop.NetworkManager" (uid=0 pid=1466
> comm="NetworkManager ")"
> Warning: QNetworkManagerInterface::QNetworkManagerInterface(QObject*) nmReply
> "An AppArmor policy prevents this sender from sending this message to this
> recipient; type="method_call", sender=":1.278" (uid=32011 pid=18969
> comm="./cordova-ubuntu www/ ") interface="org.freedesktop.NetworkManager"
> member="GetDevices" error name="(unset)" requested_reply="0"
> destination="org.freedesktop.NetworkManager" (uid=0 pid=1466
> comm="NetworkManager ")"
> Warning: "Object path cannot be empty"
> Warning: Got invalid serialized mime data. Ignoring it.
> [0611/184434:ERROR:zygote_host_impl_linux.cc(162)] Failed to adjust OOM score
> of renderer with pid 19029: Permission denied
> Critical: [JS]
> (file:///opt/click.ubuntu.com/org.beachexplorer.app/0.0.1/www/cordova.js:879)
> Uncaught TypeError: Cannot read property 'addMessageHandler' of undefined
> [DD 2016-06-11 16:44:35.245131] [player_stub.cpp:184@operator()]
> PlaybackStatusChanged signal arrived via the bus (status:
> PlaybackStatus::stopped)
> Warning: Failed to destroy existing media-hub player session:
> org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout
> by message bus)
> Attempted to unregister path (path[0] = core path[1] = ubuntu) which isn't
> registered
> [TT 2016-06-11 16:44:35.293065] [service.cpp:29@instance]
> Warning: Failed to start a new media-hub player session:
> org.freedesktop.DBus.Error.ServiceUnknown: The name core.ubuntu.media.Service
> was not provided by any .service files
> Warning: Failed to create a new media player backend. Video playback will not
> function.
> Warning: Could not finish contructing new AalMediaPlayerService instance
> since m_hubPlayerSession is NULL
> [0611/184435:ERROR:layer_tree_host_impl.cc(2218)] Forcing zero-copy tile
> initialization as worker context is missing
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]