question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The requested operation cannot be performed on a file with a user-mapped section open.

See original GitHub issue

Hello I have problem - and I’m always able to reproduce it. If you have single file that is bigger than hello world example (https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Source/Developer/BlueprintProfiler/Private/BlueprintProfiler.cpp <- used this one to reproduce) make sure there are some error like missing symbols etc (i just setup single .cpp file) then try to save it relatively quickly then you get error I mentioned in the title.

I think it’s some timing issue between saving file and opening it by clang to compile.

Log: https://gist.github.com/RootKiller/0ab780079f1b85761c5c23fa56b5f60b

Version:

  • Sublime Text version: 3.0, Build 3143
  • which system are you on: Windows 10 HP 64bit

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:16 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
brupelocommented, Oct 3, 2017

@niosus Also, worth mentioning this is just not happening very rarely, it happens with all files containing errors, so i’d say this bug is critical as it makes the plugin basically unusable

1reaction
farhangjcommented, Oct 19, 2017

I had the same issue and reverting back to clang 4.0.1 fixed it. (UPDATE: i actually got the error one more time after downgrade to 4.0.1, but it worked after that, maybe less of an issue with 4.0.1) Thanks for the post and looking into this, hopefully @niosus finds a fix with 5.0. sublimeerr

Read more comments on GitHub >

github_iconTop Results From Across the Web

The requested operation cannot be performed on a file with a ...
This is obviously a memory conflict. A particular 'instance' of the object has some allocated bit memory mapped, then later finds that the...
Read more >
Cannot be performed on a file with a user-mapped section open
It means that there is a flaw in your code which leaves a file stream open when it should dispose of it. Make...
Read more >
The requested operation cannot be performed on a ... - MSDN
“The requested operation cannot be performed on a file with a user-mapped section open”, generally indicates some DLL are locked. Please go ...
Read more >
The Requested Operation Cannot Be Performed On A File ...
Take a backup of Project folder and try deleting files(i.e. Pdf, Excel, .nupkg etc) and try publishing automation script from Studio for every ......
Read more >
The requested operation cannot be performed on a file with a ...
Windows : The requested operation cannot be performed on a file with a user-mapped section open [ Beautify Your Computer ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found