Invalid ABI specification

developing a 32 bit C++ extension program on 32 bit Ubuntu 14, while firefox javascript subprocess execute the program, firefox crashed and error displayed: Invalid ABI specification.
Any idea? The extension program can run from command line without problem.

That’s weird. I have only seen this error when deailing with js-ctypes. So you’re using native messaging? Native messaing module does use js-ctypes, but it shouldn’t matter.

Can you explain a little bit more please, like show the code that causes the error?