I finally got a console log. This time it didn't crash\close after the call ended, foobar2000 mobile resumed playing music for 1-2 seconds and then paused.
foobar2000 Mobile v1.6.2
Monitoring: Music on Internal Storage : /storage/emulated/0/Music
FFmpeg version: 6.1.1
Build info: ARM 64-bit
Media library: scan beginning
Startup time : 0:00.569561
Android device info:
Manufacturer: samsung
Product: dm2qxxx
Model: SM-S916B
API level: 34
Opening track for playback: "/storage/emulated/0/Music/Albums/Adele/2015 - 25/07. River Lea.opus"
Pointing input: YES
Supported ABIs: arm64-v8a,armeabi-v7a,armeabi
Last browse view session path: Shuffle All Tracks
Media Library indexing in progress, please wait...
Browse: entering: Shuffle All Tracks
Image cache: 4748 files, 1.76 GB, removed 16 old entries
Prepared skin: (1080x2140)
Opening track for playback: "/storage/emulated/0/Music/Albums/Tool/1993 - Undertow/43. [silence].opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/Thievery Corporation/2002 - The Richest Man in Babylon/07. Une simple histoire (A Simple Story).opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/Thievery Corporation/2002 - The Richest Man in Babylon/07. Une simple histoire (A Simple Story).opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/Deftones/2010 - Diamond Eyes/07. Rocket Skates.opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/Primus/1998 - Rhinoplasty/01. Scissor Man.opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/Nirvana/1991 - Nevermind/12. Something in the Way - Endless, Nameless.opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/Butthole Surfers/1984 - Psychic... Powerless... Another Man's Sac/03. Dum Dum.opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/No Fun at All/2018 - Grit/06. Fortunate Smile.opus"
Media library: scan ended, changed: no, time: 0:11.937
Media Library indexing complete.
Found: 21956 tracks, 1494 albums
Opening track for playback: "/storage/emulated/0/Music/Albums/Marilyn Manson/1996 - Antichrist Superstar/19. [silence].opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/Grinspoon/1999 - Easy/05. Secrets.opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/Various Artists/1999 - Short Music for Short People/13. Undeclinable Ambuscade - Not Again.opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/The Aquabats!/2000 - Myths, Legends, and Other Amazing Adventures, Volume 2/05. Dear Spike.opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/Muse/2002 - Hullabaloo Soundtrack/02-01. Dead Star.opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/Foreigner/2008 - No End in Sight- The Very Best of Foreigner/01-08. Hot Blooded.opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/Strung Out/1994 - Another Day in Paradise/06. Broken.opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/Dropkick Murphys/2007 - The Meanest of Times/10. Fairmount Hill.opus"
Pause-suspending
Opening track for playback: "/storage/emulated/0/Music/Albums/Dropkick Murphys/2007 - The Meanest of Times/10. Fairmount Hill.opus"
Playback interrupted, source is stalling...
Opening track for playback: "/storage/emulated/0/Music/Albums/Jack Johnson/2003 - On and On/10. Tomorrow Morning.opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/Billy Idol/2001 - Greatest Hits/04. White Wedding, Part 1.opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/Jane’s Addiction/1990 - Ritual de lo habitual/07. Then She Did….opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/Alice in Chains/2015 - Facelift Live- The Palladium, Hollywood, CA 6 Oct '91/03. Put You Down.opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/Bodyjar/2022 - New Rituals/01. Burning Truth.opus"
audio focus event: -2
audio focus lost, pausing
Pause-suspending
audio focus event: 1
MainService start failure
android.app.ForegroundServiceStartNotAllowedException: startForegroundService() not allowed due to mAllowStartForeground false: service com.foobar2000.foobar2000/.MainService
at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:54)
at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:50)
at android.os.Parcel.readParcelableInternal(Parcel.java:4882)
at android.os.Parcel.readParcelable(Parcel.java:4864)
at android.os.Parcel.createExceptionOrNull(Parcel.java:3064)
at android.os.Parcel.createException(Parcel.java:3053)
at android.os.Parcel.readException(Parcel.java:3036)
at android.os.Parcel.readException(Parcel.java:2978)
at android.app.IActivityManager$Stub$Proxy.startService(IActivityManager.java:6471)
at android.app.ContextImpl.startServiceCommon(ContextImpl.java:2002)
at android.app.ContextImpl.startForegroundService(ContextImpl.java:1967)
at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:847)
at com.foobar2000.foobar2000.MainService.start(MainService.java:348)
at com.foobar2000.foobar2000.MainService.autoStart(MainService.java:331)
at com.foobar2000.foobar2000.MainService$1.onPause(MainService.java:88)
at com.foobar2000.foobar2000.PlaybackStatusWatcher.onPause(PlaybackStatusWatcher.java:32)
at com.foobar2000.foobar2000.foobar2000instance.userStart(Native Method)
at com.foobar2000.foobar2000.MainService.onAudioFocusChange(MainService.java:195)
at android.media.AudioManager$ServiceEventHandlerDelegate$1.handleMessage(AudioManager.java:4333)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:9063)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:588)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
Opening track for playback: "/storage/emulated/0/Music/Albums/Bodyjar/2022 - New Rituals/01. Burning Truth.opus"
Playback interrupted, source is stalling...
audio focus event: -1
audio focus lost, pausing
Opening track for playback: "/storage/emulated/0/Music/Albums/IDLES/2024 - TANGK/11. Monolith.opus"
Opening track for playback: "/storage/emulated/0/Music/Albums/Hot Rod Circuit/2002 - Sorry About Tomorrow/05. Now or Never.opus"
Button clicked, time since init: 39481921
Pause-suspending