Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android TV: Crash when minimizing to "None" with "Start Main player in fullscreen" #10501

Open
6 tasks done
Mimoja opened this issue Oct 20, 2023 · 0 comments
Open
6 tasks done
Labels
Android TV Issue is related to Android TV bug Issue is related to a bug player Issues related to any player (main, popup and background)

Comments

@Mimoja
Copy link

Mimoja commented Oct 20, 2023

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

v0.25.2

Steps to reproduce the bug

  1. On AndroidTV
  2. Select Settings ->Video and Audio -> Behaviour :: Minimize on app switch -> None
  3. Select Settings ->Video and Audio -> Behaviour :: Start Main player in fullscreen -> true
  4. Watch a video in fullscreen
  5. Press home button
  6. No notification is shown for the video as expected
  7. Reopen the NewPipe app
  8. Select the same video again
  9. crash without crash reporter :/

Other settings changes: Tablet Mode is on
Reproduced with 0.26 #10471
Note: Other Video Apps crashed once as well, so an AndroidTV based issue can not be fully outruled from our side

Expected behavior

The Video is playing in Fullscreen or at least at all

Actual behavior

Crash on video select (We use the fourth video from the start page for testing)

Screenshots/Screen recordings

No response

Logs

10-20 10:11:47.690  3521  8657 I NvUtils : onActivityResumed AM packageName = com.google.android.tvlauncher
10-20 10:11:47.691  3521  8657 E AudioSystem-JNI: Command failed for android_media_AudioSystem_setParameters: -22
10-20 10:11:47.699  3521  8657 I chatty  : uid=1000(system) Binder:3521_1B identical 2 lines
10-20 10:11:47.699  3521  8657 E AudioSystem-JNI: Command failed for android_media_AudioSystem_setParameters: -22
10-20 10:11:47.712 13552 13592 E libc    : Access denied finding property "ro.vendor.sys.NVWSI_DUMP"
10-20 10:11:47.712 13552 13592 E libc    : Access denied finding property "ro.vendor.sys.NVWSI_FILL"
10-20 10:11:47.718 13552 13552 E Clearcut-EventLogger: Unexpected log parameter tray_notification_count
10-20 10:11:47.720 13552 13552 W View    : requestLayout() improperly called by android.widget.FrameLayout{b076b38 V.E...... ......ID 0,0-1920,1080 #7f0b008a app:id/background_image_container} during layout: running second layout pass
10-20 10:11:47.720 13552 13552 W View    : requestLayout() improperly called by android.widget.FrameLayout{eca7aae V.E...... ......ID 640,0-1920,720 #7f0b010e app:id/current_image} during layout: running second layout pass
10-20 10:11:47.720 13552 13552 W View    : requestLayout() improperly called by android.widget.FrameLayout{e2b704f I.E...... ......ID 640,0-1920,720 #7f0b031c app:id/old_image} during layout: running second layout pass
10-20 10:11:47.721 13552 13552 E Clearcut-EventLogger: Unexpected log parameter home_selected_row_position
10-20 10:11:47.721 13552 13552 W HomeController: onResume: List view global layout completed.
10-20 10:11:47.724 13552 13592 E libc    : Access denied finding property "ro.vendor.sys.NV_EGL_FORCE_MSAA"
10-20 10:11:47.724 13552 13592 E libc    : Access denied finding property "ro.vendor.sys.NV_EGL_FORCE_DEPTH"
10-20 10:11:47.735 13552 13592 E libc    : Access denied finding property "ro.vendor.sys.NV_ASYNC"
10-20 10:11:47.735 13552 13592 E libc    : Access denied finding property "ro.vendor.sys.NV_LOGFPS"
10-20 10:11:47.735 13552 13592 E libc    : Access denied finding property "ro.vendor.sys.NV_PROCESS_NAME"
10-20 10:11:47.735 13552 13592 E libc    : Access denied finding property "ro.vendor.sys.NV_FPSDYNAMIC"
10-20 10:11:47.781 13552 13592 E libc    : Access denied finding property "ro.vendor.sys.NV_ASYNC"
10-20 10:11:47.781 13552 13592 E libc    : Access denied finding property "ro.vendor.sys.NV_LOGFPS"
10-20 10:11:47.781 13552 13592 E libc    : Access denied finding property "ro.vendor.sys.NV_PROCESS_NAME"
10-20 10:11:47.781 13552 13592 E libc    : Access denied finding property "ro.vendor.sys.NV_FPSDYNAMIC"
10-20 10:11:47.789  3391 23345 E OMXNodeInstance: !!! Observer died. Quickly, do something, ... anything...
10-20 10:11:47.790  3391 24053 E OMXNodeInstance: !!! Observer died. Quickly, do something, ... anything...
10-20 10:11:47.790  3391 24065 I SimpleSoftOMXComponent: state: 2, mState: 3 mTargetState: 3
10-20 10:11:47.794  3521  9369 I WindowManager: WIN DEATH: Window{9771804 u0 org.schabi.newpipe/org.schabi.newpipe.MainActivity}
10-20 10:11:47.794  3381  3381 E mediaserver: unlinkToDeath: removed reference to death recipient but unlink failed.
10-20 10:11:47.794  3521  9369 W InputDispatcher: Attempted to unregister already unregistered input channel '9771804 org.schabi.newpipe/org.schabi.newpipe.MainActivity (server)'
10-20 10:11:47.794  3381  3381 E IPCThreadState: attemptIncStrongHandle(1): Not supported
10-20 10:11:47.794  3521  6948 D MediaSessionService: Media button session is changed to null
10-20 10:11:47.796  3678  3678 I AvrcpMediaPlayerList: onMediaKeyEventSessionChanged: packageName=org.schabi.newpipe
10-20 10:11:47.796  3678  3678 W AvrcpMediaPlayerList: org.schabi.newpipe is already the active player
10-20 10:11:47.797  4989  4989 D DeviceControlManagerService: no active session
10-20 10:11:47.797 11396 11396 D WargMsAppMgr: A new media session detected: null
10-20 10:11:47.798  4496  4496 D NowPlayingListener: onActiveSessionsChanged() called with: controllers = [[]], lastActiveMediaController = null, lastUpdatedAppPackageName = org.schabi.newpipe
10-20 10:11:47.798  3521  8657 W ActivityManager: Bringing down service while still waiting for start foreground: ServiceRecord{7b99f5f u0 org.schabi.newpipe/.player.PlayerService}
10-20 10:11:47.799  3678  3678 W AvrcpMediaPlayerWrapper: The session was destroyed org.schabi.newpipe
10-20 10:11:47.799  3678  3678 D AvrcpMediaPlayerList: sessionUpdatedCallback(): packageName: org.schabi.newpipe
10-20 10:11:47.800  3678  3678 D AvrcpMediaPlayerList: sendMediaUpdate
10-20 10:11:47.800  3678  3678 D AvrcpMediaPlayerList: sendMediaUpdate state=null
10-20 10:11:47.800  3678  3678 D AvrcpTargetService: onMediaUpdated: track_changed=true state=true queue=true
10-20 10:11:47.800  3678  3678 D AvrcpNativeInterface: sendMediaUpdate: metadata=true playStatus=true queue=true
10-20 10:11:47.800  3678  3678 D AvrcpTargetJni: sendMediaUpdateNative
10-20 10:11:47.800  3678  3678 I bt_stack: [INFO:avrcp_service.cc(346)] virtual void bluetooth::avrcp::AvrcpService::SendMediaUpdate(bool, bool, bool) track_changed=1 :  play_state=1 :  queue=1
10-20 10:11:47.800  3678  3678 D AvrcpMediaPlayerList: Removing media player org.schabi.newpipe
10-20 10:11:47.800  3678  3678 D AvrcpMediaPlayerList: org.schabi.newpipe doesn't have a browse service. Recycle player ID.
10-20 10:11:47.800  3678  3678 V AvrcpMediaPlayerList: onActiveSessionsChanged: number of controllers: 0
10-20 10:11:47.801  4496  4496 D NowPlayingManager: onClientChanged() called
10-20 10:11:47.801  4496  4496 D NowPlayingManager: A notification for Now Playing Card has been canceled
10-20 10:11:47.806  3193  3193 I Zygote  : Process 23642 exited due to signal 9 (Killed)
10-20 10:11:47.809  3521  3546 W ActivityManager: setHasOverlayUi called on unknown pid: 23642
10-20 10:11:47.812  3521  3552 W ActivityManager: crashApplication: nothing for uid=10008 initialPid=23642 packageName=org.schabi.newpipe userId=0
10-20 10:11:47.817  3229  3229 D hwcomposer: SuperRes: Selecting filter NONE because NOT SUPPORTED
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: Dead object in unregisterCallback.
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: android.os.DeadObjectException
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at android.os.BinderProxy.transactNative(Native Method)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at android.os.BinderProxy.transact(BinderProxy.java:550)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at android.support.v4.media.session.IMediaSession$Stub$Proxy.unregisterCallbackListener(IMediaSession.java:930)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at android.support.v4.media.session.MediaControllerCompat$MediaControllerImplApi21.unregisterCallback(MediaControllerCompat.java:2065)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at android.support.v4.media.session.MediaControllerCompat.unregisterCallback(MediaControllerCompat.java:597)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at com.google.android.libraries.cast.tv.tvlibrary.media.BaseMediaControlChannel.disposeControllerIfNeeded(BaseMediaControlChannel.java:277)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at com.google.android.libraries.cast.tv.tvlibrary.media.BaseMediaControlChannel.setSessionCompatToken(BaseMediaControlChannel.java:65)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at com.google.android.libraries.cast.tv.warg.service.internal.ControllableMediaSessionAppManager.lambda$createMediaSessionApp$0$com-google-android-libraries-cast-tv-warg-service-internal-ControllableMediaSessionAppManager(ControllableMediaSessionAppManager.java:233)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at com.google.android.libraries.cast.tv.warg.service.internal.ControllableMediaSessionAppManager$$ExternalSyntheticLambda1.onTvAppDisconnected(Unknown Source:2)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at com.google.android.libraries.cast.tv.warg.service.internal.AbstractReceiverApp.onTvAppDisconnected(AbstractReceiverApp.java:368)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at com.google.android.libraries.cast.tv.warg.service.internal.ControllableMediaSessionAppManager.checkAndNotifyNewActiveMediaSessionIfNeeded(ControllableMediaSessionAppManager.java:192)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at com.google.android.libraries.cast.tv.warg.service.internal.ControllableMediaSessionAppManager.onActiveMediaSessionsChanged(ControllableMediaSessionAppManager.java:142)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at com.google.android.libraries.cast.tv.warg.service.internal.ControllableMediaSessionAppManager$$ExternalSyntheticLambda0.onActiveSessionsChanged(Unknown Source:2)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at android.media.session.MediaSessionManager$SessionsChangedWrapper$1$1.run(MediaSessionManager.java:1146)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at android.os.Handler.handleCallback(Handler.java:938)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at android.os.Handler.dispatchMessage(Handler.java:99)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at android.os.Looper.loop(Looper.java:223)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at android.app.ActivityThread.main(ActivityThread.java:7668)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at java.lang.reflect.Method.invoke(Native Method)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
10-20 10:11:47.817 11396 11396 E MediaControllerCompat: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
10-20 10:11:47.821  3521  3554 I libprocessgroup: Successfully killed process cgroup uid 10008 pid 23642 in 184ms
10-20 10:11:47.823 11396 11396 I cast_shell: [11396:11396:INFO:application_manager_impl.cc(1775)] App stopping: AndroidNativeApp (NewPipe), session_id=379c33ed-c406-464b-ac48-216a0cfb1fb3
10-20 10:11:47.824 11396 11396 I cast_shell: [11396:11396:INFO:application_manager_impl.cc(1780)] App stopped: AndroidNativeApp (NewPipe), session_id=379c33ed-c406-464b-ac48-216a0cfb1fb3
10-20 10:11:47.824 11396 11396 I cast_shell: [11396:11396:INFO:resource_manager_impl.cc(244)] All resources released for app AndroidNativeApp (NewPipe), session_id=379c33ed-c406-464b-ac48-216a0cfb1fb3
10-20 10:11:47.824 11396 11396 E cast_shell: [11396:11396:ERROR:legacy_app_id_mapper_impl.cc(58)] Unknown app_id AndroidNativeApp
10-20 10:11:47.832 11396 11396 E cast_shell: [11396:11396:ERROR:cast_metrics_helper.cc(130)] No start time for app: app_id=E8C28D3C
[...]
10-20 10:11:47.833 11396 11396 I cast_shell: [11396:11396:INFO:auto_volume.cc(509)] No current app anymore
10-20 10:11:47.833 11396 11396 W cast_shell: [11396:11396:WARNING:media_control_handler.cc(59)] Unknown player state: 
10-20 10:11:47.834 11396 11396 I cast_shell: [11396:11396:INFO:application_manager_impl.cc(2093)] Focusing foreground application: session=468728b0-746e-43ea-a705-8ddcbfcb4749
10-20 10:11:47.834 11396 11396 I cast_shell: [11396:11396:INFO:api_reboot_idle_checker.cc(104)] active_activities count=0
10-20 10:11:47.834 11396 11396 I cast_shell: [11396:11396:INFO:media_classifier_manager.cc(159)] app_id: E8C28D3C, is_spoken_word_app: 0
10-20 10:11:47.834 11396 11396 I cast_shell: [11396:11396:INFO:media_classifier_manager.cc(169)] app_id: E8C28D3C, is_movie_app: 0
10-20 10:11:47.834 11396 11396 I cast_shell: [11396:11396:INFO:cast_session_manager_impl.cc(856)] Sending 0 media sessions. (from:OnCurrentAppChanged@chromecast/internal/receiver/cast_session/cast_session_manager_impl.cc:788)
10-20 10:11:47.834 11396 11396 W cast_shell: [11396:11396:WARNING:media_control_handler.cc(59)] Unknown player state: 
10-20 10:11:47.835 11396 11549 I cast_shell: [11396:11549:INFO:mdns_cast_service.cc(759)] Device discovery state is idle
10-20 10:11:47.835 11396 11551 I cast_shell: [11396:11551:INFO:multizone_manager.cc(1658)] Group [REDACTED] unlaunching (app stopped)
10-20 10:11:47.835 11396 11551 I cast_shell: [11396:11551:INFO:multizone_group.cc(525)] Unlaunch default virtual group [REDACTED] with reason Unknown

Affected Android/Custom ROM version

Android TV 11 / Nvidia Shield Experience 9.1.1

Affected device model

Nvidia Shield TV (2019)

Additional information

the affected device is AndroidTV

@Mimoja Mimoja added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Oct 20, 2023
@opusforlife2 opusforlife2 added player Issues related to any player (main, popup and background) Android TV Issue is related to Android TV and removed needs triage Issue is not yet ready for PR authors to take up labels Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android TV Issue is related to Android TV bug Issue is related to a bug player Issues related to any player (main, popup and background)
Projects
None yet
Development

No branches or pull requests

2 participants