By continuing you indicate that you have read and agree to our Terms of service and Privacy policy
By continuing you indicate that you have read and agree to our Terms of service and Privacy policy
By continuing you indicate that you have read and agree to our Terms of service and Privacy policy
By continuing you indicate that you have read and agree to our Terms of service and Privacy policy
Popular Releases
Popular Libraries
New Libraries
Top Authors
Trending Kits
Trending Discussions
Learning
No Trending Kits are available at this moment for Web Framework
QUESTION
Why can two Java processes bind to the same socket in macOS?
Asked 2022-Feb-16 at 20:18I have some Java code that is generating a socket binding. It's hard to provide a minimal example as this is part of a web framework, but it effectively does this check at some point.
1 private static boolean portInUse(int port) {
2 // try to bind to this port, if it succeeds the port is not in use
3 try (ServerSocket socket = new ServerSocket(port)) {
4 socket.setReuseAddress(true);
5 return false;
6 } catch (IOException e) {
7 return true;
8 }
9 }
10
I can see that if I run two distinct Java processes with the same port, they both fall into the first conditional and return false
, thus both are able to bind to the same port. I've read through some related socket questions and explanations like this one, but they seem to make it sound like this shouldn't be possible with the options I've specified. Looking at the implementation of setReuseAddress
it only seems to set SO_REUSEADDR
on the socket.
I can see one process ends up with a socket like ServerSocket[addr=0.0.0.0/0.0.0.0,localport=56674]
in a debugger. If I run something like sudo lsof -n -i | grep -e LISTEN -e ESTABLISHED | grep 56674
I can see two processes binding to the same port:
1 private static boolean portInUse(int port) {
2 // try to bind to this port, if it succeeds the port is not in use
3 try (ServerSocket socket = new ServerSocket(port)) {
4 socket.setReuseAddress(true);
5 return false;
6 } catch (IOException e) {
7 return true;
8 }
9 }
10java 68863 natdempk 1256u IPv4 0xbbac93fff9a6e677 0t0 TCP *:56674 (LISTEN)
11java 68998 natdempk 985u IPv6 0xbbac93fff2f84daf 0t0 TCP *:56674 (LISTEN)
12
I can also see some other projects like gRPC and Node mention this behavior as being observed with their servers in issue trackers, but they never explain why this is possible. How can distinct processes bind to the same socket on macOS?
I am running macOS 11.6.3 (20G415) if that is at all helpful. Happy to provide more debug info as well if anyone has anything I should add here.
ANSWER
Answered 2022-Feb-16 at 20:18They are not binding to the same port. One is binding to TCP on top of IPv6, the other is binding to TCP on top of IPv4.
To expand on the Java details a bit: new ServerSocket(port)
in Java uses InetAddress.anyLocalAddress()
because no InetAddress
was passed in. InetAddress.anyLocalAddress()
can return either an IPv4 or IPv6 address, which means this isn't guaranteed to be the same value to bind to across JVMs despite the same port being passed in.
QUESTION
ImportError: Couldn't import Django inside virtual environment with poetry?
Asked 2022-Jan-31 at 06:29I created a django project, set up a virtual environment, and added django with poetry add
.
inside pyproject.toml:
1[tool.poetry.dependencies]
2python = "^3.9"
3psycopg2-binary = "^2.9.3"
4Django = "^4.0.1"
5
Inside venv I run poetry show
:
1[tool.poetry.dependencies]
2python = "^3.9"
3psycopg2-binary = "^2.9.3"
4Django = "^4.0.1"
5asgiref 3.5.0 ASGI specs, helper code, and adapters
6django 4.0.1 A high-level Python web framework that encourages rapid development and clean, pragmatic design.
7psycopg2-binary 2.9.3 psycopg2 - Python-PostgreSQL Database Adapter
8sqlparse 0.4.2 A non-validating SQL parser.
9
When I run command to create an app:
1[tool.poetry.dependencies]
2python = "^3.9"
3psycopg2-binary = "^2.9.3"
4Django = "^4.0.1"
5asgiref 3.5.0 ASGI specs, helper code, and adapters
6django 4.0.1 A high-level Python web framework that encourages rapid development and clean, pragmatic design.
7psycopg2-binary 2.9.3 psycopg2 - Python-PostgreSQL Database Adapter
8sqlparse 0.4.2 A non-validating SQL parser.
9 p manage.py startapp users apps/users
10
I get this error:
1[tool.poetry.dependencies]
2python = "^3.9"
3psycopg2-binary = "^2.9.3"
4Django = "^4.0.1"
5asgiref 3.5.0 ASGI specs, helper code, and adapters
6django 4.0.1 A high-level Python web framework that encourages rapid development and clean, pragmatic design.
7psycopg2-binary 2.9.3 psycopg2 - Python-PostgreSQL Database Adapter
8sqlparse 0.4.2 A non-validating SQL parser.
9 p manage.py startapp users apps/users
10 (base) ┌──(venv)─(tesla㉿kali)-[~/Documents/projects/graphql/graphenee]
11└─$ p 1 ⨯
12Python 3.9.7 (default, Sep 16 2021, 13:09:58)
13[GCC 7.5.0] :: Anaconda, Inc. on linux
14Type "help", "copyright", "credits" or "license" for more information.
15>>> import django
16Traceback (most recent call last):
17 File "<stdin>", line 1, in <module>
18ModuleNotFoundError: No module named 'django'
19>>>
20
venv is set, activated, django is installed but I am still getting this error. Inside virtual envrionment I start python shell and import django:
1[tool.poetry.dependencies]
2python = "^3.9"
3psycopg2-binary = "^2.9.3"
4Django = "^4.0.1"
5asgiref 3.5.0 ASGI specs, helper code, and adapters
6django 4.0.1 A high-level Python web framework that encourages rapid development and clean, pragmatic design.
7psycopg2-binary 2.9.3 psycopg2 - Python-PostgreSQL Database Adapter
8sqlparse 0.4.2 A non-validating SQL parser.
9 p manage.py startapp users apps/users
10 (base) ┌──(venv)─(tesla㉿kali)-[~/Documents/projects/graphql/graphenee]
11└─$ p 1 ⨯
12Python 3.9.7 (default, Sep 16 2021, 13:09:58)
13[GCC 7.5.0] :: Anaconda, Inc. on linux
14Type "help", "copyright", "credits" or "license" for more information.
15>>> import django
16Traceback (most recent call last):
17 File "<stdin>", line 1, in <module>
18ModuleNotFoundError: No module named 'django'
19>>>
20 Python 3.9.7 (default, Sep 16 2021, 13:09:58)
21 [GCC 7.5.0] :: Anaconda, Inc. on linux
22 Type "help", "copyright", "credits" or "license" for more information.
23 >>> import django
24 Traceback (most recent call last):
25 File "<stdin>", line 1, in <module>
26 ModuleNotFoundError: No module named 'django'
27
Django is also globally installed and when I start the python shell in global environment, I can import django:
1[tool.poetry.dependencies]
2python = "^3.9"
3psycopg2-binary = "^2.9.3"
4Django = "^4.0.1"
5asgiref 3.5.0 ASGI specs, helper code, and adapters
6django 4.0.1 A high-level Python web framework that encourages rapid development and clean, pragmatic design.
7psycopg2-binary 2.9.3 psycopg2 - Python-PostgreSQL Database Adapter
8sqlparse 0.4.2 A non-validating SQL parser.
9 p manage.py startapp users apps/users
10 (base) ┌──(venv)─(tesla㉿kali)-[~/Documents/projects/graphql/graphenee]
11└─$ p 1 ⨯
12Python 3.9.7 (default, Sep 16 2021, 13:09:58)
13[GCC 7.5.0] :: Anaconda, Inc. on linux
14Type "help", "copyright", "credits" or "license" for more information.
15>>> import django
16Traceback (most recent call last):
17 File "<stdin>", line 1, in <module>
18ModuleNotFoundError: No module named 'django'
19>>>
20 Python 3.9.7 (default, Sep 16 2021, 13:09:58)
21 [GCC 7.5.0] :: Anaconda, Inc. on linux
22 Type "help", "copyright", "credits" or "license" for more information.
23 >>> import django
24 Traceback (most recent call last):
25 File "<stdin>", line 1, in <module>
26 ModuleNotFoundError: No module named 'django'
27Python 3.9.7 (default, Sep 16 2021, 13:09:58)
28[GCC 7.5.0] :: Anaconda, Inc. on linux
29Type "help", "copyright", "credits" or "license" for more information.
30>>> import django
31>>>
32
ANSWER
Answered 2022-Jan-31 at 06:29It seems that you have manually created a virtual env in the project directory by e.g. python -m venv venv
. So now you have one in /home/tesla/Documents/projects/graphql/graphenee/venv/
.
After that you added some packages with poetry. However, by default poetry will only look for .venv
directory (note the starting dot) in the project directory. Since poetry did not find a .venv
, it created a new virtual env in /home/tesla/.cache/pypoetry/virtualenvs/graphenee-CXeG5cZ_-py3.9
and installed the packages you added via poetry add
there.
The problem is that you try to use the "empty" virtual env in the project directory instead of the one created by poetry. Fortunately with poetry it is very easy to run command, even without activating the venv, just use poetry run
in the project directory.
To check Django installation:
1[tool.poetry.dependencies]
2python = "^3.9"
3psycopg2-binary = "^2.9.3"
4Django = "^4.0.1"
5asgiref 3.5.0 ASGI specs, helper code, and adapters
6django 4.0.1 A high-level Python web framework that encourages rapid development and clean, pragmatic design.
7psycopg2-binary 2.9.3 psycopg2 - Python-PostgreSQL Database Adapter
8sqlparse 0.4.2 A non-validating SQL parser.
9 p manage.py startapp users apps/users
10 (base) ┌──(venv)─(tesla㉿kali)-[~/Documents/projects/graphql/graphenee]
11└─$ p 1 ⨯
12Python 3.9.7 (default, Sep 16 2021, 13:09:58)
13[GCC 7.5.0] :: Anaconda, Inc. on linux
14Type "help", "copyright", "credits" or "license" for more information.
15>>> import django
16Traceback (most recent call last):
17 File "<stdin>", line 1, in <module>
18ModuleNotFoundError: No module named 'django'
19>>>
20 Python 3.9.7 (default, Sep 16 2021, 13:09:58)
21 [GCC 7.5.0] :: Anaconda, Inc. on linux
22 Type "help", "copyright", "credits" or "license" for more information.
23 >>> import django
24 Traceback (most recent call last):
25 File "<stdin>", line 1, in <module>
26 ModuleNotFoundError: No module named 'django'
27Python 3.9.7 (default, Sep 16 2021, 13:09:58)
28[GCC 7.5.0] :: Anaconda, Inc. on linux
29Type "help", "copyright", "credits" or "license" for more information.
30>>> import django
31>>>
32poetry run python
33# Executes: /home/tesla/.cache/pypoetry/virtualenvs/graphenee-CXeG5cZ_-py3.9/bin/python
34>>> import django
35
To run Django management commands:
1[tool.poetry.dependencies]
2python = "^3.9"
3psycopg2-binary = "^2.9.3"
4Django = "^4.0.1"
5asgiref 3.5.0 ASGI specs, helper code, and adapters
6django 4.0.1 A high-level Python web framework that encourages rapid development and clean, pragmatic design.
7psycopg2-binary 2.9.3 psycopg2 - Python-PostgreSQL Database Adapter
8sqlparse 0.4.2 A non-validating SQL parser.
9 p manage.py startapp users apps/users
10 (base) ┌──(venv)─(tesla㉿kali)-[~/Documents/projects/graphql/graphenee]
11└─$ p 1 ⨯
12Python 3.9.7 (default, Sep 16 2021, 13:09:58)
13[GCC 7.5.0] :: Anaconda, Inc. on linux
14Type "help", "copyright", "credits" or "license" for more information.
15>>> import django
16Traceback (most recent call last):
17 File "<stdin>", line 1, in <module>
18ModuleNotFoundError: No module named 'django'
19>>>
20 Python 3.9.7 (default, Sep 16 2021, 13:09:58)
21 [GCC 7.5.0] :: Anaconda, Inc. on linux
22 Type "help", "copyright", "credits" or "license" for more information.
23 >>> import django
24 Traceback (most recent call last):
25 File "<stdin>", line 1, in <module>
26 ModuleNotFoundError: No module named 'django'
27Python 3.9.7 (default, Sep 16 2021, 13:09:58)
28[GCC 7.5.0] :: Anaconda, Inc. on linux
29Type "help", "copyright", "credits" or "license" for more information.
30>>> import django
31>>>
32poetry run python
33# Executes: /home/tesla/.cache/pypoetry/virtualenvs/graphenee-CXeG5cZ_-py3.9/bin/python
34>>> import django
35poetry run ./manage.py startapp users apps/users
36
It will use the virtual env in /home/tesla/.cache/pypoetry/virtualenvs/graphenee-CXeG5cZ_-py3.9
. You can delete venv
in the project directory.
Note: if you rather want to use a virtual env in the project directory, then delete /home/tesla/.cache/pypoetry/virtualenvs/graphenee-CXeG5cZ_-py3.9
, then create one in the project directory by
1[tool.poetry.dependencies]
2python = "^3.9"
3psycopg2-binary = "^2.9.3"
4Django = "^4.0.1"
5asgiref 3.5.0 ASGI specs, helper code, and adapters
6django 4.0.1 A high-level Python web framework that encourages rapid development and clean, pragmatic design.
7psycopg2-binary 2.9.3 psycopg2 - Python-PostgreSQL Database Adapter
8sqlparse 0.4.2 A non-validating SQL parser.
9 p manage.py startapp users apps/users
10 (base) ┌──(venv)─(tesla㉿kali)-[~/Documents/projects/graphql/graphenee]
11└─$ p 1 ⨯
12Python 3.9.7 (default, Sep 16 2021, 13:09:58)
13[GCC 7.5.0] :: Anaconda, Inc. on linux
14Type "help", "copyright", "credits" or "license" for more information.
15>>> import django
16Traceback (most recent call last):
17 File "<stdin>", line 1, in <module>
18ModuleNotFoundError: No module named 'django'
19>>>
20 Python 3.9.7 (default, Sep 16 2021, 13:09:58)
21 [GCC 7.5.0] :: Anaconda, Inc. on linux
22 Type "help", "copyright", "credits" or "license" for more information.
23 >>> import django
24 Traceback (most recent call last):
25 File "<stdin>", line 1, in <module>
26 ModuleNotFoundError: No module named 'django'
27Python 3.9.7 (default, Sep 16 2021, 13:09:58)
28[GCC 7.5.0] :: Anaconda, Inc. on linux
29Type "help", "copyright", "credits" or "license" for more information.
30>>> import django
31>>>
32poetry run python
33# Executes: /home/tesla/.cache/pypoetry/virtualenvs/graphenee-CXeG5cZ_-py3.9/bin/python
34>>> import django
35poetry run ./manage.py startapp users apps/users
36python -m venv .venv`
37
After that install packages with poetry:
1[tool.poetry.dependencies]
2python = "^3.9"
3psycopg2-binary = "^2.9.3"
4Django = "^4.0.1"
5asgiref 3.5.0 ASGI specs, helper code, and adapters
6django 4.0.1 A high-level Python web framework that encourages rapid development and clean, pragmatic design.
7psycopg2-binary 2.9.3 psycopg2 - Python-PostgreSQL Database Adapter
8sqlparse 0.4.2 A non-validating SQL parser.
9 p manage.py startapp users apps/users
10 (base) ┌──(venv)─(tesla㉿kali)-[~/Documents/projects/graphql/graphenee]
11└─$ p 1 ⨯
12Python 3.9.7 (default, Sep 16 2021, 13:09:58)
13[GCC 7.5.0] :: Anaconda, Inc. on linux
14Type "help", "copyright", "credits" or "license" for more information.
15>>> import django
16Traceback (most recent call last):
17 File "<stdin>", line 1, in <module>
18ModuleNotFoundError: No module named 'django'
19>>>
20 Python 3.9.7 (default, Sep 16 2021, 13:09:58)
21 [GCC 7.5.0] :: Anaconda, Inc. on linux
22 Type "help", "copyright", "credits" or "license" for more information.
23 >>> import django
24 Traceback (most recent call last):
25 File "<stdin>", line 1, in <module>
26 ModuleNotFoundError: No module named 'django'
27Python 3.9.7 (default, Sep 16 2021, 13:09:58)
28[GCC 7.5.0] :: Anaconda, Inc. on linux
29Type "help", "copyright", "credits" or "license" for more information.
30>>> import django
31>>>
32poetry run python
33# Executes: /home/tesla/.cache/pypoetry/virtualenvs/graphenee-CXeG5cZ_-py3.9/bin/python
34>>> import django
35poetry run ./manage.py startapp users apps/users
36python -m venv .venv`
37poetry install
38
Now poetry will use the local virtual env in /home/tesla/Documents/projects/graphql/graphenee/.venv
when you run a command via poetry run [cmd]
.
QUESTION
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)
Asked 2022-Jan-28 at 10:14I was playing with some web frameworks for Python, when I tried to use the framework aiohhtp with this code (taken from the documentation):
1import aiohttp
2import asyncio
3
4#********************************
5# a solution I found on the forum:
6# https://stackoverflow.com/questions/50236117/scraping-ssl-certificate-verify-failed-error-for-http-en-wikipedia-org?rq=1
7import ssl
8ssl._create_default_https_context = ssl._create_unverified_context
9# ... but it doesn't work :(
10#********************************
11
12async def main():
13
14 async with aiohttp.ClientSession() as session:
15 async with session.get("https://python.org") as response:
16
17 print("Status:", response.status)
18 print("Content-type:", response.headers["content-type"])
19
20 html = await response.text()
21 print("Body:", html[:15], "...")
22
23loop = asyncio.get_event_loop()
24loop.run_until_complete(main())
25
When I run this code I get this traceback:
1import aiohttp
2import asyncio
3
4#********************************
5# a solution I found on the forum:
6# https://stackoverflow.com/questions/50236117/scraping-ssl-certificate-verify-failed-error-for-http-en-wikipedia-org?rq=1
7import ssl
8ssl._create_default_https_context = ssl._create_unverified_context
9# ... but it doesn't work :(
10#********************************
11
12async def main():
13
14 async with aiohttp.ClientSession() as session:
15 async with session.get("https://python.org") as response:
16
17 print("Status:", response.status)
18 print("Content-type:", response.headers["content-type"])
19
20 html = await response.text()
21 print("Body:", html[:15], "...")
22
23loop = asyncio.get_event_loop()
24loop.run_until_complete(main())
25DeprecationWarning: There is
26no current event loop
27 loop = asyncio.get_event_loop()
28Traceback (most recent call last):
29 File "c:\Python310\lib\site-packages\aiohttp\connector.py", line 986, in _wrap_create_connection
30 return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
31 File "c:\Python310\lib\asyncio\base_events.py", line 1080, in create_connection
32 transport, protocol = await self._create_connection_transport(
33 File "c:\Python310\lib\asyncio\base_events.py", line 1110, in _create_connection_transport
34 await waiter
35 File "c:\Python310\lib\asyncio\sslproto.py", line 528, in data_received
36 ssldata, appdata = self._sslpipe.feed_ssldata(data)
37 File "c:\Python310\lib\asyncio\sslproto.py", line 188, in feed_ssldata
38 self._sslobj.do_handshake()
39 File "c:\Python310\lib\ssl.py", line 974, in do_handshake
40 self._sslobj.do_handshake()
41ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)
42
43The above exception was the direct cause of the following exception:
44
45Traceback (most recent call last):
46 File "c:\Users\chris\Documents\Programmi_in_Python_offline\Esercitazioni\Python_commands\aioWebTest.py", line 21, in <module>
47 loop.run_until_complete(main())
48 File "c:\Python310\lib\asyncio\base_events.py", line 641, in run_until_complete
49 return future.result()
50 File "c:\Users\chris\Documents\Programmi_in_Python_offline\Esercitazioni\Python_commands\aioWebTest.py", line 12, in main
51 async with session.get("https://python.org") as response:
52 File "c:\Python310\lib\site-packages\aiohttp\client.py", line 1138, in __aenter__
53 self._resp = await self._coro
54 File "c:\Python310\lib\site-packages\aiohttp\client.py", line 535, in _request
55 conn = await self._connector.connect(
56 File "c:\Python310\lib\site-packages\aiohttp\connector.py", line 542, in connect
57 proto = await self._create_connection(req, traces, timeout)
58 File "c:\Python310\lib\site-packages\aiohttp\connector.py", line 907, in _create_connection
59 _, proto = await self._create_direct_connection(req, traces, timeout)
60 File "c:\Python310\lib\site-packages\aiohttp\connector.py", line 1206, in _create_direct_connection
61 raise last_exc
62 File "c:\Python310\lib\site-packages\aiohttp\connector.py", line 1175, in _create_direct_connection
63 transp, proto = await self._wrap_create_connection(
64 File "c:\Python310\lib\site-packages\aiohttp\connector.py", line 988, in _wrap_create_connection
65 raise ClientConnectorCertificateError(req.connection_key, exc) from exc
66aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host python.org:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)')]
67
From the final row I have thought that it was a problem with a certificate that is expired, so I searched on the internet and I tried to solve installing some certificates:
I'm sorry for the long question, but I searched a lot on the internet and I couldn't find the solution for my case. Thank you in advance, guys <3
ANSWER
Answered 2022-Jan-28 at 10:14Picking up on the comment by @salparadise, the following worked for me:
1import aiohttp
2import asyncio
3
4#********************************
5# a solution I found on the forum:
6# https://stackoverflow.com/questions/50236117/scraping-ssl-certificate-verify-failed-error-for-http-en-wikipedia-org?rq=1
7import ssl
8ssl._create_default_https_context = ssl._create_unverified_context
9# ... but it doesn't work :(
10#********************************
11
12async def main():
13
14 async with aiohttp.ClientSession() as session:
15 async with session.get("https://python.org") as response:
16
17 print("Status:", response.status)
18 print("Content-type:", response.headers["content-type"])
19
20 html = await response.text()
21 print("Body:", html[:15], "...")
22
23loop = asyncio.get_event_loop()
24loop.run_until_complete(main())
25DeprecationWarning: There is
26no current event loop
27 loop = asyncio.get_event_loop()
28Traceback (most recent call last):
29 File "c:\Python310\lib\site-packages\aiohttp\connector.py", line 986, in _wrap_create_connection
30 return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
31 File "c:\Python310\lib\asyncio\base_events.py", line 1080, in create_connection
32 transport, protocol = await self._create_connection_transport(
33 File "c:\Python310\lib\asyncio\base_events.py", line 1110, in _create_connection_transport
34 await waiter
35 File "c:\Python310\lib\asyncio\sslproto.py", line 528, in data_received
36 ssldata, appdata = self._sslpipe.feed_ssldata(data)
37 File "c:\Python310\lib\asyncio\sslproto.py", line 188, in feed_ssldata
38 self._sslobj.do_handshake()
39 File "c:\Python310\lib\ssl.py", line 974, in do_handshake
40 self._sslobj.do_handshake()
41ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)
42
43The above exception was the direct cause of the following exception:
44
45Traceback (most recent call last):
46 File "c:\Users\chris\Documents\Programmi_in_Python_offline\Esercitazioni\Python_commands\aioWebTest.py", line 21, in <module>
47 loop.run_until_complete(main())
48 File "c:\Python310\lib\asyncio\base_events.py", line 641, in run_until_complete
49 return future.result()
50 File "c:\Users\chris\Documents\Programmi_in_Python_offline\Esercitazioni\Python_commands\aioWebTest.py", line 12, in main
51 async with session.get("https://python.org") as response:
52 File "c:\Python310\lib\site-packages\aiohttp\client.py", line 1138, in __aenter__
53 self._resp = await self._coro
54 File "c:\Python310\lib\site-packages\aiohttp\client.py", line 535, in _request
55 conn = await self._connector.connect(
56 File "c:\Python310\lib\site-packages\aiohttp\connector.py", line 542, in connect
57 proto = await self._create_connection(req, traces, timeout)
58 File "c:\Python310\lib\site-packages\aiohttp\connector.py", line 907, in _create_connection
59 _, proto = await self._create_direct_connection(req, traces, timeout)
60 File "c:\Python310\lib\site-packages\aiohttp\connector.py", line 1206, in _create_direct_connection
61 raise last_exc
62 File "c:\Python310\lib\site-packages\aiohttp\connector.py", line 1175, in _create_direct_connection
63 transp, proto = await self._wrap_create_connection(
64 File "c:\Python310\lib\site-packages\aiohttp\connector.py", line 988, in _wrap_create_connection
65 raise ClientConnectorCertificateError(req.connection_key, exc) from exc
66aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host python.org:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)')]
67session.get("https://python.org", ssl=False)
68
QUESTION
Newbe on Go - AppEngine - Deploy
Asked 2022-Jan-03 at 22:32I'm new using App Engine, and I would appreciate if someone can clarify this doubt:
How can I be sure that AppEngine in the cloud have the correct version of go I need to have in the cloud?
I have read some articles about installing and downloading the SDK for google on my local machine (and of course, I am able to install the version I need on my machine); but once I have generated my app in Go and I want to deploy it to App Engine in the cloud, how can I be sure Google infrastructure has the correct version?
I want to install Iris Web framework as part of the stack but it requires to go vers 1.14 or superior, Google App Engine standard only provides support for Google 1.11 and 1.12+ so I think I would need to go for the Google App Engine Flexible option, if that were the case, how can I be sure it has or support the Go version I need?... Or Is there some procedure to follow to install it ?
Thanks in advance for your support
ANSWER
Answered 2022-Jan-03 at 21:27With the Flexible environment you have the ability to pin a version rather than using the latest available/supported. In order to do that, you will have to specify in your app.yaml file the exact version you would like it to be:
1runtime: go1.14
2
If you specify only runtime: go
it will pull the latest release available for Go language (which seems to be 1.19).
For more information, please refer to this documentation: https://cloud.google.com/appengine/docs/flexible/go/reference/app-yaml#general
QUESTION
Remix: middleware pattern to run code before loader on every request?
Asked 2021-Dec-27 at 15:20Is there a recommended pattern in Remix for running common code on every request, and potentially adding context data to the request? Like a middleware? A usecase for this might be to do logging or auth, for example.
The one thing I've seen that seems similar to this is loader context via the getLoadContext
API. This lets you populate a context
object which is passed as an arg to all route loaders.
It does work, and initially seems like the way to do this, but the docs for it say...
It's a way to bridge the gap between the adapter's request/response API with your Remix app
This API is an escape hatch, it’s uncommon to need it
...which makes me think otherwise, because
This API is explicitly for custom integrations with the server runtime. But it doesn't seem like middlewares should be specific to the server runtime - they should just be part of the 'application' level as a Remix feature.
Running middlewares is a pretty common pattern in web frameworks!
So, does Remix have any better pattern for middleware that runs before every loader?
ANSWER
Answered 2021-Dec-01 at 15:43There is no way inside Remix to run code before loaders.
As you found out, there is the loader context but it runs even before remix starts to do its job (so you won't know which route modules are matched for example).
You can also run arbitrary code before handing the request to remix in the JS file where you use the adapter for the platform you're deploying to (this depend on the starter you used. This file doesn't exist if you've chosen remix server as your server)
For now it should work for some use cases, but I agree this is a missing feature in remix for now.
QUESTION
Quart framework WARNING:asyncio:Executing
Asked 2021-Dec-23 at 16:24We are using Quart (Flask+asyncio) Python web framework. Every time the request is processed and the response is sent to a client, this (or similar) message is logged:
WARNING:asyncio:Executing <Task pending name='Task-11' coro=<ASGIHTTPConnection.handle_request() running at /usr/local/lib/python3.8/site-packages/quart/asgi.py:102> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f742ba41ee0>()] created at /usr/local/lib/python3.8/asyncio/base_events.py:422> cb=[_wait.._on_completion() at /usr/local/lib/python3.8/asyncio/tasks.py:518] created at /usr/local/lib/python3.8/site-packages/quart/asgi.py:46> took 2.700 seconds
Since it is WARNING, we are kind of worried about what this could be. Does anyone have any idea why a log like this appears?
Also, I have seen more logs starting <Task pending name...
before. Does anyone know what these logs are?
To replicate a similar log message, it is enough just to do this:
1import time
2
3from quart import Quart
4
5
6app = Quart(__name__)
7
8
9@app.route('/', methods=['POST'])
10async def endpoint():
11 time.sleep(0.5)
12 return '', 200
13
If I set sleep() to a lower value (e.g. 0.05), the log message is not printed out.
ANSWER
Answered 2021-Dec-23 at 16:24asyncio and other event loops require the tasks to yield control back to the event loop periodically so that it can switch to another task and execute tasks concurrently. This warning is indicating that a task is taking a long time between yields, thereby 'blocking' the event loop.
It is likely this is happening as your code is either doing something CPU intensive, or more likely is using non-asyncio IO e.g. using requests. You should investigate this as it will degrade your servers ability to serve multiple requests concurrently.
QUESTION
dial tcp 127.0.0.1:8080: connect: connection refused. go docker app
Asked 2021-Dec-22 at 10:09I have two apps in go language. user_management app, which I run (docker-compose up --build) first, then I run(docker-compose up --build) sport_app. sport_app is dependent from user_management app.
sport_app Dockerfile file as below.
1FROM golang:alpine
2
3RUN apk update && apk upgrade && apk add --no-cache bash git openssh curl
4
5WORKDIR /go-sports-entities-hierarchy
6
7COPY . /go-sports-entities-hierarchy/
8RUN rm -rf /go-sports-entities-hierarchy/.env
9RUN go mod download
10RUN chmod +x /go-sports-entities-hierarchy/scripts/*
11RUN ./scripts/build.sh
12
13ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait
14RUN chmod +x /wait
15
16ENV GIN_MODE="debug" \
17 GQL_SERVER_HOST="localhost" \
18 GQL_SERVER_PORT=7777 \
19 ALLOWED_ORIGINS=* \
20 USER_MANAGEMENT_SERVER_URL="http://localhost:8080/user/me" \
21 # GQLGen config
22 GQL_SERVER_GRAPHQL_PATH="graphql" \
23 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED=true \
24 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH="playground" \
25# Export necessary port
26EXPOSE 7777
27
28CMD /wait && ./scripts/run.sh
29
30
sport_app docker-compose.yml file as below.
1FROM golang:alpine
2
3RUN apk update && apk upgrade && apk add --no-cache bash git openssh curl
4
5WORKDIR /go-sports-entities-hierarchy
6
7COPY . /go-sports-entities-hierarchy/
8RUN rm -rf /go-sports-entities-hierarchy/.env
9RUN go mod download
10RUN chmod +x /go-sports-entities-hierarchy/scripts/*
11RUN ./scripts/build.sh
12
13ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait
14RUN chmod +x /wait
15
16ENV GIN_MODE="debug" \
17 GQL_SERVER_HOST="localhost" \
18 GQL_SERVER_PORT=7777 \
19 ALLOWED_ORIGINS=* \
20 USER_MANAGEMENT_SERVER_URL="http://localhost:8080/user/me" \
21 # GQLGen config
22 GQL_SERVER_GRAPHQL_PATH="graphql" \
23 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED=true \
24 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH="playground" \
25# Export necessary port
26EXPOSE 7777
27
28CMD /wait && ./scripts/run.sh
29
30version: '3'
31
32volumes:
33 postgres_data:
34 driver: local
35services:
36 go-sports-entities-hierarchy:
37 restart: always
38 build:
39 dockerfile: Dockerfile
40 context: .
41 environment:
42 WAIT_HOSTS: postgres:5432
43 # Web framework config
44 GIN_MODE: debug
45 GQL_SERVER_HOST: go-sports-entities-hierarchy
46 GQL_SERVER_PORT: 7777
47 ALLOWED_ORIGINS: "*"
48 USER_MANAGEMENT_SERVER_URL: http://localhost:8080/user/me
49 # GQLGen config
50 GQL_SERVER_GRAPHQL_PATH: graphql
51 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED: "true"
52 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH: playground
53 ports:
54 - 7777:7777
55 depends_on:
56 - postgres
57 - redisearch
58 go-sports-events-workflow:
59 restart: always
60 build:
61 dockerfile: Dockerfile
62 context: .
63 environment:
64 WAIT_HOSTS: postgres:5432
65 # Web framework config
66 GIN_MODE: debug
67 GQL_SERVER_HOST: go-sports-events-workflow
68 GQL_SERVER_PORT: 7778
69 ALLOWED_ORIGINS: "*"
70 # GQLGen config
71 GQL_SERVER_GRAPHQL_PATH: graphql
72 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED: "true"
73 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH: playground
74 depends_on:
75 - postgres
76 - redisearch
77 - go-sports-entities-hierarchy
78
79
user_management app Dockerfile as below:
1FROM golang:alpine
2
3RUN apk update && apk upgrade && apk add --no-cache bash git openssh curl
4
5WORKDIR /go-sports-entities-hierarchy
6
7COPY . /go-sports-entities-hierarchy/
8RUN rm -rf /go-sports-entities-hierarchy/.env
9RUN go mod download
10RUN chmod +x /go-sports-entities-hierarchy/scripts/*
11RUN ./scripts/build.sh
12
13ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait
14RUN chmod +x /wait
15
16ENV GIN_MODE="debug" \
17 GQL_SERVER_HOST="localhost" \
18 GQL_SERVER_PORT=7777 \
19 ALLOWED_ORIGINS=* \
20 USER_MANAGEMENT_SERVER_URL="http://localhost:8080/user/me" \
21 # GQLGen config
22 GQL_SERVER_GRAPHQL_PATH="graphql" \
23 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED=true \
24 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH="playground" \
25# Export necessary port
26EXPOSE 7777
27
28CMD /wait && ./scripts/run.sh
29
30version: '3'
31
32volumes:
33 postgres_data:
34 driver: local
35services:
36 go-sports-entities-hierarchy:
37 restart: always
38 build:
39 dockerfile: Dockerfile
40 context: .
41 environment:
42 WAIT_HOSTS: postgres:5432
43 # Web framework config
44 GIN_MODE: debug
45 GQL_SERVER_HOST: go-sports-entities-hierarchy
46 GQL_SERVER_PORT: 7777
47 ALLOWED_ORIGINS: "*"
48 USER_MANAGEMENT_SERVER_URL: http://localhost:8080/user/me
49 # GQLGen config
50 GQL_SERVER_GRAPHQL_PATH: graphql
51 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED: "true"
52 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH: playground
53 ports:
54 - 7777:7777
55 depends_on:
56 - postgres
57 - redisearch
58 go-sports-events-workflow:
59 restart: always
60 build:
61 dockerfile: Dockerfile
62 context: .
63 environment:
64 WAIT_HOSTS: postgres:5432
65 # Web framework config
66 GIN_MODE: debug
67 GQL_SERVER_HOST: go-sports-events-workflow
68 GQL_SERVER_PORT: 7778
69 ALLOWED_ORIGINS: "*"
70 # GQLGen config
71 GQL_SERVER_GRAPHQL_PATH: graphql
72 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED: "true"
73 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH: playground
74 depends_on:
75 - postgres
76 - redisearch
77 - go-sports-entities-hierarchy
78
79FROM golang:alpine
80
81RUN apk update && apk add --no-cache git ca-certificates && update-ca-certificates
82
83# Set necessary environmet variables needed for our image
84ENV GO111MODULE=on \
85 CGO_ENABLED=0 \
86 GOOS=linux \
87 GOARCH=amd64
88
89# Move to working directory /build
90WORKDIR /build
91
92# Copy and download dependency using go mod
93COPY go.mod .
94COPY go.sum .
95RUN go mod download
96
97# Copy the code into the container
98COPY . .
99
100# Build the application
101RUN go build -o main .
102
103# Move to /dist directory as the place for resulting binary folder
104WORKDIR /dist
105
106# Copy binary from build to main folder
107RUN cp -r /build/html .
108RUN cp /build/main .
109
110# Environment Variables
111ENV DB_HOST="127.0.0.1" \
112 APP_PROTOCOL="http" \
113 APP_HOST="localhost" \
114 APP_PORT=8080 \
115 ALLOWED_ORIGINS="*"
116
117# Export necessary port
118EXPOSE 8080
119
120ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait
121RUN chmod +x /wait
122
123# Command to run when starting the container
124CMD /wait && /dist/main
125
user_management app docker-compose.yml file as below:
1FROM golang:alpine
2
3RUN apk update && apk upgrade && apk add --no-cache bash git openssh curl
4
5WORKDIR /go-sports-entities-hierarchy
6
7COPY . /go-sports-entities-hierarchy/
8RUN rm -rf /go-sports-entities-hierarchy/.env
9RUN go mod download
10RUN chmod +x /go-sports-entities-hierarchy/scripts/*
11RUN ./scripts/build.sh
12
13ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait
14RUN chmod +x /wait
15
16ENV GIN_MODE="debug" \
17 GQL_SERVER_HOST="localhost" \
18 GQL_SERVER_PORT=7777 \
19 ALLOWED_ORIGINS=* \
20 USER_MANAGEMENT_SERVER_URL="http://localhost:8080/user/me" \
21 # GQLGen config
22 GQL_SERVER_GRAPHQL_PATH="graphql" \
23 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED=true \
24 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH="playground" \
25# Export necessary port
26EXPOSE 7777
27
28CMD /wait && ./scripts/run.sh
29
30version: '3'
31
32volumes:
33 postgres_data:
34 driver: local
35services:
36 go-sports-entities-hierarchy:
37 restart: always
38 build:
39 dockerfile: Dockerfile
40 context: .
41 environment:
42 WAIT_HOSTS: postgres:5432
43 # Web framework config
44 GIN_MODE: debug
45 GQL_SERVER_HOST: go-sports-entities-hierarchy
46 GQL_SERVER_PORT: 7777
47 ALLOWED_ORIGINS: "*"
48 USER_MANAGEMENT_SERVER_URL: http://localhost:8080/user/me
49 # GQLGen config
50 GQL_SERVER_GRAPHQL_PATH: graphql
51 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED: "true"
52 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH: playground
53 ports:
54 - 7777:7777
55 depends_on:
56 - postgres
57 - redisearch
58 go-sports-events-workflow:
59 restart: always
60 build:
61 dockerfile: Dockerfile
62 context: .
63 environment:
64 WAIT_HOSTS: postgres:5432
65 # Web framework config
66 GIN_MODE: debug
67 GQL_SERVER_HOST: go-sports-events-workflow
68 GQL_SERVER_PORT: 7778
69 ALLOWED_ORIGINS: "*"
70 # GQLGen config
71 GQL_SERVER_GRAPHQL_PATH: graphql
72 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED: "true"
73 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH: playground
74 depends_on:
75 - postgres
76 - redisearch
77 - go-sports-entities-hierarchy
78
79FROM golang:alpine
80
81RUN apk update && apk add --no-cache git ca-certificates && update-ca-certificates
82
83# Set necessary environmet variables needed for our image
84ENV GO111MODULE=on \
85 CGO_ENABLED=0 \
86 GOOS=linux \
87 GOARCH=amd64
88
89# Move to working directory /build
90WORKDIR /build
91
92# Copy and download dependency using go mod
93COPY go.mod .
94COPY go.sum .
95RUN go mod download
96
97# Copy the code into the container
98COPY . .
99
100# Build the application
101RUN go build -o main .
102
103# Move to /dist directory as the place for resulting binary folder
104WORKDIR /dist
105
106# Copy binary from build to main folder
107RUN cp -r /build/html .
108RUN cp /build/main .
109
110# Environment Variables
111ENV DB_HOST="127.0.0.1" \
112 APP_PROTOCOL="http" \
113 APP_HOST="localhost" \
114 APP_PORT=8080 \
115 ALLOWED_ORIGINS="*"
116
117# Export necessary port
118EXPOSE 8080
119
120ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait
121RUN chmod +x /wait
122
123# Command to run when starting the container
124CMD /wait && /dist/main
125version: '3'
126
127volumes:
128 postgres_data:
129 driver: local
130
131services:
132 postgres:
133 image: postgres
134 volumes:
135 - postgres_data:/var/lib/postgresql/data
136 ports:
137 - 5432:5432
138 go-user-management:
139 restart: always
140 build:
141 dockerfile: Dockerfile
142 context: .
143 environment:
144 # Postgres Details
145 DB_PORT: 5432
146 # APP details
147 APP_PROTOCOL: http
148 APP_HOST: localhost
149 APP_PORT: 8080
150 # System Configuration Details
151 ALLOWED_ORIGINS: "*"
152 ports:
153 - 8080:8080
154 depends_on:
155 - postgres
156
In sport_app I write below code and get error:
1FROM golang:alpine
2
3RUN apk update && apk upgrade && apk add --no-cache bash git openssh curl
4
5WORKDIR /go-sports-entities-hierarchy
6
7COPY . /go-sports-entities-hierarchy/
8RUN rm -rf /go-sports-entities-hierarchy/.env
9RUN go mod download
10RUN chmod +x /go-sports-entities-hierarchy/scripts/*
11RUN ./scripts/build.sh
12
13ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait
14RUN chmod +x /wait
15
16ENV GIN_MODE="debug" \
17 GQL_SERVER_HOST="localhost" \
18 GQL_SERVER_PORT=7777 \
19 ALLOWED_ORIGINS=* \
20 USER_MANAGEMENT_SERVER_URL="http://localhost:8080/user/me" \
21 # GQLGen config
22 GQL_SERVER_GRAPHQL_PATH="graphql" \
23 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED=true \
24 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH="playground" \
25# Export necessary port
26EXPOSE 7777
27
28CMD /wait && ./scripts/run.sh
29
30version: '3'
31
32volumes:
33 postgres_data:
34 driver: local
35services:
36 go-sports-entities-hierarchy:
37 restart: always
38 build:
39 dockerfile: Dockerfile
40 context: .
41 environment:
42 WAIT_HOSTS: postgres:5432
43 # Web framework config
44 GIN_MODE: debug
45 GQL_SERVER_HOST: go-sports-entities-hierarchy
46 GQL_SERVER_PORT: 7777
47 ALLOWED_ORIGINS: "*"
48 USER_MANAGEMENT_SERVER_URL: http://localhost:8080/user/me
49 # GQLGen config
50 GQL_SERVER_GRAPHQL_PATH: graphql
51 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED: "true"
52 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH: playground
53 ports:
54 - 7777:7777
55 depends_on:
56 - postgres
57 - redisearch
58 go-sports-events-workflow:
59 restart: always
60 build:
61 dockerfile: Dockerfile
62 context: .
63 environment:
64 WAIT_HOSTS: postgres:5432
65 # Web framework config
66 GIN_MODE: debug
67 GQL_SERVER_HOST: go-sports-events-workflow
68 GQL_SERVER_PORT: 7778
69 ALLOWED_ORIGINS: "*"
70 # GQLGen config
71 GQL_SERVER_GRAPHQL_PATH: graphql
72 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED: "true"
73 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH: playground
74 depends_on:
75 - postgres
76 - redisearch
77 - go-sports-entities-hierarchy
78
79FROM golang:alpine
80
81RUN apk update && apk add --no-cache git ca-certificates && update-ca-certificates
82
83# Set necessary environmet variables needed for our image
84ENV GO111MODULE=on \
85 CGO_ENABLED=0 \
86 GOOS=linux \
87 GOARCH=amd64
88
89# Move to working directory /build
90WORKDIR /build
91
92# Copy and download dependency using go mod
93COPY go.mod .
94COPY go.sum .
95RUN go mod download
96
97# Copy the code into the container
98COPY . .
99
100# Build the application
101RUN go build -o main .
102
103# Move to /dist directory as the place for resulting binary folder
104WORKDIR /dist
105
106# Copy binary from build to main folder
107RUN cp -r /build/html .
108RUN cp /build/main .
109
110# Environment Variables
111ENV DB_HOST="127.0.0.1" \
112 APP_PROTOCOL="http" \
113 APP_HOST="localhost" \
114 APP_PORT=8080 \
115 ALLOWED_ORIGINS="*"
116
117# Export necessary port
118EXPOSE 8080
119
120ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait
121RUN chmod +x /wait
122
123# Command to run when starting the container
124CMD /wait && /dist/main
125version: '3'
126
127volumes:
128 postgres_data:
129 driver: local
130
131services:
132 postgres:
133 image: postgres
134 volumes:
135 - postgres_data:/var/lib/postgresql/data
136 ports:
137 - 5432:5432
138 go-user-management:
139 restart: always
140 build:
141 dockerfile: Dockerfile
142 context: .
143 environment:
144 # Postgres Details
145 DB_PORT: 5432
146 # APP details
147 APP_PROTOCOL: http
148 APP_HOST: localhost
149 APP_PORT: 8080
150 # System Configuration Details
151 ALLOWED_ORIGINS: "*"
152 ports:
153 - 8080:8080
154 depends_on:
155 - postgres
156client := resty.New()
157resp, err := client.R().SetHeader("Content-Type", "application/json").SetHeader("Authorization", "Bearer "+token).Get("http://localhost:8080/user/me")
158
Error is: Get "http://localhost:8080/user/me": dial tcp 127.0.0.1:8080: connect: connection refused:" This API(http://localhost:8080/user/me) is written in the user_management app and this is working, I check with the postman. I already read this question answers, but can not solve my problem. I am new to docker, please help.
ANSWER
Answered 2021-Dec-22 at 10:09For communicating between multiple docker-compose
clients, you need to make sure that the containers you want to talk to each other are on the same network.
For example, (edited for brevity) here you have one of the docker-compose.yml
1FROM golang:alpine
2
3RUN apk update && apk upgrade && apk add --no-cache bash git openssh curl
4
5WORKDIR /go-sports-entities-hierarchy
6
7COPY . /go-sports-entities-hierarchy/
8RUN rm -rf /go-sports-entities-hierarchy/.env
9RUN go mod download
10RUN chmod +x /go-sports-entities-hierarchy/scripts/*
11RUN ./scripts/build.sh
12
13ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait
14RUN chmod +x /wait
15
16ENV GIN_MODE="debug" \
17 GQL_SERVER_HOST="localhost" \
18 GQL_SERVER_PORT=7777 \
19 ALLOWED_ORIGINS=* \
20 USER_MANAGEMENT_SERVER_URL="http://localhost:8080/user/me" \
21 # GQLGen config
22 GQL_SERVER_GRAPHQL_PATH="graphql" \
23 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED=true \
24 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH="playground" \
25# Export necessary port
26EXPOSE 7777
27
28CMD /wait && ./scripts/run.sh
29
30version: '3'
31
32volumes:
33 postgres_data:
34 driver: local
35services:
36 go-sports-entities-hierarchy:
37 restart: always
38 build:
39 dockerfile: Dockerfile
40 context: .
41 environment:
42 WAIT_HOSTS: postgres:5432
43 # Web framework config
44 GIN_MODE: debug
45 GQL_SERVER_HOST: go-sports-entities-hierarchy
46 GQL_SERVER_PORT: 7777
47 ALLOWED_ORIGINS: "*"
48 USER_MANAGEMENT_SERVER_URL: http://localhost:8080/user/me
49 # GQLGen config
50 GQL_SERVER_GRAPHQL_PATH: graphql
51 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED: "true"
52 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH: playground
53 ports:
54 - 7777:7777
55 depends_on:
56 - postgres
57 - redisearch
58 go-sports-events-workflow:
59 restart: always
60 build:
61 dockerfile: Dockerfile
62 context: .
63 environment:
64 WAIT_HOSTS: postgres:5432
65 # Web framework config
66 GIN_MODE: debug
67 GQL_SERVER_HOST: go-sports-events-workflow
68 GQL_SERVER_PORT: 7778
69 ALLOWED_ORIGINS: "*"
70 # GQLGen config
71 GQL_SERVER_GRAPHQL_PATH: graphql
72 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED: "true"
73 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH: playground
74 depends_on:
75 - postgres
76 - redisearch
77 - go-sports-entities-hierarchy
78
79FROM golang:alpine
80
81RUN apk update && apk add --no-cache git ca-certificates && update-ca-certificates
82
83# Set necessary environmet variables needed for our image
84ENV GO111MODULE=on \
85 CGO_ENABLED=0 \
86 GOOS=linux \
87 GOARCH=amd64
88
89# Move to working directory /build
90WORKDIR /build
91
92# Copy and download dependency using go mod
93COPY go.mod .
94COPY go.sum .
95RUN go mod download
96
97# Copy the code into the container
98COPY . .
99
100# Build the application
101RUN go build -o main .
102
103# Move to /dist directory as the place for resulting binary folder
104WORKDIR /dist
105
106# Copy binary from build to main folder
107RUN cp -r /build/html .
108RUN cp /build/main .
109
110# Environment Variables
111ENV DB_HOST="127.0.0.1" \
112 APP_PROTOCOL="http" \
113 APP_HOST="localhost" \
114 APP_PORT=8080 \
115 ALLOWED_ORIGINS="*"
116
117# Export necessary port
118EXPOSE 8080
119
120ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait
121RUN chmod +x /wait
122
123# Command to run when starting the container
124CMD /wait && /dist/main
125version: '3'
126
127volumes:
128 postgres_data:
129 driver: local
130
131services:
132 postgres:
133 image: postgres
134 volumes:
135 - postgres_data:/var/lib/postgresql/data
136 ports:
137 - 5432:5432
138 go-user-management:
139 restart: always
140 build:
141 dockerfile: Dockerfile
142 context: .
143 environment:
144 # Postgres Details
145 DB_PORT: 5432
146 # APP details
147 APP_PROTOCOL: http
148 APP_HOST: localhost
149 APP_PORT: 8080
150 # System Configuration Details
151 ALLOWED_ORIGINS: "*"
152 ports:
153 - 8080:8080
154 depends_on:
155 - postgres
156client := resty.New()
157resp, err := client.R().SetHeader("Content-Type", "application/json").SetHeader("Authorization", "Bearer "+token).Get("http://localhost:8080/user/me")
158# sport_app docker-compose.yml
159version: '3'
160services:
161 go-sports-entities-hierarchy:
162 ...
163 networks:
164 - some-net
165 go-sports-events-workflow
166 ...
167 networks:
168 - some-net
169networks:
170 some-net:
171 driver: bridge
172
And the other docker-compose.yml
1FROM golang:alpine
2
3RUN apk update && apk upgrade && apk add --no-cache bash git openssh curl
4
5WORKDIR /go-sports-entities-hierarchy
6
7COPY . /go-sports-entities-hierarchy/
8RUN rm -rf /go-sports-entities-hierarchy/.env
9RUN go mod download
10RUN chmod +x /go-sports-entities-hierarchy/scripts/*
11RUN ./scripts/build.sh
12
13ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait
14RUN chmod +x /wait
15
16ENV GIN_MODE="debug" \
17 GQL_SERVER_HOST="localhost" \
18 GQL_SERVER_PORT=7777 \
19 ALLOWED_ORIGINS=* \
20 USER_MANAGEMENT_SERVER_URL="http://localhost:8080/user/me" \
21 # GQLGen config
22 GQL_SERVER_GRAPHQL_PATH="graphql" \
23 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED=true \
24 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH="playground" \
25# Export necessary port
26EXPOSE 7777
27
28CMD /wait && ./scripts/run.sh
29
30version: '3'
31
32volumes:
33 postgres_data:
34 driver: local
35services:
36 go-sports-entities-hierarchy:
37 restart: always
38 build:
39 dockerfile: Dockerfile
40 context: .
41 environment:
42 WAIT_HOSTS: postgres:5432
43 # Web framework config
44 GIN_MODE: debug
45 GQL_SERVER_HOST: go-sports-entities-hierarchy
46 GQL_SERVER_PORT: 7777
47 ALLOWED_ORIGINS: "*"
48 USER_MANAGEMENT_SERVER_URL: http://localhost:8080/user/me
49 # GQLGen config
50 GQL_SERVER_GRAPHQL_PATH: graphql
51 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED: "true"
52 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH: playground
53 ports:
54 - 7777:7777
55 depends_on:
56 - postgres
57 - redisearch
58 go-sports-events-workflow:
59 restart: always
60 build:
61 dockerfile: Dockerfile
62 context: .
63 environment:
64 WAIT_HOSTS: postgres:5432
65 # Web framework config
66 GIN_MODE: debug
67 GQL_SERVER_HOST: go-sports-events-workflow
68 GQL_SERVER_PORT: 7778
69 ALLOWED_ORIGINS: "*"
70 # GQLGen config
71 GQL_SERVER_GRAPHQL_PATH: graphql
72 GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED: "true"
73 GQL_SERVER_GRAPHQL_PLAYGROUND_PATH: playground
74 depends_on:
75 - postgres
76 - redisearch
77 - go-sports-entities-hierarchy
78
79FROM golang:alpine
80
81RUN apk update && apk add --no-cache git ca-certificates && update-ca-certificates
82
83# Set necessary environmet variables needed for our image
84ENV GO111MODULE=on \
85 CGO_ENABLED=0 \
86 GOOS=linux \
87 GOARCH=amd64
88
89# Move to working directory /build
90WORKDIR /build
91
92# Copy and download dependency using go mod
93COPY go.mod .
94COPY go.sum .
95RUN go mod download
96
97# Copy the code into the container
98COPY . .
99
100# Build the application
101RUN go build -o main .
102
103# Move to /dist directory as the place for resulting binary folder
104WORKDIR /dist
105
106# Copy binary from build to main folder
107RUN cp -r /build/html .
108RUN cp /build/main .
109
110# Environment Variables
111ENV DB_HOST="127.0.0.1" \
112 APP_PROTOCOL="http" \
113 APP_HOST="localhost" \
114 APP_PORT=8080 \
115 ALLOWED_ORIGINS="*"
116
117# Export necessary port
118EXPOSE 8080
119
120ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait
121RUN chmod +x /wait
122
123# Command to run when starting the container
124CMD /wait && /dist/main
125version: '3'
126
127volumes:
128 postgres_data:
129 driver: local
130
131services:
132 postgres:
133 image: postgres
134 volumes:
135 - postgres_data:/var/lib/postgresql/data
136 ports:
137 - 5432:5432
138 go-user-management:
139 restart: always
140 build:
141 dockerfile: Dockerfile
142 context: .
143 environment:
144 # Postgres Details
145 DB_PORT: 5432
146 # APP details
147 APP_PROTOCOL: http
148 APP_HOST: localhost
149 APP_PORT: 8080
150 # System Configuration Details
151 ALLOWED_ORIGINS: "*"
152 ports:
153 - 8080:8080
154 depends_on:
155 - postgres
156client := resty.New()
157resp, err := client.R().SetHeader("Content-Type", "application/json").SetHeader("Authorization", "Bearer "+token).Get("http://localhost:8080/user/me")
158# sport_app docker-compose.yml
159version: '3'
160services:
161 go-sports-entities-hierarchy:
162 ...
163 networks:
164 - some-net
165 go-sports-events-workflow
166 ...
167 networks:
168 - some-net
169networks:
170 some-net:
171 driver: bridge
172# user_management app docker-compose.yml
173version: '3'
174services:
175 postgres:
176 ...
177 networks:
178 - some-net
179 go-user-management
180 ...
181 networks:
182 - some-net
183networks:
184 some-net:
185 external: true
186
Note: Your app’s network is given a name based on the project name
, which is based on the name of the directory it lives in, in this case a prefix user_
was added.
They can then talk to each other using the service name, i.e. go-user-management
, etc.
You can, after running the docker-compose up --build
commands, run the docker network ls
command to see it, then docker network inspect bridge
, etc.
QUESTION
VS2017 crashes with 'FileNotFoundEx: System.Runtime.CompilerServices.Unsafe, V=4.0.4.1' upon loading any project
Asked 2021-Dec-21 at 16:18Sorry for a lengthy one, but I'm in dire straits - just trying to provide all details upfront.
This Fri (2021-Nov-12) after a restart of Visual Studio 2017 it began crashing without notice while opening existing solutions. This worked perfectly fine at least a week ago (after last Win10 Update KB5006670 on 2021-Nov-05 - followed by a reboot). Trying to load old solutions (which haven't been touched for 2+ years) results in exactly the same behavior:
you get a glimpse of "Loading Project .." windows (not sure if it goes through all projects in a solution), then suddenly the main VS window disappears and .. that's it.
VStudio's configuration has not been touched at least for a year. No explicit updates/patches or NuGet packages either. By itself VS starts and shows the main window with usual Start page. But I cannot load any solution or project.
The very first related Event Log entry:
1**2021-Nov-12 14:13:41**
2Application: devenv.exe
3Framework Version: v4.0.30319
4Description: The application requested process termination through System.Environment.FailFast(string message).
5Message: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
6File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
7 at System.Threading.Tasks.ValueTask`1.AsTask()
8 at Microsoft.CodeAnalysis.Document.GetSyntaxTreeAsync(CancellationToken cancellationToken)
9 at Microsoft.CodeAnalysis.Host.BackgroundParser.<>c__DisplayClass20_0.<ParseDocumentAsync>b__0()
10 at System.Threading.Tasks.Task`1.InnerInvoke()
11 at System.Threading.Tasks.Task.Execute()
12
13WRN: Assembly binding logging is turned OFF.
14To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
15Note: There is some performance penalty associated with assembly bind failure logging.
16To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
17
18Stack:
19 at System.Environment.FailFast(System.String, System.Exception)
20 at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)
21 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>)
22 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception)
23 at Roslyn.Utilities.TaskExtensions.ReportFatalErrorWorker(System.Threading.Tasks.Task, System.Object)
24 at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
25 at System.Threading.Tasks.Task.Execute()
26 at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)
27 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
28 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
29 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
30 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
31 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean)
32 at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean)
33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean)
34 at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean)
35 at System.Threading.Tasks.Task.FinishContinuations()
36 at System.Threading.Tasks.Task.FinishStageThree()
37 at System.Threading.Tasks.Task.FinishStageTwo()
38 at System.Threading.Tasks.Task.Finish(Boolean)
39 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object)
40 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetFromTask(System.Threading.Tasks.Task, Boolean)
41 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ProcessCompletedOuterTask(System.Threading.Tasks.Task)
42 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InvokeCore(System.Threading.Tasks.Task)
43 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Threading.Tasks.Task)
44 at System.Threading.Tasks.Task.FinishContinuations()
45 at System.Threading.Tasks.Task.FinishStageThree()
46 at System.Threading.Tasks.Task.FinishStageTwo()
47 at System.Threading.Tasks.Task.Finish(Boolean)
48 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
49 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
50 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
51 at System.Threading.ThreadPoolWorkQueue.Dispatch()
52 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
53
was followed by these 3:
1)
1**2021-Nov-12 14:13:41**
2Application: devenv.exe
3Framework Version: v4.0.30319
4Description: The application requested process termination through System.Environment.FailFast(string message).
5Message: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
6File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
7 at System.Threading.Tasks.ValueTask`1.AsTask()
8 at Microsoft.CodeAnalysis.Document.GetSyntaxTreeAsync(CancellationToken cancellationToken)
9 at Microsoft.CodeAnalysis.Host.BackgroundParser.<>c__DisplayClass20_0.<ParseDocumentAsync>b__0()
10 at System.Threading.Tasks.Task`1.InnerInvoke()
11 at System.Threading.Tasks.Task.Execute()
12
13WRN: Assembly binding logging is turned OFF.
14To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
15Note: There is some performance penalty associated with assembly bind failure logging.
16To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
17
18Stack:
19 at System.Environment.FailFast(System.String, System.Exception)
20 at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)
21 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>)
22 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception)
23 at Roslyn.Utilities.TaskExtensions.ReportFatalErrorWorker(System.Threading.Tasks.Task, System.Object)
24 at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
25 at System.Threading.Tasks.Task.Execute()
26 at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)
27 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
28 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
29 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
30 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
31 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean)
32 at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean)
33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean)
34 at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean)
35 at System.Threading.Tasks.Task.FinishContinuations()
36 at System.Threading.Tasks.Task.FinishStageThree()
37 at System.Threading.Tasks.Task.FinishStageTwo()
38 at System.Threading.Tasks.Task.Finish(Boolean)
39 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object)
40 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetFromTask(System.Threading.Tasks.Task, Boolean)
41 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ProcessCompletedOuterTask(System.Threading.Tasks.Task)
42 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InvokeCore(System.Threading.Tasks.Task)
43 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Threading.Tasks.Task)
44 at System.Threading.Tasks.Task.FinishContinuations()
45 at System.Threading.Tasks.Task.FinishStageThree()
46 at System.Threading.Tasks.Task.FinishStageTwo()
47 at System.Threading.Tasks.Task.Finish(Boolean)
48 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
49 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
50 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
51 at System.Threading.ThreadPoolWorkQueue.Dispatch()
52 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
53**2021-Nov-12 14:14:16**
54Application: devenv.exe
55Framework Version: v4.0.30319
56Description: The application requested process termination through System.Environment.FailFast(string message).
57Message: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
58File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
59 at System.Threading.Tasks.ValueTask`1.AsTask()
60 at Microsoft.CodeAnalysis.Document.GetSyntaxTreeAsync(CancellationToken cancellationToken)
61 at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.SymbolContainment.<GetContainedSyntaxNodesAsync>d__0.MoveNext()
62--- End of stack trace from previous location where exception was thrown ---
63 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
64 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
65 at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.ContainsChildrenGraphQuery.<GetGraphAsync>d__0.MoveNext()
66
67WRN: Assembly binding logging is turned OFF.
68To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
69Note: There is some performance penalty associated with assembly bind failure logging.
70To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
71
72Stack:
73 at System.Environment.FailFast(System.String, System.Exception)
74 at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)
75 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>)
76 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception)
77 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass7_0`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>g__outerFunction|0(System.Threading.Tasks.Task)
78 at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean)
79 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetResultCore(Boolean)
80 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Result()
81 at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.GraphQueryManager+<>c__DisplayClass14_0.<PopulateContextGraphAsync>b__1(System.Threading.Tasks.Task`1<Microsoft.VisualStudio.LanguageServices.Implementation.Progression.GraphBuilder[]>)
82 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass6_0`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>b__0(System.Threading.Tasks.Task)
83 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass3_0.<SafeContinueWith>g__continuationFunction|0(System.Threading.Tasks.Task)
84 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass7_0`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>g__outerFunction|0(System.Threading.Tasks.Task)
85 at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke()
86 at System.Threading.Tasks.Task.Execute()
87 at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)
88 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
89 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
90 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
91 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
92 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
93 at System.Threading.ThreadPoolWorkQueue.Dispatch()
94 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
95
1**2021-Nov-12 14:13:41**
2Application: devenv.exe
3Framework Version: v4.0.30319
4Description: The application requested process termination through System.Environment.FailFast(string message).
5Message: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
6File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
7 at System.Threading.Tasks.ValueTask`1.AsTask()
8 at Microsoft.CodeAnalysis.Document.GetSyntaxTreeAsync(CancellationToken cancellationToken)
9 at Microsoft.CodeAnalysis.Host.BackgroundParser.<>c__DisplayClass20_0.<ParseDocumentAsync>b__0()
10 at System.Threading.Tasks.Task`1.InnerInvoke()
11 at System.Threading.Tasks.Task.Execute()
12
13WRN: Assembly binding logging is turned OFF.
14To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
15Note: There is some performance penalty associated with assembly bind failure logging.
16To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
17
18Stack:
19 at System.Environment.FailFast(System.String, System.Exception)
20 at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)
21 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>)
22 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception)
23 at Roslyn.Utilities.TaskExtensions.ReportFatalErrorWorker(System.Threading.Tasks.Task, System.Object)
24 at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
25 at System.Threading.Tasks.Task.Execute()
26 at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)
27 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
28 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
29 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
30 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
31 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean)
32 at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean)
33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean)
34 at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean)
35 at System.Threading.Tasks.Task.FinishContinuations()
36 at System.Threading.Tasks.Task.FinishStageThree()
37 at System.Threading.Tasks.Task.FinishStageTwo()
38 at System.Threading.Tasks.Task.Finish(Boolean)
39 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object)
40 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetFromTask(System.Threading.Tasks.Task, Boolean)
41 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ProcessCompletedOuterTask(System.Threading.Tasks.Task)
42 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InvokeCore(System.Threading.Tasks.Task)
43 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Threading.Tasks.Task)
44 at System.Threading.Tasks.Task.FinishContinuations()
45 at System.Threading.Tasks.Task.FinishStageThree()
46 at System.Threading.Tasks.Task.FinishStageTwo()
47 at System.Threading.Tasks.Task.Finish(Boolean)
48 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
49 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
50 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
51 at System.Threading.ThreadPoolWorkQueue.Dispatch()
52 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
53**2021-Nov-12 14:14:16**
54Application: devenv.exe
55Framework Version: v4.0.30319
56Description: The application requested process termination through System.Environment.FailFast(string message).
57Message: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
58File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
59 at System.Threading.Tasks.ValueTask`1.AsTask()
60 at Microsoft.CodeAnalysis.Document.GetSyntaxTreeAsync(CancellationToken cancellationToken)
61 at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.SymbolContainment.<GetContainedSyntaxNodesAsync>d__0.MoveNext()
62--- End of stack trace from previous location where exception was thrown ---
63 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
64 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
65 at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.ContainsChildrenGraphQuery.<GetGraphAsync>d__0.MoveNext()
66
67WRN: Assembly binding logging is turned OFF.
68To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
69Note: There is some performance penalty associated with assembly bind failure logging.
70To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
71
72Stack:
73 at System.Environment.FailFast(System.String, System.Exception)
74 at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)
75 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>)
76 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception)
77 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass7_0`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>g__outerFunction|0(System.Threading.Tasks.Task)
78 at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean)
79 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetResultCore(Boolean)
80 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Result()
81 at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.GraphQueryManager+<>c__DisplayClass14_0.<PopulateContextGraphAsync>b__1(System.Threading.Tasks.Task`1<Microsoft.VisualStudio.LanguageServices.Implementation.Progression.GraphBuilder[]>)
82 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass6_0`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>b__0(System.Threading.Tasks.Task)
83 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass3_0.<SafeContinueWith>g__continuationFunction|0(System.Threading.Tasks.Task)
84 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass7_0`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>g__outerFunction|0(System.Threading.Tasks.Task)
85 at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke()
86 at System.Threading.Tasks.Task.Execute()
87 at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)
88 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
89 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
90 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
91 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
92 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
93 at System.Threading.ThreadPoolWorkQueue.Dispatch()
94 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
95**2021-Nov-12 14:14:19**
96Faulting application name: devenv.exe, version: 15.8.28010.2050, time stamp: 0x5bda1fc3
97Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
98Exception code: 0x80131623
99Fault offset: 0x19a1c93a
100Faulting process id: 0x3d44
101Faulting application start time: 0x01d7d801d444a508
102Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.exe
103Faulting module path: unknown
104Report Id: e230b637-fd72-47f8-a0d5-d2c4ccb10943
105
1**2021-Nov-12 14:13:41**
2Application: devenv.exe
3Framework Version: v4.0.30319
4Description: The application requested process termination through System.Environment.FailFast(string message).
5Message: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
6File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
7 at System.Threading.Tasks.ValueTask`1.AsTask()
8 at Microsoft.CodeAnalysis.Document.GetSyntaxTreeAsync(CancellationToken cancellationToken)
9 at Microsoft.CodeAnalysis.Host.BackgroundParser.<>c__DisplayClass20_0.<ParseDocumentAsync>b__0()
10 at System.Threading.Tasks.Task`1.InnerInvoke()
11 at System.Threading.Tasks.Task.Execute()
12
13WRN: Assembly binding logging is turned OFF.
14To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
15Note: There is some performance penalty associated with assembly bind failure logging.
16To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
17
18Stack:
19 at System.Environment.FailFast(System.String, System.Exception)
20 at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)
21 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>)
22 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception)
23 at Roslyn.Utilities.TaskExtensions.ReportFatalErrorWorker(System.Threading.Tasks.Task, System.Object)
24 at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
25 at System.Threading.Tasks.Task.Execute()
26 at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)
27 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
28 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
29 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
30 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
31 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean)
32 at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean)
33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean)
34 at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean)
35 at System.Threading.Tasks.Task.FinishContinuations()
36 at System.Threading.Tasks.Task.FinishStageThree()
37 at System.Threading.Tasks.Task.FinishStageTwo()
38 at System.Threading.Tasks.Task.Finish(Boolean)
39 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object)
40 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetFromTask(System.Threading.Tasks.Task, Boolean)
41 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ProcessCompletedOuterTask(System.Threading.Tasks.Task)
42 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InvokeCore(System.Threading.Tasks.Task)
43 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Threading.Tasks.Task)
44 at System.Threading.Tasks.Task.FinishContinuations()
45 at System.Threading.Tasks.Task.FinishStageThree()
46 at System.Threading.Tasks.Task.FinishStageTwo()
47 at System.Threading.Tasks.Task.Finish(Boolean)
48 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
49 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
50 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
51 at System.Threading.ThreadPoolWorkQueue.Dispatch()
52 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
53**2021-Nov-12 14:14:16**
54Application: devenv.exe
55Framework Version: v4.0.30319
56Description: The application requested process termination through System.Environment.FailFast(string message).
57Message: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
58File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
59 at System.Threading.Tasks.ValueTask`1.AsTask()
60 at Microsoft.CodeAnalysis.Document.GetSyntaxTreeAsync(CancellationToken cancellationToken)
61 at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.SymbolContainment.<GetContainedSyntaxNodesAsync>d__0.MoveNext()
62--- End of stack trace from previous location where exception was thrown ---
63 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
64 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
65 at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.ContainsChildrenGraphQuery.<GetGraphAsync>d__0.MoveNext()
66
67WRN: Assembly binding logging is turned OFF.
68To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
69Note: There is some performance penalty associated with assembly bind failure logging.
70To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
71
72Stack:
73 at System.Environment.FailFast(System.String, System.Exception)
74 at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)
75 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>)
76 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception)
77 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass7_0`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>g__outerFunction|0(System.Threading.Tasks.Task)
78 at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean)
79 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetResultCore(Boolean)
80 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Result()
81 at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.GraphQueryManager+<>c__DisplayClass14_0.<PopulateContextGraphAsync>b__1(System.Threading.Tasks.Task`1<Microsoft.VisualStudio.LanguageServices.Implementation.Progression.GraphBuilder[]>)
82 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass6_0`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>b__0(System.Threading.Tasks.Task)
83 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass3_0.<SafeContinueWith>g__continuationFunction|0(System.Threading.Tasks.Task)
84 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass7_0`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>g__outerFunction|0(System.Threading.Tasks.Task)
85 at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke()
86 at System.Threading.Tasks.Task.Execute()
87 at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)
88 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
89 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
90 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
91 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
92 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
93 at System.Threading.ThreadPoolWorkQueue.Dispatch()
94 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
95**2021-Nov-12 14:14:19**
96Faulting application name: devenv.exe, version: 15.8.28010.2050, time stamp: 0x5bda1fc3
97Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
98Exception code: 0x80131623
99Fault offset: 0x19a1c93a
100Faulting process id: 0x3d44
101Faulting application start time: 0x01d7d801d444a508
102Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.exe
103Faulting module path: unknown
104Report Id: e230b637-fd72-47f8-a0d5-d2c4ccb10943
105**2021-Nov-12 14:14:35**
106Fault bucket 1659198495851531123, type 5
107Event Name: CLR20r3
108Response: Not available
109Cab Id: 0
110
111Problem signature:
112P1: devenv.exe
113P2: 15.8.28010.2050
114P3: 5bda1fc3
115P4: Microsoft.CodeAnalysis.Workspaces
116P5: 2.9.0.63208
117P6: f144aff0
118P7: 500
119P8: 41
120P9: System.IO.FileNotFoundException
121P10:
122
This pattern of 3 entries with same suspects repeated several times while I was trying to load solutions.
In the last triple it had ServiceHub.RoslynCodeAnalysisService32.exe as the faulting app:
1**2021-Nov-12 14:13:41**
2Application: devenv.exe
3Framework Version: v4.0.30319
4Description: The application requested process termination through System.Environment.FailFast(string message).
5Message: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
6File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
7 at System.Threading.Tasks.ValueTask`1.AsTask()
8 at Microsoft.CodeAnalysis.Document.GetSyntaxTreeAsync(CancellationToken cancellationToken)
9 at Microsoft.CodeAnalysis.Host.BackgroundParser.<>c__DisplayClass20_0.<ParseDocumentAsync>b__0()
10 at System.Threading.Tasks.Task`1.InnerInvoke()
11 at System.Threading.Tasks.Task.Execute()
12
13WRN: Assembly binding logging is turned OFF.
14To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
15Note: There is some performance penalty associated with assembly bind failure logging.
16To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
17
18Stack:
19 at System.Environment.FailFast(System.String, System.Exception)
20 at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)
21 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>)
22 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception)
23 at Roslyn.Utilities.TaskExtensions.ReportFatalErrorWorker(System.Threading.Tasks.Task, System.Object)
24 at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
25 at System.Threading.Tasks.Task.Execute()
26 at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)
27 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
28 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
29 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
30 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
31 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean)
32 at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean)
33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean)
34 at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean)
35 at System.Threading.Tasks.Task.FinishContinuations()
36 at System.Threading.Tasks.Task.FinishStageThree()
37 at System.Threading.Tasks.Task.FinishStageTwo()
38 at System.Threading.Tasks.Task.Finish(Boolean)
39 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object)
40 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetFromTask(System.Threading.Tasks.Task, Boolean)
41 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ProcessCompletedOuterTask(System.Threading.Tasks.Task)
42 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InvokeCore(System.Threading.Tasks.Task)
43 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Threading.Tasks.Task)
44 at System.Threading.Tasks.Task.FinishContinuations()
45 at System.Threading.Tasks.Task.FinishStageThree()
46 at System.Threading.Tasks.Task.FinishStageTwo()
47 at System.Threading.Tasks.Task.Finish(Boolean)
48 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
49 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
50 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
51 at System.Threading.ThreadPoolWorkQueue.Dispatch()
52 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
53**2021-Nov-12 14:14:16**
54Application: devenv.exe
55Framework Version: v4.0.30319
56Description: The application requested process termination through System.Environment.FailFast(string message).
57Message: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
58File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
59 at System.Threading.Tasks.ValueTask`1.AsTask()
60 at Microsoft.CodeAnalysis.Document.GetSyntaxTreeAsync(CancellationToken cancellationToken)
61 at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.SymbolContainment.<GetContainedSyntaxNodesAsync>d__0.MoveNext()
62--- End of stack trace from previous location where exception was thrown ---
63 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
64 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
65 at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.ContainsChildrenGraphQuery.<GetGraphAsync>d__0.MoveNext()
66
67WRN: Assembly binding logging is turned OFF.
68To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
69Note: There is some performance penalty associated with assembly bind failure logging.
70To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
71
72Stack:
73 at System.Environment.FailFast(System.String, System.Exception)
74 at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)
75 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>)
76 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception)
77 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass7_0`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>g__outerFunction|0(System.Threading.Tasks.Task)
78 at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean)
79 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetResultCore(Boolean)
80 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Result()
81 at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.GraphQueryManager+<>c__DisplayClass14_0.<PopulateContextGraphAsync>b__1(System.Threading.Tasks.Task`1<Microsoft.VisualStudio.LanguageServices.Implementation.Progression.GraphBuilder[]>)
82 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass6_0`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>b__0(System.Threading.Tasks.Task)
83 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass3_0.<SafeContinueWith>g__continuationFunction|0(System.Threading.Tasks.Task)
84 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass7_0`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>g__outerFunction|0(System.Threading.Tasks.Task)
85 at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke()
86 at System.Threading.Tasks.Task.Execute()
87 at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)
88 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
89 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
90 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
91 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
92 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
93 at System.Threading.ThreadPoolWorkQueue.Dispatch()
94 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
95**2021-Nov-12 14:14:19**
96Faulting application name: devenv.exe, version: 15.8.28010.2050, time stamp: 0x5bda1fc3
97Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
98Exception code: 0x80131623
99Fault offset: 0x19a1c93a
100Faulting process id: 0x3d44
101Faulting application start time: 0x01d7d801d444a508
102Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.exe
103Faulting module path: unknown
104Report Id: e230b637-fd72-47f8-a0d5-d2c4ccb10943
105**2021-Nov-12 14:14:35**
106Fault bucket 1659198495851531123, type 5
107Event Name: CLR20r3
108Response: Not available
109Cab Id: 0
110
111Problem signature:
112P1: devenv.exe
113P2: 15.8.28010.2050
114P3: 5bda1fc3
115P4: Microsoft.CodeAnalysis.Workspaces
116P5: 2.9.0.63208
117P6: f144aff0
118P7: 500
119P8: 41
120P9: System.IO.FileNotFoundException
121P10:
122**2021-Nov-12 14:28:05**
123Application: ServiceHub.RoslynCodeAnalysisService32.exe
124Framework Version: v4.0.30319
125Description: The application requested process termination through System.Environment.FailFast(string message).
126Message: System.OperationCanceledException: The operation was canceled.
127 at System.Threading.CancellationToken.ThrowOperationCanceledException()
128 at Microsoft.CodeAnalysis.Remote.Extensions.<InvokeAsync>d__3`1.MoveNext()
129--- End of stack trace from previous location where exception was thrown ---
130 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
131 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
132 at Microsoft.CodeAnalysis.Remote.ServiceHubServiceBase.<RunServiceAsync>d__25`1.MoveNext()
133--- End of stack trace from previous location where exception was thrown ---
134 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
135 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
136 at Microsoft.CodeAnalysis.Remote.SnapshotService.JsonRpcAssetSource.<RequestAssetsAsync>d__2.MoveNext()
137Stack:
138 at System.Environment.FailFast(System.String, System.Exception)
139 at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)
140 at Microsoft.CodeAnalysis.Remote.SnapshotService+JsonRpcAssetSource.ReportUnlessCanceled(System.Exception, System.Threading.CancellationToken)
141 at Microsoft.CodeAnalysis.Remote.SnapshotService+JsonRpcAssetSource+<RequestAssetsAsync>d__2.MoveNext()
142 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
143 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
144 at Microsoft.CodeAnalysis.Remote.SnapshotService+JsonRpcAssetSource+<RequestAssetsAsync>d__2.MoveNext()
145 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object)
146 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
147 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
148 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run()
149 at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef)
150 at System.Threading.Tasks.Task.FinishContinuations()
151 at System.Threading.Tasks.Task.FinishStageThree()
152 at System.Threading.Tasks.Task.CancellationCleanupLogic()
153 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetCanceled(System.Threading.CancellationToken, System.Object)
154 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception)
155 at Microsoft.CodeAnalysis.Remote.ServiceHubServiceBase+<RunServiceAsync>d__25`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
156 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object)
157 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
158 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
159 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run()
160 at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef)
161 at System.Threading.Tasks.Task.FinishContinuations()
162 at System.Threading.Tasks.Task.FinishStageThree()
163 at System.Threading.Tasks.Task.CancellationCleanupLogic()
164 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetCanceled(System.Threading.CancellationToken, System.Object)
165 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception)
166 at Microsoft.CodeAnalysis.Remote.Extensions+<InvokeAsync>d__3`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
167 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object)
168 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
169 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
170 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run()
171 at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef)
172 at System.Threading.Tasks.Task.FinishContinuations()
173 at System.Threading.Tasks.Task.FinishStageThree()
174 at System.Threading.Tasks.Task.CancellationCleanupLogic()
175 at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetCanceled(System.Threading.CancellationToken, System.Object)
176 at System.Threading.Tasks.TaskFactory`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].FromAsyncCoreLogic(System.IAsyncResult, System.Func`2<System.IAsyncResult,System.Threading.Tasks.VoidTaskResult>, System.Action`1<System.IAsyncResult>, System.Threading.Tasks.Task`1<System.Threading.Tasks.VoidTaskResult>, Boolean)
177 at System.Threading.Tasks.TaskFactory`1+<>c__DisplayClass35_0[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<FromAsyncImpl>b__0(System.IAsyncResult)
178 at System.IO.Pipes.NamedPipeServerStream.AsyncWaitForConnectionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
179 at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
180
181**2021-Nov-12 14:28:06**
182Faulting application name: ServiceHub.RoslynCodeAnalysisService32.exe, version: 1.3.77.18573, time stamp: 0xdc9a59bf
183Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
184Exception code: 0x80131623
185Fault offset: 0x0aa234ca
186Faulting process id: 0x2d4c
187Faulting application start time: 0x01d7d803c7d13c18
188Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\ServiceHub\Hosts\ServiceHub.Host.CLR.x86\ServiceHub.RoslynCodeAnalysisService32.exe
189Faulting module path: unknown
190
191**2021-Nov-12 14:28:11**
192Fault bucket 1674005537433911736, type 5
193Event Name: CLR20r3
194Response: Not available
195Cab Id: 0
196
197Problem signature:
198P1: O5DFLQX35YXZVV3T1Q5XYRCHNTQNLFQ2
199P2: 1.3.77.18573
200P3: dc9a59bf
201P4: mscorlib
202P5: 4.8.4420.0
203P6: 6109cb33
204P7: 3e6d
205P8: 15
206P9: System.OperationCanceled
207P10:
208
The last one (today's first):
1**2021-Nov-12 14:13:41**
2Application: devenv.exe
3Framework Version: v4.0.30319
4Description: The application requested process termination through System.Environment.FailFast(string message).
5Message: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
6File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
7 at System.Threading.Tasks.ValueTask`1.AsTask()
8 at Microsoft.CodeAnalysis.Document.GetSyntaxTreeAsync(CancellationToken cancellationToken)
9 at Microsoft.CodeAnalysis.Host.BackgroundParser.<>c__DisplayClass20_0.<ParseDocumentAsync>b__0()
10 at System.Threading.Tasks.Task`1.InnerInvoke()
11 at System.Threading.Tasks.Task.Execute()
12
13WRN: Assembly binding logging is turned OFF.
14To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
15Note: There is some performance penalty associated with assembly bind failure logging.
16To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
17
18Stack:
19 at System.Environment.FailFast(System.String, System.Exception)
20 at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)
21 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>)
22 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception)
23 at Roslyn.Utilities.TaskExtensions.ReportFatalErrorWorker(System.Threading.Tasks.Task, System.Object)
24 at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
25 at System.Threading.Tasks.Task.Execute()
26 at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)
27 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
28 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
29 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
30 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
31 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean)
32 at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean)
33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean)
34 at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean)
35 at System.Threading.Tasks.Task.FinishContinuations()
36 at System.Threading.Tasks.Task.FinishStageThree()
37 at System.Threading.Tasks.Task.FinishStageTwo()
38 at System.Threading.Tasks.Task.Finish(Boolean)
39 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object)
40 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetFromTask(System.Threading.Tasks.Task, Boolean)
41 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ProcessCompletedOuterTask(System.Threading.Tasks.Task)
42 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InvokeCore(System.Threading.Tasks.Task)
43 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Threading.Tasks.Task)
44 at System.Threading.Tasks.Task.FinishContinuations()
45 at System.Threading.Tasks.Task.FinishStageThree()
46 at System.Threading.Tasks.Task.FinishStageTwo()
47 at System.Threading.Tasks.Task.Finish(Boolean)
48 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
49 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
50 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
51 at System.Threading.ThreadPoolWorkQueue.Dispatch()
52 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
53**2021-Nov-12 14:14:16**
54Application: devenv.exe
55Framework Version: v4.0.30319
56Description: The application requested process termination through System.Environment.FailFast(string message).
57Message: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
58File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
59 at System.Threading.Tasks.ValueTask`1.AsTask()
60 at Microsoft.CodeAnalysis.Document.GetSyntaxTreeAsync(CancellationToken cancellationToken)
61 at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.SymbolContainment.<GetContainedSyntaxNodesAsync>d__0.MoveNext()
62--- End of stack trace from previous location where exception was thrown ---
63 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
64 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
65 at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.ContainsChildrenGraphQuery.<GetGraphAsync>d__0.MoveNext()
66
67WRN: Assembly binding logging is turned OFF.
68To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
69Note: There is some performance penalty associated with assembly bind failure logging.
70To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
71
72Stack:
73 at System.Environment.FailFast(System.String, System.Exception)
74 at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)
75 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>)
76 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception)
77 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass7_0`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>g__outerFunction|0(System.Threading.Tasks.Task)
78 at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean)
79 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetResultCore(Boolean)
80 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Result()
81 at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.GraphQueryManager+<>c__DisplayClass14_0.<PopulateContextGraphAsync>b__1(System.Threading.Tasks.Task`1<Microsoft.VisualStudio.LanguageServices.Implementation.Progression.GraphBuilder[]>)
82 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass6_0`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>b__0(System.Threading.Tasks.Task)
83 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass3_0.<SafeContinueWith>g__continuationFunction|0(System.Threading.Tasks.Task)
84 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass7_0`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>g__outerFunction|0(System.Threading.Tasks.Task)
85 at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke()
86 at System.Threading.Tasks.Task.Execute()
87 at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)
88 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
89 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
90 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
91 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
92 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
93 at System.Threading.ThreadPoolWorkQueue.Dispatch()
94 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
95**2021-Nov-12 14:14:19**
96Faulting application name: devenv.exe, version: 15.8.28010.2050, time stamp: 0x5bda1fc3
97Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
98Exception code: 0x80131623
99Fault offset: 0x19a1c93a
100Faulting process id: 0x3d44
101Faulting application start time: 0x01d7d801d444a508
102Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.exe
103Faulting module path: unknown
104Report Id: e230b637-fd72-47f8-a0d5-d2c4ccb10943
105**2021-Nov-12 14:14:35**
106Fault bucket 1659198495851531123, type 5
107Event Name: CLR20r3
108Response: Not available
109Cab Id: 0
110
111Problem signature:
112P1: devenv.exe
113P2: 15.8.28010.2050
114P3: 5bda1fc3
115P4: Microsoft.CodeAnalysis.Workspaces
116P5: 2.9.0.63208
117P6: f144aff0
118P7: 500
119P8: 41
120P9: System.IO.FileNotFoundException
121P10:
122**2021-Nov-12 14:28:05**
123Application: ServiceHub.RoslynCodeAnalysisService32.exe
124Framework Version: v4.0.30319
125Description: The application requested process termination through System.Environment.FailFast(string message).
126Message: System.OperationCanceledException: The operation was canceled.
127 at System.Threading.CancellationToken.ThrowOperationCanceledException()
128 at Microsoft.CodeAnalysis.Remote.Extensions.<InvokeAsync>d__3`1.MoveNext()
129--- End of stack trace from previous location where exception was thrown ---
130 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
131 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
132 at Microsoft.CodeAnalysis.Remote.ServiceHubServiceBase.<RunServiceAsync>d__25`1.MoveNext()
133--- End of stack trace from previous location where exception was thrown ---
134 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
135 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
136 at Microsoft.CodeAnalysis.Remote.SnapshotService.JsonRpcAssetSource.<RequestAssetsAsync>d__2.MoveNext()
137Stack:
138 at System.Environment.FailFast(System.String, System.Exception)
139 at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)
140 at Microsoft.CodeAnalysis.Remote.SnapshotService+JsonRpcAssetSource.ReportUnlessCanceled(System.Exception, System.Threading.CancellationToken)
141 at Microsoft.CodeAnalysis.Remote.SnapshotService+JsonRpcAssetSource+<RequestAssetsAsync>d__2.MoveNext()
142 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
143 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
144 at Microsoft.CodeAnalysis.Remote.SnapshotService+JsonRpcAssetSource+<RequestAssetsAsync>d__2.MoveNext()
145 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object)
146 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
147 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
148 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run()
149 at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef)
150 at System.Threading.Tasks.Task.FinishContinuations()
151 at System.Threading.Tasks.Task.FinishStageThree()
152 at System.Threading.Tasks.Task.CancellationCleanupLogic()
153 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetCanceled(System.Threading.CancellationToken, System.Object)
154 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception)
155 at Microsoft.CodeAnalysis.Remote.ServiceHubServiceBase+<RunServiceAsync>d__25`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
156 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object)
157 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
158 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
159 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run()
160 at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef)
161 at System.Threading.Tasks.Task.FinishContinuations()
162 at System.Threading.Tasks.Task.FinishStageThree()
163 at System.Threading.Tasks.Task.CancellationCleanupLogic()
164 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetCanceled(System.Threading.CancellationToken, System.Object)
165 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception)
166 at Microsoft.CodeAnalysis.Remote.Extensions+<InvokeAsync>d__3`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
167 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object)
168 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
169 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
170 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run()
171 at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef)
172 at System.Threading.Tasks.Task.FinishContinuations()
173 at System.Threading.Tasks.Task.FinishStageThree()
174 at System.Threading.Tasks.Task.CancellationCleanupLogic()
175 at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetCanceled(System.Threading.CancellationToken, System.Object)
176 at System.Threading.Tasks.TaskFactory`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].FromAsyncCoreLogic(System.IAsyncResult, System.Func`2<System.IAsyncResult,System.Threading.Tasks.VoidTaskResult>, System.Action`1<System.IAsyncResult>, System.Threading.Tasks.Task`1<System.Threading.Tasks.VoidTaskResult>, Boolean)
177 at System.Threading.Tasks.TaskFactory`1+<>c__DisplayClass35_0[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<FromAsyncImpl>b__0(System.IAsyncResult)
178 at System.IO.Pipes.NamedPipeServerStream.AsyncWaitForConnectionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
179 at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
180
181**2021-Nov-12 14:28:06**
182Faulting application name: ServiceHub.RoslynCodeAnalysisService32.exe, version: 1.3.77.18573, time stamp: 0xdc9a59bf
183Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
184Exception code: 0x80131623
185Fault offset: 0x0aa234ca
186Faulting process id: 0x2d4c
187Faulting application start time: 0x01d7d803c7d13c18
188Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\ServiceHub\Hosts\ServiceHub.Host.CLR.x86\ServiceHub.RoslynCodeAnalysisService32.exe
189Faulting module path: unknown
190
191**2021-Nov-12 14:28:11**
192Fault bucket 1674005537433911736, type 5
193Event Name: CLR20r3
194Response: Not available
195Cab Id: 0
196
197Problem signature:
198P1: O5DFLQX35YXZVV3T1Q5XYRCHNTQNLFQ2
199P2: 1.3.77.18573
200P3: dc9a59bf
201P4: mscorlib
202P5: 4.8.4420.0
203P6: 6109cb33
204P7: 3e6d
205P8: 15
206P9: System.OperationCanceled
207P10:
208**2021-Nov-15 09:45:25**
209Application: devenv.exe
210Framework Version: v4.0.30319
211Description: The application requested process termination through System.Environment.FailFast(string message).
212Message: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
213File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
214 at System.Threading.Tasks.ValueTask`1.AsTask()
215 at Microsoft.CodeAnalysis.Document.GetSyntaxTreeAsync(CancellationToken cancellationToken)
216 at Microsoft.CodeAnalysis.Host.BackgroundParser.<>c__DisplayClass20_0.<ParseDocumentAsync>b__0()
217 at System.Threading.Tasks.Task`1.InnerInvoke()
218 at System.Threading.Tasks.Task.Execute()
219
220WRN: Assembly binding logging is turned OFF.
221To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
222Note: There is some performance penalty associated with assembly bind failure logging.
223To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
224
225Stack:
226 at System.Environment.FailFast(System.String, System.Exception)
227 at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)
228 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>)
229 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception)
230 at Roslyn.Utilities.TaskExtensions.ReportFatalErrorWorker(System.Threading.Tasks.Task, System.Object)
231 at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
232 at System.Threading.Tasks.Task.Execute()
233 at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)
234 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
235 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
236 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
237 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
238 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean)
239 at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean)
240 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean)
241 at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean)
242 at System.Threading.Tasks.Task.FinishContinuations()
243 at System.Threading.Tasks.Task.FinishStageThree()
244 at System.Threading.Tasks.Task.FinishStageTwo()
245 at System.Threading.Tasks.Task.Finish(Boolean)
246 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object)
247 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetFromTask(System.Threading.Tasks.Task, Boolean)
248 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ProcessCompletedOuterTask(System.Threading.Tasks.Task)
249 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InvokeCore(System.Threading.Tasks.Task)
250 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Threading.Tasks.Task)
251 at System.Threading.Tasks.Task.FinishContinuations()
252 at System.Threading.Tasks.Task.FinishStageThree()
253 at System.Threading.Tasks.Task.FinishStageTwo()
254 at System.Threading.Tasks.Task.Finish(Boolean)
255 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
256 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
257 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
258 at System.Threading.ThreadPoolWorkQueue.Dispatch()
259 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
260
Roslyn.Utilities.TaskExtensions.ReportFatalErrorWorker() seems to be a common fault catcher, so my guess is the issue has smth to do with background code analysis, launched upon loading a solution. Who broke it and how?
Searching for the error message System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
gave me the following links: 1, 2, 3, 4, 5.
But none of those describe my scenario. I do not have any [known] dependency on that library in any of my projects. Until Fri I wasn't even aware of it!
Prior to trying a possible remedy, suggested in 3's accepted answer ("the error went away after I ran a NuGet update for that DLL"), I want to understand, what the hell happened (and how!)? I do not have an explicit entry for such NuGet package in my list. I did not install or change anything recently.
This fiasco is precisely the reason why I try to keep rarely-changing [=> known & stable] development environment.
Searching for System.Runtime.CompilerServices.Unsafe.dll
on the HDD produces the following:
1**2021-Nov-12 14:13:41**
2Application: devenv.exe
3Framework Version: v4.0.30319
4Description: The application requested process termination through System.Environment.FailFast(string message).
5Message: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
6File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
7 at System.Threading.Tasks.ValueTask`1.AsTask()
8 at Microsoft.CodeAnalysis.Document.GetSyntaxTreeAsync(CancellationToken cancellationToken)
9 at Microsoft.CodeAnalysis.Host.BackgroundParser.<>c__DisplayClass20_0.<ParseDocumentAsync>b__0()
10 at System.Threading.Tasks.Task`1.InnerInvoke()
11 at System.Threading.Tasks.Task.Execute()
12
13WRN: Assembly binding logging is turned OFF.
14To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
15Note: There is some performance penalty associated with assembly bind failure logging.
16To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
17
18Stack:
19 at System.Environment.FailFast(System.String, System.Exception)
20 at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)
21 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>)
22 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception)
23 at Roslyn.Utilities.TaskExtensions.ReportFatalErrorWorker(System.Threading.Tasks.Task, System.Object)
24 at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
25 at System.Threading.Tasks.Task.Execute()
26 at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)
27 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
28 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
29 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
30 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
31 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean)
32 at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean)
33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean)
34 at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean)
35 at System.Threading.Tasks.Task.FinishContinuations()
36 at System.Threading.Tasks.Task.FinishStageThree()
37 at System.Threading.Tasks.Task.FinishStageTwo()
38 at System.Threading.Tasks.Task.Finish(Boolean)
39 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object)
40 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetFromTask(System.Threading.Tasks.Task, Boolean)
41 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ProcessCompletedOuterTask(System.Threading.Tasks.Task)
42 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InvokeCore(System.Threading.Tasks.Task)
43 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Threading.Tasks.Task)
44 at System.Threading.Tasks.Task.FinishContinuations()
45 at System.Threading.Tasks.Task.FinishStageThree()
46 at System.Threading.Tasks.Task.FinishStageTwo()
47 at System.Threading.Tasks.Task.Finish(Boolean)
48 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
49 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
50 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
51 at System.Threading.ThreadPoolWorkQueue.Dispatch()
52 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
53**2021-Nov-12 14:14:16**
54Application: devenv.exe
55Framework Version: v4.0.30319
56Description: The application requested process termination through System.Environment.FailFast(string message).
57Message: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
58File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
59 at System.Threading.Tasks.ValueTask`1.AsTask()
60 at Microsoft.CodeAnalysis.Document.GetSyntaxTreeAsync(CancellationToken cancellationToken)
61 at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.SymbolContainment.<GetContainedSyntaxNodesAsync>d__0.MoveNext()
62--- End of stack trace from previous location where exception was thrown ---
63 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
64 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
65 at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.ContainsChildrenGraphQuery.<GetGraphAsync>d__0.MoveNext()
66
67WRN: Assembly binding logging is turned OFF.
68To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
69Note: There is some performance penalty associated with assembly bind failure logging.
70To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
71
72Stack:
73 at System.Environment.FailFast(System.String, System.Exception)
74 at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)
75 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>)
76 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled(System.Exception)
77 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass7_0`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>g__outerFunction|0(System.Threading.Tasks.Task)
78 at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean)
79 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetResultCore(Boolean)
80 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Result()
81 at Microsoft.VisualStudio.LanguageServices.Implementation.Progression.GraphQueryManager+<>c__DisplayClass14_0.<PopulateContextGraphAsync>b__1(System.Threading.Tasks.Task`1<Microsoft.VisualStudio.LanguageServices.Implementation.Progression.GraphBuilder[]>)
82 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass6_0`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>b__0(System.Threading.Tasks.Task)
83 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass3_0.<SafeContinueWith>g__continuationFunction|0(System.Threading.Tasks.Task)
84 at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass7_0`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>g__outerFunction|0(System.Threading.Tasks.Task)
85 at System.Threading.Tasks.ContinuationResultTaskFromTask`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke()
86 at System.Threading.Tasks.Task.Execute()
87 at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)
88 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
89 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
90 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
91 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
92 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
93 at System.Threading.ThreadPoolWorkQueue.Dispatch()
94 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
95**2021-Nov-12 14:14:19**
96Faulting application name: devenv.exe, version: 15.8.28010.2050, time stamp: 0x5bda1fc3
97Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
98Exception code: 0x80131623
99Fault offset: 0x19a1c93a
100Faulting process id: 0x3d44
101Faulting application start time: 0x01d7d801d444a508
102Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.exe
103Faulting module path: unknown
104Report Id: e230b637-fd72-47f8-a0d5-d2c4ccb10943
105**2021-Nov-12 14:14:35**
106Fault bucket 1659198495851531123, type 5
107Event Name: CLR20r3
108Response: Not available
109Cab Id: 0
110
111Problem signature:
112P1: devenv.exe
113P2: 15.8.28010.2050
114P3: 5bda1fc3
115P4: Microsoft.CodeAnalysis.Workspaces
116P5: 2.9.0.63208
117P6: f144aff0
118P7: 500
119P8: 41
120P9: System.IO.FileNotFoundException
121P10:
122**2021-Nov-12 14:28:05**
123Application: ServiceHub.RoslynCodeAnalysisService32.exe
124Framework Version: v4.0.30319
125Description: The application requested process termination through System.Environment.FailFast(string message).
126Message: System.OperationCanceledException: The operation was canceled.
127 at System.Threading.CancellationToken.ThrowOperationCanceledException()
128 at Microsoft.CodeAnalysis.Remote.Extensions.<InvokeAsync>d__3`1.MoveNext()
129--- End of stack trace from previous location where exception was thrown ---
130 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
131 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
132 at Microsoft.CodeAnalysis.Remote.ServiceHubServiceBase.<RunServiceAsync>d__25`1.MoveNext()
133--- End of stack trace from previous location where exception was thrown ---
134 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
135 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
136 at Microsoft.CodeAnalysis.Remote.SnapshotService.JsonRpcAssetSource.<RequestAssetsAsync>d__2.MoveNext()
137Stack:
138 at System.Environment.FailFast(System.String, System.Exception)
139 at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)
140 at Microsoft.CodeAnalysis.Remote.SnapshotService+JsonRpcAssetSource.ReportUnlessCanceled(System.Exception, System.Threading.CancellationToken)
141 at Microsoft.CodeAnalysis.Remote.SnapshotService+JsonRpcAssetSource+<RequestAssetsAsync>d__2.MoveNext()
142 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
143 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
144 at Microsoft.CodeAnalysis.Remote.SnapshotService+JsonRpcAssetSource+<RequestAssetsAsync>d__2.MoveNext()
145 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object)
146 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
147 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
148 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run()
149 at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef)
150 at System.Threading.Tasks.Task.FinishContinuations()
151 at System.Threading.Tasks.Task.FinishStageThree()
152 at System.Threading.Tasks.Task.CancellationCleanupLogic()
153 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetCanceled(System.Threading.CancellationToken, System.Object)
154 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception)
155 at Microsoft.CodeAnalysis.Remote.ServiceHubServiceBase+<RunServiceAsync>d__25`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
156 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object)
157 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
158 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
159 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run()
160 at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef)
161 at System.Threading.Tasks.Task.FinishContinuations()
162 at System.Threading.Tasks.Task.FinishStageThree()
163 at System.Threading.Tasks.Task.CancellationCleanupLogic()
164 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetCanceled(System.Threading.CancellationToken, System.Object)
165 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetException(System.Exception)
166 at Microsoft.CodeAnalysis.Remote.Extensions+<InvokeAsync>d__3`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
167 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object)
168 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
169 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
170 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run()
171 at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action, Boolean, System.Threading.Tasks.Task ByRef)
172 at System.Threading.Tasks.Task.FinishContinuations()
173 at System.Threading.Tasks.Task.FinishStageThree()
174 at System.Threading.Tasks.Task.CancellationCleanupLogic()
175 at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetCanceled(System.Threading.CancellationToken, System.Object)
176 at System.Threading.Tasks.TaskFactory`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].FromAsyncCoreLogic(System.IAsyncResult, System.Func`2<System.IAsyncResult,System.Threading.Tasks.VoidTaskResult>, System.Action`1<System.IAsyncResult>, System.Threading.Tasks.Task`1<System.Threading.Tasks.VoidTaskResult>, Boolean)
177 at System.Threading.Tasks.TaskFactory`1+<>c__DisplayClass35_0[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<FromAsyncImpl>b__0(System.IAsyncResult)
178 at System.IO.Pipes.NamedPipeServerStream.AsyncWaitForConnectionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
179 at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
180
181**2021-Nov-12 14:28:06**
182Faulting application name: ServiceHub.RoslynCodeAnalysisService32.exe, version: 1.3.77.18573, time stamp: 0xdc9a59bf
183Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
184Exception code: 0x80131623
185Fault offset: 0x0aa234ca
186Faulting process id: 0x2d4c
187Faulting application start time: 0x01d7d803c7d13c18
188Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\ServiceHub\Hosts\ServiceHub.Host.CLR.x86\ServiceHub.RoslynCodeAnalysisService32.exe
189Faulting module path: unknown
190
191**2021-Nov-12 14:28:11**
192Fault bucket 1674005537433911736, type 5
193Event Name: CLR20r3
194Response: Not available
195Cab Id: 0
196
197Problem signature:
198P1: O5DFLQX35YXZVV3T1Q5XYRCHNTQNLFQ2
199P2: 1.3.77.18573
200P3: dc9a59bf
201P4: mscorlib
202P5: 4.8.4420.0
203P6: 6109cb33
204P7: 3e6d
205P8: 15
206P9: System.OperationCanceled
207P10:
208**2021-Nov-15 09:45:25**
209Application: devenv.exe
210Framework Version: v4.0.30319
211Description: The application requested process termination through System.Environment.FailFast(string message).
212Message: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
213File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
214 at System.Threading.Tasks.ValueTask`1.AsTask()
215 at Microsoft.CodeAnalysis.Document.GetSyntaxTreeAsync(CancellationToken cancellationToken)
216 at Microsoft.CodeAnalysis.Host.BackgroundParser.<>c__DisplayClass20_0.<ParseDocumentAsync>b__0()
217 at System.Threading.Tasks.Task`1.InnerInvoke()
218 at System.Threading.Tasks.Task.Execute()
219
220WRN: Assembly binding logging is turned OFF.
221To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
222Note: There is some performance penalty associated with assembly bind failure logging.
223To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
224
225Stack:
226 at System.Environment.FailFast(System.String, System.Exception)
227 at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception)
228 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action`1<System.Exception>)
229 at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception)
230 at Roslyn.Utilities.TaskExtensions.ReportFatalErrorWorker(System.Threading.Tasks.Task, System.Object)
231 at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
232 at System.Threading.Tasks.Task.Execute()
233 at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)
234 at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
235 at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
236 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
237 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
238 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean)
239 at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean)
240 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task, Boolean)
241 at System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task, Boolean)
242 at System.Threading.Tasks.Task.FinishContinuations()
243 at System.Threading.Tasks.Task.FinishStageThree()
244 at System.Threading.Tasks.Task.FinishStageTwo()
245 at System.Threading.Tasks.Task.Finish(Boolean)
246 at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetException(System.Object)
247 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TrySetFromTask(System.Threading.Tasks.Task, Boolean)
248 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ProcessCompletedOuterTask(System.Threading.Tasks.Task)
249 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InvokeCore(System.Threading.Tasks.Task)
250 at System.Threading.Tasks.UnwrapPromise`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Threading.Tasks.Task)
251 at System.Threading.Tasks.Task.FinishContinuations()
252 at System.Threading.Tasks.Task.FinishStageThree()
253 at System.Threading.Tasks.Task.FinishStageTwo()
254 at System.Threading.Tasks.Task.Finish(Boolean)
255 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
256 at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
257 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
258 at System.Threading.ThreadPoolWorkQueue.Dispatch()
259 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
260C:\>dir System.Runtime.CompilerServices.Unsafe.* /s /n
261
262C:\Program Files\dotnet\sdk\2.1.403\DotnetTools\dotnet-sql-cache\2.1.1\tools\netcoreapp2.1\any
263 2018-Sep-20 14:48 14,712
264
265C:\Program Files\dotnet\sdk\2.1.403\DotnetTools\dotnet-user-secrets\2.1.1\tools\netcoreapp2.1\any
266 2018-Sep-20 14:48 14,928
267
268C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.runtime.compilerservices.unsafe\4.4.0
269 2018-Nov-08 16:14 62,144 system.runtime.compilerservices.unsafe.4.4.0.nupkg
270
271C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.runtime.compilerservices.unsafe\4.4.0\lib\netstandard1.0
272 2018-Nov-08 16:14 21,792
273
274C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.runtime.compilerservices.unsafe\4.4.0\lib\netstandard2.0
275 2018-Nov-08 16:14 21,944
276
277C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.runtime.compilerservices.unsafe\4.4.0\ref\netstandard1.0
278 2018-Nov-08 16:14 22,968
279
280C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.runtime.compilerservices.unsafe\4.4.0\ref\netstandard2.0
281 2018-Nov-08 16:14 23,480
282
283C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.runtime.compilerservices.unsafe\4.5.0
284 2018-Nov-08 16:10 87,453 system.runtime.compilerservices.unsafe.4.5.0.nupkg
285
286C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.runtime.compilerservices.unsafe\4.5.0\lib\netcoreapp2.0
287 2018-Nov-08 16