by rohansingh · 12y ago · 0 comments
> Without access to a lot of source code I can’t tell exactly what is going on, but...
> Until Microsoft fixes their compiler to not load their web browser it seems impossible to avoid this problem when doing lots of parallel builds.
In my past life developing applications and services on Windows, this scenario was too common — something is broken, you can't quite tell why because you don't have the source, and you can't do anything but wait for it to be fixed or find some hacky workarounds (which is tougher to do without the source).
This has been the real win on switching to an open source stack for me: you can take your tools apart, look inside them, and fix any issues. I know Microsoft has come further in this in the past few years, but it still sucks to be stuck in that kind of situation.
Fixing bugs in GCC for an unitiated person is probably super hard.
It's not like you have to read all 7 million lines of code. The author of the article already has a stack trace; all he'd need to do is skim the functions along that trace. In this case it sounds highly likely that the fix is to comment out some code somewhere that is initializing a resource that isn't actually needed.
Frankly it sounds pretty easy.
Granted, MongoDB is not meant to be used for small databases (the name comes from hu-mongo-us), but the app I was using was written against Mongo and changing that would have been a whole lot harder than modifying some constants.
Changes here, BTW: https://github.com/kentonv/mongo/commit/14f391a000134e5d9d65...
https://github.com/sparklemotion/nokogiri/pull/554
Gave me the warm fuzzies, even though I broke everything temporarily :)