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

gost 2.12.0 crush on iOS iSH #1064

Open
QGB opened this issue Mar 11, 2025 · 0 comments
Open

gost 2.12.0 crush on iOS iSH #1064

QGB opened this issue Mar 11, 2025 · 0 comments

Comments

@QGB
Copy link

QGB commented Mar 11, 2025

iPhone:~# ./gost -L=socks5://0.0.0.0:8080                                                    
fatal: morestack on g0                                                                       
SIGTRAP: trace trap                                                                          
PC=0x80bef02 m=0 sigcode=128                                                                 
                                                                                             
goroutine 0 gp=0x8c82960 m=0 mp=0x8c83620 [idle]:                                            
runtime.nanotime(...)                                                                        
        /opt/hostedtoolcache/go/1.22.8/x64/src/runtime/time_nofake.go:19                     
runtime.checkTimers(0x943a008, 0x0)                                                          
        /opt/hostedtoolcache/go/1.22.8/x64/src/runtime/proc.go:3960 +0xf5 fp=0xffffdb24 sp=0xffffdad8 pc=0x808ef25
runtime.findRunnable()                                                                       
        /opt/hostedtoolcache/go/1.22.8/x64/src/runtime/proc.go:3160 +0x9d fp=0xffffdbd0 sp=0xffffdb24 pc=0x808cbdd
runtime.schedule()                                                                           
        /opt/hostedtoolcache/go/1.22.8/x64/src/runtime/proc.go:3868 +0xbd fp=0xffffdbec sp=0xffffdbd0 pc=0x808ec1d
runtime.goschedImpl(0x9406128, 0x1)                                                          
        /opt/hostedtoolcache/go/1.22.8/x64/src/runtime/proc.go:4065 +0x14d fp=0xffffdc04 sp=0xffffdbec pc=0x808f4cd
runtime.gopreempt_m(...)                                                                     
        /opt/hostedtoolcache/go/1.22.8/x64/src/runtime/proc.go:4082                          
runtime.newstack()                                                                           
        /opt/hostedtoolcache/go/1.22.8/x64/src/runtime/stack.go:1070 +0x3b9 fp=0xffffdcdc sp=0xffffdc04 pc=0x80a08a9
runtime.morestack()                                                                          
        /opt/hostedtoolcache/go/1.22.8/x64/src/runtime/asm_386.s:453 +0x7c fp=0xffffdce0 sp=0xffffdcdc pc=0x80bdd9c
                                                                                             
goroutine 1 gp=0x9406128 m=nil [runnable]:                                                   
math/big.nat.montgomery({0x973a900, 0x20, 0x46}, {0x973bd40, 0x20, 0x44}, {0x973bb00, 0x20, 0x44}, {0x97f3200, ...}, ...)
        /opt/hostedtoolcache/go/1.22.8/x64/src/math/big/nat.go:216 +0x3d2 fp=0x9567320 sp=0x956731c pc=0x81acb02
math/big.nat.expNNMontgomery({0x9738a20, 0x20, 0x24}, {0x9738990, 0x20, 0x24}, {0x9738870, 0x20, 0x24}, {0x97f3200, ...})
        /opt/hostedtoolcache/go/1.22.8/x64/src/math/big/nat.go:1269 +0xa6f fp=0x95674b4 sp=0x9567320 pc=0x81b265f
math/big.nat.expNN({0x0, 0x0, 0x0}, {0x9738990, 0x20, 0x24}, {0x9738870, 0x20, 0x24}, {0x97f3200, ...}, ...)
        /opt/hostedtoolcache/go/1.22.8/x64/src/math/big/nat.go:989 +0x473 fp=0x95675dc sp=0x95674b4 pc=0x81b01c3
math/big.nat.probablyPrimeMillerRabin({0x97f3200, 0x20, 0x24}, 0x15, 0x1)                    
        /opt/hostedtoolcache/go/1.22.8/x64/src/math/big/prime.go:106 +0x501 fp=0x95676c0 sp=0x95675dc pc=0x81b7971
math/big.(*Int).ProbablyPrime(0x9486e00, 0x14)                                               
        /opt/hostedtoolcache/go/1.22.8/x64/src/math/big/prime.go:78 +0x218 fp=0x95676e0 sp=0x95676c0 pc=0x81b7408
crypto/rand.Prime({0x88765c0, 0x950e018}, 0x400)                                             
        /opt/hostedtoolcache/go/1.22.8/x64/src/crypto/rand/util.go:55 +0x1ea fp=0x9567718 sp=0x95676e0 pc=0x81e1e6a
crypto/rsa.GenerateMultiPrimeKey({0x88765c0, 0x950e018}, 0x2, 0x800)                         │
        /opt/hostedtoolcache/go/1.22.8/x64/src/crypto/rsa/rsa.go:396 +0x735 fp=0x95677e8 sp=0x9567718 pc=0x81e71b5
crypto/rsa.GenerateKey(...)                                                                  │
        /opt/hostedtoolcache/go/1.22.8/x64/src/crypto/rsa/rsa.go:276                         │
github.com/ginuerzh/gost.generateKeyPair()  

goroutine 5 gp=0x9407448 m=nil [select]:
runtime.gopark(0x87c842c, 0x0, 0x9, 0x3, 0x1)
        /opt/hostedtoolcache/go/1.22.8/x64/src/runtime/proc.go:402 +0x10c fp=0x9445e80 sp=0x9445e6c pc=0x8087b2c
runtime.selectgo(0x9445fd4, 0x9445f8c, 0x0, 0x0, 0x2, 0x1)
        /opt/hostedtoolcache/go/1.22.8/x64/src/runtime/select.go:327 +0xb27 fp=0x9445f64 sp=0x9445e80 pc=0x809a2a7
github.com/xtaci/kcp-go/v5.(*TimedSched).prepend(0x946c7e0)
        /home/runner/go/pkg/mod/github.com/xtaci/kcp-go/v5@v5.6.7/timedsched.go:103 +0x95 fp=0x9445fe8 sp=0x9445f64 pc=0x84cbdc5
github.com/xtaci/kcp-go/v5.NewTimedSched.gowrap2()
        /home/runner/go/pkg/mod/github.com/xtaci/kcp-go/v5@v5.6.7/timedsched.go:58 +0x27 fp=0x9445ff0 sp=0x9445fe8 pc=0x84cb8d7
runtime.goexit({})
        /opt/hostedtoolcache/go/1.22.8/x64/src/runtime/asm_386.s:1363 +0x1 fp=0x9445ff4 sp=0x9445ff0 pc=0x80bf071
created by github.com/xtaci/kcp-go/v5.NewTimedSched in goroutine 1
        /home/runner/go/pkg/mod/github.com/xtaci/kcp-go/v5@v5.6.7/timedsched.go:58 +0x184

goroutine 6 gp=0x94077a8 m=nil [GC worker (idle)]:
runtime.gopark(0x87c82b0, 0x94ca408, 0x1a, 0xa, 0x0)
        /opt/hostedtoolcache/go/1.22.8/x64/src/runtime/proc.go:402 +0x10c fp=0x9446794 sp=0x9446780 pc=0x8087b2c
runtime.gcBgMarkWorker()
        /opt/hostedtoolcache/go/1.22.8/x64/src/runtime/mgc.go:1310 +0xf7 fp=0x94467f0 sp=0x9446794 pc=0x80641d7
runtime.goexit({})
        /opt/hostedtoolcache/go/1.22.8/x64/src/runtime/asm_386.s:1363 +0x1 fp=0x94467f4 sp=0x94467f0 pc=0x80bf071
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/hostedtoolcache/go/1.22.8/x64/src/runtime/mgc.go:1234 +0x25

goroutine 7 gp=0x94078c8 m=2 mp=0x9448588 [running]:
        goroutine running on other thread; stack unavailable
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/hostedtoolcache/go/1.22.8/x64/src/runtime/mgc.go:1234 +0x25

eax    0x17
ebx    0x2
ecx    0x879e90f
edx    0x17
edi    0x9407910
esi    0x8c82960
ebp    0x8fcd420
esp    0x9446f88
eip    0x80bef02
eflags 0x206
cs     0x0
fs     0x0
gs     0x0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant