Page MenuHomePhabricator
Paste P120

hhvm core dump from deployment-mediawiki01
ActivePublic

Authored by bd808 on Dec 2 2014, 11:45 PM.
deployment-mediawiki01:/var/tmp/core
root$ gdb hhvm core
core.deployment-mediawiki01.hhvm.23709.1417563682
core.deployment-mediawiki01.hhvm.23961.1417563754
deployment-mediawiki01:/var/tmp/core
root$ gdb hhvm core.deployment-mediawiki01.hhvm.23961.1417563754
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from hhvm...Reading symbols from /usr/lib/debug/.build-id/a1/c9fd4453a18fd521be5c520fbcb59deeeb5b51.debug...done.
done.
[New LWP 23992]
[New LWP 23994]
[New LWP 23972]
[New LWP 23971]
[New LWP 23961]
[New LWP 23980]
[New LWP 23973]
[New LWP 23995]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/hhvm --config /etc/hhvm/fcgi.ini --mode server'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f1a92ba628a in ?? () from /usr/lib/x86_64-linux-gnu/hhvm/extensions/current/tidy.so
gdb> bt
#0 0x00007f1a92ba628a in ?? () from /usr/lib/x86_64-linux-gnu/hhvm/extensions/current/tidy.so
#1 0x000000000128911b in HPHP::zend_wrap_func (ar=0x7f1a6dbbf2e0) at /usr/src/hhvm/hphp/runtime/ext_zend_compat/hhvm/zend-wrap-func.cpp:96
#2 0x0000000000c469c4 in iopNativeImpl (pc=<optimized out>, this=<optimized out>) at /usr/src/hhvm/hphp/runtime/vm/bytecode.cpp:6880
#3 HPHP::ExecutionContext::dispatchImpl<true> (this=0x4) at /usr/src/hhvm/hphp/runtime/vm/bytecode.cpp:7518
#4 0x0000000000c14689 in HPHP::ExecutionContext::dispatchBB (this=<optimized out>) at /usr/src/hhvm/hphp/runtime/vm/bytecode.cpp:7544
#5 0x0000000000de2082 in HPHP::jit::MCGenerator::enterTC (this=0x7f1a9370a000, start=0x0, data=<optimized out>) at /usr/src/hhvm/hphp/runtime/vm/jit/mc-generator.cpp:999
#6 0x0000000000c123ed in enterTCAtPrologue (start=<optimized out>, ar=<optimized out>, this=<optimized out>) at /usr/src/hhvm/hphp/runtime/vm/jit/mc-generator.h:240
#7 HPHP::ExecutionContext::enterVMAtFunc (this=this@entry=0x0, enterFnAr=enterFnAr@entry=0x0, stk=stk@entry=HPHP::ExecutionContext::Untrimmed) at /usr/src/hhvm/hphp/runtime/vm/bytecode.cpp:1858
#8 0x0000000000c126be in HPHP::ExecutionContext::enterVM (this=0x0, this@entry=0x7f1a76e69800, ar=0x0, ar@entry=0x7f1a6dbbffc0, stk=HPHP::ExecutionContext::Untrimmed, resumable=0x7f1a76e69800, resumable@entry=0x0, exception=exception@entry=0x0) at /usr/src/hhvm/hphp/runtime/vm/bytecode.cpp:1927
#9 0x0000000000c1292c in HPHP::ExecutionContext::invokeFunc (this=this@entry=0x7f1a76e69800, retval=retval@entry=0x7f1a6bffb0d0, f=0x7f1a76877100, args_=..., this_=this_@entry=0x0, cls=cls@entry=0x0, varEnv=0x7f1a6d97c030, invName=invName@entry=0x0, flags=flags@entry=HPHP::ExecutionContext::InvokePseudoMain) at /usr/src/hhvm/hphp/runtime/vm/bytecode.cpp:2092
#10 0x0000000000c12b7a in HPHP::ExecutionContext::invokeUnit (this=0x7f1a76e69800, retval=retval@entry=0x7f1a6bffb0d0, unit=0x7f1a8cbffc40) at /usr/src/hhvm/hphp/runtime/vm/bytecode.cpp:2274
#11 0x0000000000a98791 in invoke_file_impl (currentDir=0x1c42fd3 "", once=0x1, path=SmartPtr<HPHP::StringData> = {...}, res=Uninit) at /usr/src/hhvm/hphp/runtime/base/builtin-functions.cpp:721
#12 HPHP::invoke_file (s=SmartPtr<HPHP::StringData> = {...}, once=once@entry=0x1, currentDir=currentDir@entry=0x1c42fd3 "") at /usr/src/hhvm/hphp/runtime/base/builtin-functions.cpp:734
#13 0x0000000000a9ae2a in HPHP::include_impl_invoke (file=SmartPtr<HPHP::StringData> = {...}, once=once@entry=0x1, currentDir=currentDir@entry=0x1c42fd3 "") at /usr/src/hhvm/hphp/runtime/base/builtin-functions.cpp:745
#14 0x0000000000a4a619 in HPHP::hphp_invoke (context=context@entry=0x7f1a76e69800, cmd="/srv/mediawiki/docroot/wikipedia.org/w/index.php", func=func@entry=0x0, funcParams=SmartPtr<HPHP::ArrayData>(Null), funcRet=..., reqInitFunc=..., reqInitDoc="/srv/mediawiki/wmf-config/HHVMRequestInit.php", error=@0x7f1a6bffb440: 0x0, errorMsg="Internal Server Error", once=once@entry=0x1, warmupOnly=warmupOnly@entry=0x0, richErrorMsg=richErrorMsg@entry=0x0) at /usr/src/hhvm/hphp/runtime/base/program-functions.cpp:1796
#15 0x0000000000b23f34 in HPHP::HttpRequestHandler::executePHPRequest (this=this@entry=0x7f1a6e7182a0, transport=transport@entry=0x7f1a50f72298, reqURI=..., sourceRootInfo=..., cachableDynamicContent=cachableDynamicContent@entry=0x0) at /usr/src/hhvm/hphp/runtime/server/http-request-handler.cpp:399
#16 0x0000000000b25070 in HPHP::HttpRequestHandler::handleRequestImpl (this=0x7f1a6e7182a0, transport=0x7f1a50f72298) at /usr/src/hhvm/hphp/runtime/server/http-request-handler.cpp:292
#17 0x0000000000b25b99 in HPHP::HttpRequestHandler::handleRequest (this=<optimized out>, transport=<optimized out>) at /usr/src/hhvm/hphp/runtime/server/http-request-handler.cpp:332
#18 0x0000000000b64c69 in HPHP::ServerWorker<std::shared_ptr<HPHP::FastCGIJob>, HPHP::FastCGITransportTraits>::doJobImpl (this=0x7f1a8cd8bf00, job=std::shared_ptr (count 3, weak 0) 0x7f1a6c6bbd48, abort=<optimized out>) at /usr/src/hhvm/hphp/runtime/server/server-worker.h:103
#19 0x0000000000b64e98 in HPHP::ServerWorker<std::shared_ptr<HPHP::FastCGIJob>, HPHP::FastCGITransportTraits>::doJob (this=<optimized out>, job=...) at /usr/src/hhvm/hphp/runtime/server/server-worker.h:57
#20 0x0000000000b63e08 in HPHP::JobQueueWorker<std::shared_ptr<HPHP::FastCGIJob>, HPHP::Server*, true, false, HPHP::JobQueueDropVMStack>::start (this=0x7f1a8cd8bf00) at /usr/src/hhvm/hphp/util/job-queue.h:461
#21 0x00000000015b1c37 in threadFuncImpl (this=0x7f1a8ce22100) at /usr/src/hhvm/hphp/util/async-func.cpp:131
#22 HPHP::AsyncFuncImpl::ThreadFunc (obj=0x7f1a8ce22100) at /usr/src/hhvm/hphp/util/async-func.cpp:51
#23 0x00007f1a9df7c182 in start_thread (arg=0x7f1a6bfff700) at pthread_create.c:312
#24 0x00007f1a9d488fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
gdb>

Event Timeline

bd808 edited the content of this paste. (Show Details)Dec 2 2014, 11:45 PM
bd808 changed the title of this paste from untitled to hhvm core dump from deployment-mediawiki01.
bd808 updated the paste's language from autodetect to autodetect.
bd808 added a comment.Dec 3 2014, 12:03 AM

Another

deployment-mediawiki01:/var/tmp/core
root$ gdb hhvm core.deployment-mediawiki01.hhvm.25898.1417564732
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from hhvm...Reading symbols from /usr/lib/debug/.build-id/a1/c9fd4453a18fd521be5c520fbcb59deeeb5b51.debug...done.
done.
[New LWP 26488]
[New LWP 26485]
[New LWP 25913]
[New LWP 25936]
[New LWP 25908]
[New LWP 25898]
[New LWP 26487]
[New LWP 25911]
[New LWP 26486]
[New LWP 25907]
[New LWP 25909]
[New LWP 25912]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/hhvm --config /etc/hhvm/fcgi.ini --mode server'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fa931ba628a in php_tidy_quick_repair (return_value_ptr=<optimized out>, this_ptr=<optimized out>, return_value_used=<optimized out>, is_file=0x0, tsrm_ls=0x7fa902ff9fc0, return_value=0x7fa8f0cf60b0, ht=<optimized out>) at /home/ori/tmp/tidy/debian/build-hhvm/tidy.c:595
595	/home/ori/tmp/tidy/debian/build-hhvm/tidy.c: No such file or directory.
gdb> bt
#0  0x00007fa931ba628a in php_tidy_quick_repair (return_value_ptr=<optimized out>, this_ptr=<optimized out>, return_value_used=<optimized out>, is_file=0x0, tsrm_ls=0x7fa902ff9fc0, return_value=0x7fa8f0cf60b0, ht=<optimized out>) at /home/ori/tmp/tidy/debian/build-hhvm/tidy.c:595
#1  zif_tidy_repair_string (ht=<optimized out>, return_value=0x7fa8f0cf60b0, return_value_ptr=<optimized out>, this_ptr=<optimized out>, return_value_used=<optimized out>, tsrm_ls=0x7fa902ff9fc0) at /home/ori/tmp/tidy/debian/build-hhvm/tidy.c:1337
#2  0x000000000128911b in HPHP::zend_wrap_func (ar=0x7fa8f737eb90) at /usr/src/hhvm/hphp/runtime/ext_zend_compat/hhvm/zend-wrap-func.cpp:96
#3  0x000000000436af08 in ?? ()
#4  0x0000000000eb759e in enterTCHelper () at /usr/src/hhvm/hphp/runtime/vm/jit/translator-asm-helpers.S:94
#5  0x0000000000d5bce9 in HPHP::jit::x64::BackEnd::enterTCHelper (this=<optimized out>, start=<optimized out>, info=...) at /usr/src/hhvm/hphp/runtime/vm/jit/back-end-x64.cpp:115
#6  0x0000000000de1ff5 in HPHP::jit::MCGenerator::enterTC (this=0x7fa93270a000, start=0x44dd240 "\366E\310\004\017\204\354\022$\n\017\037D", start@entry=0x0, data=data@entry=0x7fa8d2bfaf40) at /usr/src/hhvm/hphp/runtime/vm/jit/mc-generator.cpp:1023
#7  0x0000000000c1269f in enterTCAtSrcKey (sk=..., this=<optimized out>) at /usr/src/hhvm/hphp/runtime/vm/jit/mc-generator.h:235
#8  enterVMAtCurPC (this=0x7fa8f2729800) at /usr/src/hhvm/hphp/runtime/vm/bytecode.cpp:1883
#9  HPHP::ExecutionContext::enterVM (this=this@entry=0x7fa8f2729800, ar=ar@entry=0x7fa8f737ffc0, stk=HPHP::ExecutionContext::Untrimmed, resumable=resumable@entry=0x0, exception=exception@entry=0x0) at /usr/src/hhvm/hphp/runtime/vm/bytecode.cpp:1932
#10 0x0000000000c1292c in HPHP::ExecutionContext::invokeFunc (this=this@entry=0x7fa8f2729800, retval=retval@entry=0x7fa8d2bfb0d0, f=0x7fa91181d200, args_=..., this_=this_@entry=0x0, cls=cls@entry=0x0, varEnv=0x7fa8ef408030, invName=invName@entry=0x0, flags=flags@entry=HPHP::ExecutionContext::InvokePseudoMain) at /usr/src/hhvm/hphp/runtime/vm/bytecode.cpp:2092
#11 0x0000000000c12b7a in HPHP::ExecutionContext::invokeUnit (this=0x7fa8f2729800, retval=retval@entry=0x7fa8d2bfb0d0, unit=0x7fa92bbfca40) at /usr/src/hhvm/hphp/runtime/vm/bytecode.cpp:2274
#12 0x0000000000a98791 in invoke_file_impl (currentDir=0x1c42fd3 "", once=0x1, path=SmartPtr<HPHP::StringData> = {...}, res=Uninit) at /usr/src/hhvm/hphp/runtime/base/builtin-functions.cpp:721
#13 HPHP::invoke_file (s=SmartPtr<HPHP::StringData> = {...}, once=once@entry=0x1, currentDir=currentDir@entry=0x1c42fd3 "") at /usr/src/hhvm/hphp/runtime/base/builtin-functions.cpp:734
#14 0x0000000000a9ae2a in HPHP::include_impl_invoke (file=SmartPtr<HPHP::StringData> = {...}, once=once@entry=0x1, currentDir=currentDir@entry=0x1c42fd3 "") at /usr/src/hhvm/hphp/runtime/base/builtin-functions.cpp:745
#15 0x0000000000a4a619 in HPHP::hphp_invoke (context=context@entry=0x7fa8f2729800, cmd="/srv/mediawiki/docroot/wikipedia.org/w/index.php", func=func@entry=0x0, funcParams=SmartPtr<HPHP::ArrayData>(Null), funcRet=..., reqInitFunc=..., reqInitDoc="/srv/mediawiki/wmf-config/HHVMRequestInit.php", error=@0x7fa8d2bfb440: 0x0, errorMsg="Internal Server Error", once=once@entry=0x1, warmupOnly=warmupOnly@entry=0x0, richErrorMsg=richErrorMsg@entry=0x0) at /usr/src/hhvm/hphp/runtime/base/program-functions.cpp:1796
#16 0x0000000000b23f34 in HPHP::HttpRequestHandler::executePHPRequest (this=this@entry=0x7fa90368d920, transport=transport@entry=0x7fa8f0bd6218, reqURI=..., sourceRootInfo=..., cachableDynamicContent=cachableDynamicContent@entry=0x0) at /usr/src/hhvm/hphp/runtime/server/http-request-handler.cpp:399
#17 0x0000000000b25070 in HPHP::HttpRequestHandler::handleRequestImpl (this=0x7fa90368d920, transport=0x7fa8f0bd6218) at /usr/src/hhvm/hphp/runtime/server/http-request-handler.cpp:292
#18 0x0000000000b25b99 in HPHP::HttpRequestHandler::handleRequest (this=<optimized out>, transport=<optimized out>) at /usr/src/hhvm/hphp/runtime/server/http-request-handler.cpp:332
#19 0x0000000000b64c69 in HPHP::ServerWorker<std::shared_ptr<HPHP::FastCGIJob>, HPHP::FastCGITransportTraits>::doJobImpl (this=0x7fa9036c3ac0, job=std::shared_ptr (count 3, weak 0) 0x7fa8f0f3fe38, abort=<optimized out>) at /usr/src/hhvm/hphp/runtime/server/server-worker.h:103
#20 0x0000000000b64e98 in HPHP::ServerWorker<std::shared_ptr<HPHP::FastCGIJob>, HPHP::FastCGITransportTraits>::doJob (this=<optimized out>, job=...) at /usr/src/hhvm/hphp/runtime/server/server-worker.h:57
#21 0x0000000000b63e08 in HPHP::JobQueueWorker<std::shared_ptr<HPHP::FastCGIJob>, HPHP::Server*, true, false, HPHP::JobQueueDropVMStack>::start (this=0x7fa9036c3ac0) at /usr/src/hhvm/hphp/util/job-queue.h:461
#22 0x00000000015b1c37 in threadFuncImpl (this=0x7fa90c0c2d00) at /usr/src/hhvm/hphp/util/async-func.cpp:131
#23 HPHP::AsyncFuncImpl::ThreadFunc (obj=0x7fa90c0c2d00) at /usr/src/hhvm/hphp/util/async-func.cpp:51
#24 0x00007fa93d21e182 in start_thread (arg=0x7fa8d2bff700) at pthread_create.c:312
#25 0x00007fa93c72afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
gdb>