Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack overflow Segmentation failure error with v1.18 when class presents references to itself #5352

Closed
lbognanno opened this issue Sep 6, 2024 · 3 comments
Labels
Csharp Pull requests that update .net code duplicate This issue or pull request already exists type:bug A broken experience
Milestone

Comments

@lbognanno
Copy link

What are you generating using Kiota, clients or plugins?

API Client/SDK

In what context or format are you using Kiota?

Windows executable

Client library/SDK language

Csharp

Describe the bug

With version 1.18 (tested on 1.17 and it works) whenever i generate an SDK in a project where a class T has inside a List the "kiota generate" command returns "Stack overflow Segmentation failure" error and does not generate the SDK

Expected behavior

Generate the SDK like it does in v 1.17

How to reproduce

Create a request/response class T with List as a property and run "kiota generate" command

Open API description file

No response

Kiota Version

1.18

Latest Kiota version known to work for scenario above?(Not required)

1.17

Known Workarounds

No response

Configuration

No response

Debug output

No response

Other information

No response

@lbognanno lbognanno added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience labels Sep 6, 2024
@github-project-automation github-project-automation bot moved this to Needs Triage 🔍 in Kiota Sep 6, 2024
@msgraph-bot msgraph-bot bot added the Csharp Pull requests that update .net code label Sep 6, 2024
@baywet
Copy link
Member

baywet commented Sep 6, 2024

Hi @lbognanno
Thank you for using kiota and for reaching out.

Can you please provide a reproduction OpenAPI description?
Thanks!

@baywet baywet added status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close and removed status:waiting-for-triage An issue that is yet to be reviewed or assigned labels Sep 6, 2024
@baywet baywet moved this from Needs Triage 🔍 to Waits for author 🔁 in Kiota Sep 6, 2024
@lbognanno
Copy link
Author

openapi-desc.json
Sorry for the delay see the attached OpenAPI description as requested

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs: Attention 👋 and removed status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close labels Sep 10, 2024
@baywet
Copy link
Member

baywet commented Sep 10, 2024

Thank you for the additional information.
#5369 provided the needed information directly and is essentially the same issue.
Closing this one as duplicate to clear any potential confusion, please subscribe to the other one to be updated on progress.

@baywet baywet closed this as not planned Won't fix, can't repro, duplicate, stale Sep 10, 2024
@github-project-automation github-project-automation bot moved this from Waits for author 🔁 to Done ✔️ in Kiota Sep 10, 2024
@baywet baywet added this to the Kiota v1.18.1 milestone Sep 10, 2024
@baywet baywet added duplicate This issue or pull request already exists and removed Needs: Attention 👋 labels Sep 10, 2024
@baywet baywet modified the milestones: Kiota v1.18.1, Kiota v1.19 Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Csharp Pull requests that update .net code duplicate This issue or pull request already exists type:bug A broken experience
Projects
Archived in project
Development

No branches or pull requests

2 participants