Closed juliangruber closed 9 years ago
ah, i guess updating node on the host doesn't make sense for this bug. or at least it didn't change anything
This is really weird. Can you please give me some more details on your OS? On Yosemite it works really fine on node v0.10.33. So, it is not a node problem.
Ok, I reinstalled and replicated the issue. It seems there was a new release of nodegit, and they broke something. Or more likely something got broken by the recent GIT fixes libgit2 released. I will investigate.
It seems peculiar to nscaledemo. Let me check some more.
If you want, you can go ahead and follow https://github.com/nearform/nscale-workshop/blob/master/ex2.md.
nodegit 0.2.3 does not trigger the bug.
@juliangruber you can install nscale@next, it has the nodegit version fixed to 0.2.3.
still the same oO
node(5207,0x7fff75082300) malloc: *** error for object 0x100d389b0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
do i need to do more than
$ nsd cont build nscaledemo web
$ # find latest revision
$ nsd revision deploy nscaledemo 526290ed70531d36471
Nope, try:
npm uninstall nscale -g
npm install nscale@next -g
And then again with the content of the README.
nscale@next has the fixed version of nodegit that does not crash over here :(.
great, that worked! thanks
Running the example from the README, this happens (i abbreviated the output of the revision lists):
I'll try with newer node soon.