fsprojects / fsprojects/Paket

package resolving blows stack

Open
#3,690 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

Description

running paket update or other commands that need to resolve dependencies is blowing the stack

  • Paket 5.215.0, 5.226.0
  • macOS 10.13.6
  • dotnet 3.1.100-preview1-014459
Repro steps
git clone https://github.com/jdodds/paket-blowing-stack-repro.git && cd paket-blowing-stack-repro
dotnet paket update
paket.dependencies:
source https://www.nuget.org/api/v2
source https://api.nuget.org/v3/index.json
storage: none

framework: netstandard2.0, netcoreapp3.0

nuget YoloDev.Expecto.TestSdk
nuget Microsoft.Extensions.Logging ~> 2.2
nuget Microsoft.AspNetCore.Identity.EntityFrameworkCore ~> 2.2
nuget Microsoft.AspNetCore.Proxy

Expected behavior

Probably a failure message due to not being able to resolve packages

Actual behavior
Process is terminating due to StackOverflowException.
Abort trap: 6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by cloning the linked paket-blowing-stack-repro repository and running dotnet paket update with the provided paket.dependencies content and package versions. Investigate the package-resolution entry point and reproduce the StackOverflowException; done means the command reports a normal package-resolution failure instead of terminating with a stack overflow.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, cli, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.