My favorites | Sign in
Project Home Downloads Issues
New issue   Search
for
  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
Owner:  ariya.hi...@gmail.com
Closed:  Mar 2013


Sign in to add a comment
 
Project Member Reported by ariya.hi...@gmail.com, Jul 29, 2011
Which version of PhantomJS are you using?
1.2.0
What steps will reproduce the problem?
1. http://pastebin.com/dJVNc9de
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 
Page: http://fbi.gov
Load time: 1234ms
Total requests: 123
Total redirects: 123

and i see
===================================
Page: http://fbi.gov
Load time: 1337ms
Total requests: 53
Total redirects: 5
Console
"TypeError: Result of expression 'B.replace' [undefined] is not a function." line: 221 file: http://www.fbi.gov/foresee/foresee-trigger.js

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?
source

Please provide any additional information below.
Oct 22, 2012
#1 nat...@aggronn.com
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 fbi.gov).

This script: http://pastebin.com/7KYDDRsc
results in this error: http://pastebin.com/cFMECX6C

Phantomjs 1.7
ubuntu 12.04
compiled from source


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

I can't reproduce http://pastebin.com/dJVNc9de with PhantomJS >= 1.7 anymore.
Mar 15, 2013
Project Member #3 james.m....@gmail.com
Closing. This issue has been moved to GitHub: https://github.com/ariya/phantomjs/issues/10182
Status: Migrated
Sign in to add a comment

Powered by Google Project Hosting