Subject: | Test failure on 32-bit architectures |
Hi,
the recently released JavaScript-1.04 (thanks!) is failing tests on
Debian on all 32-bit architectures, including x86. The 64-bit
architectures (amd64, ia64 and alpha) are OK.
The test failure is actually two missing OKs from t/20-bind-class.t,
tests 9 and 10 (the "Check multiple instance methods" block). There are
no test failures because there's no check for $@ after the $cx1->eval()
call.
I added such a check, and the error string is 'o.fone is not a function
at Foo line 103 in 1'.
Debian currently has JS_VERSION 170. I haven't tried with other libmozjs
versions yet.
This is perfectly reproducible for me, and I have both 64-bit and a
32-bit installations so it's easy for me to debug this. I don't
understand much about the libmozjs internals, though. So far I have
found out that the corresponding js_Invoke() gets called with different
arguments, but I have no idea yet what's happening.
Are the tests working for you on a 32-bit host?
For the record, we're tracking this as Debian bug #451774,
http://bugs.debian.org/451774 .
Cheers,
--
Niko Tyni
ntyni@iki.fi