boomer icon indicating copy to clipboard operation
boomer copied to clipboard

master branch: invalid memory address or nil pointer dereference

Open Alan3344 opened this issue 1 year ago • 1 comments

Describe the bug Exception logs during high concurrency: invalid memory address or nil pointer dereference`

To Reproduce Steps to reproduce the behavior:

  1. Writing sample code, then go build
  2. Writing batch file: @locust -f %* --users 10000 --spawn-rate 100 --master-host=192.168.1.25 --master-bind-port=5557 --master, then exec .\master.cmd tasks\bin.py in pwsh.exe
  3. exec golocust.exe -master-host 192.168.1.25 -max-rps 1000 -request-increase-rate 100
  4. Locsut WebUI click Start Spwn

Expected behavior I don't know what the impact will be at the moment, I hope it can be fixed

Screenshots image

Environment (please complete the following information):

  • OS:
    Version Windows 11 Professional
    Version number 24H2
    Installation date ‎2024-‎11-‎4
    Operating system version 26100.2033
    Experience Windows Feature Experience Pack 1000.26100.23.0
    
  • Go Version: go version go1.23.2 windows/amd64

Additional context Local deployment API, optional:

Alan3344 avatar Nov 09 '24 12:11 Alan3344

Line 134 of worker.go has panic issue.

myzhan avatar Nov 11 '24 06:11 myzhan