cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonas Verhaert (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-13139) Android 8.0.0 / App restarts when bringing it back from background on physical device
Date Wed, 02 Aug 2017 11:29:00 GMT

    [ https://issues.apache.org/jira/browse/CB-13139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16110713#comment-16110713
] 

Jonas Verhaert edited comment on CB-13139 at 8/2/17 11:28 AM:
--------------------------------------------------------------

*Send to background log*

{color:#14892c}08-02 13:03:08.626: I/audio_cras_dsp(251): pipeline created{color}
{color:#205081}08-02 13:03:08.626: D//system/bin/audioserver(251): instantiate source
08-02 13:03:08.626: D//system/bin/audioserver(251): instantiate drc
08-02 13:03:08.626: D//system/bin/audioserver(251): instantiate eq2
08-02 13:03:08.626: D//system/bin/audioserver(251): instantiate sink
08-02 13:03:08.626: D//system/bin/audioserver(251): connect audio buf 0 to output_source:0
(out)
08-02 13:03:08.626: D//system/bin/audioserver(251): connect audio buf 1 to output_source:1
(out)
08-02 13:03:08.626: D//system/bin/audioserver(251): connect audio buf 0 to drc:0 (in)
08-02 13:03:08.626: D//system/bin/audioserver(251): connect audio buf 1 to drc:1 (in)
08-02 13:03:08.626: D//system/bin/audioserver(251): connect audio buf 0 to drc:2 (out)
08-02 13:03:08.626: D//system/bin/audioserver(251): connect audio buf 1 to drc:3 (out)
08-02 13:03:08.626: D//system/bin/audioserver(251): connect control (val=1) to drc:4 (in)
08-02 13:03:08.626: D//system/bin/audioserver(251): connect control (val=0) to drc:5 (in)
08-02 13:03:08.626: D//system/bin/audioserver(251): connect control (val=1) to drc:6 (in)
08-02 13:03:08.626: D//system/bin/audioserver(251): connect control (val=-36) to drc:7 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=18) to drc:8 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=20) to drc:9 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=0.003) to drc:10
(in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=0.2) to drc:11 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=3) to drc:12 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=450) to drc:13 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=1) to drc:14 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=-33) to drc:15 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=20) to drc:16 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=23) to drc:17 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=0.003) to drc:18
(in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=0.2) to drc:19 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=6) to drc:20 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=2200) to drc:21 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=1) to drc:22 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=-18) to drc:23 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=20) to drc:24 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=6) to drc:25 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=0.003) to drc:26
(in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=0.2) to drc:27 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=-1) to drc:28 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect audio buf 0 to eq2:0 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect audio buf 1 to eq2:1 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect audio buf 0 to eq2:2 (out)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect audio buf 1 to eq2:3 (out)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=2) to eq2:4 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=330) to eq2:5 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=0) to eq2:6 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=0) to eq2:7 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=2) to eq2:8 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=330) to eq2:9 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=0) to eq2:10 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=0) to eq2:11 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=6) to eq2:12 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=550) to eq2:13 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=3) to eq2:14 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=-10) to eq2:15 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=6) to eq2:16 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=550) to eq2:17 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=3) to eq2:18 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=-10) to eq2:19 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=6) to eq2:20 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=740) to eq2:21 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=3) to eq2:22 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=-8) to eq2:23 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=6) to eq2:24 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=750) to eq2:25 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=3) to eq2:26 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=-6) to eq2:27 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=6) to eq2:28 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=1000) to eq2:29 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=3) to eq2:30 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=-3) to eq2:31 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=6) to eq2:32 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=360) to eq2:33 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=2) to eq2:34 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=-4) to eq2:35 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=6) to eq2:36 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=1300) to eq2:37 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=3) to eq2:38 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=-4) to eq2:39 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=6) to eq2:40 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=1000) to eq2:41 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=2) to eq2:42 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=-4) to eq2:43 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=6) to eq2:44 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=360) to eq2:45 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=1) to eq2:46 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=-3) to eq2:47 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=6) to eq2:48 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=1200) to eq2:49 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=2) to eq2:50 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=-5) to eq2:51 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=6) to eq2:52 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=2200) to eq2:53 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=7) to eq2:54 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=-9) to eq2:55 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=6) to eq2:56 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=2200) to eq2:57 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=7) to eq2:58 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect control (val=-9) to eq2:59 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect control (val=5) to eq2:60 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect control (val=6000) to eq2:61 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect control (val=0) to eq2:62 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect control (val=-2) to eq2:63 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect control (val=5) to eq2:64 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect control (val=6000) to eq2:65 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect control (val=1) to eq2:66 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect control (val=-2) to eq2:67 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect audio buf 0 to output_sink:0 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect audio buf 1 to output_sink:1 (in){color}
{color:#14892c}08-02 13:03:08.638: I/ActivityManager(380): START u0 {flg=0x10804000 cmp=com.android.systemui/.recents.RecentsActivity}
from uid 10035{color}
{color:#205081}08-02 13:03:08.639: D/CordovaActivity(7875): Paused the activity.{color}
{color:#f79232}08-02 13:03:08.645: W/gralloc(180): Unmapped consumer usage 200
08-02 13:03:08.645: W/gralloc(180): Unmapped producer usage 100
08-02 13:03:08.650: W/gralloc(180): Unmapped consumer usage 200
08-02 13:03:08.650: W/gralloc(180): Unmapped producer usage 100{color}
{color:#d04437}08-02 13:03:08.651: E/memtrack(380): Couldn't load memtrack module{color}
{color:#f79232}08-02 13:03:08.651: W/android.os.Debug(380): failed to get memory consumption
info: -1{color}
{color:#d04437}08-02 13:03:08.652: E/BufferItemConsumer(516): [unnamed-516-32] Failed to release
buffer: Unknown error -1 (1){color}
{color:#f79232}08-02 13:03:08.660: W/StreamHAL(251): Error from HAL stream in function get_presentation_position:
Operation not permitted
08-02 13:03:08.680: W/gralloc(180): Unmapped consumer usage 200
08-02 13:03:08.680: W/gralloc(180): Unmapped producer usage 100
08-02 13:03:08.682: W/gralloc(180): Unmapped consumer usage 200
08-02 13:03:08.682: W/gralloc(180): Unmapped producer usage 100{color}
{color:#d04437}08-02 13:03:08.686: E/BufferItemConsumer(516): [unnamed-516-33] Failed to release
buffer: Unknown error -1 (1){color}
{color:#f79232}08-02 13:03:08.697: W/gralloc(180): Unmapped producer usage 900{color}
{color:#14892c}08-02 13:03:08.697: I/chatty(180): uid=1000(system) allocator@2.0-s identical
1 line{color}
{color:#f79232}08-02 13:03:08.697: W/gralloc(180): Unmapped producer usage 900
08-02 13:03:08.703: W/gralloc(180): Unmapped consumer usage 200
08-02 13:03:08.703: W/gralloc(180): Unmapped producer usage 900
08-02 13:03:08.709: W/gralloc(180): Unmapped consumer usage 200
08-02 13:03:08.709: W/gralloc(180): Unmapped producer usage 900
08-02 13:03:08.721: W/gralloc(180): Unmapped consumer usage 200
08-02 13:03:08.721: W/gralloc(180): Unmapped producer usage 900
08-02 13:03:08.736: W/gralloc(180): Unmapped consumer usage 200
08-02 13:03:08.736: W/gralloc(180): Unmapped producer usage 100{color}
{color:#14892c}08-02 13:03:08.749: I/ActivityManager(380): Displayed com.android.systemui/.recents.RecentsActivity:
+75ms{color}
{color:#f79232}08-02 13:03:08.835: W/JavaBinder(516): BinderProxy is being destroyed but the
application did not call unlinkToDeath to unlink all of its death recipients beforehand. 
Releasing leaked death recipient: com.android.systemui.qs.external.TileLifecycleManager{color}
{color:#205081}08-02 13:03:09.079: D/CordovaActivity(7875): Stopped the activity.
08-02 13:03:09.098: D/CordovaActivity(7875): CordovaActivity.onDestroy()
08-02 13:03:09.100: D/CordovaWebViewImpl(7875): >>> loadUrl(about:blank){color}
{color:#f79232}08-02 13:03:09.102: I/OpenGLRenderer(380): Initialized EGL, version 1.4{color}
{color:#205081}08-02 13:03:09.102: D/OpenGLRenderer(380): Swap behavior 2{color}
{color:#f79232}08-02 13:03:09.113: W/cr_AwContents(7875): WebView.destroy() called while WebView
is still attached to window.
08-02 13:03:09.162: W/cr_AwContents(7875): Application attempted to call on a destroyed WebView
08-02 13:03:09.162: W/cr_AwContents(7875): java.lang.Throwable
08-02 13:03:09.162: W/cr_AwContents(7875): 	at org.chromium.android_webview.AwContents.isDestroyed(AwContents.java:330)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at org.chromium.android_webview.AwContents.isDestroyedOrNoOperation(AwContents.java:303)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at org.chromium.android_webview.AwContents.getTitle(AwContents.java:539)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at org.chromium.android_webview.AwWebContentsDelegateAdapter.loadingStateChanged(AwWebContentsDelegateAdapter.java:132)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native
Method)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:7)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at android.os.Handler.dispatchMessage(Handler.java:105)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at android.os.Looper.loop(Looper.java:164)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at android.app.ActivityThread.main(ActivityThread.java:6541)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at java.lang.reflect.Method.invoke(Native Method)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767){color}
{color:#14892c}08-02 13:03:09.190: I/ActivityManager(380): Process com.android.chrome:sandboxed_process1
(pid 8095) has died: cch  CEM {color}
{color:#f79232}08-02 13:03:09.190: W/zygote64(380): failed to open /acct/uid_99012/pid_8095/cgroup.procs:
No such file or directory
08-02 13:03:09.190: W/ActivityManager(380): Scheduling restart of crashed service io.cordova.hellocordova/org.chromium.content.app.SandboxedProcessService1
in 1000ms
08-02 13:03:09.204: W/cr_ChildProcessConnect(7875): onServiceDisconnected (crash or killed
by oom): pid=8095{color}
{color:#205081}08-02 13:03:10.367: D/SurfaceFlinger(184): Backpressure trigger, skipping transaction
& refresh!{color}


was (Author: jonasv):
*Send to background log*

08-02 13:03:08.626: I/audio_cras_dsp(251): pipeline created
08-02 13:03:08.626: D//system/bin/audioserver(251): instantiate source
08-02 13:03:08.626: D//system/bin/audioserver(251): instantiate drc
08-02 13:03:08.626: D//system/bin/audioserver(251): instantiate eq2
08-02 13:03:08.626: D//system/bin/audioserver(251): instantiate sink
08-02 13:03:08.626: D//system/bin/audioserver(251): connect audio buf 0 to output_source:0
(out)
08-02 13:03:08.626: D//system/bin/audioserver(251): connect audio buf 1 to output_source:1
(out)
08-02 13:03:08.626: D//system/bin/audioserver(251): connect audio buf 0 to drc:0 (in)
08-02 13:03:08.626: D//system/bin/audioserver(251): connect audio buf 1 to drc:1 (in)
08-02 13:03:08.626: D//system/bin/audioserver(251): connect audio buf 0 to drc:2 (out)
08-02 13:03:08.626: D//system/bin/audioserver(251): connect audio buf 1 to drc:3 (out)
08-02 13:03:08.626: D//system/bin/audioserver(251): connect control (val=1) to drc:4 (in)
08-02 13:03:08.626: D//system/bin/audioserver(251): connect control (val=0) to drc:5 (in)
08-02 13:03:08.626: D//system/bin/audioserver(251): connect control (val=1) to drc:6 (in)
08-02 13:03:08.626: D//system/bin/audioserver(251): connect control (val=-36) to drc:7 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=18) to drc:8 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=20) to drc:9 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=0.003) to drc:10
(in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=0.2) to drc:11 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=3) to drc:12 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=450) to drc:13 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=1) to drc:14 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=-33) to drc:15 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=20) to drc:16 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=23) to drc:17 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=0.003) to drc:18
(in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=0.2) to drc:19 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=6) to drc:20 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=2200) to drc:21 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=1) to drc:22 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=-18) to drc:23 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=20) to drc:24 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=6) to drc:25 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=0.003) to drc:26
(in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=0.2) to drc:27 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=-1) to drc:28 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect audio buf 0 to eq2:0 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect audio buf 1 to eq2:1 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect audio buf 0 to eq2:2 (out)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect audio buf 1 to eq2:3 (out)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=2) to eq2:4 (in)
08-02 13:03:08.627: D//system/bin/audioserver(251): connect control (val=330) to eq2:5 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=0) to eq2:6 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=0) to eq2:7 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=2) to eq2:8 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=330) to eq2:9 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=0) to eq2:10 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=0) to eq2:11 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=6) to eq2:12 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=550) to eq2:13 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=3) to eq2:14 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=-10) to eq2:15 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=6) to eq2:16 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=550) to eq2:17 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=3) to eq2:18 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=-10) to eq2:19 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=6) to eq2:20 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=740) to eq2:21 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=3) to eq2:22 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=-8) to eq2:23 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=6) to eq2:24 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=750) to eq2:25 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=3) to eq2:26 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=-6) to eq2:27 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=6) to eq2:28 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=1000) to eq2:29 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=3) to eq2:30 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=-3) to eq2:31 (in)
08-02 13:03:08.628: D//system/bin/audioserver(251): connect control (val=6) to eq2:32 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=360) to eq2:33 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=2) to eq2:34 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=-4) to eq2:35 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=6) to eq2:36 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=1300) to eq2:37 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=3) to eq2:38 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=-4) to eq2:39 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=6) to eq2:40 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=1000) to eq2:41 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=2) to eq2:42 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=-4) to eq2:43 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=6) to eq2:44 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=360) to eq2:45 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=1) to eq2:46 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=-3) to eq2:47 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=6) to eq2:48 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=1200) to eq2:49 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=2) to eq2:50 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=-5) to eq2:51 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=6) to eq2:52 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=2200) to eq2:53 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=7) to eq2:54 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=-9) to eq2:55 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=6) to eq2:56 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=2200) to eq2:57 (in)
08-02 13:03:08.629: D//system/bin/audioserver(251): connect control (val=7) to eq2:58 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect control (val=-9) to eq2:59 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect control (val=5) to eq2:60 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect control (val=6000) to eq2:61 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect control (val=0) to eq2:62 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect control (val=-2) to eq2:63 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect control (val=5) to eq2:64 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect control (val=6000) to eq2:65 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect control (val=1) to eq2:66 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect control (val=-2) to eq2:67 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect audio buf 0 to output_sink:0 (in)
08-02 13:03:08.630: D//system/bin/audioserver(251): connect audio buf 1 to output_sink:1 (in)
08-02 13:03:08.638: I/ActivityManager(380): START u0 {flg=0x10804000 cmp=com.android.systemui/.recents.RecentsActivity}
from uid 10035
08-02 13:03:08.639: D/CordovaActivity(7875): Paused the activity.
08-02 13:03:08.645: W/gralloc(180): Unmapped consumer usage 200
08-02 13:03:08.645: W/gralloc(180): Unmapped producer usage 100
08-02 13:03:08.650: W/gralloc(180): Unmapped consumer usage 200
08-02 13:03:08.650: W/gralloc(180): Unmapped producer usage 100
08-02 13:03:08.651: E/memtrack(380): Couldn't load memtrack module
08-02 13:03:08.651: W/android.os.Debug(380): failed to get memory consumption info: -1
08-02 13:03:08.652: E/BufferItemConsumer(516): [unnamed-516-32] Failed to release buffer:
Unknown error -1 (1)
08-02 13:03:08.660: W/StreamHAL(251): Error from HAL stream in function get_presentation_position:
Operation not permitted
08-02 13:03:08.680: W/gralloc(180): Unmapped consumer usage 200
08-02 13:03:08.680: W/gralloc(180): Unmapped producer usage 100
08-02 13:03:08.682: W/gralloc(180): Unmapped consumer usage 200
08-02 13:03:08.682: W/gralloc(180): Unmapped producer usage 100
08-02 13:03:08.686: E/BufferItemConsumer(516): [unnamed-516-33] Failed to release buffer:
Unknown error -1 (1)
08-02 13:03:08.697: W/gralloc(180): Unmapped producer usage 900
08-02 13:03:08.697: I/chatty(180): uid=1000(system) allocator@2.0-s identical 1 line
08-02 13:03:08.697: W/gralloc(180): Unmapped producer usage 900
08-02 13:03:08.703: W/gralloc(180): Unmapped consumer usage 200
08-02 13:03:08.703: W/gralloc(180): Unmapped producer usage 900
08-02 13:03:08.709: W/gralloc(180): Unmapped consumer usage 200
08-02 13:03:08.709: W/gralloc(180): Unmapped producer usage 900
08-02 13:03:08.721: W/gralloc(180): Unmapped consumer usage 200
08-02 13:03:08.721: W/gralloc(180): Unmapped producer usage 900
08-02 13:03:08.736: W/gralloc(180): Unmapped consumer usage 200
08-02 13:03:08.736: W/gralloc(180): Unmapped producer usage 100
08-02 13:03:08.749: I/ActivityManager(380): Displayed com.android.systemui/.recents.RecentsActivity:
+75ms
08-02 13:03:08.835: W/JavaBinder(516): BinderProxy is being destroyed but the application
did not call unlinkToDeath to unlink all of its death recipients beforehand.  Releasing leaked
death recipient: com.android.systemui.qs.external.TileLifecycleManager
08-02 13:03:09.079: D/CordovaActivity(7875): Stopped the activity.
08-02 13:03:09.098: D/CordovaActivity(7875): CordovaActivity.onDestroy()
08-02 13:03:09.100: D/CordovaWebViewImpl(7875): >>> loadUrl(about:blank)
08-02 13:03:09.102: I/OpenGLRenderer(380): Initialized EGL, version 1.4
08-02 13:03:09.102: D/OpenGLRenderer(380): Swap behavior 2
08-02 13:03:09.113: W/cr_AwContents(7875): WebView.destroy() called while WebView is still
attached to window.
08-02 13:03:09.162: W/cr_AwContents(7875): Application attempted to call on a destroyed WebView
08-02 13:03:09.162: W/cr_AwContents(7875): java.lang.Throwable
08-02 13:03:09.162: W/cr_AwContents(7875): 	at org.chromium.android_webview.AwContents.isDestroyed(AwContents.java:330)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at org.chromium.android_webview.AwContents.isDestroyedOrNoOperation(AwContents.java:303)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at org.chromium.android_webview.AwContents.getTitle(AwContents.java:539)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at org.chromium.android_webview.AwWebContentsDelegateAdapter.loadingStateChanged(AwWebContentsDelegateAdapter.java:132)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native
Method)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:7)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at android.os.Handler.dispatchMessage(Handler.java:105)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at android.os.Looper.loop(Looper.java:164)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at android.app.ActivityThread.main(ActivityThread.java:6541)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at java.lang.reflect.Method.invoke(Native Method)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
08-02 13:03:09.162: W/cr_AwContents(7875): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
08-02 13:03:09.190: I/ActivityManager(380): Process com.android.chrome:sandboxed_process1
(pid 8095) has died: cch  CEM 
08-02 13:03:09.190: W/zygote64(380): failed to open /acct/uid_99012/pid_8095/cgroup.procs:
No such file or directory
08-02 13:03:09.190: W/ActivityManager(380): Scheduling restart of crashed service io.cordova.hellocordova/org.chromium.content.app.SandboxedProcessService1
in 1000ms
08-02 13:03:09.204: W/cr_ChildProcessConnect(7875): onServiceDisconnected (crash or killed
by oom): pid=8095
08-02 13:03:10.367: D/SurfaceFlinger(184): Backpressure trigger, skipping transaction &
refresh!


> Android 8.0.0 / App restarts when bringing it back from background on physical device
> -------------------------------------------------------------------------------------
>
>                 Key: CB-13139
>                 URL: https://issues.apache.org/jira/browse/CB-13139
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android
>    Affects Versions: cordova@7.0.0
>         Environment: Android 8.0.0 on a physical device like the Google Pixel C
>            Reporter: Jonas Verhaert
>            Assignee: Joe Bowser
>            Priority: Blocker
>              Labels: android, android8.0, chromium
>
> *Steps to reproduce*
> * Open a cordova app on an Android O device (like the Google Pixel C)
> * Send the app to the background
> * Bring the app back to the front
> *Expected result*
> Like in previous versions of Android the app should be untouched / page should not be
reloaded
> *Actual result*
> Something with chromium goes wrong and the webview restarts.
> *Side note*
> I have seen the the android activity monitor that chromium is relaunching the page. Chromium
itself has the same issue and I opened a bug on their issue tracker : https://bugs.chromium.org/p/chromium/issues/detail?id=751039
> *App to test*
> We created a git repo where we have a hello world example that we used to prove this
case : https://github.com/panisrob/cordova_app
> *Recording issue*
> We recorded the issue here : 
> https://www.youtube.com/watch?v=MJeQM_7NQz8



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message