sta / sta/websocket-sharp

App Crashes on resume after a 10 minutes wait.

Open
#606 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
6.1k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

We are experiencing a strange behavior in Android and we can’t detect the cause.
Basically once the game starts (and the socket connects), we press the home button (app goes in background).

Then we resume after 10 minutes, and the game crashes.

It throws a fatal error.
java.lang.Error: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr c1f94ea0
After reducing components to the minimum, we know it’s a socket issue related.

Did anyone experience this behavior?

Thanks in advance

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Android lifecycle described: connect the socket, background the game for 10 minutes, and resume it. Investigate the socket-related fatal SIGSEGV and identify what is needed to prevent the crash after resume; no source file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.