Skip to content

Non deterministic base dir in stack traces #8883

Closed

Description

@NinoFloris

SDK: 3.1.102

System.InvalidOperationException: ValueOption.Value
   at Microsoft.FSharp.Core.FSharpValueOption`1.get_Value() in E:\A\_work\130\s\src\fsharp\FSharp.Core\prim-types.fs:line 2934

It seems something broke in this area which caused non deterministic paths to be shipped.

Activity

  1. cartermp commented on Apr 9, 2020

    @cartermp
    Contributor

    @NinoFloris can you share a repro? I assume you're using PathMap?

  2. NinoFloris commented on Apr 9, 2020

    @NinoFloris
    ContributorAuthor

    Ha yes there were clues in the trace but, ValueOption<int>.ValueNone.Value does the trick 😃 (probably any exception from Fsharp.core)

  3. NinoFloris commented on Apr 17, 2020

    @NinoFloris
    ContributorAuthor

    Any luck here @cartermp ?

  4. cartermp commented on Apr 17, 2020

    @cartermp
    Contributor

    Sorry, I initially misunderstood the bug here. Yes, there's no PathMap getting applied to FSharp.Core and it's just including the path of the CI machine it was built and shipped on. cc @brettfo @jonsequitur

  5. baronfel commented on Aug 3, 2020

    @baronfel
    Member

    @KevinRansom per the discussion on #9379 (and the deeper issue linked in dotnet/msbuild#5398), would it make sense to copy/paste or translate the existing MapSourceRoot task + target file changes into here, including tests? If so, I can have those changes ready to go shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions