Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

problem running "waf build" on OSX 10.4 #11

Closed
ry opened this issue Jun 10, 2009 · 1 comment
Closed

problem running "waf build" on OSX 10.4 #11

ry opened this issue Jun 10, 2009 · 1 comment

Comments

@ry
Copy link

ry commented Jun 10, 2009

Python 2.3.5
tiger-x86 0 ~/projects/node > ./waf build
Traceback (most recent call last):
File "./waf", line 127, in ?
Scripting.prepare(t, cwd, VERSION, wafdir)
File "/Users/ryan/projects/node/.waf-1.5.2-9bdedb7508a3a68a9e2e89a73bed6d5b/wafadmin/Scripting.py", line 12
prepare_impl(t,cwd,ver,wafdir)
File "/Users/ryan/projects/node/.waf-1.5.2-9bdedb7508a3a68a9e2e89a73bed6d5b/wafadmin/Scripting.py", line 11
main()
File "/Users/ryan/projects/node/.waf-1.5.2-9bdedb7508a3a68a9e2e89a73bed6d5b/wafadmin/Scripting.py", line 17
f(bld)
File "/Users/ryan/projects/node/wscript", line 142, in build
native_cc.clone("debug")
File "/Users/ryan/projects/node/.waf-1.5.2-9bdedb7508a3a68a9e2e89a73bed6d5b/wafadmin/TaskGen.py", line 150,
setattr(newobj,x,copy.copy(getattr(self,x)))
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/copy.py", line 108, in copy
return _reconstruct(x, rv, 0)
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/copy.py", line 354, in _recons
y = callable(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/copy_reg.py", line 92, in __ne
return cls.new(cls, *args)
TypeError: function() takes at least 2 arguments (0 given)

@ry
Copy link
Author

ry commented Jun 11, 2009

waf people won't fix. Requiring python 2.4 or better to build.

bnoordhuis added a commit that referenced this issue Apr 10, 2013
Call SetPointerInInternalField(0, NULL) rather than
SetInternalField(0, Undefined()).

Fixes the following spurious NULL pointer dereference in debug builds:

  #0  0x03ad2821 in v8::internal::FixedArrayBase::length ()
  #1  0x03ad1dfc in v8::internal::FixedArray::get ()
  #2  0x03ae05dd in v8::internal::Context::global_object ()
  #3  0x03b6b87d in v8::internal::Context::builtins ()
  #4  0x03ae1871 in v8::internal::Isolate::js_builtins_object ()
  #5  0x03ab4fab in v8::CallV8HeapFunction ()
  #6  0x03ab4d4a in v8::Value::Equals ()
  #7  0x03b4f38b in CheckEqualsHelper ()
  #8  0x03ac0f4b in v8::Object::SetInternalField ()
  #9  0x06a99ddd in node::ObjectWrap::~ObjectWrap ()
  #10 0x06a8b051 in node::Buffer::~Buffer ()
  #11 0x06a8afbb in node::Buffer::~Buffer ()
  #12 0x06a8af5e in node::Buffer::~Buffer ()
  #13 0x06a9e569 in node::ObjectWrap::WeakCallback ()
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant