microsoft / microsoft/ConcordExtensibilitySamples

vsdbg on linux crashes with "fatal error: unable to load resource dll" when home directory contains backslash

Open
#125 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
135
Forks
54
Avg merge
5h 58m
Merged PRs (30d)
3

Description

I was unable to launch remote debugger towards a linux machine from vs 2022. It failed to attach to debugger with no useful message.
Launching vsdbg locally on the linux machine gave the error "fatal error: unable to load resource dll".
Running strace I discovered that it seemed to try access a broken path just before it crashed.
Running winbind my user was a domain user with home path /home/DOMAIN\User. Unable to handle the backslash, vsdbg tried to access a broken path.
I worked around by setting my template homedir in smb.conf to /home/%U instead of including the domain and it started working.

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

No file or test is named. Start by reproducing vsdbg on Linux with a winbind-generated home path containing a backslash and trace the resource lookup; compare it with /home/%U. Done means the resource loads and remote debugger attachment succeeds without requiring the smb.conf workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, linux
Domain
devtools, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.