when i run Phantomjs,i got "Floating point exception"
my sys:Linux version 188.8.131.52-0.21-110407 (gcc version 4.1.2 20070115 (prerelease) (SUSE Linux)) 64bit
and i can't get any useful info from google
how can i fix it?thx
i downloaded it from https://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-x86_64.tar.bz2 ,the binary
then i tar&cp it to /usr/local/bin/ and /usr/local/share and another one(forgot)
and the command is just only ">Phantomjs",">Phantomjs -version",no script
I'm getting the same issue with phantomjs-1.8.1 and phantomjs-1.9.0 downloaded binary on SUSE Linux Enterprise Server 10 (x86_64)
Running it in gdb gives the following output:
Starting program: /tmp/phantomjs-1.9.0-linux-x86_64/bin/phantomjs
(no debugging symbols found)
Program received signal SIGFPE, Arithmetic exception.
0x00002b22408e768f in do_lookup_x () from /lib64/ld-linux-x86-64.so.2
Googling around seems to suggest this is just a binary incompatibility. Compiling from source will probably fix it.