Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-13598

SourceTree crashes on startup for multi-user / RDP environments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 3.4.4
    • General
    • Severity 2 - Major

    Description

      It seems SourceTree does not work where multiple people try to have instances of SourceTree open at the same time. Relevant piece of info from the log below, it looks like the application tries to create a pipe with the same name, which when multiple people are logged in, appears to clash. One user can start SourceTree, then no-one else can. If the first user closes their instance, a different person may start their instance, however the original person can no longer use their instance.

      We noticed this on WinServer with RDS, however suspect Win10 with fast user switching would have a similar effect.

      Using the released 3.4.4 off the website.

      ERROR [2021-04-29 14:22:50,142] [1] [SourceTree.Instances.SingleInstance] [Log] - Error starting first instance pipe server
      System.UnauthorizedAccessException: Access to the path is denied.
      {{ at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)}}
      {{ at System.IO.Pipes.NamedPipeServerStream.Create(String fullPipeName, PipeDirection direction, Int32 maxNumberOfServerInstances, PipeTransmissionMode transmissionMode, PipeOptions options, Int32 inBufferSize, Int32 outBufferSize, PipeAccessRights rights, SECURITY_ATTRIBUTES secAttrs)}}
      {{ at System.IO.Pipes.NamedPipeServerStream..ctor(String pipeName, PipeDirection direction, Int32 maxNumberOfServerInstances, PipeTransmissionMode transmissionMode, PipeOptions options, Int32 inBufferSize, Int32 outBufferSize, PipeSecurity pipeSecurity, HandleInheritability inheritability, PipeAccessRights additionalAccessRights)}}
      {{ at System.IO.Pipes.NamedPipeServerStream..ctor(String pipeName, PipeDirection direction, Int32 maxNumberOfServerInstances, PipeTransmissionMode transmissionMode, PipeOptions options)}}
      {{ at SourceTree.Instances.SingleInstance.StartServer()}}

      Attachments

        Activity

          People

            Unassigned Unassigned
            b588430e0d7a Scott Thomas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: