-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
IPFS crashes on second run on windows #1661
Comments
I have the same issue with 0.3.8 on Windows 10. |
Bizarre. @gatesvp ? |
I have the same problem with https://gobuilder.me/get/github.com/ipfs/go-ipfs/cmd/ipfs/ipfs_master_windows-amd64.zip on Windows 7, see #1713 (a closed duplicate of this issue) for a screenshot. Not only |
:/ we need to fix this. Any ideas what's going on here? @whyrusleeping @gatesvp? — On Wed, Sep 16, 2015 at 2:47 AM, Mithgol notifications@github.com wrote:
|
probably the locking library failing to properly clean up on exit. I'm not super knowledgeable on how windows file locking works, but we might have to special case some things if the syscalls arent reliable like they are on osx, linux and the bsd's |
Was actually trying to look at this last night, but had a different problem Don't know if the problem is file locking or ports. Hope to spend some time On Wed, Sep 16, 2015 at 9:13 AM, Jeromy Johnson notifications@github.com
|
If we want to properly support Windows, we might want to have automated builds and tests for this platform. Is there an issue somewhere for that or should I create one? |
I feel like there was a ticket somewhere. One of the challenges with such a Also, I managed to repro the problem locally last night, but still trying On Thu, Sep 17, 2015 at 7:58 AM, Christian Couder notifications@github.com
|
This comment is just a nudge because ≈7 days have passed since the last comment here. Please excuse my impatience. |
Mithgol, can you help fix it? None of the core devs use windows. Gatesvp and others have done tremendous work on getting things working on windows, but we need everybody's help to move fast — On Thu, Sep 24, 2015 at 8:42 AM, Mithgol notifications@github.com wrote:
|
Unfortunately, I don't know Go. (Otherwise I would have already tried to help.) |
Hi, I worked around this in the referencing commit. I know neither Go nor ipfs codebase nor Windows APIs, so I don't know if this is the desired way of doing things. |
I know neither Go not IPFS codebase, but the line you added does look very much like the previous and thus it can't be much worse in terms of desired way of doing things. You should make a pull request and become a contributor. |
Fix #1661 IPFS crashes on windows after first run
@mjanczyk thank you for the PR |
and thanks @Mithgol for prompting it! |
I don't know about the code. But the reason why we can't restart on windows, is the presence of the As suspected by others, its most likely a cleanup issue of the daemon. |
|
The original issue "crashing on second run in windows" has been fixed for a few weeks. This ticket can be closed. |
I'm running 0.3.8 and still having the problem. |
I just compiled latest master and I could not start IPFS with this error:
Error: Post http://127.0.0.1:5001/api/v0/version?enc=json&stream-channels=true: dial tcp 127.0.0.1:5001: ConnectEx tcp: No connection could be made because the target machine actively refused it.
I issued a ipfs init and then I was able to start the daemon successfully. But after ctrl-c quiting the daemon I tried running it again and got the same error as above.
The text was updated successfully, but these errors were encountered: