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

crash report: Context.startForegroundService() did not then call Service.startForeground() #58

Open
icefields opened this issue Feb 25, 2024 · 0 comments
Assignees
Labels
CANNOT REPRODUCE bugs that are not reproducible at will crash issues from crash report emails

Comments

@icefields
Copy link
Owner

android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{35aba25 u0 luci.sixsixsix.powerampache2/.player.SimpleMediaService}
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1986)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loop(Looper.java:214)
	at android.app.ActivityThread.main(ActivityThread.java:7631)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)
02-25 12:30:35.533 W/ViewRootImpl(19993): Dropping or Cancelling event:  mStopped=false  mPausedForTransition=false
02-25 12:30:35.533 W/ViewRootImpl[MainActivity](19993): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x68, repeatCount=0, eventTime=112185064, downTime=112184873, deviceId=-1, source=0x101, displayId=0 }
02-25 12:30:35.533 W/ViewRootImpl(19993): Dropping or Cancelling event:  mStopped=false  mPausedForTransition=false
02-25 12:30:35.533 W/ViewRootImpl[MainActivity](19993): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x68, repeatCount=0, eventTime=112185064, downTime=112184873, deviceId=-1, source=0x101, displayId=0 }
02-25 12:30:35.533 W/ViewRootImpl(19993): Dropping or Cancelling event:  mStopped=false  mPausedForTransition=false
02-25 12:30:35.533 W/ViewRootImpl[MainActivity](19993): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x68, repeatCount=0, eventTime=112185064, downTime=112184873, deviceId=-1, source=0x101, displayId=0 }
02-25 12:30:35.535 W/ViewRootImpl(19993): Dropping or Cancelling event:  mStopped=false  mPausedForTransition=false
02-25 12:30:35.535 W/ViewRootImpl[MainActivity](19993): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x68, repeatCount=0, eventTime=112185064, downTime=112184873, deviceId=-1, source=0x101, displayId=0 }
02-25 12:30:35.535 W/ViewRootImpl(19993): Dropping or Cancelling event:  mStopped=false  mPausedForTransition=false
02-25 12:30:35.535 W/ViewRootImpl[MainActivity](19993): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x68, repeatCount=0, eventTime=112185064, downTime=112184873, deviceId=-1, source=0x101, displayId=0 }
02-25 12:30:35.535 W/ViewRootImpl(19993): Dropping or Cancelling event:  mStopped=false  mPausedForTransition=false
02-25 12:30:35.535 W/ViewRootImpl[MainActivity](19993): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x68, repeatCount=0, eventTime=112185064, downTime=112184873, deviceId=-1, source=0x101, displayId=0 }
02-25 12:30:35.556 I/ViewRootImpl(19993): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=112185067, downTime=112185067, deviceId=-1, source=0x101, displayId=0 } to DecorView@c8b0b01[MainActivity]
02-25 12:30:35.556 W/ViewRootImpl(19993): Dropping or Cancelling event:  mStopped=false  mPausedForTransition=false
02-25 12:30:35.556 W/ViewRootImpl[MainActivity](19993): Dropping event due to no window focus: KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=112185067, downTime=112185067, deviceId=-1, source=0x101, displayId=0 }
02-25 12:30:35.563 I/ViewRootImpl(19993): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0xc8, repeatCount=1, eventTime=112185583, downTime=112185067, deviceId=-1, source=0x101, displayId=0 } to DecorView@c8b0b01[MainActivity]
02-25 12:30:35.565 I/OpenGLRenderer(19993): Davey! duration=748ms; Flags=1, IntendedVsync=112185175477618, Vsync=112185556714118, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=112185566611255, AnimationStart=112185566654563, PerformTraversalsStart=112185591596488, DrawStart=112185846409898, SyncQueued=112185888768210, SyncStart=112185889349210, IssueDrawCommandsStart=112185890609903, SwapBuffers=112185923594983, FrameCompleted=112185924561983, DequeueBufferDuration=1864000, QueueBufferDuration=475000, 
02-25 12:30:35.608 I/x.powerampache(19993): Background young concurrent copying GC freed 452585(14MB) AllocSpace objects, 4(88KB) LOS objects, 31% free, 27MB/40MB, paused 409us total 245.166ms
02-25 12:30:35.621 I/Timeline(19993): Timeline: Activity_idle id: android.os.BinderProxy@b6af1ba time:112185981
02-25 12:30:35.780 I/ViewRootImpl(19993): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x68, repeatCount=0, eventTime=112185897, downTime=112185067, deviceId=-1, source=0x101, displayId=0 } to DecorView@c8b0b01[MainActivity]
02-25 12:30:36.469 I/ViewRootImpl(19993): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=112186819, downTime=112186819, deviceId=-1, source=0x101, displayId=0 } to DecorView@c8b0b01[MainActivity]
02-25 12:30:36.561 I/ViewRootImpl(19993): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=112186916, downTime=112186819, deviceId=-1, source=0x101, displayId=0 } to DecorView@c8b0b01[MainActivity]
02-25 12:30:36.853 I/ViewRootImpl(19993): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=112187033, downTime=112187033, deviceId=-1, source=0x101, displayId=0 } to DecorView@c8b0b01[MainActivity]
02-25 12:30:36.882 I/ViewRootImpl(19993): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=112187115, downTime=112187033, deviceId=-1, source=0x101, displayId=0 } to DecorView@c8b0b01[MainActivity]
02-25 12:30:36.904 I/ViewRootImpl(19993): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=112187233, downTime=112187233, deviceId=-1, source=0x101, displayId=0 } to DecorView@c8b0b01[MainActivity]
02-25 12:30:36.984 I/ViewRootImpl(19993): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x68, repeatCount=0, eventTime=112187331, downTime=112187233, deviceId=-1, source=0x101, displayId=0 } to DecorView@c8b0b01[MainActivity]
02-25 12:30:37.002 W/ViewRootImpl(19993): Dropping or Cancelling event:  mStopped=false  mPausedForTransition=false
02-25 12:30:37.002 W/ViewRootImpl[MainActivity](19993): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x68, repeatCount=0, eventTime=112187331, downTime=112187233, deviceId=-1, source=0x101, displayId=0 }
02-25 12:30:37.002 W/ViewRootImpl(19993): Dropping or Cancelling event:  mStopped=false  mPausedForTransition=false
02-25 12:30:37.002 W/ViewRootImpl[MainActivity](19993): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x68, repeatCount=0, eventTime=112187331, downTime=112187233, deviceId=-1, source=0x101, displayId=0 }
02-25 12:30:37.002 W/ViewRootImpl(19993): Dropping or Cancelling event:  mStopped=false  mPausedForTransition=false
02-25 12:30:37.002 W/ViewRootImpl[MainActivity](19993): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x68, repeatCount=0, eventTime=112187331, downTime=112187233, deviceId=-1, source=0x101, displayId=0 }
02-25 12:30:37.003 W/ViewRootImpl(19993): Dropping or Cancelling event:  mStopped=false  mPausedForTransition=false
02-25 12:30:37.003 W/ViewRootImpl[MainActivity](19993): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x68, repeatCount=0, eventTime=112187331, downTime=112187233, deviceId=-1, source=0x101, displayId=0 }
02-25 12:30:37.003 W/ViewRootImpl(19993): Dropping or Cancelling event:  mStopped=false  mPausedForTransition=false
02-25 12:30:37.003 W/ViewRootImpl[MainActivity](19993): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x68, repeatCount=0, eventTime=112187331, downTime=112187233, deviceId=-1, source=0x101, displayId=0 }
02-25 12:30:37.003 W/ViewRootImpl(19993): Dropping or Cancelling event:  mStopped=false  mPausedForTransition=false
02-25 12:30:37.003 W/ViewRootImpl[MainActivity](19993): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x68, repeatCount=0, eventTime=112187331, downTime=112187233, deviceId=-1, source=0x101, displayId=0 }
02-25 12:30:37.003 W/ViewRootImpl(19993): Dropping or Cancelling event:  mStopped=false  mPausedForTransition=false
02-25 12:30:37.003 W/ViewRootImpl[MainActivity](19993): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x68, repeatCount=0, eventTime=112187331, downTime=112187233, deviceId=-1, source=0x101, displayId=0 }
02-25 12:30:37.830 D/Surface (19993): Surface::disconnect(this=0x8fa77800,api=1)
02-25 12:30:37.973 D/MediaCodec(19993): kWhatFlush received
02-25 12:30:37.974 I/ACodec  (19993): [OMX.lge.mp3.decoder] ExecutingState flushing now (codec owns 4/4 input, 0/4 output).
02-25 12:30:37.975 I/ACodec  (19993): [OMX.lge.mp3.decoder] Now Flushing
02-25 12:30:37.977 D/MediaCodec(19993): onFlushCompleted()
02-25 12:30:37.977 I/ACodec  (19993): [OMX.lge.mp3.decoder] Now Executing
02-25 12:30:37.977 D/MediaCodec(19993): kWhatFlushCompleted received
02-25 12:30:37.981 D/MediaCodec(19993): kWhatFlush received
02-25 12:30:37.981 I/ACodec  (19993): [OMX.lge.mp3.decoder] ExecutingState flushing now (codec owns 0/4 input, 4/4 output).
02-25 12:30:37.981 I/ACodec  (19993): [OMX.lge.mp3.decoder] Now Flushing
02-25 12:30:37.982 D/MediaCodec(19993): onFlushCompleted()
02-25 12:30:37.982 I/ACodec  (19993): [OMX.lge.mp3.decoder] Now Executing
02-25 12:30:37.982 D/MediaCodec(19993): kWhatFlushCompleted received
02-25 12:30:37.983 V/AudioTrack(19993): flush(2078): prior state:STATE_PAUSED
02-25 12:30:37.983 D/MediaCodec(19993): release()
02-25 12:30:37.984 D/AudioTrack(19993): stop(2078): 0x6d8de680, prior state:STATE_FLUSHED
02-25 12:30:37.984 V/AudioTrack(19993): stop(2078): prior state:STATE_FLUSHED
02-25 12:30:37.984 D/MediaCodec(19993): kWhatStop or kWhatRelease received targetState=0 and mState=6
02-25 12:30:37.984 I/ACodec  (19993): [OMX.lge.mp3.decoder] Now Executing->Idle
02-25 12:30:37.984 D/AudioTrack(19993): ~AudioTrack(2078): 0x6d8de680
02-25 12:30:37.987 D/AudioTrack(19993): stop(2078): 0x6d8de680, prior state:STATE_FLUSHED
02-25 12:30:37.987 V/AudioTrack(19993): stop(2078): prior state:STATE_FLUSHED
02-25 12:30:37.988 V/AudioTrack(19993): ~AudioTrack(2078), releasing session id 10537 from 19993 on behalf of 19993
02-25 12:30:37.991 I/ACodec  (19993): [OMX.lge.mp3.decoder] Now Idle->Loaded
02-25 12:30:37.991 I/ACodec  (19993): [OMX.lge.mp3.decoder] Now Loaded
02-25 12:30:37.993 I/ACodec  (19993): Now uninitialized
02-25 12:30:37.993 D/MediaCodec(19993): onReleaseCompleted()
02-25 12:30:37.993 D/MediaCodec(19993): kWhatReleaseCompleted received
02-25 12:30:37.996 D/MediaCodec(19993): ~MediaCodec()
02-25 12:30:38.001 I/GED     (19993): ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 2, oppidx_max 2, oppidx_min 0
02-25 12:30:38.045 I/chatty  (19993): uid=10487(luci.sixsixsix.powerampache2) RenderThread identical 2 lines
02-25 12:30:38.051 I/GED     (19993): ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 2, oppidx_max 2, oppidx_min 0
02-25 12:30:39.768 W/ActivityThread(19993): handleWindowVisibility: no activity for token android.os.BinderProxy@2336b18
02-25 12:30:39.800 D/PhoneWindow(19993): windowLightStatusBar : false, disable View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR
02-25 12:30:39.837 I/TouchFilterInputStageHelper(19993): [needTouchEventFilter] Displayid : 0
02-25 12:30:39.881 D/Surface (19993): Surface::connect(this=0x8fa77800,api=1)
02-25 12:30:39.883 D/Surface (19993): Surface::setBufferCount(this=0x8fa77800,bufferCount=3)
02-25 12:30:39.883 D/Surface (19993): Surface::allocateBuffers(this=0x8fa77800)
02-25 12:30:39.948 D/AndroidRuntime(19993): Shutting down VM
--------- beginning of crash
02-25 12:30:39.951 E/AndroidRuntime(19993): FATAL EXCEPTION: main
02-25 12:30:39.951 E/AndroidRuntime(19993): Process: luci.sixsixsix.powerampache2, PID: 19993
02-25 12:30:39.951 E/AndroidRuntime(19993): android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{35aba25 u0 luci.sixsixsix.powerampache2/.player.SimpleMediaService}
02-25 12:30:39.951 E/AndroidRuntime(19993): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1986)
02-25 12:30:39.951 E/AndroidRuntime(19993): 	at android.os.Handler.dispatchMessage(Handler.java:107)
02-25 12:30:39.951 E/AndroidRuntime(19993): 	at android.os.Looper.loop(Looper.java:214)
02-25 12:30:39.951 E/AndroidRuntime(19993): 	at android.app.ActivityThread.main(ActivityThread.java:7631)
02-25 12:30:39.951 E/AndroidRuntime(19993): 	at java.lang.reflect.Method.invoke(Native Method)
02-25 12:30:39.951 E/AndroidRuntime(19993): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
02-25 12:30:39.951 E/AndroidRuntime(19993): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)
02-25 12:30:39.952 E/ACRA    (19993): ACRA caught a RemoteServiceException for luci.sixsixsix.powerampache2
02-25 12:30:39.952 E/ACRA    (19993): android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{35aba25 u0 luci.sixsixsix.powerampache2/.player.SimpleMediaService}
02-25 12:30:39.952 E/ACRA    (19993): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1986)
02-25 12:30:39.952 E/ACRA    (19993): 	at android.os.Handler.dispatchMessage(Handler.java:107)
02-25 12:30:39.952 E/ACRA    (19993): 	at android.os.Looper.loop(Looper.java:214)
02-25 12:30:39.952 E/ACRA    (19993): 	at android.app.ActivityThread.main(ActivityThread.java:7631)
02-25 12:30:39.952 E/ACRA    (19993): 	at java.lang.reflect.Method.invoke(Native Method)
02-25 12:30:39.952 E/ACRA    (19993): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
02-25 12:30:39.952 E/ACRA    (19993): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)

@icefields icefields added the crash issues from crash report emails label Feb 25, 2024
@icefields icefields self-assigned this Feb 25, 2024
@icefields icefields added the CANNOT REPRODUCE bugs that are not reproducible at will label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CANNOT REPRODUCE bugs that are not reproducible at will crash issues from crash report emails
Projects
None yet
Development

No branches or pull requests

1 participant