apps/nsqd: fix crash on windows because program.nsqd uninitialized#1359
apps/nsqd: fix crash on windows because program.nsqd uninitialized#1359supermario1990 wants to merge 1 commit intonsqio:masterfrom
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