aws / aws/aws-lambda-runtime-interface-emulator
Runtime error: invalid memory address or nil pointer dereference
- Ngôn ngữ chính
- Go
- Star
- 1.1k
- Fork
- 118
- Merge trung bình
- 42 phút
- Pull request đã merge (30 ngày)
- 2
Mô tả
The following error occurs when executing several simultaneous requests:
----
19 Jun 2023 22:05:39,909 [INFO] (rapid) ReserveFailed: AlreadyReserved
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x68c30f]
goroutine 131 [running]:
go.amzn.com/lambda/rapidcore.(*Server).Invoke.func2()
/LambdaRuntimeLocal/lambda/rapidcore/server.go:653 +0xef
created by go.amzn.com/lambda/rapidcore.(*Server).Invoke
/LambdaRuntimeLocal/lambda/rapidcore/server.go:636 +0x23d
----
Docker image: public.ecr.aws/lambda/python:3.8
Hướng dẫn đóng góp
Hướng nghiên cứu
Start with the stack trace in rapidcore/server.go around lines 636 and 653, then reproduce the failure with several simultaneous requests using the public.ecr.aws/lambda/python:3.8 Docker image. Trace the ReserveFailed: AlreadyReserved path and verify that concurrent requests no longer cause an invalid memory address or nil pointer dereference panic.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- go
- Lĩnh vực
- backend
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100