Skip to content

Paket deadlock since 0.38.0? #746

Description

@matthid

Paket pretty much always deadlocks since 0.38.
The issue pops up as soon as you delete the cache and are on linux.

Repro:

git clone https://gist.github.com/d8653537d65775db669c.git
mono paket.bootstrapper.exe
rm -r ~/.local/share/NuGet/Cache
mono paket.exe -v restore # deadlock
# if you cancel the above and try again it will work

The last message seems to be different depending on the mono tracing flags. However is seems to be always near the FSharp.Compiler.Service License, after 2 previous 404 warnings.

I tried out the last few versions of Paket until the build started working again, see here: https://travis-ci.org/matthid/Yaaf.Shell/builds. I can repro this on my local gentoo machine as well.
Windows is not hit, as you can see here: https://ci.appveyor.com/project/matthid/yaaf-shell/history

Note it is also possible that the default timeout is >10 minutes (or longer on mono) and that's the reason why travis kills the process (I did not try to wait a day to see if it eventually finishes..)

Or this could be some mono race condition bug we should IMHO work around somehow, if possible.
That said: Can somebody reproduce this? Should I try to send a fix for this?

Activity

  1. forki commented on Apr 2, 2015

    @forki
    Member

    yes please try to send a fix. we should cancel the license download after one or two seconds it's just not important enough.

  2. added a commit that references this issue on Apr 2, 2015
    6d2f239
  3. forki commented on Apr 2, 2015

    @forki
    Member

    is 6d2f239 ready?

  4. matthid commented on Apr 2, 2015

    @matthid
    MemberAuthor

    nope still testing

  5. matthid commented on Apr 2, 2015

    @matthid
    MemberAuthor

    It looks like everything times out now with 5 secs on the async and 3 secs on the request.

  6. added a commit that references this issue on Apr 2, 2015
    db7ce32
  7. matthid commented on Apr 2, 2015

    @matthid
    MemberAuthor

    But at least it doesn't fail anymore: See #747.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions