Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

watchman doesn't work on windows 7 again!! #830

Open
yangwencan2002 opened this issue Jul 13, 2020 · 10 comments
Open

watchman doesn't work on windows 7 again!! #830

yangwencan2002 opened this issue Jul 13, 2020 · 10 comments

Comments

@yangwencan2002
Copy link

No description provided.

@yangwencan2002 yangwencan2002 changed the title watchman doesn't work on windows 7 watchman doesn't work on windows 7 again!! Jul 13, 2020
@wez
Copy link
Contributor

wez commented Jul 13, 2020

Please explain in more detail what you tried, what you saw and what you expected to happen.

@yangwencan2002
Copy link
Author

yangwencan2002 commented Jul 15, 2020

Thanks for your reply.I try the latest build from here: https://github.com/facebook/watchman/releases/tag/v2020.07.13.00 , and set it to PATH variable on windows 7,but after write 'watchman watch D:\wathman_test' in cmd , there is nothing happen.After a few minutes,it got like this:[cli] unable to talk to your watchman on \.pipe\watchman-80270387! @wez

@wez
Copy link
Contributor

wez commented Jul 15, 2020

Please share the output from:

watchman --no-spawn get-sockname

Please also share your log file contents; you should be able to find them in %LOCALAPPDATA%\watchman\log

@yangwencan2002
Copy link
Author

yangwencan2002 commented Jul 16, 2020

%LOCALAPPDATA%\watchman\log:

2020-07-13T19:41:29,810: [listener] Watchman 20200712.162157.0 f73e809 starting up on RC802703871
2020-07-13T19:41:29,826: [listener] failed to parse json from C:/Users/80270387/AppData/Local/watchman/state: unable to open C:/Users/80270387/AppData/Local/watchman/state: No such file or directory
2020-07-13T19:41:29,904: [listener] Unhandled win32 exception. Fatal error detected at:
#0 000007FEFD6ABDFD RaiseException
#1 000007FEFC2D46E2 CxxThrowException
#2 000000013FFC5710 <failed to resolve symbol: 试图访问无效的地址。

#3 0000000140050AA5 <failed to resolve symbol: 试图访问无效的地址。

#4 0000000140053862 <failed to resolve symbol: 试图访问无效的地址。

#5 0000000140064C58 <failed to resolve symbol: 试图访问无效的地址。

#6 000000014006574D <failed to resolve symbol: 试图访问无效的地址。

#7 00000001402B8940 <failed to resolve symbol: 试图访问无效的地址。

#8 00000000771F556D BaseThreadInitThunk
#9 000000007745385D RtlUserThreadStart
the stack trace for the exception filter call is:
#0 0000000077479015 longjmp
#1 0000000077457388 _C_specific_handler
#2 000000007746BF7D _chkstk
#3 000000007744043A RtlInitializeResource
#4 0000000077443C3F RtlRaiseException
#5 000007FEFD6ABDFD RaiseException
#6 000007FEFC2D46E2 CxxThrowException
#7 000000013FFC5710 <failed to resolve symbol: 试图访问无效的地址。

#8 0000000140050AA5 <failed to resolve symbol: 试图访问无效的地址。

#9 0000000140053862 <failed to resolve symbol: 试图访问无效的地址。

#10 0000000140064C58 <failed to resolve symbol: 试图访问无效的地址。

#11 000000014006574D <failed to resolve symbol: 试图访问无效的地址。

#12 00000001402B8940 <failed to resolve symbol: 试图访问无效的地址。

#13 00000000771F556D BaseThreadInitThunk
#14 000000007745385D RtlUserThreadStart
2020-07-15T19:44:54,107: [listener] Watchman 20200712.162157.0 f73e809 starting up on RC802703871
2020-07-15T19:44:54,139: [listener] failed to parse json from C:/Users/80270387/AppData/Local/watchman/state: unable to open C:/Users/80270387/AppData/Local/watchman/state: No such file or directory
2020-07-15T19:44:54,435: [listener] Unhandled win32 exception. Fatal error detected at:
#0 000007FEFD6ABDFD RaiseException
#1 000007FEFC2D46E2 CxxThrowException
#2 000000013F845710 <failed to resolve symbol: 试图访问无效的地址。

#3 000000013F8D0AA5 <failed to resolve symbol: 试图访问无效的地址。

#4 000000013F8D3862 <failed to resolve symbol: 试图访问无效的地址。

#5 000000013F8E4C58 <failed to resolve symbol: 试图访问无效的地址。

#6 000000013F8E574D <failed to resolve symbol: 试图访问无效的地址。

#7 000000013FB38940 <failed to resolve symbol: 试图访问无效的地址。

#8 00000000771F556D BaseThreadInitThunk
#9 000000007745385D RtlUserThreadStart
the stack trace for the exception filter call is:
#0 0000000077479015 longjmp
#1 0000000077457388 _C_specific_handler
#2 000000007746BF7D _chkstk
#3 000000007744043A RtlInitializeResource
#4 0000000077443C3F RtlRaiseException
#5 000007FEFD6ABDFD RaiseException
#6 000007FEFC2D46E2 CxxThrowException
#7 000000013F845710 <failed to resolve symbol: 试图访问无效的地址。

#8 000000013F8D0AA5 <failed to resolve symbol: 试图访问无效的地址。

#9 000000013F8D3862 <failed to resolve symbol: 试图访问无效的地址。

#10 000000013F8E4C58 <failed to resolve symbol: 试图访问无效的地址。

#11 000000013F8E574D <failed to resolve symbol: 试图访问无效的地址。

#12 000000013FB38940 <failed to resolve symbol: 试图访问无效的地址。

#13 00000000771F556D BaseThreadInitThunk
#14 000000007745385D RtlUserThreadStart
2020-07-15T19:50:53,250: [listener] Watchman 20200712.162157.0 f73e809 starting up on RC802703871
2020-07-15T19:50:53,250: [listener] failed to parse json from C:/Users/80270387/AppData/Local/watchman/state: unable to open C:/Users/80270387/AppData/Local/watchman/state: No such file or directory
2020-07-15T19:50:53,329: [listener] Unhandled win32 exception. Fatal error detected at:
#0 000007FEFD6ABDFD RaiseException
#1 000007FEFC2D46E2 CxxThrowException
#2 000000013FA95710 <failed to resolve symbol: 试图访问无效的地址。

#3 000000013FB20AA5 <failed to resolve symbol: 试图访问无效的地址。

#4 000000013FB23862 <failed to resolve symbol: 试图访问无效的地址。

#5 000000013FB34C58 <failed to resolve symbol: 试图访问无效的地址。

#6 000000013FB3574D <failed to resolve symbol: 试图访问无效的地址。

#7 000000013FD88940 <failed to resolve symbol: 试图访问无效的地址。

#8 00000000771F556D BaseThreadInitThunk
#9 000000007745385D RtlUserThreadStart
the stack trace for the exception filter call is:
#0 0000000077479015 longjmp
#1 0000000077457388 _C_specific_handler
#2 000000007746BF7D _chkstk
#3 000000007744043A RtlInitializeResource
#4 0000000077443C3F RtlRaiseException
#5 000007FEFD6ABDFD RaiseException
#6 000007FEFC2D46E2 CxxThrowException
#7 000000013FA95710 <failed to resolve symbol: 试图访问无效的地址。

#8 000000013FB20AA5 <failed to resolve symbol: 试图访问无效的地址。

#9 000000013FB23862 <failed to resolve symbol: 试图访问无效的地址。

#10 000000013FB34C58 <failed to resolve symbol: 试图访问无效的地址。

#11 000000013FB3574D <failed to resolve symbol: 试图访问无效的地址。

#12 000000013FD88940 <failed to resolve symbol: 试图访问无效的地址。

#13 00000000771F556D BaseThreadInitThunk
#14 000000007745385D RtlUserThreadStart
2020-07-15T19:51:42,334: [listener] Watchman 20200712.162157.0 f73e809 starting up on RC802703871
2020-07-15T19:51:42,334: [listener] failed to parse json from C:/Users/80270387/AppData/Local/watchman/state: unable to open C:/Users/80270387/AppData/Local/watchman/state: No such file or directory
2020-07-15T19:51:42,427: [listener] Unhandled win32 exception. Fatal error detected at:
#0 000007FEFD6ABDFD RaiseException
#1 000007FEFC2D46E2 CxxThrowException
#2 000000013F9D5710 <failed to resolve symbol: 试图访问无效的地址。

#3 000000013FA60AA5 <failed to resolve symbol: 试图访问无效的地址。

#4 000000013FA63862 <failed to resolve symbol: 试图访问无效的地址。

#5 000000013FA74C58 <failed to resolve symbol: 试图访问无效的地址。

#6 000000013FA7574D <failed to resolve symbol: 试图访问无效的地址。

#7 000000013FCC8940 <failed to resolve symbol: 试图访问无效的地址。

#8 00000000771F556D BaseThreadInitThunk
#9 000000007745385D RtlUserThreadStart
the stack trace for the exception filter call is:
#0 0000000077479015 longjmp
#1 0000000077457388 _C_specific_handler
#2 000000007746BF7D _chkstk
#3 000000007744043A RtlInitializeResource
#4 0000000077443C3F RtlRaiseException
#5 000007FEFD6ABDFD RaiseException
#6 000007FEFC2D46E2 CxxThrowException
#7 000000013F9D5710 <failed to resolve symbol: 试图访问无效的地址。

#8 000000013FA60AA5 <failed to resolve symbol: 试图访问无效的地址。

#9 000000013FA63862 <failed to resolve symbol: 试图访问无效的地址。

#10 000000013FA74C58 <failed to resolve symbol: 试图访问无效的地址。

#11 000000013FA7574D <failed to resolve symbol: 试图访问无效的地址。

#12 000000013FCC8940 <failed to resolve symbol: 试图访问无效的地址。

#13 00000000771F556D BaseThreadInitThunk
#14 000000007745385D RtlUserThreadStart
2020-07-15T19:52:45,393: [listener] Watchman 20200712.162157.0 f73e809 starting up on RC802703871
2020-07-15T19:52:45,409: [listener] failed to parse json from C:/Users/80270387/AppData/Local/watchman/state: unable to open C:/Users/80270387/AppData/Local/watchman/state: No such file or directory
2020-07-15T19:52:45,471: [listener] Unhandled win32 exception. Fatal error detected at:
#0 000007FEFD6ABDFD RaiseException
#1 000007FEFC2D46E2 CxxThrowException
#2 000000013F425710 <failed to resolve symbol: 试图访问无效的地址。

#3 000000013F4B0AA5 <failed to resolve symbol: 试图访问无效的地址。

#4 000000013F4B3862 <failed to resolve symbol: 试图访问无效的地址。

#5 000000013F4C4C58 <failed to resolve symbol: 试图访问无效的地址。

#6 000000013F4C574D <failed to resolve symbol: 试图访问无效的地址。

#7 000000013F718940 <failed to resolve symbol: 试图访问无效的地址。

#8 00000000771F556D BaseThreadInitThunk
#9 000000007745385D RtlUserThreadStart
the stack trace for the exception filter call is:
#0 0000000077479015 longjmp
#1 0000000077457388 _C_specific_handler
#2 000000007746BF7D _chkstk
#3 000000007744043A RtlInitializeResource
#4 0000000077443C3F RtlRaiseException
#5 000007FEFD6ABDFD RaiseException
#6 000007FEFC2D46E2 CxxThrowException
#7 000000013F425710 <failed to resolve symbol: 试图访问无效的地址。

#8 000000013F4B0AA5 <failed to resolve symbol: 试图访问无效的地址。

#9 000000013F4B3862 <failed to resolve symbol: 试图访问无效的地址。

#10 000000013F4C4C58 <failed to resolve symbol: 试图访问无效的地址。

#11 000000013F4C574D <failed to resolve symbol: 试图访问无效的地址。

#12 000000013F718940 <failed to resolve symbol: 试图访问无效的地址。

#13 00000000771F556D BaseThreadInitThunk
#14 000000007745385D RtlUserThreadStart
2020-07-15T19:54:36,194: [listener] Watchman 20200712.162157.0 f73e809 starting up on RC802703871
2020-07-15T19:54:36,194: [listener] failed to parse json from C:/Users/80270387/AppData/Local/watchman/state: unable to open C:/Users/80270387/AppData/Local/watchman/state: No such file or directory
2020-07-15T19:54:36,272: [listener] Unhandled win32 exception. Fatal error detected at:
#0 000007FEFD6ABDFD RaiseException
#1 000007FEFC2D46E2 CxxThrowException
#2 000000013F455710 <failed to resolve symbol: 试图访问无效的地址。

#3 000000013F4E0AA5 <failed to resolve symbol: 试图访问无效的地址。

#4 000000013F4E3862 <failed to resolve symbol: 试图访问无效的地址。

#5 000000013F4F4C58 <failed to resolve symbol: 试图访问无效的地址。

#6 000000013F4F574D <failed to resolve symbol: 试图访问无效的地址。

#7 000000013F748940 <failed to resolve symbol: 试图访问无效的地址。

#8 00000000771F556D BaseThreadInitThunk
#9 000000007745385D RtlUserThreadStart
the stack trace for the exception filter call is:
#0 0000000077479015 longjmp
#1 0000000077457388 _C_specific_handler
#2 000000007746BF7D _chkstk
#3 000000007744043A RtlInitializeResource
#4 0000000077443C3F RtlRaiseException
#5 000007FEFD6ABDFD RaiseException
#6 000007FEFC2D46E2 CxxThrowException
#7 000000013F455710 <failed to resolve symbol: 试图访问无效的地址。

#8 000000013F4E0AA5 <failed to resolve symbol: 试图访问无效的地址。

#9 000000013F4E3862 <failed to resolve symbol: 试图访问无效的地址。

#10 000000013F4F4C58 <failed to resolve symbol: 试图访问无效的地址。

#11 000000013F4F574D <failed to resolve symbol: 试图访问无效的地址。

#12 000000013F748940 <failed to resolve symbol: 试图访问无效的地址。

#13 00000000771F556D BaseThreadInitThunk
#14 000000007745385D RtlUserThreadStart
2020-07-15T20:04:06,217: [listener] Watchman 20200712.162157.0 f73e809 starting up on RC802703871
2020-07-15T20:04:06,217: [listener] failed to parse json from C:/Users/80270387/AppData/Local/watchman/state: unable to open C:/Users/80270387/AppData/Local/watchman/state: No such file or directory
2020-07-15T20:04:06,280: [listener] Unhandled win32 exception. Fatal error detected at:
#0 000007FEFD6ABDFD RaiseException
#1 000007FEFC2D46E2 CxxThrowException
#2 0000000140075710 <failed to resolve symbol: 试图访问无效的地址。

#3 0000000140100AA5 <failed to resolve symbol: 试图访问无效的地址。

#4 0000000140103862 <failed to resolve symbol: 试图访问无效的地址。

#5 0000000140114C58 <failed to resolve symbol: 试图访问无效的地址。

#6 000000014011574D <failed to resolve symbol: 试图访问无效的地址。

#7 0000000140368940 <failed to resolve symbol: 试图访问无效的地址。

#8 00000000771F556D BaseThreadInitThunk
#9 000000007745385D RtlUserThreadStart
the stack trace for the exception filter call is:
#0 0000000077479015 longjmp
#1 0000000077457388 _C_specific_handler
#2 000000007746BF7D _chkstk
#3 000000007744043A RtlInitializeResource
#4 0000000077443C3F RtlRaiseException
#5 000007FEFD6ABDFD RaiseException
#6 000007FEFC2D46E2 CxxThrowException
#7 0000000140075710 <failed to resolve symbol: 试图访问无效的地址。

#8 0000000140100AA5 <failed to resolve symbol: 试图访问无效的地址。

#9 0000000140103862 <failed to resolve symbol: 试图访问无效的地址。

#10 0000000140114C58 <failed to resolve symbol: 试图访问无效的地址。

#11 000000014011574D <failed to resolve symbol: 试图访问无效的地址。

#12 0000000140368940 <failed to resolve symbol: 试图访问无效的地址。

#13 00000000771F556D BaseThreadInitThunk
#14 000000007745385D RtlUserThreadStart
2020-07-15T20:04:39,436: [listener] Watchman 20200712.162157.0 f73e809 starting up on RC802703871
2020-07-15T20:04:39,451: [listener] failed to parse json from C:/Users/80270387/AppData/Local/watchman/state: unable to open C:/Users/80270387/AppData/Local/watchman/state: No such file or directory
2020-07-15T20:04:39,529: [listener] Unhandled win32 exception. Fatal error detected at:
#0 000007FEFD6ABDFD RaiseException
#1 000007FEFC2D46E2 CxxThrowException
#2 000000013FF75710 <failed to resolve symbol: 试图访问无效的地址。

#3 0000000140000AA5 <failed to resolve symbol: 试图访问无效的地址。

#4 0000000140003862 <failed to resolve symbol: 试图访问无效的地址。

#5 0000000140014C58 <failed to resolve symbol: 试图访问无效的地址。

#6 000000014001574D <failed to resolve symbol: 试图访问无效的地址。

#7 0000000140268940 <failed to resolve symbol: 试图访问无效的地址。

#8 00000000771F556D BaseThreadInitThunk
#9 000000007745385D RtlUserThreadStart
the stack trace for the exception filter call is:
#0 0000000077479015 longjmp
#1 0000000077457388 _C_specific_handler
#2 000000007746BF7D _chkstk
#3 000000007744043A RtlInitializeResource
#4 0000000077443C3F RtlRaiseException
#5 000007FEFD6ABDFD RaiseException
#6 000007FEFC2D46E2 CxxThrowException
#7 000000013FF75710 <failed to resolve symbol: 试图访问无效的地址。

#8 0000000140000AA5 <failed to resolve symbol: 试图访问无效的地址。

#9 0000000140003862 <failed to resolve symbol: 试图访问无效的地址。

#10 0000000140014C58 <failed to resolve symbol: 试图访问无效的地址。

#11 000000014001574D <failed to resolve symbol: 试图访问无效的地址。

#12 0000000140268940 <failed to resolve symbol: 试图访问无效的地址。

#13 00000000771F556D BaseThreadInitThunk
#14 000000007745385D RtlUserThreadStart
2020-07-15T20:04:47,858: [listener] Watchman 20200712.162157.0 f73e809 starting up on RC802703871
2020-07-15T20:04:47,873: [listener] failed to parse json from C:/Users/80270387/AppData/Local/watchman/state: unable to open C:/Users/80270387/AppData/Local/watchman/state: No such file or directory
2020-07-15T20:04:47,936: [listener] Unhandled win32 exception. Fatal error detected at:
#0 000007FEFD6ABDFD RaiseException
#1 000007FEFC2D46E2 CxxThrowException
#2 000000013F765710 <failed to resolve symbol: 试图访问无效的地址。

#3 000000013F7F0AA5 <failed to resolve symbol: 试图访问无效的地址。

#4 000000013F7F3862 <failed to resolve symbol: 试图访问无效的地址。

#5 000000013F804C58 <failed to resolve symbol: 试图访问无效的地址。

#6 000000013F80574D <failed to resolve symbol: 试图访问无效的地址。

#7 000000013FA58940 <failed to resolve symbol: 试图访问无效的地址。

#8 00000000771F556D BaseThreadInitThunk
#9 000000007745385D RtlUserThreadStart
the stack trace for the exception filter call is:
#0 0000000077479015 longjmp
#1 0000000077457388 _C_specific_handler
#2 000000007746BF7D _chkstk
#3 000000007744043A RtlInitializeResource
#4 0000000077443C3F RtlRaiseException
#5 000007FEFD6ABDFD RaiseException
#6 000007FEFC2D46E2 CxxThrowException
#7 000000013F765710 <failed to resolve symbol: 试图访问无效的地址。

#8 000000013F7F0AA5 <failed to resolve symbol: 试图访问无效的地址。

#9 000000013F7F3862 <failed to resolve symbol: 试图访问无效的地址。

#10 000000013F804C58 <failed to resolve symbol: 试图访问无效的地址。

#11 000000013F80574D <failed to resolve symbol: 试图访问无效的地址。

#12 000000013FA58940 <failed to resolve symbol: 试图访问无效的地址。

#13 00000000771F556D BaseThreadInitThunk
#14 000000007745385D RtlUserThreadStart
2020-07-15T20:04:51,155: [listener] Watchman 20200712.162157.0 f73e809 starting up on RC802703871
2020-07-15T20:04:51,155: [listener] failed to parse json from C:/Users/80270387/AppData/Local/watchman/state: unable to open C:/Users/80270387/AppData/Local/watchman/state: No such file or directory
2020-07-15T20:04:51,233: [listener] Unhandled win32 exception. Fatal error detected at:
#0 000007FEFD6ABDFD RaiseException
#1 000007FEFC2D46E2 CxxThrowException
#2 000000013F2C5710 <failed to resolve symbol: 试图访问无效的地址。

#3 000000013F350AA5 <failed to resolve symbol: 试图访问无效的地址。

#4 000000013F353862 <failed to resolve symbol: 试图访问无效的地址。

#5 000000013F364C58 <failed to resolve symbol: 试图访问无效的地址。

#6 000000013F36574D <failed to resolve symbol: 试图访问无效的地址。

#7 000000013F5B8940 <failed to resolve symbol: 试图访问无效的地址。

#8 00000000771F556D BaseThreadInitThunk
#9 000000007745385D RtlUserThreadStart
the stack trace for the exception filter call is:
#0 0000000077479015 longjmp
#1 0000000077457388 _C_specific_handler
#2 000000007746BF7D _chkstk
#3 000000007744043A RtlInitializeResource
#4 0000000077443C3F RtlRaiseException
#5 000007FEFD6ABDFD RaiseException
#6 000007FEFC2D46E2 CxxThrowException
#7 000000013F2C5710 <failed to resolve symbol: 试图访问无效的地址。

#8 000000013F350AA5 <failed to resolve symbol: 试图访问无效的地址。

#9 000000013F353862 <failed to resolve symbol: 试图访问无效的地址。

#10 000000013F364C58 <failed to resolve symbol: 试图访问无效的地址。

#11 000000013F36574D <failed to resolve symbol: 试图访问无效的地址。

#12 000000013F5B8940 <failed to resolve symbol: 试图访问无效的地址。

#13 00000000771F556D BaseThreadInitThunk
#14 000000007745385D RtlUserThreadStart

@yangwencan2002
Copy link
Author

watchman --no-spawn get-sockname : The system prompts that ‘watchman.exe has stopped working'.

@wez
Copy link
Contributor

wez commented Jul 17, 2020

Please try this build:
https://github.com/facebook/watchman/suites/917211165/artifacts/11161515
which is from this commit with slightly better logging: 23dfe53

It will probably also be helpful to capture a trace for watchman.exe using Process Monitor
https://docs.microsoft.com/en-us/sysinternals/downloads/procmon
so that we can learn more about what is happening on that system.

@yangwencan2002
Copy link
Author

Please try this build:
https://github.com/facebook/watchman/suites/917211165/artifacts/11161515
which is from this commit with slightly better logging: 23dfe53

It will probably also be helpful to capture a trace for watchman.exe using Process Monitor
https://docs.microsoft.com/en-us/sysinternals/downloads/procmon
so that we can learn more about what is happening on that system.

The same as this

@yangwencan2002
Copy link
Author

@wez Is there a solution to this problem?Looking forward to your reply,thanks!

facebook-github-bot pushed a commit that referenced this issue Aug 27, 2020
Summary:
Fix for #830
#832

Windows only has UNIX domain socket support for Windows 10 17134+.

Reviewed By: wez

Differential Revision: D23331055

fbshipit-source-id: 11128a80c3dc49a651448be35001778a74a7d8c5
@wez
Copy link
Contributor

wez commented Aug 29, 2020

@yangwencan2002
Copy link
Author

Please try this build: https://github.com/facebook/watchman/suites/1109228100/artifacts/15576123

this build not work yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants