Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Thread 9 (Thread 0x7fffc1fff700 (LWP 7011)):
#0 elem<HPHP::Array::exists(const HPHP::String&, bool) const::<lambda(auto:11&& ...)> > (key=..., is_key=false, fn=..., arr=...) at /home/ryan/hhvm/hphp/runtime/base/type-array.cpp:785
#1 HPHP::Array::exists (this=this@entry=0x7fffc1ff9e20, k=..., isKey=isKey@entry=false) at /home/ryan/hhvm/hphp/runtime/base/type-array.cpp:863
#2 0x00000000022ce243 in HPHP::ArrayUtil::StringUnique (input=...) at /home/ryan/hhvm/hphp/runtime/base/array-util.cpp:412
#3 0x00000000022ce13d in operator() (__closure=<optimized out>) at /home/ryan/hhvm/hphp/runtime/ext/array/ext_array.cpp:2758
#4 HPHP::f_array_unique (array=..., sort_flags=2) at /home/ryan/hhvm/hphp/runtime/ext/array/ext_array.cpp:2751
#5 0x000000000239572e in HPHP::Native::callFuncTVImpl (f=<optimized out>, GP=GP@entry=0x7fffc1ff9fc0, GP_count=<optimized out>, SIMD=SIMD@entry=0x7fffc1ff9f80, SIMD_count=SIMD_count@entry=0)
at /home/ryan/hhvm/hphp/runtime/vm/native-func-caller.h:1520
#6 0x0000000001302254 in HPHP::Native::callFunc<false> (func=func@entry=0x7fffe7af0c80, ctx=ctx@entry=0x0, args=args@entry=0x7fffca87f830, numNonDefault=numNonDefault@entry=1, ret=...)
at /home/ryan/hhvm/hphp/runtime/vm/native.cpp:200
#7 0x000000000130241a in HPHP::Native::functionWrapper<false> (ar=0x7fffca87f840) at /home/ryan/hhvm/hphp/runtime/vm/native.cpp:416
#8 0x000000000124bbbd in iopNativeImpl (pc=<optimized out>) at /home/ryan/hhvm/hphp/runtime/vm/bytecode.cpp:5629
#9 iopWrapper (pc=<optimized out>, fn=<optimized out>) at /home/ryan/hhvm/hphp/runtime/vm/bytecode.cpp:6450
#10 HPHP::dispatchImpl<false> () at /home/ryan/hhvm/hphp/runtime/vm/bytecode.cpp:7229
#11 0x000000000126098c in HPHP::dispatch () at /home/ryan/hhvm/hphp/runtime/vm/bytecode.cpp:7248
#12 0x0000000002290b2a in HPHP::enterVMAtFunc (enterFnAr=enterFnAr@entry=0x7fffca87ffc0, stk=<optimized out>, varEnv=varEnv@entry=0x7fffd8c2ee20) at /home/ryan/hhvm/hphp/runtime/vm/bytecode.cpp:1574
#13 0x000000000228fe4d in operator() (__closure=<synthetic pointer>) at /home/ryan/hhvm/hphp/runtime/base/execution-context.cpp:1694
#14 exception_handler<HPHP::ExecutionContext::invokeFunc(const HPHP::Func*, const HPHP::Variant&, HPHP::ObjectData*, HPHP::Class*, HPHP::VarEnv*, HPHP::StringData*, HPHP::ExecutionContext::InvokeFlags, bool)::<lambda(HPHP::ActRec*)>::<lambda()> > (action=...) at /home/ryan/hhvm/hphp/runtime/vm/unwind-inl.h:30
#15 operator() (__closure=<synthetic pointer>) at /home/ryan/hhvm/hphp/runtime/base/execution-context.cpp:1624
#16 enterVMCustomHandler<HPHP::enterVM(HPHP::ActRec*, Action) [with Action = HPHP::ExecutionContext::invokeFunc(const HPHP::Func*, const HPHP::Variant&, HPHP::ObjectData*, HPHP::Class*, HPHP::VarEnv*, HPHP::StringData*, HPHP::ExecutionContext::InvokeFlags, bool)::<lambda(HPHP::ActRec*)>::<lambda()>]::<lambda()> > (action=..., ar=0x7fffca87ffc0) at /home/ryan/hhvm/hphp/runtime/base/execution-context.cpp:1615
#17 enterVM<HPHP::ExecutionContext::invokeFunc(const HPHP::Func*, const HPHP::Variant&, HPHP::ObjectData*, HPHP::Class*, HPHP::VarEnv*, HPHP::StringData*, HPHP::ExecutionContext::InvokeFlags, bool)::<lambda(HPHP::ActRec*)>::<lambda()> >
(action=..., ar=0x7fffca87ffc0) at /home/ryan/hhvm/hphp/runtime/base/execution-context.cpp:1624
#18 operator() (ar=0x7fffca87ffc0, __closure=<synthetic pointer>) at /home/ryan/hhvm/hphp/runtime/base/execution-context.cpp:1695
#19 invokeFuncImpl<HPHP::ExecutionContext::invokeFunc(const HPHP::Func*, const HPHP::Variant&, HPHP::ObjectData*, HPHP::Class*, HPHP::VarEnv*, HPHP::StringData*, HPHP::ExecutionContext::InvokeFlags, bool)::<lambda(HPHP::TypedValue&)>, HPHP::ExecutionContext::invokeFunc(const HPHP::Func*, const HPHP::Variant&, HPHP::ObjectData*, HPHP::Class*, HPHP::VarEnv*, HPHP::StringData*, HPHP::ExecutionContext::InvokeFlags, bool)::<lambda(HPHP::ActRec*, HPHP::TypedValue&)>, HPHP::ExecutionContext::invokeFunc(const HPHP::Func*, const HPHP::Variant&, HPHP::ObjectData*, HPHP::Class*, HPHP::VarEnv*, HPHP::StringData*, HPHP::ExecutionContext::InvokeFlags, bool)::<lambda(HPHP::ActRec*)> > (doEnterVM=..., doInitArgs=...,
doStackCheck=..., useWeakTypes=false, invName=0x0, argc=0, cls=0x0, thiz=0x0, f=0x7fffe01a3ef0, this=0x7fffd8c29020) at /home/ryan/hhvm/hphp/runtime/base/execution-context.cpp:1586
#20 HPHP::ExecutionContext::invokeFunc (this=this@entry=0x7fffd8c29020, f=0x7fffe01a3ef0, args_=..., thiz=thiz@entry=0x0, cls=cls@entry=0x0, varEnv=0x7fffd8c2ee20, invName=0x0, flags=HPHP::ExecutionContext::InvokePseudoMain,
useWeakTypes=false) at /home/ryan/hhvm/hphp/runtime/base/execution-context.cpp:1699
#21 0x000000000234ff51 in HPHP::ExecutionContext::invokeUnit (this=0x7fffd8c29020, unit=0x7fffe01a2a60) at /home/ryan/hhvm/hphp/runtime/base/execution-context.cpp:1312
#22 0x000000000234fd8d in invoke_file_impl (currentDir=0x24005d9 "", once=true, path=..., res=...) at /home/ryan/hhvm/hphp/runtime/base/builtin-functions.cpp:908
#23 HPHP::invoke_file (s=..., once=once@entry=true, currentDir=currentDir@entry=0x24005d9 "") at /home/ryan/hhvm/hphp/runtime/base/builtin-functions.cpp:921
#24 0x000000000234fbe1 in HPHP::include_impl_invoke (file=..., once=once@entry=true, currentDir=currentDir@entry=0x24005d9 "") at /home/ryan/hhvm/hphp/runtime/base/builtin-functions.cpp:932
#25 0x000000000101fc58 in HPHP::hphp_invoke (context=context@entry=0x7fffd8c29020, cmd="/var/builds/local-development/app/front.php", func=func@entry=false, funcParams=..., funcRet=..., reqInitFunc=..., reqInitDoc="",
error=@0x7fffc1ffab4f: false, errorMsg="Internal Server Error", once=true, warmupOnly=false, richErrorMsg=false) at /home/ryan/hhvm/hphp/runtime/base/program-functions.cpp:2421
#26 0x0000000002345e74 in HPHP::HttpRequestHandler::executePHPRequest (this=this@entry=0x7fffd8f304c0, transport=transport@entry=0x7fffe6fa2010, reqURI=..., sourceRootInfo=...)
at /home/ryan/hhvm/hphp/runtime/server/http-request-handler.cpp:475
#27 0x000000000233fa9d in HPHP::HttpRequestHandler::handleRequest (this=0x7fffd8f304c0, transport=0x7fffe6fa2010) at /home/ryan/hhvm/hphp/runtime/server/http-request-handler.cpp:377
#28 0x000000000233d851 in HPHP::ServerWorker<std::shared_ptr<HPHP::ProxygenJob>, HPHP::ProxygenTransportTraits>::doJobImpl (this=this@entry=0x7fffe071b940, job=std::shared_ptr (count 3, weak 0) 0x7fffe0728520, abort=abort@entry=false)
at /home/ryan/hhvm/hphp/runtime/server/server-worker.h:110
#29 0x000000000233d389 in doJob (job=<error reading variable: access outside bounds of object referenced via synthetic pointer>, this=0x7fffe071b940) at /home/ryan/hhvm/hphp/runtime/server/server-worker.h:56
#30 HPHP::JobQueueWorker<std::shared_ptr<HPHP::ProxygenJob>, HPHP::Server*, true, false, HPHP::JobQueueDropVMStack>::start (this=0x7fffe071b940) at /home/ryan/hhvm/hphp/util/job-queue.h:466
#31 0x0000000000d82720 in HPHP::AsyncFuncImpl::threadFuncImpl (this=this@entry=0x7fffe06ba900) at /home/ryan/hhvm/hphp/util/async-func.cpp:139
#32 0x0000000000d828cb in HPHP::AsyncFuncImpl::ThreadFunc (obj=0x7fffe06ba900) at /home/ryan/hhvm/hphp/util/async-func.cpp:57
#33 0x0000000001088e25 in HPHP::start_routine_wrapper (arg=0x7fffe1cde780) at /home/ryan/hhvm/hphp/runtime/base/thread-hooks.cpp:105
#34 0x00007ffff6079e25 in start_thread () from /lib64/libpthread.so.0
#35 0x00007ffff007f34d in clone () from /lib64/libc.so.6
Thread 8 (Thread 0x7fffc67ff700 (LWP 6548)):
#0 0x00007ffff607dcf2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000002357dbb in waitImpl (ts=0x7fffc67faf50, pri=HPHP::SynchronizableMulti::Low, q=0, id=<optimized out>, this=0x7fffe0437018) at /home/ryan/hhvm/hphp/util/synchronizable-multi.cpp:58
#2 HPHP::SynchronizableMulti::wait (this=this@entry=0x7fffe0437018, id=id@entry=1, q=q@entry=0, pri=pri@entry=HPHP::SynchronizableMulti::Low, seconds=2,
seconds@entry=<error reading variable: That operation is not available on integers of more than 8 bytes.>, nanosecs=0, nanosecs@entry=<error reading variable: That operation is not available on integers of more than 8 bytes.>)
at /home/ryan/hhvm/hphp/util/synchronizable-multi.cpp:85
#3 0x000000000233d4ae in dequeueOnlyExpiredImpl (inc=true, q=0, id=1, this=0x7fffe0437018) at /home/ryan/hhvm/hphp/util/job-queue.h:335
#4 dequeueMaybeExpired (highpri=false, expired=0x7fffc67fafcf, inc=true, q=0, id=1, this=0x7fffe0437018) at /home/ryan/hhvm/hphp/util/job-queue.h:168
#5 HPHP::JobQueueWorker<std::shared_ptr<HPHP::ProxygenJob>, HPHP::Server*, true, false, HPHP::JobQueueDropVMStack>::start (this=0x7fffe0647940) at /home/ryan/hhvm/hphp/util/job-queue.h:462
#6 0x0000000000d82720 in HPHP::AsyncFuncImpl::threadFuncImpl (this=this@entry=0x7fffe064a200) at /home/ryan/hhvm/hphp/util/async-func.cpp:139
#7 0x0000000000d828cb in HPHP::AsyncFuncImpl::ThreadFunc (obj=0x7fffe064a200) at /home/ryan/hhvm/hphp/util/async-func.cpp:57
#8 0x0000000001088e25 in HPHP::start_routine_wrapper (arg=0x7fffe1cde320) at /home/ryan/hhvm/hphp/runtime/base/thread-hooks.cpp:105
#9 0x00007ffff6079e25 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffff007f34d in clone () from /lib64/libc.so.6
Thread 7 (Thread 0x7fffcf7ff700 (LWP 6543)):
#0 0x00007ffff007f923 in epoll_wait () from /lib64/libc.so.6
#1 0x00007ffff6b7e803 in epoll_dispatch () from /lib64/libevent-2.0.so.5
#2 0x00007ffff6b6a3ea in event_base_loop () from /lib64/libevent-2.0.so.5
#3 0x00000000022f832d in folly::EventBase::loopBody (this=this@entry=0x7fffe0436b00, flags=flags@entry=0) at /home/ryan/hhvm/third-party/folly/src/folly/io/async/EventBase.cpp:314
#4 0x0000000001fba519 in loop (this=0x7fffe0436b00) at /home/ryan/hhvm/third-party/folly/src/folly/io/async/EventBase.cpp:253
#5 folly::EventBase::loopForever (this=this@entry=0x7fffe0436b00) at /home/ryan/hhvm/third-party/folly/src/folly/io/async/EventBase.cpp:451
#6 0x00000000021b8bda in proxygen::WorkerThread::runLoop (this=0x7fffe0436ac0) at /home/ryan/hhvm/third-party/proxygen/src/proxygen/lib/services/WorkerThread.cpp:140
#7 0x00000000021b8e3f in operator() (__closure=0x7fffe063cff8) at /home/ryan/hhvm/third-party/proxygen/src/proxygen/lib/services/WorkerThread.cpp:44
#8 _M_invoke<> (this=0x7fffe063cff8) at /opt/rh/devtoolset-3/root/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2/functional:1700
#9 operator() (this=0x7fffe063cff8) at /opt/rh/devtoolset-3/root/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2/functional:1688
#10 std::thread::_Impl<std::_Bind_simple<proxygen::WorkerThread::start()::<lambda()>()> >::_M_run(void) (this=0x7fffe063cfe0) at /opt/rh/devtoolset-3/root/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2/thread:115
#11 0x00007ffff0917230 in ?? () from /lib64/libstdc++.so.6
#12 0x00007ffff6079e25 in start_thread () from /lib64/libpthread.so.0
#13 0x00007ffff007f34d in clone () from /lib64/libc.so.6
Thread 6 (Thread 0x7fffcffff700 (LWP 6542)):
#0 0x00007ffff607dcf2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000002357dbb in waitImpl (ts=0x7fffcfffaf50, pri=HPHP::SynchronizableMulti::Low, q=0, id=<optimized out>, this=0x7fffe0436418) at /home/ryan/hhvm/hphp/util/synchronizable-multi.cpp:58
#2 HPHP::SynchronizableMulti::wait (this=this@entry=0x7fffe0436418, id=id@entry=8, q=q@entry=0, pri=pri@entry=HPHP::SynchronizableMulti::Low, seconds=1,
seconds@entry=<error reading variable: That operation is not available on integers of more than 8 bytes.>, nanosecs=999975, nanosecs@entry=<error reading variable: That operation is not available on integers of more than 8 bytes.>)
at /home/ryan/hhvm/hphp/util/synchronizable-multi.cpp:85
#3 0x000000000233d4ae in dequeueOnlyExpiredImpl (inc=true, q=0, id=8, this=0x7fffe0436418) at /home/ryan/hhvm/hphp/util/job-queue.h:335
#4 dequeueMaybeExpired (highpri=false, expired=0x7fffcfffafcf, inc=true, q=0, id=8, this=0x7fffe0436418) at /home/ryan/hhvm/hphp/util/job-queue.h:168
#5 HPHP::JobQueueWorker<std::shared_ptr<HPHP::ProxygenJob>, HPHP::Server*, true, false, HPHP::JobQueueDropVMStack>::start (this=0x7fffe06478c0) at /home/ryan/hhvm/hphp/util/job-queue.h:462
#6 0x0000000000d82720 in HPHP::AsyncFuncImpl::threadFuncImpl (this=this@entry=0x7fffe06baf00) at /home/ryan/hhvm/hphp/util/async-func.cpp:139
#7 0x0000000000d828cb in HPHP::AsyncFuncImpl::ThreadFunc (obj=0x7fffe06baf00) at /home/ryan/hhvm/hphp/util/async-func.cpp:57
#8 0x0000000001088e25 in HPHP::start_routine_wrapper (arg=0x7fffe1cde160) at /home/ryan/hhvm/hphp/runtime/base/thread-hooks.cpp:105
#9 0x00007ffff6079e25 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffff007f34d in clone () from /lib64/libc.so.6
Thread 5 (Thread 0x7fffd4bff700 (LWP 6541)):
#0 0x00007ffff007f923 in epoll_wait () from /lib64/libc.so.6
#1 0x00007ffff6b7e803 in epoll_dispatch () from /lib64/libevent-2.0.so.5
#2 0x00007ffff6b6a3ea in event_base_loop () from /lib64/libevent-2.0.so.5
#3 0x00000000022f832d in folly::EventBase::loopBody (this=this@entry=0x7fffe0435f00, flags=flags@entry=0) at /home/ryan/hhvm/third-party/folly/src/folly/io/async/EventBase.cpp:314
#4 0x0000000001fba519 in loop (this=0x7fffe0435f00) at /home/ryan/hhvm/third-party/folly/src/folly/io/async/EventBase.cpp:253
#5 folly::EventBase::loopForever (this=this@entry=0x7fffe0435f00) at /home/ryan/hhvm/third-party/folly/src/folly/io/async/EventBase.cpp:451
#6 0x00000000021b8bda in proxygen::WorkerThread::runLoop (this=0x7fffe0435ec0) at /home/ryan/hhvm/third-party/proxygen/src/proxygen/lib/services/WorkerThread.cpp:140
#7 0x00000000021b8e3f in operator() (__closure=0x7fffe067ad88) at /home/ryan/hhvm/third-party/proxygen/src/proxygen/lib/services/WorkerThread.cpp:44
#8 _M_invoke<> (this=0x7fffe067ad88) at /opt/rh/devtoolset-3/root/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2/functional:1700
#9 operator() (this=0x7fffe067ad88) at /opt/rh/devtoolset-3/root/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2/functional:1688
#10 std::thread::_Impl<std::_Bind_simple<proxygen::WorkerThread::start()::<lambda()>()> >::_M_run(void) (this=0x7fffe067ad70) at /opt/rh/devtoolset-3/root/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2/thread:115
#11 0x00007ffff0917230 in ?? () from /lib64/libstdc++.so.6
#12 0x00007ffff6079e25 in start_thread () from /lib64/libpthread.so.0
#13 0x00007ffff007f34d in clone () from /lib64/libc.so.6
Thread 3 (Thread 0x7fffe13fe700 (LWP 6529)):
#0 0x00007ffff607dcf2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007fffe66a664a in gpr_cv_wait () from /usr/local/lib/libgrpc.so.5
#2 0x00007fffe6641e7b in ?? () from /usr/local/lib/libgrpc.so.5
#3 0x00007fffe66a67c7 in ?? () from /usr/local/lib/libgrpc.so.5
#4 0x00007ffff6079e25 in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff007f34d in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x7fffe1bff700 (LWP 6528)):
#0 0x00007ffff607d945 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007fffe66a65f2 in gpr_cv_wait () from /usr/local/lib/libgrpc.so.5
#2 0x00007fffe6637a19 in ?? () from /usr/local/lib/libgrpc.so.5
#3 0x00007fffe66a67c7 in ?? () from /usr/local/lib/libgrpc.so.5
#4 0x00007ffff6079e25 in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff007f34d in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7ffff7fbe540 (LWP 6405)):
#0 0x00007ffff607d945 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00000000011807b8 in HPHP::HttpServer::runOrExitProcess (this=0x7fffe1dca8d0) at /home/ryan/hhvm/hphp/runtime/server/http-server.cpp:372
#2 0x000000000102b647 in start_server (username=..., xhprof=<optimized out>, this=<optimized out>, this=<optimized out>, this=<optimized out>, this=<optimized out>, this=<optimized out>, this=<optimized out>, this=<optimized out>,
this=<optimized out>) at /home/ryan/hhvm/hphp/runtime/base/program-functions.cpp:1142
#3 HPHP::execute_program_impl (argc=argc@entry=22, argv=argv@entry=0x7fffffffe7a8) at /home/ryan/hhvm/hphp/runtime/base/program-functions.cpp:1991
#4 0x000000000102c51f in HPHP::execute_program (argc=argc@entry=22, argv=argv@entry=0x7fffffffe7a8) at /home/ryan/hhvm/hphp/runtime/base/program-functions.cpp:1200
#5 0x0000000000bb19b8 in main (argc=22, argv=0x7fffffffe7a8) at /home/ryan/hhvm/hphp/hhvm/main.cpp:85
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment