-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
apps/nsqd: fix crash on windows because program.nsqd uninitialized #1359
Conversation
Thanks for the PR @supermario1990, but I don't actually understand how |
yes, below is logs of the startup/crash on windows:
|
I think this problem was introduced when adding the I think this solution is a bit messy - create a temporary empty NSQD during the "early" I think it would be better to do the |
Was just typing exactly what @ploxiln just wrote. Anyway, this is the important bit:
I just sat down to play around with stamping a new release with #1355, and it seems like we need to get this to a good place first. |
see #1361 |
@supermario1990 we think we fixed this in #1361 (and judwhite/go-svc#28 temporarily being used instead of pure upstream). Can you confirm that latest master works for you on windows now? |
I've confirmed that the new nsq-v1.2.1 release works on Windows 10 when run manually/directly in powershell or cmd.exe (with nsqd, nsqlookupd, nsqadmin, nsq_tail). They all start, they communicate, and they exit for CTRL-C. I haven't tested running nsqd etc as a windows service, I'm not up for that :) |
see #1358