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

UI Error with app sleeping or not in use. #10356

Closed
6 tasks done
jcisda opened this issue Aug 18, 2023 · 1 comment
Closed
6 tasks done

UI Error with app sleeping or not in use. #10356

jcisda opened this issue Aug 18, 2023 · 1 comment
Labels
duplicate Issue or discussion is a duplicate of an existing issue or discussion template ignored The user didn't follow the template/instructions (or removed them)

Comments

@jcisda
Copy link

jcisda commented Aug 18, 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

0.25.2

Steps to reproduce the bug

  1. Close the app
  2. Keep mobile idle/screen off
  3. Wake up mobile, click on app icon to start the app, see UI crashed message.
  4. press back multiple times to reach back to working UI, each time there is UI error screen with report.

Issue was also seen in older version 0.25.1.
Issue was never seen in version before 0.25.1

Expected behavior

No UI crash screen on launching the app.

Actual behavior

UI crashes in background
UI crashes and wakes up the sleeping app and displays the error replacing the active app window.

Screenshots/Screen recordings

No response

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: IN
  • Content Language: en-IN
  • App Language: en_IN
  • Service: none
  • Version: 0.25.2
  • OS: Linux samsung/b0qxxx/b0q:13/TP1A.220624.014/S908EXXU5CWEC:user/release-keys 13 - 33
Crash log

``` android.app.RemoteServiceException$ForegroundServiceDidNotStartInTimeException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{12ec5c7 u0 org.schabi.newpipe/.player.PlayerService} at android.app.ActivityThread.generateForegroundServiceDidNotStartInTimeException(ActivityThread.java:2245) at android.app.ActivityThread.throwRemoteServiceException(ActivityThread.java:2216) at android.app.ActivityThread.-$$Nest$mthrowRemoteServiceException(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2508) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:226) at android.os.Looper.loop(Looper.java:313) at android.app.ActivityThread.main(ActivityThread.java:8757) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067) Caused by: android.app.StackTrace: Last startServiceCommon() call for this service was made here at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1988) at android.app.ContextImpl.startForegroundService(ContextImpl.java:1933) at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:839) at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:839) at androidx.core.content.ContextCompat$Api26Impl$$ExternalSyntheticApiModelOutline1.m(R8$$SyntheticClass:0) at androidx.core.content.ContextCompat$Api26Impl.startForegroundService(ContextCompat.java:1091) at androidx.core.content.ContextCompat.startForegroundService(ContextCompat.java:749) at androidx.media.session.MediaButtonReceiver.onReceive(MediaButtonReceiver.java:115) at android.app.ActivityThread.handleReceiver(ActivityThread.java:4894) at android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2420) ... 7 more ```


Affected Android/Custom ROM version

Android 13, One UI 5.1, Android security patch 1, July 2023

Affected device model

Samsung S22 Ultra

Additional information

No response

@jcisda jcisda added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Aug 18, 2023
@SameenAhnaf
Copy link
Collaborator

#10151

@SameenAhnaf SameenAhnaf added template ignored The user didn't follow the template/instructions (or removed them) duplicate Issue or discussion is a duplicate of an existing issue or discussion and removed bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issue or discussion is a duplicate of an existing issue or discussion template ignored The user didn't follow the template/instructions (or removed them)
Projects
None yet
Development

No branches or pull requests

2 participants