alibaba / alibaba/anyproxy

anyproxy 最新版本启动失败 回滚到 3.8.0 没有任何问题

Open
#456 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Plese fill the template when you reporting a new issue, thanks!

#### Which platform are you running AnyProxy

Ubuntu 16.0.4
#### The version of the AnyProxy

AnyProxy:4.0.11
Node:v11.4.0
#### Your expected behavior of AnyProxy

正常启动
#### The actual behavior of AnyProxy

未能正常启动
#### The log of the error

```
[AnyProxy ERROR][2018-12-26 23:26:00]: RangeError: Array buffer allocation failed
[AnyProxy ERROR][2018-12-26 23:26:00]: RangeError: Array buffer allocation failed
at new ArrayBuffer ()
at Object. (/root/.nvm/versions/node/v11.4.0/lib/node_modules/anyproxy/node_modules/brotli/build/encode.js:21:207)
at Module._compile (internal/modules/cjs/loader.js:723:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:734:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)
at Module.require (internal/modules/cjs/loader.js:659:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (/root/.nvm/versions/node/v11.4.0/lib/node_modules/anyproxy/node_modules/brotli/compress.js:1:76)
at Module._compile (internal/modules/cjs/loader.js:723:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:734:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)
at Module.require (internal/modules/cjs/loader.js:659:17)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce startup on Ubuntu 16.04 with AnyProxy 4.0.11 and Node v11.4.0, using the reported RangeError stack as the starting point. Inspect the failing dependency paths node_modules/brotli/build/encode.js and node_modules/brotli/compress.js, then verify that AnyProxy starts without the array-buffer allocation error while the reported older version remains a comparison point.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
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.