Created
September 11, 2013 19:35
-
-
Save Yermo/6528678 to your computer and use it in GitHub Desktop.
dump in _SessionForwardingHandler->write()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit ff044e40fd1fce5cfcfd18b5f0166a6dcecd0b49 | |
| Author: Bert Maher <bertrand@fb.com> | |
| Date: Mon Sep 9 18:20:39 2013 -0700 | |
| Refactor of IssetEmptyElem | |
| Cleaning up the last Elem function of member-operations: | |
| As far as I (or gcc) could tell, the isObj template parameter wasn't | |
| used so I nuked it. | |
| ElemIssetEmptyString was begging for a fast path when the key is an | |
| Int64, so I obliged. I think there's a bit more fat there but I'll | |
| get to it in a later diff. | |
| Reviewed By: @edwinsmith | |
| Differential Revision: D962556 | |
| Running my codebase. Earlier builds from last week would actually run this same code at least three times. | |
| Host: blade | |
| ProcessID: 25335 | |
| ThreadID: 7f07afbff700 | |
| ThreadPID: 25350 | |
| Name: unknown program | |
| Type: Aborted | |
| Runtime: hhvm | |
| Version: heads/master-0-gff044e40fd1fce5cfcfd18b5f0166a6dcecd0b49 | |
| DebuggerCount: 0 | |
| URL: / | |
| ThreadType: Web Request | |
| Server: blade.dtlink.com | |
| # 0 bt_handler at /usr/local/src/dev/hiphop-php/hphp/runtime/base/crash-reporter.cpp:58 | |
| # 1 killpg at /lib/x86_64-linux-gnu/libc.so.6:0 | |
| # 2 raise at /lib/x86_64-linux-gnu/libc.so.6:0 | |
| # 3 abort at /lib/x86_64-linux-gnu/libc.so.6:0 | |
| # 4 __uselocale at /lib/x86_64-linux-gnu/libc.so.6:0 | |
| # 5 __assert_fail at /lib/x86_64-linux-gnu/libc.so.6:0 | |
| # 6 requestEventHandlerPriorityComp at /usr/local/src/dev/hiphop-php/hphp/runtime/base/execution-context.cpp:472 | |
| # 7 get at /usr/local/src/dev/hiphop-php/hphp/runtime/base/request-local.h:55 | |
| # 8 operator-> at /usr/local/src/dev/hiphop-php/hphp/runtime/base/request-local.h:68 | |
| # 9 HPHP::Stream::getWrapper(HPHP::String const&) at /usr/local/src/dev/hiphop-php/hphp/runtime/base/stream-wrapper-registry.cpp:163 | |
| # 10 HPHP::Stream::getWrapperFromURI(HPHP::String const&) at /usr/local/src/dev/hiphop-php/hphp/runtime/base/stream-wrapper-registry.cpp:192 | |
| # 11 HPHP::File::Open(HPHP::String const&, HPHP::String const&, int, HPHP::Variant const&) at /usr/local/src/dev/hiphop-php/hphp/runtime/base/file.cpp:134 | |
| # 12 HPHP::f_fopen(HPHP::String const&, HPHP::String const&, bool, HPHP::Variant const&) at /usr/local/src/dev/hiphop-php/hphp/runtime/ext/ext_file.cpp:201 | |
| # 13 HPHP::f_file_get_contents(HPHP::String const&, bool, HPHP::Variant const&, long, long) at /usr/local/src/dev/hiphop-php/hphp/runtime/ext/ext_file.cpp:410 | |
| # 14 long HPHP::Native::NativeFuncCaller<long, 0ul, 5ul>::call<HPHP::TypedValue*, HPHP::Value*, long, HPHP::TypedValue*, long, long>(HPHP::Func const*, HPHP::TypedValue*, HPHP::TypedValue*, | |
| HPHP::Value*, long, HPHP::TypedValue*, long, long) at /usr/local/src/dev/hiphop-php/hphp/runtime/vm/native.cpp:68 | |
| # 15 long HPHP::Native::NativeFuncCaller<long, 1ul, 4ul>::call<HPHP::TypedValue*, HPHP::Value*, long, HPHP::TypedValue*, long>(HPHP::Func const*, HPHP::TypedValue*, HPHP::TypedValue*, HPHP:: | |
| Value*, long, HPHP::TypedValue*, long) at /usr/local/src/dev/hiphop-php/hphp/runtime/vm/native.cpp:51 | |
| # 16 long HPHP::Native::NativeFuncCaller<long, 2ul, 3ul>::call<HPHP::TypedValue*, HPHP::Value*, long, HPHP::TypedValue*>(HPHP::Func const*, HPHP::TypedValue*, HPHP::TypedValue*, HPHP::Value* | |
| , long, HPHP::TypedValue*) at /usr/local/src/dev/hiphop-php/hphp/runtime/vm/native.cpp:51 | |
| # 17 long HPHP::Native::NativeFuncCaller<long, 3ul, 2ul>::call<HPHP::TypedValue*, HPHP::Value*, long>(HPHP::Func const*, HPHP::TypedValue*, HPHP::TypedValue*, HPHP::Value*, long) at /usr/loc | |
| al/src/dev/hiphop-php/hphp/runtime/vm/native.cpp:60 | |
| # 18 long HPHP::Native::NativeFuncCaller<long, 4ul, 1ul>::call<HPHP::TypedValue*, HPHP::Value*>(HPHP::Func const*, HPHP::TypedValue*, HPHP::TypedValue*, HPHP::Value*) at /usr/local/src/dev/h | |
| iphop-php/hphp/runtime/vm/native.cpp:51 | |
| # 19 long HPHP::Native::NativeFuncCaller<long, 5ul, 0ul>::call<HPHP::TypedValue*>(HPHP::Func const*, HPHP::TypedValue*, HPHP::TypedValue*) at /usr/local/src/dev/hiphop-php/hphp/runtime/vm/na | |
| tive.cpp:56 | |
| # 20 makeNativeRefCall<HPHP::TypedValue> at /usr/local/src/dev/hiphop-php/hphp/runtime/vm/native.cpp:106 | |
| # 21 HPHP::Native::callFunc(HPHP::Func const*, HPHP::TypedValue*, HPHP::TypedValue*, int, HPHP::TypedValue&) at /usr/local/src/dev/hiphop-php/hphp/runtime/vm/native.cpp:190 | |
| # 22 HPHP::VMExecutionContext::iopFCallBuiltin(unsigned char const*&) at /usr/local/src/dev/hiphop-php/hphp/runtime/vm/bytecode.cpp:5804 | |
| # 23 void HPHP::VMExecutionContext::dispatchImpl<4>(int) at /usr/local/src/dev/hiphop-php/hphp/runtime/vm/bytecode.cpp:7085 | |
| # 24 HPHP::VMExecutionContext::dispatch() at /usr/local/src/dev/hiphop-php/hphp/runtime/vm/bytecode.cpp:7092 | |
| # 25 HPHP::VMExecutionContext::enterVMWork(HPHP::ActRec*) at /usr/local/src/dev/hiphop-php/hphp/runtime/vm/bytecode.cpp:1524 | |
| # 26 HPHP::VMExecutionContext::enterVM(HPHP::TypedValue*, HPHP::ActRec*) at /usr/local/src/dev/hiphop-php/hphp/runtime/vm/bytecode.cpp:1556 | |
| # 27 HPHP::VMExecutionContext::invokeFunc(HPHP::TypedValue*, HPHP::Func const*, HPHP::Array const&, HPHP::ObjectData*, HPHP::Class*, HPHP::VarEnv*, HPHP::StringData*, HPHP::VMExecutionContex | |
| t::InvokeFlags) at /usr/local/src/dev/hiphop-php/hphp/runtime/vm/bytecode.cpp:1773 | |
| # 28 HPHP::vm_call_user_func(HPHP::Variant const&, HPHP::Array const&, bool) at /usr/local/src/dev/hiphop-php/hphp/runtime/base/builtin-functions.cpp:351 | |
| # 29 HPHP::UserSessionModule::write(char const*, HPHP::String const&) at /usr/local/src/dev/hiphop-php/hphp/runtime/ext/ext_session.cpp:936 | |
| # 30 php_session_save_current_state at /usr/local/src/dev/hiphop-php/hphp/runtime/ext/ext_session.cpp:1248 | |
| # 31 HPHP::f_session_write_close() at /usr/local/src/dev/hiphop-php/hphp/runtime/ext/ext_session.cpp:1791 | |
| # 32 HPHP::SessionRequestData::requestShutdown() at /usr/local/src/dev/hiphop-php/hphp/runtime/ext/ext_session.cpp:136 | |
| # 33 HPHP::BaseExecutionContext::onRequestShutdown() at /usr/local/src/dev/hiphop-php/hphp/runtime/base/execution-context.cpp:486 | |
| # 34 HPHP::hphp_context_exit(HPHP::ExecutionContext*, bool, bool, char const*) at /usr/local/src/dev/hiphop-php/hphp/runtime/base/program-functions.cpp:1592 | |
| # 35 HPHP::HttpRequestHandler::executePHPRequest(HPHP::Transport*, HPHP::RequestURI&, HPHP::SourceRootInfo&, bool) at /usr/local/src/dev/hiphop-php/hphp/runtime/server/http-request-handler.c | |
| pp:395 | |
| # 36 HPHP::HttpRequestHandler::handleRequest(HPHP::Transport*) at /usr/local/src/dev/hiphop-php/hphp/runtime/server/http-request-handler.cpp:277 | |
| # 37 HPHP::LibEventWorker::doJobImpl(boost::shared_ptr<HPHP::LibEventJob>, bool) at /usr/local/src/dev/hiphop-php/hphp/runtime/server/libevent-server.cpp:122 | |
| # 38 HPHP::LibEventWorker::doJob(boost::shared_ptr<HPHP::LibEventJob>) at /usr/local/src/dev/hiphop-php/hphp/runtime/server/libevent-server.cpp:88 | |
| # 39 HPHP::JobQueueWorker<boost::shared_ptr<HPHP::LibEventJob>, true, false, HPHP::JobQueueDropVMStack>::start() at /usr/local/src/dev/hiphop-php/hphp/util/job-queue.h:405 | |
| # 40 HPHP::AsyncFunc<HPHP::LibEventWorker>::run_(void*) at /usr/local/src/dev/hiphop-php/hphp/util/async-func.h:206 | |
| # 41 HPHP::AsyncFuncImpl::threadFuncImpl() at /usr/local/src/dev/hiphop-php/hphp/util/async-func.cpp:120 | |
| # 42 HPHP::AsyncFuncImpl::ThreadFunc(void*) at /usr/local/src/dev/hiphop-php/hphp/util/async-func.cpp:45 | |
| # 43 start_thread at /lib/x86_64-linux-gnu/libpthread.so.0:0 | |
| # 44 __clone at /lib/x86_64-linux-gnu/libc.so.6:0 | |
| PHP Stacktrace: | |
| #0 formVista->_session_write(8333734643263333532333335656564313035393631356562693738356266623, _fv_SESSION|a:43:{s:17:"_fv_WINDOWSESSION";a:0:{}s:6:"_fv_wh";i:1;s:12:"loginManager";a:0:{}s: | |
| 11:"icmsSession";a:2:{s:12:"cs_pages_ref";i:3;s:17:"cs_auth_users_ref";N;}s:11:"meta_global";a:0:{}s:4:"text";a:0:{}s:12:"blog_summary";a:0:{}s:22:"sharedphotos_slideshow";a:0:{}s:11:"text_g | |
| lobal";a:0:{}s:20:"account_strip_global";a:0:{}s:18:"search_form_global";a:0:{}s:24:"graphic_link_list_global";a:0:{}s:16:"link_list_global";a:0:{}s:20:"advertisement_global";a:0:{}s:18:"blo | |
| g_summary_model";a:0:{}s:17:"blog_summary_view";a:1:{s:13:"_fv_formcount";i:17;}s:19:"account_strip_model";a:0:{}s:18:"account_strip_view";a:1:{s:13:"_fv_formcount";i:340;}s:16:"search_form_ | |
| view";a:1:{s:13:"_fv_formcount";i:680;}s:4:"blog";a:0:{}s:11:"blog_search";a:0:{}s:18:"blog_articles_list";a:1:{s:13:"_fv_formcount";i:93;}s:14:"blog_search_01";a:1:{s:13:"_fv_formcount";i:9 | |
| 3;}s:5:"forum";a:0:{}s:17:"forum_query_model";a:0:{}s:16:"forum_index_view";a:1:{s:13:"_fv_formcount";i:13;}s:12:"group_photos";a:0:{}s:24:"group_photos_query_model";a:0:{}s:23:"group_photos | |
| _index_view";a:1:{s:13:"_fv_formcount";i:1;}s:17:"forum_thread_view";a:1:{s:13:"_fv_formcount";i:1;}s:21:"forum_post_entry_view";a:1:{s:13:"_fv_formcount";i:25;}s:13:"photo_preview";a:0:{}s: | |
| 22:"forum_01_photo_preview";a:1:{s:13:"_fv_formcount";i:2;}s:11:"url_preview";a:0:{}s:20:"forum_01_url_preview";a:1:{s:13:"_fv_formcount";i:1;}s:10:"group_urls";a:0:{}s:22:"group_urls_query_ | |
| model";a:0:{}s:21:"group_urls_index_view";a:1:{s:13:"_fv_formcount";i:1;}s:24:"groupurls_01_url_preview";a:1:{s:13:"_fv_formcount";i:8;}s:13:"video_preview";a:0:{}s:26:"groupurls_01_video_pr | |
| eview";a:1:{s:13:"_fv_formcount";i:4;}s:31:"contact_us_withcomments_nophone";a:0:{}s:13:"contact_us_01";a:1:{s:13:"_fv_formcount";i:1;}}) | |
| #1 _SessionForwardingHandler->write(8333734643263333532333335656564313035393631356562693738356266623, _fv_SESSION|a:43:{s:17:"_fv_WINDOWSESSION";a:0:{}s:6:"_fv_wh";i:1;s:12:"loginManager";a | |
| :0:{}s:11:"icmsSession";a:2:{s:12:"cs_pages_ref";i:3;s:17:"cs_auth_users_ref";N;}s:11:"meta_global";a:0:{}s:4:"text";a:0:{}s:12:"blog_summary";a:0:{}s:22:"sharedphotos_slideshow";a:0:{}s:11: | |
| "text_global";a:0:{}s:20:"account_strip_global";a:0:{}s:18:"search_form_global";a:0:{}s:24:"graphic_link_list_global";a:0:{}s:16:"link_list_global";a:0:{}s:20:"advertisement_global";a:0:{}s: | |
| 18:"blog_summary_model";a:0:{}s:17:"blog_summary_view";a:1:{s:13:"_fv_formcount";i:17;}s:19:"account_strip_model";a:0:{}s:18:"account_strip_view";a:1:{s:13:"_fv_formcount";i:340;}s:16:"searc | |
| h_form_view";a:1:{s:13:"_fv_formcount";i:680;}s:4:"blog";a:0:{}s:11:"blog_search";a:0:{}s:18:"blog_articles_list";a:1:{s:13:"_fv_formcount";i:93;}s:14:"blog_search_01";a:1:{s:13:"_fv_formcou | |
| nt";i:93;}s:5:"forum";a:0:{}s:17:"forum_query_model";a:0:{}s:16:"forum_index_view";a:1:{s:13:"_fv_formcount";i:13;}s:12:"group_photos";a:0:{}s:24:"group_photos_query_model";a:0:{}s:23:"group | |
| _photos_index_view";a:1:{s:13:"_fv_formcount";i:1;}s:17:"forum_thread_view";a:1:{s:13:"_fv_formcount";i:1;}s:21:"forum_post_entry_view";a:1:{s:13:"_fv_formcount";i:25;}s:13:"photo_preview";a | |
| :0:{}s:22:"forum_01_photo_preview";a:1:{s:13:"_fv_formcount";i:2;}s:11:"url_preview";a:0:{}s:20:"forum_01_url_preview";a:1:{s:13:"_fv_formcount";i:1;}s:10:"group_urls";a:0:{}s:22:"group_urls | |
| _query_model";a:0:{}s:21:"group_urls_index_view";a:1:{s:13:"_fv_formcount";i:1;}s:24:"groupurls_01_url_preview";a:1:{s:13:"_fv_formcount";i:8;}s:13:"video_preview";a:0:{}s:26:"groupurls_01_v | |
| ideo_preview";a:1:{s:13:"_fv_formcount";i:4;}s:31:"contact_us_withcomments_nophone";a:0:{}s:13:"contact_us_01";a:1:{s:13:"_fv_formcount";i:1;}}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hhvm: /usr/local/src/dev/hiphop-php/hphp/runtime/base/execution-context.cpp:467: void HPHP::BaseExecutionContext::registerRequestEventHandler(HPHP::RequestEventHandler*): Assertion `false' failed.