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

Signal crash when block a group without/bad network #14006

Open
3 tasks done
Kobayashi-996 opened this issue Feb 22, 2025 · 0 comments
Open
3 tasks done

Signal crash when block a group without/bad network #14006

Kobayashi-996 opened this issue Feb 22, 2025 · 0 comments

Comments

@Kobayashi-996
Copy link

Guidelines

  • I have searched searched open and closed issues for duplicates
  • I am submitting a bug report for existing functionality that does not work as intended
  • This isn't a feature request or a discussion topic

Bug description

As titled, when the network is off or bad, block and leave a group will make the app crash.

Steps:
1.Enter the app
2.Enter a Conversation
3.Enter the coversation profile
4.Scroll down for the block function
5.Open airplane mode
6.Click Block group
-> the app crash

Stacktrace(with ip hidden):

FATAL EXCEPTION: signal-bounded-2
Process: org.thoughtcrime.securesms, PID: 27105
org.whispersystems.signalservice.api.push.exceptions.PushNetworkException: java.net.ConnectException: Failed to connect to /xx.xx.xx.xx:xx
at org.whispersystems.signalservice.internal.push.PushServiceSocket.makeStorageRequest(PushServiceSocket.java:2487)
at org.whispersystems.signalservice.internal.push.PushServiceSocket.makeStorageRequest(PushServiceSocket.java:2444)
at org.whispersystems.signalservice.internal.push.PushServiceSocket.patchGroupsV2Group(PushServiceSocket.java:2986)
at org.whispersystems.signalservice.api.groupsv2.GroupsV2Api.patchGroup(GroupsV2Api.java:181)
at org.thoughtcrime.securesms.groups.GroupManagerV2$GroupEditor.commitToServer(GroupManagerV2.java:703)
at org.thoughtcrime.securesms.groups.GroupManagerV2$GroupEditor.commitChange(GroupManagerV2.java:679)
at org.thoughtcrime.securesms.groups.GroupManagerV2$GroupEditor.commitChangeWithConflictResolution(GroupManagerV2.java:584)
at org.thoughtcrime.securesms.groups.GroupManagerV2$GroupEditor.ejectMember(GroupManagerV2.java:435)
at org.thoughtcrime.securesms.groups.GroupManagerV2$GroupEditor.leaveGroup(GroupManagerV2.java:425)
at org.thoughtcrime.securesms.groups.GroupManager.leaveGroup(GroupManager.java:87)
at org.thoughtcrime.securesms.groups.GroupManager.leaveGroupFromBlockOrMessageRequest(GroupManager.java:107)
at org.thoughtcrime.securesms.recipients.RecipientUtil.block(RecipientUtil.java:171)
at org.thoughtcrime.securesms.components.settings.conversation.ConversationSettingsRepository.block$lambda$22(ConversationSettingsRepository.kt:202)
at org.thoughtcrime.securesms.components.settings.conversation.ConversationSettingsRepository.$r8$lambda$k7tUkYUEPduDt_4ZqZH40x04kUQ(Unknown Source:0)
at org.thoughtcrime.securesms.components.settings.conversation.ConversationSettingsRepository$$ExternalSyntheticLambda18.run(D8$$SyntheticClass:0)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
at org.signal.core.util.concurrent.SignalExecutors$NumberedThreadFactory$1.run(SignalExecutors.java:109)
Caused by: java.net.ConnectException: Failed to connect to /xx.xx.xx.xx:xx
at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:297)
at okhttp3.internal.connection.RealConnection.connectTunnel(RealConnection.kt:261)
at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:201)
at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
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 org.thoughtcrime.securesms.net.DeviceTransferBlockingInterceptor.intercept(DeviceTransferBlockingInterceptor.java:38)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at org.thoughtcrime.securesms.net.DeprecatedClientPreventionInterceptor.intercept(DeprecatedClientPreventionInterceptor.java:36)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at org.thoughtcrime.securesms.net.RemoteDeprecationDetectorInterceptor.intercept(RemoteDeprecationDetectorInterceptor.java:22)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at org.thoughtcrime.securesms.net.UserAgentInterceptor.intercept(UserAgentInterceptor.java:20)
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.whispersystems.signalservice.internal.push.PushServiceSocket.makeStorageRequest(PushServiceSocket.java:2481)
... 18 more
Caused by: java.net.ConnectException: failed to connect to /xx.xx.xx.xx (port xx) from /:: (port 0) after 30000ms: connect failed: ENETUNREACH (Network is unreachable)
at libcore.io.IoBridge.connect(IoBridge.java:187)
at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
at java.net.Socket.connect(Socket.java:646)
at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128)
at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295)
... 43 more
Caused by: android.system.ErrnoException: connect failed: ENETUNREACH (Network is unreachable)
at libcore.io.Linux.connect(Native Method)
at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:158)
at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
at libcore.io.IoBridge.connectErrno(IoBridge.java:218)
at libcore.io.IoBridge.connect(IoBridge.java:179)
... 51 more

Screenshots

Screen_recording_20250222_163258.mp4

Device

Pixel 8 pro

Android version

Android 13

Signal version

7.32.2

Link to debug log

https://debuglogs.org/android/7.32.2/3bf53cea66629c701e03cfc1b3cd0ab36e83ca7c7d76d3af69e1e6ce4a8111c6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant