Skip to content

Function: proxy_on_log failed: Uncaught RangeError: Maximum call stack size exceeded #228

Description

@LugiaChang

I am injecting a wasm plugin for envoy in the istio 1.18 environment. During the stress test, the following error occurred. I didn't implement on_log in my wasm code, and there are no other recursive calls. I am very confused about the reason for this error.

error envoy wasm external/envoy/source/extensions/common/wasm/wasm_vm.cc:38   Function: proxy_on_log failed: Uncaught RangeError: Maximum call stack size exceeded    thread=87

When this error occurs, it seems that the thread will continuously display the "wasm_fail_stream" error, and the request will return a 503 response.

POST /infopb.InfoService/Upsert HTTP/2" 200 - wasm_fail_stream - "-" 1257 0 1167 - "-" "grpc-go/1.59.0" "698b416f-e3ee-4f8e-b579-d563d7c37b59" "infosvr-mesh:5000" "11.166.153.22:5000" outbound|5000||infosvr.perf-master.svc.cluster.local 11.166.149.157:47728 11.166.160.143:5000 11.166.149.157:51304 - main

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions