Re: puzzling issue with javascript bindings

2015-02-02 Thread Fraser Adams
That's very generous of Rafael - he spotted the wood when I was still staring at the trees :-) I was quite impressed. I think I can at least claim the dubious honour of being one of the very few people who has managed to introduce an uninitialised pointer error into JavaScript code! I don't kn

Re: puzzling issue with javascript bindings

2015-02-02 Thread Rafael Schloming
FYI, thanks to some help from Fraser, this issue should now be resolved. --Rafael On Sat, Jan 31, 2015 at 1:24 PM, Rafael Schloming wrote: > On Sat, Jan 31, 2015 at 12:27 PM, Fraser Adams < > fraser.ad...@blueyonder.co.uk> wrote: > >> >> Hopefully you got the build I mailed you, but as an upda

Re: puzzling issue with javascript bindings

2015-01-31 Thread Rafael Schloming
On Sat, Jan 31, 2015 at 12:27 PM, Fraser Adams < fraser.ad...@blueyonder.co.uk> wrote: > > Hopefully you got the build I mailed you, but as an update I've upgraded > my system to the latest emscripten incoming: > > emcc (Emscripten GCC-like replacement + linker emulating GNU ld ) 1.29.8 > clang ve

Re: puzzling issue with javascript bindings

2015-01-31 Thread Fraser Adams
Hopefully you got the build I mailed you, but as an update I've upgraded my system to the latest emscripten incoming: emcc (Emscripten GCC-like replacement + linker emulating GNU ld ) 1.29.8 clang version 3.5.0 And did a Debug build on a clean system as before and I'm still not seeing any is

Re: puzzling issue with javascript bindings

2015-01-31 Thread Rafael Schloming
Any chance you could send me a copy of your proton.js so I can try on my system? --Rafael On Sat, Jan 31, 2015 at 10:32 AM, Fraser Adams < fraser.ad...@blueyonder.co.uk> wrote: > Hi again Rafi, > As I'm on a roll today. > > So I've just done: > > cd build > make clean > rm CMakeCache.txt > c

Re: puzzling issue with javascript bindings

2015-01-31 Thread Fraser Adams
Hi again Rafi, As I'm on a roll today. So I've just done: cd build make clean rm CMakeCache.txt cmake -DCMAKE_BUILD_TYPE=Debug .. (which gives the message: JavaScript build type is "Debug") make and when I did ./recv.js and in another window ./send.js I'm not seeing any issue: ./recv

Re: puzzling issue with javascript bindings

2015-01-31 Thread Rafael Schloming
On Sat, Jan 31, 2015 at 7:29 AM, Fraser Adams wrote: > Thanks for the heads up Rafi. > I'll take a look when I've got a moment, that's not actually something > I've noticed before. > > TBH I'm *pretty sure* that when I was developing this stuff I'd have done > what you've done, so I'm a bit baffl

Re: puzzling issue with javascript bindings

2015-01-31 Thread Fraser Adams
Thanks for the heads up Rafi. I'll take a look when I've got a moment, that's not actually something I've noticed before. TBH I'm *pretty sure* that when I was developing this stuff I'd have done what you've done, so I'm a bit baffled but I've mostly been using non Debug builds lately and it'