Open danielmeng1986 opened 1 month ago
generated-cpp-pistache-server.zip Hier is the generated sourcecode of cpp-pistache-server. I hope this helps you guys help me analyze, what went wrong.
Today we did more testing, and we found that the builds would not run on WSL, but would run on native Linux systems, such as Ubuntu.
Bug Report Checklist
Description
I want to generate a cpp-pistache-server with openapi-generator. But the generated
cpp-pistache-server
reports “stack smashing detected” error after receiving the request.openapi-generator version
I downloaded
openapi-generator-cli.jar
with the command in WSL.The version of openapi-generator is 7.7.0.
OpenAPI declaration file content or url
The yaml file, I use is the example file from yours, the petstore
Generation Details
I use the follow command to generate resource codes.
Generating the code went well.
Steps to reproduce
When I start the api-server program, it runs on my localhost:8080 port. When I make a GET request, an error occurs.
Error:
A more detailed report obtained using GDB debugging is:
Related issues/PRs
Suggest a fix
Should I choose a lower version of openapi-generator, or is there something wrong with my compiler?