Unable to open credentials / config file
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Bắt đầu với ví dụ s3 và thiết lập BUILD_SHARED_LIBS, sau đó so sánh quá trình build thư viện và header tùy chỉnh với việc triển khai Lambda cũng như đường dẫn tải credentials/config được ghi trong log. Hoàn thành nghĩa là có chẩn đoán có thể tái hiện và bản sửa lỗi segmentation fault đã được xác nhận, đồng thời các chi tiết liên quan về build và runtime được ghi lại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
To Whom this may concern:
I am extremely new to C++. I am able to get the s3 example up and running.
I am able to compile and zip everything as long as I have "BUILD_SHARED_LIBS" set to "OFF".
The issue arises when I add a custom library and header file, I keep getting the following error.
I am not sure if I am including the header file incorrectly, building the library (.so) file incorrectly or what is happening.
Any pointers would be huge.
Thanks!
-20 02:38:12.715 FileSystemUtils [140315066702144] Home dir not stored in environment, trying to fetch manually from the OS.
[INFO] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Pulled /home/sbx_user1051 as home directory from the OS.
[DEBUG] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Home directory is missing the final / appending one to normalize
[DEBUG] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Final Home Directory is /home/sbx_user1051/
[INFO] 2021-01-20 02:38:12.715 Aws::Config::AWSConfigFileProfileConfigLoader [140315066702144] Initializing config loader against fileName /home/sbx_user1051/.aws/credentials and using profilePrefix = 0
[TRACE] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Checking HOME for the home directory.
[DEBUG] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Environment value for variable HOME is
[WARN] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Home dir not stored in environment, trying to fetch manually from the OS.
[INFO] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Pulled /home/sbx_user1051 as home directory from the OS.
[DEBUG] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Home directory is missing the final / appending one to normalize
[DEBUG] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Final Home Directory is /home/sbx_user1051/
[INFO] 2021-01-20 02:38:12.715 Aws::Config::AWSConfigFileProfileConfigLoader [140315066702144] Initializing config loader against fileName /home/sbx_user1051/.aws/config and using profilePrefix = 1
[TRACE] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Checking HOME for the home directory.
[DEBUG] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Environment value for variable HOME is
[WARN] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Home dir not stored in environment, trying to fetch manually from the OS.
[INFO] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Pulled /home/sbx_user1051 as home directory from the OS.
[DEBUG] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Home directory is missing the final / appending one to normalize
[DEBUG] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Final Home Directory is /home/sbx_user1051/
[INFO] 2021-01-20 02:38:12.715 Aws::Config::AWSConfigFileProfileConfigLoader [140315066702144] Unable to open config file /home/sbx_user1051/.aws/credentials for reading.
[INFO] 2021-01-20 02:38:12.715 Aws::Config::AWSProfileConfigLoader [140315066702144] Failed to reload configuration.
[TRACE] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Checking HOME for the home directory.
[DEBUG] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Environment value for variable HOME is
[WARN] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Home dir not stored in environment, trying to fetch manually from the OS.
[INFO] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Pulled /home/sbx_user1051 as home directory from the OS.
[DEBUG] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Home directory is missing the final / appending one to normalize
[DEBUG] 2021-01-20 02:38:12.715 FileSystemUtils [140315066702144] Final Home Directory is /home/sbx_user1051/
[INFO] 2021-01-20 02:38:12.715 Aws::Config::AWSConfigFileProfileConfigLoader [140315066702144] Unable to open config file /home/sbx_user1051/.aws/config for reading.
[INFO] 2021-01-20 02:38:12.715 Aws::Config::AWSProfileConfigLoader [140315066702144] Failed to reload configuration.
[INFO] 2021-01-20 02:38:12.753 CurlHttpClient [140315066702144] Initializing Curl library with version: 7.61.1, ssl version: OpenSSL/1.0.2k
[DEBUG] 2021-01-20 02:38END RequestId: 790e3dbc-97bd-4ec8-9701-0a2a12daa8e8
REPORT RequestId: 790e3dbc-97bd-4ec8-9701-0a2a12daa8e8 Duration: 379.63 ms Billed Duration: 380 ms Memory Size: 128 MB Max Memory Used: 10 MB
RequestId: 790e3dbc-97bd-4ec8-9701-0a2a12daa8e8 Error: Runtime exited with error: signal: segmentation fault (core dumped)
Runtime.ExitError
- Ngôn ngữ chính
- C++
- Star
- 465
- Fork
- 98
- Merge trung bình
- 1 giờ 16 phút
- Pull request đã merge (30 ngày)
- 2
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của awslabs/aws-lambda-cpp
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
awslabs/aws-lambda-cpp#205 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
awslabs/aws-lambda-cpp#196 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
awslabs/aws-lambda-cpp#195 · 11 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
awslabs/aws-lambda-cpp#194 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
awslabs/aws-lambda-cpp#188 ·
Tất cả issue của awslabs/aws-lambda-cpp
Issue tương tự
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
QuantStack/git2cpp#187 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
mlcommons/mobile_app_open#1182 ·
-
Needs-Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
microsoft/winget-cli#6547 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
AXERA-TECH/ax-llm#77 ·