rofl0r / rofl0r/microsocks

Segfault under F-Droid Termux on Android 11

Open
#97 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
2.2k
Forks
353
Avg merge
1h 4m
Merged PRs (30d)
1

Description

I have Android 11
I tried 1.50-1 version
both pkg install microsocks
and manually built with ghcr.io/termux/package-builder

I tried different build flags.

CFLAGS='-g -O0 -fno-stack-protector'
LDFLAGS='-fno-stack-protector'

and

CFLAGS='-DTHREAD_STACK_SIZE=1048576 -g -O0'

It starts but crashes on client connection.

~ $ microsocks
Segmentation fault         microsocks

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 crash in microsocks 1.50-1 under F-Droid Termux on Android 11, using the reported package and manual build paths and the listed debug flags. Investigate the failure triggered by a client connection; done means microsocks accepts that connection without a segmentation fault on the reported environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.