My favorites | Sign in
Project Home Downloads Issues
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 182: segfaulting (possibly on gettimeofday)
1 person starred this issue and may be notified of changes. Back to list
Status:  Migrated
Closed:  Mar 2013

Sign in to add a comment
Project Member Reported by, Jul 29, 2011
Which version of PhantomJS are you using?
What steps will reproduce the problem?
I've included the script, the command an an output from strace
this works on other sites.

What is the expected output? What do you see instead?
something like 
Load time: 1234ms
Total requests: 123
Total redirects: 123

and i see
Load time: 1337ms
Total requests: 53
Total redirects: 5
"TypeError: Result of expression 'B.replace' [undefined] is not a function." line: 221 file:

Segmentation fault
(the 1337 was the actual load time funny enough)

Which operating system are you using?
ubuntu 11.04 linux 2.6.38-10-generic-pae

Did you use binary PhantomJS or did you compile it from source?

Please provide any additional information below.
Oct 22, 2012
I ran into a similar error (B.Replace, undefined not a function, foresee-trigger.js) today evaluating some js on a BLS website (so not

This script:
results in this error:

Phantomjs 1.7
ubuntu 12.04
compiled from source

Is this even an issue with phantomjs?
Dec 23, 2012
Project Member #2
B.replace is probably a different issue, most likely the problem with the script running on the site.

I can't reproduce with PhantomJS >= 1.7 anymore.
Mar 15, 2013
Project Member #3
Closing. This issue has been moved to GitHub:
Status: Migrated
Sign in to add a comment

Powered by Google Project Hosting