Advertisement
HighTechDeveloper3

AsyncAndroidError

May 7th, 2018
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 7.84 KB | None | 0 0
  1.  
  2. 05/07 13:37:48: Launching app
  3. $ adb push /CompNeuro/Software/Overlay/grafika/app/build/outputs/apk/debug/app-debug.apk /data/local/tmp/com.google.grafika
  4. $ adb shell pm install -t -r "/data/local/tmp/com.google.grafika"
  5. Success
  6.  
  7.  
  8. $ adb shell am start -n "com.google.grafika/com.android.grafika.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
  9. Client not ready yet..Waiting for process to come online
  10. Connected to process 4469 on device emulator-5554
  11. Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
  12. D/OpenGLRenderer: HWUI GL Pipeline
  13.  
  14.                   [ 05-07 13:37:51.691  1867: 2088 D/         ]
  15.                   HostConnection::get() New Host Connection established 0xde07f3c0, tid 2088
  16. I/zygote: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
  17. I/OpenGLRenderer: Initialized EGL, version 1.4
  18. D/OpenGLRenderer: Swap behavior 1
  19. W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
  20. D/OpenGLRenderer: Swap behavior 0
  21. D/EGL_emulation: eglCreateContext: 0xdb6fc140: maj 2 min 0 rcv 2
  22. D/EGL_emulation: eglMakeCurrent: 0xdb6fc140: ver 2 0 (tinfo 0xdc963fb0)
  23. I/zygote: Do partial code cache collection, code=26KB, data=30KB
  24. I/zygote: After code cache collection, code=26KB, data=30KB
  25. I/zygote: Increasing code cache capacity to 128KB
  26. I/zygote: Do partial code cache collection, code=26KB, data=48KB
  27. I/zygote: After code cache collection, code=26KB, data=48KB
  28. I/zygote: Increasing code cache capacity to 256KB
  29. I/zygote: JIT allocated 71KB for compiled code of void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int)
  30. I/zygote: Compiler allocated 4MB to compile void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int)
  31. I/zygote: Do full code cache collection, code=103KB, data=59KB
  32. I/zygote: After code cache collection, code=96KB, data=47KB
  33. D/EGL_emulation: eglMakeCurrent: 0xdb6fc140: ver 2 0 (tinfo 0xdc963fb0)
  34. D/Grafika: PlayMovieSurfaceActivity onResume
  35. D/Grafika-AFL: onMeasure target=-1.0 width=[MeasureSpec: EXACTLY 1136] height=[MeasureSpec: EXACTLY 1552]
  36. D/Grafika-AFL: onMeasure target=-1.0 width=[MeasureSpec: EXACTLY 1136] height=[MeasureSpec: EXACTLY 1456]
  37. D/Grafika-AFL: onMeasure target=-1.0 width=[MeasureSpec: EXACTLY 1136] height=[MeasureSpec: EXACTLY 1600]
  38. D/Grafika-AFL: onMeasure target=-1.0 width=[MeasureSpec: EXACTLY 1136] height=[MeasureSpec: EXACTLY 1504]
  39. D/Grafika: surfaceCreated
  40. D/Grafika: surfaceChanged fmt=4 size=524x622
  41. D/Grafika-AFL: onMeasure target=-1.0 width=[MeasureSpec: EXACTLY 1136] height=[MeasureSpec: EXACTLY 1504]
  42. D/EGL_emulation: eglMakeCurrent: 0xdb6fc140: ver 2 0 (tinfo 0xdc963fb0)
  43. D/Grafika: onItemSelected: 0 'gen-eight-rects.mp4'
  44. D/Grafika-AFL: onMeasure target=-1.0 width=[MeasureSpec: EXACTLY 1136] height=[MeasureSpec: EXACTLY 1504]
  45. D/Grafika: starting movie
  46.  
  47.            [ 05-07 13:38:02.547  4469: 4469 D/         ]
  48.            HostConnection::get() New Host Connection established 0xcaeefe40, tid 4469
  49. D/EGL_emulation: eglCreateContext: 0xc82e6000: maj 2 min 0 rcv 2
  50. D/Grafika: EGLContext created, client version 2
  51. D/EGL_emulation: eglMakeCurrent: 0xc82e6000: ver 2 0 (tinfo 0xcaeffcb0)
  52. E/Surface: getSlotFromBufferLocked: unknown buffer: 0x630075
  53. V/NuMediaExtractor: track of type 'video/avc' does not publish bitrate
  54. D/Grafika-AFL: Setting aspect ratio to 1.3333333333333333 (was -1.0)
  55. D/Grafika-AFL: onMeasure target=1.3333333333333333 width=[MeasureSpec: EXACTLY 1136] height=[MeasureSpec: EXACTLY 1600]
  56. D/Grafika-AFL: new size=1136x852 + padding 0x0
  57. D/Grafika-AFL: onMeasure target=1.3333333333333333 width=[MeasureSpec: EXACTLY 1136] height=[MeasureSpec: EXACTLY 1504]
  58. D/Grafika-AFL: new size=1136x852 + padding 0x0
  59. V/NuMediaExtractor: track of type 'video/avc' does not publish bitrate
  60. I/zygote: Do partial code cache collection, code=119KB, data=78KB
  61. I/zygote: After code cache collection, code=119KB, data=78KB
  62. I/zygote: Increasing code cache capacity to 512KB
  63. I/OMXClient: Treble IOmx obtained
  64. D/SurfaceUtils: connecting to surface 0xde0f7808, reason connectToSurface
  65. I/MediaCodec: [OMX.google.h264.decoder] setting surface generation to 4576257
  66. D/SurfaceUtils: disconnecting from surface 0xde0f7808, reason connectToSurface(reconnect)
  67. D/SurfaceUtils: connecting to surface 0xde0f7808, reason connectToSurface(reconnect)
  68. E/ACodec: [OMX.google.h264.decoder] setPortMode on output to DynamicANWBuffer failed w/ err -1010
  69. D/MediaCodec: [OMX.google.h264.decoder] setting dataspace on output surface to #103
  70. D/Grafika: startup lag 26.820989 ms
  71. D/SoftwareRenderer: setting dataspace on output surface to #103
  72. D/Grafika: PlayMovieSurfaceActivity onPause
  73. D/Grafika: Stop requested
  74. D/SurfaceUtils: disconnecting from surface 0xde0f7808, reason disconnectFromSurface
  75. D/Grafika: playback stopped
  76. D/Grafika-AFL: onMeasure target=1.3333333333333333 width=[MeasureSpec: EXACTLY 1136] height=[MeasureSpec: EXACTLY 1504]
  77. D/Grafika-AFL: new size=1136x852 + padding 0x0
  78. I/OMXClient: Treble IOmx obtained
  79. W/OMXUtils: do not know color format 0x7f000789 = 2130708361
  80. I/ACodec: setupAVCEncoderParameters with [profile: Baseline] [level: Level41]
  81. I/ACodec: [OMX.google.h264.encoder] cannot encode color aspects. Ignoring.
  82. I/ACodec: [OMX.google.h264.encoder] cannot encode HDR static metadata. Ignoring.
  83. I/ACodec: setupVideoEncoder succeeded
  84. W/OMXUtils: do not know color format 0x7f000789 = 2130708361
  85. I/MediaCodec: MediaCodec will operate in async mode
  86. D/Grafika-AFL: onMeasure target=1.3333333333333333 width=[MeasureSpec: EXACTLY 1136] height=[MeasureSpec: EXACTLY 1504]
  87. D/Grafika-AFL: new size=1136x852 + padding 0x0
  88.  
  89.                [ 05-07 13:38:06.267  1401: 1662 E/         ]
  90.                HpInterface: Wrong interface type.
  91. D/Grafika: PlayMovieSurfaceActivity onResume
  92. D/ACodec: dataspace changed to 0x10c10000 (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) (R:2(Limited), S:1(BT709), T:3(SMPTE_170M))
  93. D/ScreenRecordActivity: Output Format changed
  94. I/MPEG4Writer: limits: 4294967295/0 bytes/us, bit rate: -1 bps and the estimated moov size 3195 bytes
  95.  
  96.                [ 05-07 13:38:06.513  1498: 4545 D/         ]
  97.                HostConnection::get() New Host Connection established 0xef097880, tid 4545
  98. I/MPEG4Writer: setStartTimestampUs: 574531055
  99. I/MPEG4Writer: Earliest track starting time: 574531055
  100. I/System.out: ***info.offset    0
  101. E/MediaCodec: dequeueOutputBuffer can't be used in async mode
  102. D/AndroidRuntime: Shutting down VM
  103. E/AndroidRuntime: FATAL EXCEPTION: main
  104.                  Process: com.google.grafika, PID: 4469
  105.                  java.lang.IllegalStateException
  106.                      at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)
  107.                      at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:2632)
  108.                      at com.android.grafika.ScreenRecordActivity$3$1.run(ScreenRecordActivity.java:283)
  109.                      at java.lang.Thread.run(Thread.java:764)
  110.                      at com.android.grafika.ScreenRecordActivity$3.onOutputBufferAvailable(ScreenRecordActivity.java:312)
  111.                      at android.media.MediaCodec$EventHandler.handleCallback(MediaCodec.java:1682)
  112.                      at android.media.MediaCodec$EventHandler.handleMessage(MediaCodec.java:1629)
  113.                      at android.os.Handler.dispatchMessage(Handler.java:106)
  114.                      at android.os.Looper.loop(Looper.java:164)
  115.                      at android.app.ActivityThread.main(ActivityThread.java:6494)
  116.                      at java.lang.reflect.Method.invoke(Native Method)
  117.                      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
  118.                      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement