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

crashed when pressing 'back' button #11813

Closed
6 tasks done
Unacceptium opened this issue Dec 21, 2024 · 1 comment
Closed
6 tasks done

crashed when pressing 'back' button #11813

Unacceptium opened this issue Dec 21, 2024 · 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

@Unacceptium
Copy link

Unacceptium commented Dec 21, 2024

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

Steps to reproduce the bug

app crashes when android's back button gets pressed.
--how it happens: 1 switch to bandcamp
2 get on a channel (probably unneeded)
3 open an album
4 press back button on your nav bar
5 experience the app restarting to show the error.

YouCut_20241221_194243136.mp4

(video had to be compressed)
there is the report without formatting

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: HU
  • Content Language: hu-HU
  • App Language: hu_HU
  • Service: none
  • Version: 0.27.4
  • OS: Linux Android 12 - 31
Crash log

android.os.NetworkOnMainThreadException
	at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1668)
	at com.android.org.conscrypt.Platform.blockGuardOnNetwork(Platform.java:431)
	at com.android.org.conscrypt.ConscryptEngineSocket$SSLOutputStream.writeInternal(ConscryptEngineSocket.java:666)
	at com.android.org.conscrypt.ConscryptEngineSocket$SSLOutputStream.write(ConscryptEngineSocket.java:661)
	at okio.OutputStreamSink.write(JvmOkio.kt:56)
	at okio.AsyncTimeout$sink$1.write(AsyncTimeout.kt:102)
	at okio.RealBufferedSink.flush(RealBufferedSink.kt:186)
	at okhttp3.internal.http2.Http2Writer.flush(Http2Writer.kt:120)
	at okhttp3.internal.http2.Http2Connection.flush(Http2Connection.kt:408)
	at okhttp3.internal.http2.Http2Stream$FramingSink.close(Http2Stream.kt:624)
	at okio.ForwardingSink.close(ForwardingSink.kt:37)
	at okhttp3.internal.connection.Exchange$RequestBodySink.close(Exchange.kt:247)
	at okio.RealBufferedSink.close(RealBufferedSink.kt:206)
	at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:63)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
	at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
	at org.schabi.newpipe.DownloaderImpl.execute(DownloaderImpl.java:163)
	at org.schabi.newpipe.extractor.downloader.Downloader.post(Downloader.java:143)
	at org.schabi.newpipe.extractor.downloader.Downloader.postWithContentType(Downloader.java:175)
	at org.schabi.newpipe.extractor.downloader.Downloader.postWithContentTypeJson(Downloader.java:217)
	at org.schabi.newpipe.extractor.downloader.Downloader.postWithContentTypeJson(Downloader.java:235)
	at org.schabi.newpipe.extractor.services.bandcamp.extractors.BandcampExtractorHelper.getArtistDetails(BandcampExtractorHelper.java:120)
	at org.schabi.newpipe.extractor.services.bandcamp.linkHandler.BandcampChannelLinkHandlerFactory.getUrl(BandcampChannelLinkHandlerFactory.java:56)
	at org.schabi.newpipe.extractor.linkhandler.ListLinkHandlerFactory.getUrl(ListLinkHandlerFactory.java:77)
	at org.schabi.newpipe.extractor.services.bandcamp.linkHandler.BandcampChannelTabLinkHandlerFactory.getUrl(BandcampChannelTabLinkHandlerFactory.java:56)
	at org.schabi.newpipe.extractor.linkhandler.ListLinkHandlerFactory.fromQuery(ListLinkHandlerFactory.java:57)
	at org.schabi.newpipe.fragments.list.channel.ChannelTabFragment.handleResult(ChannelTabFragment.java:137)
	at org.schabi.newpipe.fragments.list.channel.ChannelTabFragment.handleResult(ChannelTabFragment.java:39)
	at org.schabi.newpipe.fragments.list.BaseListInfoFragment.doInitialLoadLogic(BaseListInfoFragment.java:120)
	at org.schabi.newpipe.fragments.BaseStateFragment.onViewCreated(BaseStateFragment.java:47)
	at androidx.fragment.app.Fragment.performViewCreated(Fragment.java:3147)
	at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:588)
	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:272)
	at androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:114)
	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1455)
	at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3034)
	at androidx.fragment.app.FragmentManager.dispatchViewCreated(FragmentManager.java:2945)
	at androidx.fragment.app.Fragment.performViewCreated(Fragment.java:3148)
	at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:588)
	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:272)
	at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1934)
	at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1839)
	at androidx.fragment.app.FragmentManager.popBackStackImmediate(FragmentManager.java:891)
	at androidx.fragment.app.FragmentManager.popBackStackImmediate(FragmentManager.java:797)
	at androidx.fragment.app.FragmentManager.handleOnBackPressed(FragmentManager.java:717)
	at androidx.fragment.app.FragmentManager$1.handleOnBackPressed(FragmentManager.java:447)
	at androidx.activity.OnBackPressedDispatcher.onBackPressed(OnBackPressedDispatcher.kt:276)
	at androidx.activity.ComponentActivity.onBackPressed(ComponentActivity.java:678)
	at org.schabi.newpipe.MainActivity.onBackPressed(MainActivity.java:595)
	at android.app.Activity.onKeyUp(Activity.java:3835)
	at android.view.KeyEvent.dispatch(KeyEvent.java:2888)
	at android.app.Activity.dispatchKeyEvent(Activity.java:4160)
	at androidx.core.app.ComponentActivity.superDispatchKeyEvent(ComponentActivity.java:120)
	at androidx.core.view.KeyEventDispatcher.dispatchKeyEvent(KeyEventDispatcher.java:85)
	at androidx.core.app.ComponentActivity.dispatchKeyEvent(ComponentActivity.java:138)
	at androidx.appcompat.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:604)
	at androidx.appcompat.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:60)
	at androidx.appcompat.app.AppCompatDelegateImpl$AppCompatWindowCallback.dispatchKeyEvent(AppCompatDelegateImpl.java:3413)
	at com.android.internal.policy.DecorView.dispatchKeyEvent(DecorView.java:432)
	at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:6551)
	at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:6412)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5890)
	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5947)
	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5913)
	at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:6078)
	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5921)
	at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:6135)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5894)
	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5947)
	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5913)
	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5921)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5894)
	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5947)
	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5913)
	at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:6111)
	at android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:6273)
	at android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:3171)
	at android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:2735)
	at android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:2726)
	at android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:3148)
	at android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:154)
	at android.os.MessageQueue.nativePollOnce(Native Method)
	at android.os.MessageQueue.next(MessageQueue.java:335)
	at android.os.Looper.loopOnce(Looper.java:161)
	at android.os.Looper.loop(Looper.java:288)
	at android.app.ActivityThread.main(ActivityThread.java:7924)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)


Expected behavior

maybe don't crash?

Actual behavior

crash when back button pressed

Screenshots/Screen recordings

already in the "Steps to reproduce the bug" section

Logs

already in the "Steps to reproduce the bug" section

Affected Android/Custom ROM version

Android 12 (seems to be clean but might be custom by default)

Affected device model

Ulefone Armor TWS

Additional information

lazy to check checklist items but it don't let me continue

@Unacceptium Unacceptium added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Dec 21, 2024
@ShareASmile
Copy link
Collaborator

Duplicate of #11183

@ShareASmile ShareASmile marked this as a duplicate of #11183 Dec 22, 2024
@ShareASmile ShareASmile 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 Dec 22, 2024
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