Skip to content

Crash problem when switching from Wifi network to Mobile data. #12641

@alfaklaitos14-arch

Description

@alfaklaitos14-arch

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.28.0

Steps to reproduce the bug

After turning off the wifi network, I turned on the mobile data network and the app crashed. Then when I reopened the app, this problem was solved.

Expected behavior

Wifi I don't want a crash when I switch from the network to the mobile data network.

Actual behavior

The Newpipe App momentarily detected a data outage AND shut itself down completely.

Screenshots/Screen recordings

No response

Logs

{"user_action":"ui error","request":"ACRA report","content_language":"tr-TR","content_country":"TR","app_language":"tr_TR","service":"none","package":"org.schabi.newpipe","version":"0.28.0","os":"Linux samsung/a32tur/a32:13/TP1A.220624.014/A325FXXU6DWH3:user/release-keys 13 - 33","time":"2025-09-17T10:54:51.098+03:00","exceptions":["android.app.RemoteServiceException$ForegroundServiceDidNotStartInTimeException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{dddde46 u0 org.schabi.newpipe/.player.PlayerService}\n\tat android.app.ActivityThread.generateForegroundServiceDidNotStartInTimeException(ActivityThread.java:2245)\n\tat android.app.ActivityThread.throwRemoteServiceException(ActivityThread.java:2216)\n\tat android.app.ActivityThread.-$$Nest$mthrowRemoteServiceException(Unknown Source:0)\n\tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:2508)\n\tat android.os.Handler.dispatchMessage(Handler.java:106)\n\tat android.os.Looper.loopOnce(Looper.java:226)\n\tat android.os.Looper.loop(Looper.java:313)\n\tat android.app.ActivityThread.main(ActivityThread.java:8762)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)\nCaused by: android.app.StackTrace: Last startServiceCommon() call for this service was made here\n\tat android.app.ContextImpl.startServiceCommon(ContextImpl.java:1988)\n\tat android.app.ContextImpl.startForegroundService(ContextImpl.java:1933)\n\tat android.content.ContextWrapper.startForegroundService(ContextWrapper.java:839)\n\tat android.content.ContextWrapper.startForegroundService(ContextWrapper.java:839)\n\tat androidx.core.content.ContextCompat$Api26Impl.startForegroundService(ContextCompat.java:1128)\n\tat androidx.core.content.ContextCompat.startForegroundService(ContextCompat.java:700)\n\tat androidx.media.session.MediaButtonReceiver.onReceive(MediaButtonReceiver.java:120)\n\tat android.app.ActivityThread.handleReceiver(ActivityThread.java:4894)\n\tat android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0)\n\tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:2420)\n\t... 7 more\n"],"user_comment":""}

Affected Android/Custom ROM version

Android 13

Affected device model

Samsung Galaxy A32

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue is related to a bugneeds triageIssue is not yet ready for PR authors to take up

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions