Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

run a script mixed.js to detect mixed content, and get a crash #12002

Closed
es287 opened this issue Feb 21, 2014 · 7 comments
Closed

run a script mixed.js to detect mixed content, and get a crash #12002

es287 opened this issue Feb 21, 2014 · 7 comments
Labels

Comments

@es287
Copy link

es287 commented Feb 21, 2014

here is the javascript being run,1----------------------
and here is the stack trace from minidump_stackwalk 2----------------------
when there are no problem, it seems to work fine, but
i believe when there is a redirect from https to http, phantomjs crashes.

example invocation with crash:
phantomjs mixed.js https://newcatalog-dev.library.cornell.edu
ALERT: The secure page https://newcatalog-dev.library.cornell.edu loaded an insecure asset http://beta.library.cornell.edu/sites/all/libraries/clickheat/js/clickheat.js which may trigger warnings and hurt customer perception.
PhantomJS has crashed. Please read the crash reporting guide at https://github.com/ariya/phantomjs/wiki/Crash-Reporting and file a bug report at https://github.com/ariya/phantomjs/issues/new with the crash dump file attached: /tmp/381b0796-2fac-e399-01452efa-1e25e821.dmp
Segmentation fault

phantomjs 1.9.7
1----------------------

!/usr/bin/env phantomjs

var page = require('webpage').create();
var args = require('system').args;
if (args.length === 1) {
console.log('Please specify the URL to an SSL page.');
phantom.exit(1);
}
page.onResourceReceived = function (response) {
if (response.stage == "start") {
if (response.url.substr(0, 8) !== "https://" && response.url.substr(0, 5) !== "data:") {
console.log("ALERT: The secure page " + args[1] + " loaded an insecure asset " + response.url + " which may trigger warnings and hurt customer perception.");
phantom.exit(1);
}
}
};
page.open(args[1], function(status) {
if (status === "success") {
console.log("All good!");
phantom.exit(0);
}
else {
console.log("Could not open " + args[1]);
phantom.exit(1);
}
});

2----------------------

xxxx.library.cornell.edu-./minidump_stackwalk $FILE . 2>/dev/null
Operating system: Linux
0.0.0 Linux 2.6.32-358.23.2.el6.x86_64 #1 SMP Sat Sep 14 05:32:37 EDT 2013 x86_64
CPU: amd64
family 6 model 37 stepping 1
2 CPUs

Crash reason: SIGSEGV
Crash address: 0x29

Thread 0 (crashed)
0 phantomjs!QMetaObject::activate [qobject.cpp : 3493 + 0x0]
rbx = 0x00000000044ab9e1 r12 = 0x000000000460c6b0
r13 = 0x000000000460c280 r14 = 0x0000000004243208
r15 = 0x00000000045dc3f0 rip = 0x0000000001cf6c1d
rsp = 0x00007fff408e7940 rbp = 0x0000000000000021
Found by: given as instruction pointer in context
1 phantomjs!QNetworkReply::downloadProgress [moc_qnetworkreply.cpp : 194 + 0x4]
rbx = 0x000000000460c2a0 r12 = 0x000000000460c6b0
r13 = 0x000000000460c280 r14 = 0x0000000004243208
r15 = 0x00007ff04c083440 rip = 0x0000000001ba741b
rsp = 0x00007fff408e7a60 rbp = 0x00007fff408e7b60
Found by: call frame info
2 phantomjs!QNetworkReplyImplPrivate::appendDownstreamDataSignalEmissions [qnetworkreplyimpl.cpp : 626 + 0x2e]
rbx = 0x000000000460c2a0 r12 = 0x000000000460c6b0
r13 = 0x000000000460c280 r14 = 0x0000000004243208
r15 = 0x00007ff04c083440 rip = 0x0000000001b30d7e
rsp = 0x00007fff408e7aa0 rbp = 0x00007fff408e7b60
Found by: call frame info
3 phantomjs!QNetworkAccessHttpBackend::replyDownloadData [qnetworkaccesshttpbackend.cpp : 743 + 0xa]
rbx = 0x000000000460c630 r12 = 0x000000000460c6b0
r13 = 0x0000000004245ab0 r14 = 0x0000000004243208
r15 = 0x00007ff04c083440 rip = 0x0000000001b1c74a
rsp = 0x00007fff408e7b00 rbp = 0x00007fff408e7b60
Found by: call frame info
4 phantomjs!QNetworkAccessHttpBackend::qt_static_metacall [moc_qnetworkaccesshttpbackend_p.cpp : 95 + 0x9]
rbx = 0x00007ff04c16d070 r12 = 0x00007ff04c083440
r13 = 0x0000000004245ab0 r14 = 0x0000000004243208
r15 = 0x00007ff04c083440 rip = 0x0000000001ba6f51
rsp = 0x00007fff408e7b30 rbp = 0x000000000460c630
Found by: call frame info
5 phantomjs!QObject::event [qobject.cpp : 1191 + 0x8]
rbx = 0x000000000460c630 r12 = 0x00007ff04c083440
r13 = 0x0000000004245ab0 r14 = 0x0000000004243208
r15 = 0x00007ff04c083440 rip = 0x0000000001cefc28
rsp = 0x00007fff408e7bc0 rbp = 0x0000000000000000
Found by: call frame info
6 phantomjs!QApplicationPrivate::notify_helper [qapplication.cpp : 4562 + 0xc]
rbx = 0x00007fff408e8520 r12 = 0x00007ff04c083440
r13 = 0x0000000004245ab0 r14 = 0x0000000004243208
r15 = 0x00007ff04c083440 rip = 0x00000000015decaf
rsp = 0x00007fff408e7d60 rbp = 0x000000000460c630
Found by: call frame info
7 phantomjs!QApplication::notify [qapplication.cpp : 4423 + 0x17]
rbx = 0x00007fff408e8520 r12 = 0x00007ff04c083440
r13 = 0x00007fff408e8520 r14 = 0x0000000004243208
r15 = 0x00007ff04c083440 rip = 0x00000000015e793b
rsp = 0x00007fff408e7d90 rbp = 0x000000000460c630
Found by: call frame info
8 phantomjs!QCoreApplication::notifyInternal [qcoreapplication.cpp : 946 + 0x2]
rbx = 0x00000000042431c0 r12 = 0x00007ff04c083440
r13 = 0x00007fff408e8520 r14 = 0x0000000004243208
r15 = 0x00000000042431fc rip = 0x0000000001cde3d4
rsp = 0x00007fff408e8260 rbp = 0x000000000460c630
Found by: call frame info
9 phantomjs!QCoreApplicationPrivate::sendPostedEvents [qcoreapplication.h : 231 + 0x1f]
rbx = 0x00007ff04c083440 r12 = 0x00000000042431c0
r13 = 0x000000000460c630 r14 = 0x0000000004243208
r15 = 0x00000000042431fc rip = 0x0000000001cdf334
rsp = 0x00007fff408e82b0 rbp = 0x00007ff04c1059d0
Found by: call frame info
10 phantomjs!QEventDispatcherQPA::processEvents [qcoreapplication.h : 236 + 0xb]
rbx = 0x0000000004486b80 r12 = 0x0000000000000000
r13 = 0x0000000004242560 r14 = 0x00007fff408e83b0
r15 = 0x00000000042432d8 rip = 0x000000000163a623
rsp = 0x00007fff408e8370 rbp = 0x0000000004247030
Found by: call frame info
11 phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
rbx = 0x0000000004486b80 r12 = 0x00007fff408e8440
r13 = 0x00007fff408e8450 r14 = 0x0000000004243230
r15 = 0x00000000042432d8 rip = 0x0000000001cdd4b5
rsp = 0x00007fff408e83b0 rbp = 0x00007fff408e83f0
Found by: call frame info
12 phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
rbx = 0x0000000004486b80 r12 = 0x00007fff408e8440
r13 = 0x00007fff408e8450 r14 = 0x0000000004243230
r15 = 0x00000000042432d8 rip = 0x0000000001cdd918
rsp = 0x00007fff408e83e0 rbp = 0x00007fff408e8520
Found by: call frame info
13 phantomjs!QCoreApplication::exec [qcoreapplication.cpp : 1218 + 0x4]
rbx = 0x00000000042431c0 r12 = 0x00007fff408e8520
r13 = 0x00007fff408e86d8 r14 = 0x00007fff408e8490
r15 = 0x0000000000000000 rip = 0x0000000001cdf7cb
rsp = 0x00007fff408e8440 rbp = 0x00000000042431c0
Found by: call frame info
14 phantomjs!main [main.cpp : 121 + 0x4]
rbx = 0x0000000004555750 r12 = 0x00007fff408e8520
r13 = 0x00007fff408e86d8 r14 = 0x00007fff408e8490
r15 = 0x0000000000000000 rip = 0x0000000000427cb2
rsp = 0x00007fff408e8480 rbp = 0x00007fff408e86b8
Found by: call frame info
15 libc-2.12.so + 0x1ecdc
rbx = 0x0000000000000000 r12 = 0x0000000000407cc0
r13 = 0x00007fff408e86b0 r14 = 0x0000000000000000
r15 = 0x0000000000000000 rip = 0x00007ff0a3da2cdd
rsp = 0x00007fff408e85e0 rbp = 0x0000000000000000
Found by: call frame info
16 phantomjs + 0x27a5f
rip = 0x0000000000427a60 rsp = 0x00007fff408e8600
Found by: stack scanning

Thread 1
0 libc-2.12.so + 0xacbcd
rbx = 0x00007ff09c31cd50 r12 = 0x00000000ffffffff
r13 = 0x00007ff09c31d9c0 r14 = 0x0000000000000000
r15 = 0x0000000000000003 rip = 0x00007ff0a3e30bcd
rsp = 0x00007ff09c31cc20 rbp = 0x00007ff09c31ccd0
Found by: given as instruction pointer in context
1 libc-2.12.so + 0xaca3f
rip = 0x00007ff0a3e30a40 rsp = 0x00007ff09c31cc30
rbp = 0x00007ff09c31ccd0
Found by: stack scanning
2 phantomjs + 0x18b5c6f
rip = 0x0000000001cb5c70 rsp = 0x00007ff09c31cc38
rbp = 0x00007ff09c31ccd0
Found by: stack scanning
3 ld-2.12.so + 0x9bb6
rip = 0x00007ff0a53bcbb7 rsp = 0x00007ff09c31cc60
rbp = 0x00007ff09c31ccd0
Found by: stack scanning
4 phantomjs!WebPage::renderPdf [qstring.h : 880 + 0xc]
rip = 0x00000000004173d8 rsp = 0x00007ff09c31cc70
rbp = 0x00007ff09c31ccd0
Found by: stack scanning

Thread 2
0 libc-2.12.so + 0xe1533
rbx = 0x0000000000000000 r12 = 0x00007ff09b91bd70
r13 = 0x0000000000000008 r14 = 0x00007ff094000a98
r15 = 0x00007ff094000d30 rip = 0x00007ff0a3e65533
rsp = 0x00007ff09b91bb40 rbp = 0x00007ff0940008e0
Found by: given as instruction pointer in context
1 phantomjs!qt_safe_select [qcore_unix.cpp : 83 + 0x15]
rip = 0x0000000001d06327 rsp = 0x00007ff09b91bb50
Found by: stack scanning
2 phantomjs!QEventDispatcherUNIXPrivate::doSelect [qeventdispatcher_unix.cpp : 223 + 0xd]
rbx = 0x00007ff0940012b0 r12 = 0x00007ff09b91bd70
r13 = 0x00007ff0940008e0 r14 = 0x0000000000000000
r15 = 0x00007ff094000d30 rip = 0x0000000001d075e7
rsp = 0x00007ff09b91bbe0 rbp = 0x00007ff0940008e0
Found by: call frame info
3 phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 937 + 0x4]
rbx = 0x00007ff0940012b0 r12 = 0x00007ff09b91bd70
r13 = 0x00007ff0940008c0 r14 = 0x0000000000000001
r15 = 0x00000000044630d8 rip = 0x0000000001d08092
rsp = 0x00007ff09b91bd20 rbp = 0x00007ff0940008e0
Found by: call frame info
4 phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
rbx = 0x00007ff0940012b0 r12 = 0x00007ff09b91be00
r13 = 0x00007ff09b91be10 r14 = 0x0000000004243230
r15 = 0x00000000044630d8 rip = 0x0000000001cdd4b5
rsp = 0x00007ff09b91bd70 rbp = 0x00007ff09b91bdb0
Found by: call frame info
5 phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
rbx = 0x00007ff0940012b0 r12 = 0x00007ff09b91be00
r13 = 0x00007ff09b91be10 r14 = 0x0000000004243230
r15 = 0x00000000044630d8 rip = 0x0000000001cdd918
rsp = 0x00007ff09b91bda0 rbp = 0x00007fff408e8520
Found by: call frame info
6 phantomjs!QThread::exec [qthread.cpp : 542 + 0xc]
rbx = 0x0000000004463050 r12 = 0x00000000044630d8
r13 = 0x0000000000000001 r14 = 0x0000000000000000
r15 = 0x0000000000000003 rip = 0x0000000001bdfdf6
rsp = 0x00007ff09b91be00 rbp = 0x00000000044630d8
Found by: call frame info
7 phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
rbx = 0x00000000044630d8 r12 = 0x0000000004463150
r13 = 0x0000000000000001 r14 = 0x0000000000000000
r15 = 0x0000000000000003 rip = 0x0000000001be2cc2
rsp = 0x00007ff09b91be50 rbp = 0x00000000042c7840
Found by: call frame info
8 libpthread-2.12.so + 0x7850
rbx = 0x0000000000000000 r12 = 0x00007fff408e7a00
r13 = 0x00007ff09b91c9c0 r14 = 0x0000000000000000
r15 = 0x0000000000000003 rip = 0x00007ff0a48be851
rsp = 0x00007ff09b91bea0 rbp = 0x0000000000000000
Found by: call frame info

Thread 3
0 libpthread-2.12.so + 0xb7bb
rbx = 0x00007ff04c006a90 r12 = 0x0000000000000003
r13 = 0x00007ff053ffedb0 r14 = 0xffffffffffffff92
r15 = 0x0000000000000000 rip = 0x00007ff0a48c27bb
rsp = 0x00007ff053ffed30 rbp = 0x00007ff04c006d90
Found by: given as instruction pointer in context
1 linux-gate.so + 0x8bb
rip = 0x00007fff409ff8bc rsp = 0x00007ff053ffed60
Found by: stack scanning
2 phantomjs!QWaitCondition::wait [qwaitcondition_unix.cpp : 84 + 0x7]
rip = 0x0000000001be39d7 rsp = 0x00007ff053ffed90
Found by: stack scanning
3 phantomjs!QThreadPoolThread::run [qthreadpool.cpp : 141 + 0x1d]
rbx = 0x00007ff04c0069b0 r12 = 0x00007ff04c006a39
r13 = 0x0000000000000002 r14 = 0x00007ff04c1059b0
r15 = 0x0000000000000003 rip = 0x0000000001bd783d
rsp = 0x00007ff053ffee10 rbp = 0x00007ff04c006d90
Found by: call frame info
4 phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
rbx = 0x00007ff0480012b0 r12 = 0x00007ff04c006f30
r13 = 0x0000000000000001 r14 = 0x0000000000000000
r15 = 0x0000000000000003 rip = 0x0000000001be2cc2
rsp = 0x00007ff053ffee50 rbp = 0x00007ff04c006d90
Found by: call frame info
5 libpthread-2.12.so + 0x7850
rbx = 0x0000000000000000 r12 = 0x00007ff099f80cd0
r13 = 0x00007ff053fff9c0 r14 = 0x0000000000000000
r15 = 0x0000000000000003 rip = 0x00007ff0a48be851
rsp = 0x00007ff053ffeea0 rbp = 0x0000000000000000
Found by: call frame info

Thread 4
0 libpthread-2.12.so + 0xb7bb
rbx = 0x00007ff04c006a90 r12 = 0x0000000000000004
r13 = 0x00007ff099156db0 r14 = 0xffffffffffffff92
r15 = 0x0000000000000000 rip = 0x00007ff0a48c27bb
rsp = 0x00007ff099156d30 rbp = 0x00007ff04c1098b0
Found by: given as instruction pointer in context
1 linux-gate.so + 0x8bb
rip = 0x00007fff409ff8bc rsp = 0x00007ff099156d60
Found by: stack scanning
2 phantomjs!QWaitCondition::wait [qwaitcondition_unix.cpp : 84 + 0x7]
rip = 0x0000000001be39d7 rsp = 0x00007ff099156d90
Found by: stack scanning
3 phantomjs!QThreadPoolThread::run [qthreadpool.cpp : 141 + 0x1d]
rbx = 0x00007ff04c0069b0 r12 = 0x00007ff04c006a39
r13 = 0x0000000000000002 r14 = 0x0000000000000000
r15 = 0x0000000000000003 rip = 0x0000000001bd783d
rsp = 0x00007ff099156e10 rbp = 0x00007ff04c1098b0
Found by: call frame info
4 phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
rbx = 0x00007ff0400012b0 r12 = 0x00007ff04c109b60
r13 = 0x0000000000000001 r14 = 0x0000000000000000
r15 = 0x0000000000000003 rip = 0x0000000001be2cc2
rsp = 0x00007ff099156e50 rbp = 0x00007ff04c1098b0
Found by: call frame info
5 libpthread-2.12.so + 0x7850
rbx = 0x0000000000000000 r12 = 0x00007ff099f81580
r13 = 0x00007ff0991579c0 r14 = 0x0000000000000000
r15 = 0x0000000000000003 rip = 0x00007ff0a48be851
rsp = 0x00007ff099156ea0 rbp = 0x0000000000000000
Found by: call frame info

Loaded modules:
0x00400000 - 0x0268dfff phantomjs ??? (main)
0x7ff099158000 - 0x7ff09935dfff libnss_dns-2.12.so ???
0x7ff09935e000 - 0x7ff09956bfff libnss_files-2.12.so ???
0x7ff09c31e000 - 0x7ff09c53bfff libselinux.so.1 ???
0x7ff09c53d000 - 0x7ff09c754fff libresolv-2.12.so ???
0x7ff09c757000 - 0x7ff09c959fff libkeyutils.so.1.3 ???
0x7ff09c95a000 - 0x7ff09cb64fff libkrb5support.so.0.1 ???
0x7ff09cb65000 - 0x7ff09cd8ffff libk5crypto.so.3.1 ???
0x7ff09cd91000 - 0x7ff09cf94fff libcom_err.so.2.1 ???
0x7ff09cf95000 - 0x7ff09d27afff libkrb5.so.3.3 ???
0x7ff09d27b000 - 0x7ff09d4befff libgssapi_krb5.so.2.2 ???
0x7ff09d4bf000 - 0x7ff09d71bfff libssl.so.1.0.0 ???
0x7ff09d71c000 - 0x7ff09d931fff libz.so.1.2.3 ???
0x7ff09d932000 - 0x7ff09dcc7fff libcrypto.so.1.0.0 ???
0x7ff09dccc000 - 0x7ff0a3b5bfff locale-archive ???
0x7ff0a3b5c000 - 0x7ff0a3d83fff libexpat.so.1.5.2 ???
0x7ff0a3d84000 - 0x7ff0a4111fff libc-2.12.so ???
0x7ff0a4117000 - 0x7ff0a432cfff libgcc_s-4.4.7-20120601.so.1 ???
0x7ff0a432d000 - 0x7ff0a45b0fff libm-2.12.so ???
0x7ff0a45b1000 - 0x7ff0a48a1fff libstdc++.so.6.0.13 ???
0x7ff0a48b7000 - 0x7ff0a4acffff libpthread-2.12.so ???
0x7ff0a4ad4000 - 0x7ff0a4cdbfff librt-2.12.so ???
0x7ff0a4cdc000 - 0x7ff0a4edffff libdl-2.12.so ???
0x7ff0a4ee0000 - 0x7ff0a5115fff libfontconfig.so.1.4.4 ???
0x7ff0a5116000 - 0x7ff0a53b2fff libfreetype.so.6.3.22 ???
0x7ff0a53b3000 - 0x7ff0a53d2fff ld-2.12.so ???
0x7ff0a55be000 - 0x7ff0a55c1fff 87f5e051180a7a75f16eb6fe7dbd3749-le64.cache-3 ???
0x7ff0a55c2000 - 0x7ff0a55cafff b79f3aaa7d385a141ab53ec885cc22a8-le64.cache-3 ???
0x7ff0a55cb000 - 0x7ff0a55ccfff b67b32625a2bb51b023d3814a918f351-le64.cache-3 ???
0x7ff0a55cd000 - 0x7ff0a55d0fff 12b26b760a24f8b4feb03ad48a333a72-le64.cache-3 ???
0x7fff409ff000 - 0x7fff409fffff linux-gate.so ???

@JamesMGreene
Copy link
Collaborator

While I'll acknowledge that the crash is indeed a bug, would you mind trying your script again with the Phantom command line option --ignore-ssl-errors=true added?

@JamesMGreene
Copy link
Collaborator

P.S. I love your script idea, very useful.

@es287
Copy link
Author

es287 commented Feb 23, 2014

James, tried your suggestion, no joy :(
thanks for working on this!

i got the code from:

http://team.mocavo.com/2013/09/javascript-code-to-weed-out-mixed-content-warnings?

phantomjs --version
1.9.7
es287-dev.library.cornell.edu-
phantomjs --ignore-ssl-errors=true mixed.js https://beta.library.cornell.edu/hours
ALERT: The secure page https://beta.library.cornell.edu/hours loaded an insecure asset http://www.cornell.edu/maps/?iframe=1&hideLocList=1&hideDir=1&hideOverlays=1&zoom=15&suppressUserLoc=1 which may trigger warnings and hurt customer perception.

PhantomJS has crashed. Please read the crash reporting guide at https://github.com/ariya/phantomjs/wiki/Crash-Reporting and file a bug report at https://github.com/ariya/phantomjs/issues/new with the crash dump file attached: /tmp/0d338611-0796-1621-52342cd4-445ac6bc.dmp
Segmentation fault


From: James M. Greene [email protected]
Sent: Saturday, February 22, 2014 5:33 PM
To: ariya/phantomjs
Cc: Enrico Silterra
Subject: Re: [phantomjs] run a script mixed.js to detect mixed content, and get a crash (#12002)

P.S. I love your script idea, very useful.

Reply to this email directly or view it on GitHubhttps://github.com//issues/12002#issuecomment-35817208.

@vitallium
Copy link
Collaborator

Confirmed on Windows 7/8 x64.

@es287
Copy link
Author

es287 commented Feb 24, 2014

I ran this with --debug=true, I don't know if this is of any use :

phantomjs --debug=true --ignore-ssl-errors=true mixed.js https://beta.library.cornell.edu/hours
2014-02-24T08:19:32 [DEBUG] CookieJar - Created but will not store cookies (use option '--cookies-file=' to enable persisten cookie storage)
2014-02-24T08:19:32 [DEBUG] Phantom - execute: Configuration
2014-02-24T08:19:32 [DEBUG] 0 objectName : ""
2014-02-24T08:19:32 [DEBUG] 1 cookiesFile : ""
2014-02-24T08:19:32 [DEBUG] 2 diskCacheEnabled : "false"
2014-02-24T08:19:32 [DEBUG] 3 maxDiskCacheSize : "-1"
2014-02-24T08:19:32 [DEBUG] 4 ignoreSslErrors : "true"
2014-02-24T08:19:32 [DEBUG] 5 localToRemoteUrlAccessEnabled : "false"
2014-02-24T08:19:32 [DEBUG] 6 outputEncoding : "UTF-8"
2014-02-24T08:19:32 [DEBUG] 7 proxyType : "http"
2014-02-24T08:19:32 [DEBUG] 8 proxy : ":1080"
2014-02-24T08:19:32 [DEBUG] 9 proxyAuth : ":"
2014-02-24T08:19:32 [DEBUG] 10 scriptEncoding : "UTF-8"
2014-02-24T08:19:32 [DEBUG] 11 webSecurityEnabled : "true"
2014-02-24T08:19:32 [DEBUG] 12 offlineStoragePath : ""
2014-02-24T08:19:32 [DEBUG] 13 offlineStorageDefaultQuota : "-1"
2014-02-24T08:19:32 [DEBUG] 14 printDebugMessages : "true"
2014-02-24T08:19:32 [DEBUG] 15 javascriptCanOpenWindows : "true"
2014-02-24T08:19:32 [DEBUG] 16 javascriptCanCloseWindows : "true"
2014-02-24T08:19:32 [DEBUG] 17 sslProtocol : "sslv3"
2014-02-24T08:19:32 [DEBUG] 18 sslCertificatesPath : ""
2014-02-24T08:19:32 [DEBUG] 19 webdriver : ":"
2014-02-24T08:19:32 [DEBUG] 20 webdriverLogFile : ""
2014-02-24T08:19:32 [DEBUG] 21 webdriverLogLevel : "INFO"
2014-02-24T08:19:32 [DEBUG] 22 webdriverSeleniumGridHub : ""
2014-02-24T08:19:32 [DEBUG] Phantom - execute: Script & Arguments
2014-02-24T08:19:32 [DEBUG] script: "mixed.js"
2014-02-24T08:19:32 [DEBUG] 0 arg: "https://beta.library.cornell.edu/hours"
2014-02-24T08:19:32 [DEBUG] Phantom - execute: Starting normal mode
2014-02-24T08:19:32 [DEBUG] WebPage - setupFrame ""
2014-02-24T08:19:32 [DEBUG] FileSystem - _open: ":/modules/fs.js" QMap(("mode", QVariant(QString, "r") ) )
2014-02-24T08:19:32 [DEBUG] FileSystem - _open: ":/modules/system.js" QMap(("mode", QVariant(QString, "r") ) )
2014-02-24T08:19:32 [DEBUG] FileSystem - _open: ":/modules/_coffee-script.js" QMap(("mode", QVariant(QString, "r") ) )
2014-02-24T08:19:32 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/package.json" QMap(("mode", QVariant(QString, "r") ) )
2014-02-24T08:19:32 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/coffee-script.js" QMap(("mode", QVariant(QString, "r") ) )
2014-02-24T08:19:32 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/./lexer.js" QMap(("mode", QVariant(QString, "r") ) )
2014-02-24T08:19:32 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/././rewriter.js" QMap(("mode", QVariant(QString, "r") ) )
2014-02-24T08:19:32 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/././helpers.js" QMap(("mode", QVariant(QString, "r") ) )
2014-02-24T08:19:32 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/./parser.js" QMap(("mode", QVariant(QString, "r") ) )
2014-02-24T08:19:32 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/./helpers.js" QMap(("mode", QVariant(QString, "r") ) )
2014-02-24T08:19:32 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/./nodes.js" QMap(("mode", QVariant(QString, "r") ) )
2014-02-24T08:19:32 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/././scope.js" QMap(("mode", QVariant(QString, "r") ) )
2014-02-24T08:19:32 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/./././helpers.js" QMap(("mode", QVariant(QString, "r") ) )
2014-02-24T08:19:32 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/././lexer.js" QMap(("mode", QVariant(QString, "r") ) )
2014-02-24T08:19:32 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/./././rewriter.js" QMap(("mode", QVariant(QString, "r") ) )
2014-02-24T08:19:32 [DEBUG] FileSystem - _open: ":/modules/webpage.js" QMap(("mode", QVariant(QString, "r") ) )
2014-02-24T08:19:32 [DEBUG] WebPage - updateLoadingProgress: 10
2014-02-24T08:19:32 [DEBUG] WebPage - updateLoadingProgress: 13
2014-02-24T08:19:32 [DEBUG] WebPage - updateLoadingProgress: 17
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 19
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 22
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 24
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 26
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 29
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 31
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 34
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 36
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 39
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 42
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 45
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 47
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 47
2014-02-24T08:19:33 [DEBUG] WebPage - setupFrame ""
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "has_js=1; domain=beta.library.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] WebPage - setupFrame "campusmap"
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 47
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 50
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "has_js=1; domain=beta.library.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "cornell.production=R253771673; domain=www.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 53
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 56
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 59
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 62
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 66
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 69
2014-02-24T08:19:33 [DEBUG] WebPage - updateLoadingProgress: 78
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "has_js=1; domain=beta.library.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "cornell.production=R253771673; domain=www.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utma=23486248.787095838.1393247973.1393247973.1393247973.1; expires=Wed, 24-Feb-2016 13:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "has_js=1; domain=beta.library.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "cornell.production=R253771673; domain=www.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utma=23486248.787095838.1393247973.1393247973.1393247973.1; expires=Wed, 24-Feb-2016 13:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmb=23486248.0.10.1393247973; expires=Mon, 24-Feb-2014 13:49:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "has_js=1; domain=beta.library.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "cornell.production=R253771673; domain=www.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utma=23486248.787095838.1393247973.1393247973.1393247973.1; expires=Wed, 24-Feb-2016 13:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmb=23486248.0.10.1393247973; expires=Mon, 24-Feb-2014 13:49:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmc=23486248; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "has_js=1; domain=beta.library.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "cornell.production=R253771673; domain=www.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utma=23486248.787095838.1393247973.1393247973.1393247973.1; expires=Wed, 24-Feb-2016 13:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmb=23486248.0.10.1393247973; expires=Mon, 24-Feb-2014 13:49:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmc=23486248; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmz=23486248.1393247973.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); expires=Tue, 26-Aug-2014 01:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "has_js=1; domain=beta.library.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "cornell.production=R253771673; domain=www.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utma=23486248.787095838.1393247973.1393247973.1393247973.1; expires=Wed, 24-Feb-2016 13:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmb=23486248.0.10.1393247973; expires=Mon, 24-Feb-2014 13:49:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmc=23486248; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmz=23486248.1393247973.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); expires=Tue, 26-Aug-2014 01:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "has_js=1; domain=beta.library.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "cornell.production=R253771673; domain=www.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmb=23486248.0.10.1393247973; expires=Mon, 24-Feb-2014 13:49:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmc=23486248; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmz=23486248.1393247973.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); expires=Tue, 26-Aug-2014 01:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utma=23486248.787095838.1393247973.1393247973.1393247973.1; expires=Wed, 24-Feb-2016 13:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "has_js=1; domain=beta.library.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "cornell.production=R253771673; domain=www.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmc=23486248; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmz=23486248.1393247973.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); expires=Tue, 26-Aug-2014 01:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utma=23486248.787095838.1393247973.1393247973.1393247973.1; expires=Wed, 24-Feb-2016 13:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmb=23486248.1.10.1393247973; expires=Mon, 24-Feb-2014 13:49:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "has_js=1; domain=beta.library.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "cornell.production=R253771673; domain=www.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmz=23486248.1393247973.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); expires=Tue, 26-Aug-2014 01:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utma=23486248.787095838.1393247973.1393247973.1393247973.1; expires=Wed, 24-Feb-2016 13:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmb=23486248.1.10.1393247973; expires=Mon, 24-Feb-2014 13:49:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmc=23486248; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "has_js=1; domain=beta.library.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "cornell.production=R253771673; domain=www.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utma=23486248.787095838.1393247973.1393247973.1393247973.1; expires=Wed, 24-Feb-2016 13:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmb=23486248.1.10.1393247973; expires=Mon, 24-Feb-2014 13:49:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmc=23486248; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmz=23486248.1393247973.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); expires=Tue, 26-Aug-2014 01:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "has_js=1; domain=beta.library.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "cornell.production=R253771673; domain=www.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utma=23486248.787095838.1393247973.1393247973.1393247973.1; expires=Wed, 24-Feb-2016 13:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmb=23486248.1.10.1393247973; expires=Mon, 24-Feb-2014 13:49:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmc=23486248; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmz=23486248.1393247973.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); expires=Tue, 26-Aug-2014 01:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "has_js=1; domain=beta.library.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utma=23486248.787095838.1393247973.1393247973.1393247973.1; expires=Wed, 24-Feb-2016 13:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmb=23486248.1.10.1393247973; expires=Mon, 24-Feb-2014 13:49:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmc=23486248; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "__utmz=23486248.1393247973.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); expires=Tue, 26-Aug-2014 01:19:33 GMT; domain=.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "cornell.production=R253771673; domain=www.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "CFID=48382793; expires=Wed, 17-Feb-2044 13:19:33 GMT; domain=www.cornell.edu; path=/"
2014-02-24T08:19:33 [DEBUG] CookieJar - Saved "CFTOKEN=13437969; expires=Wed, 17-Feb-2044 13:19:33 GMT; domain=www.cornell.edu; path=/"
ALERT: The secure page https://beta.library.cornell.edu/hours loaded an insecure asset http://www.cornell.edu/maps/?iframe=1&hideLocList=1&hideDir=1&hideOverlays=1&zoom=15&suppressUserLoc=1 which may trigger warnings and hurt customer perception.
2014-02-24T08:19:33 [DEBUG] Network - Resource request error: 5 ( "Operation canceled" ) URL: "http://www.cornell.edu/maps/?iframe=1&hideLocList=1&hideDir=1&hideOverlays=1&zoom=15&suppressUserLoc=1"
2014-02-24T08:19:33 [DEBUG] Network - Resource request error: 5 ( "Operation canceled" ) URL: "https://ssl.google-analytics.com/__utm.gif?utmwv=5.4.7&utms=1&utmn=295646274&utmhn=beta.library.cornell.edu&utmcs=UTF-8&utmsr=1024x768&utmvp=400x300&utmsc=32-bit&utmul=en-us&utmje=0&utmfl=-&utmdt=Library Hours | Cornell University Library&utmhid=350627288&utmr=-&utmp=/hours&utmht=1393247973458&utmac=UA-8097093-15&utmcc=__utma=23486248.787095838.1393247973.1393247973.1393247973.1;+__utmz=23486248.1393247973.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none);&utmu=q~"
PhantomJS has crashed. Please read the crash reporting guide at https://github.com/ariya/phantomjs/wiki/Crash-Reporting and file a bug report at https://github.com/ariya/phantomjs/issues/new with the crash dump file attached: /tmp/2964af33-f8d4-8c5d-3c70850b-5a1519c3.dmp
Segmentation fault

?


From: Vitaliy Slobodin [email protected]
Sent: Monday, February 24, 2014 2:38 AM
To: ariya/phantomjs
Cc: Enrico Silterra
Subject: Re: [phantomjs] run a script mixed.js to detect mixed content, and get a crash (#12002)

Confirmed on Windows 7/8 x64.

Reply to this email directly or view it on GitHubhttps://github.com//issues/12002#issuecomment-35863375.

@lagershins
Copy link

Hi. I have run this script in an attempt to determine whether this is causing phantomjs to crash for me. Now this might be naive but isn't phantomjs 'crashing' because the script is exiting with a value of 1 at line 12 when it finds an insecure asset? If I comment out this line, there is no crash using the same url.

@ghost ghost removed old.Module-WebPage labels Dec 19, 2017
@stale stale bot added the stale label Dec 26, 2019
@stale
Copy link

stale bot commented Dec 29, 2019

Due to our very limited maintenance capacity (see #14541 for more details), we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed. In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!

@stale stale bot closed this as completed Dec 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants