Skip to content

[BUG] Sever Memroy leak on commit 708a40c #25

Open

Description

@Bill0412

System and Shadowsocksx-NG-R8 version:

  • macOS 10.15.2
  • Shadowsocksx-NG-R8 1.4.6

Expected behavior:
The app should take a little bit of memory

Actual behavior:
Commit: 708a40c
The release corresponding to this commits has a but that causes a severe memory leak. After using the software for a moment and open the Activity Monitor, I found hundreds of threads called nettop. And after closing the software, all the processes are gone. Therefore, there must be a bug that you did not find. I guess it's related to the speedtest functionality, although I am not sure.

(N/A for feature requests)

Steps to reproduce:

(N/A for feature requests)

How often does this happen?

(N/A for feature requests)

ss-local.log

Please upload the ss-local.log file here the file is in ~/Library/Logs

  1. Open 'Advanced Settings -> enable Verbose Mode'
  2. Continue run Shadowsocksx-NG-R8 for 5 minutes
  3. Upload the ~/Library/Logs/ss-local.log here (with or without compress)

Application log

Open the Console.app and search Shadowsocksx-NG
Copy paste the log here

Crash Log

If the app crashes and pop up a crash log, please copy and paste here

Tips:

  • Always check for the latest update, some known bug has been fix in the latest release such as old version not support auth_aes_md5 auth_aes_sha1

  • Beta version of macOS also may couse some problems

  • ss-local compiled by macOS Sierra 10.12 not compatite with 10.11, some old release's ss-local are compiled using 10.12 will not work on 10.11, new release are try build in 10.10 to max fit the compatite

Activity

  1. Bill0412 commented on Jan 14, 2020

    @Bill0412
    Author

    So it's time to switch back to the less fancy but more stable 1.4.3 version

  2. Bill0412 commented on Jan 14, 2020

    @Bill0412
    Author

    The more detailed issue is here: https://bit.ly/2QRmhle

  3. leadscloud commented on Mar 30, 2020

    @leadscloud
    Owner

    关闭显示网速功能即可。

    当时不应该把那个注释取消掉,显示网速功能导致的。

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions