Created
February 27, 2014 21:19
-
-
Save jmarrama/9259792 to your computer and use it in GitHub Desktop.
Array/Object deletion bt
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
| hhvm: /home/jmarrama/hhvm/hphp/runtime/base/countable.h:76: void HPHP::assert_refcount_realistic_nz(int32_t): Assertion `count <= StaticValue || (uint32_t)count - 1 < (uint32_t)RefCountMaxRealistic' failed. | |
| Program received signal SIGABRT, Aborted. | |
| [Switching to Thread 0x7fffe09ff700 (LWP 9764)] | |
| 0x00007ffff06a9925 in raise () from /lib64/libc.so.6 | |
| Missing separate debuginfos, use: debuginfo-install hhvm-2.5.1-2.el6.x86_64 | |
| (gdb) bt | |
| #0 0x00007ffff06a9925 in raise () from /lib64/libc.so.6 | |
| #1 0x00007ffff06ab105 in abort () from /lib64/libc.so.6 | |
| #2 0x00007ffff06a2a4e in __assert_fail_base () from /lib64/libc.so.6 | |
| #3 0x00007ffff06a2b10 in __assert_fail () from /lib64/libc.so.6 | |
| #4 0x0000000001da1999 in HPHP::assert_refcount_realistic_nz (count=0) at /home/jmarrama/hhvm/hphp/runtime/base/countable.h:75 | |
| #5 0x0000000001e11dc7 in decRefAndRelease (this=0x7fffe09737a0) at /home/jmarrama/hhvm/hphp/runtime/base/string-data.h:200 | |
| #6 decRefStr (s=0x7fffe09737a0) at /home/jmarrama/hhvm/hphp/runtime/base/string-data-inl.h:215 | |
| #7 HPHP::HphpArray::Release (in=0x7fffa616da00) at /home/jmarrama/hhvm/hphp/runtime/base/hphp-array.cpp:571 | |
| #8 0x0000000001dbdae7 in HPHP::ArrayData::release (this=0x7fffa616da00) at /home/jmarrama/hhvm/hphp/runtime/base/array-data-defs.h:146 | |
| #9 0x0000000001fb153d in HPHP::tvDecRefHelper (type=HPHP::KindOfArray, datum=140735979903488) at /home/jmarrama/hhvm/hphp/runtime/base/type-variant.cpp:268 | |
| #10 0x0000000001e2001d in HPHP::tvDecRef (tv=0x7fffa619bfd0) at /home/jmarrama/hhvm/hphp/runtime/base/tv-helpers.h:157 | |
| #11 0x0000000001ee9867 in tvRefcountedDecRef (tv=0x7fffa619bfd0) at /home/jmarrama/hhvm/hphp/runtime/base/tv-helpers.h:163 | |
| #12 HPHP::ObjectData::DeleteObject (objectData=0x7fffa619bfb0) at /home/jmarrama/hhvm/hphp/runtime/base/object-data.cpp:1018 | |
| #13 0x0000000001e3f6f2 in HPHP::ObjectData::release (this=0x7fffa619bfb0) at /home/jmarrama/hhvm/hphp/runtime/base/object-data.h:190 | |
| #14 0x0000000007a080b6 in ?? () | |
| #15 0x000000000830ca7c in ?? () | |
| #16 0x000000000830ca00 in ?? () | |
| #17 0x0000000002cb370e in enterTCHelper () at /home/jmarrama/hhvm/hphp/runtime/vm/jit/translator-asm-helpers.S:83 | |
| #18 0x0000000002a46d45 in HPHP::JIT::TranslatorX64::enterTC (this=0x7fffeb984a00, | |
| start=0x830c9e7 "H\307\301\347\311\060\bH\211\357H\211\336H\307\302\330\023", data=0x0) | |
| at /home/jmarrama/hhvm/hphp/runtime/vm/jit/translator-x64.cpp:1240 | |
| #19 0x00000000024c9ae8 in HPHP::JIT::TranslatorX64::enterTCAfterPrologue (this=0x7fffeb984a00, | |
| start=0x7a08270 "H\211\357H\211\336\350\206\036\336\372\377\340\017\v\314UH\211\345\377w\b\377\067H\307", <incomplete sequence \306>) | |
| at /home/jmarrama/hhvm/hphp/runtime/vm/jit/translator-x64.h:289 | |
| #20 0x00000000024789b0 in HPHP::VMExecutionContext::enterVMWork (this=0x7fffe4f41200, enterFnAr=0x7fffe38fffc0) | |
| at /home/jmarrama/hhvm/hphp/runtime/vm/bytecode.cpp:1545 | |
| #21 0x0000000002478bbb in HPHP::VMExecutionContext::enterVM (this=0x7fffe4f41200, retval=0x7fffe0974510, ar=0x7fffe38fffc0) | |
| at /home/jmarrama/hhvm/hphp/runtime/vm/bytecode.cpp:1583 | |
| #22 0x0000000002479e41 in HPHP::VMExecutionContext::invokeFunc (this=0x7fffe4f41200, retval=0x7fffe0974510, f=0x7fffc871f4c0, args_=..., this_=0x0, cls=0x0, | |
| varEnv=0x7fffa2006618, invName=0x0, flags=HPHP::VMExecutionContext::InvokePseudoMain) at /home/jmarrama/hhvm/hphp/runtime/vm/bytecode.cpp:1816 | |
| #23 0x000000000247ace4 in HPHP::VMExecutionContext::invokeUnit (this=0x7fffe4f41200, retval=0x7fffe0974510, unit=0x7fffc8735380) | |
| at /home/jmarrama/hhvm/hphp/runtime/vm/bytecode.cpp:1963 | |
| #24 0x0000000001e4a1af in HPHP::invoke_file_impl (res=..., path=..., once=true, currentDir=0x37c6698 "") | |
| at /home/jmarrama/hhvm/hphp/runtime/base/builtin-functions.cpp:910 | |
| #25 0x0000000001e4a07c in HPHP::invoke_file (s=..., once=true, currentDir=0x37c6698 "") at /home/jmarrama/hhvm/hphp/runtime/base/builtin-functions.cpp:893 | |
| #26 0x0000000001e49ed2 in HPHP::include_impl_invoke (file=..., once=true, currentDir=0x37c6698 "") | |
| at /home/jmarrama/hhvm/hphp/runtime/base/builtin-functions.cpp:876 | |
| #27 0x0000000001f8a7bd in HPHP::hphp_invoke (context=0x7fffe4f41200, cmd="/home/jmarrama/sandbox_for_hhvm/index.php", func=false, funcParams=..., | |
| funcRet=..., reqInitFunc="", reqInitDoc="", error=@0x7fffe09747df: false, errorMsg="Internal Server Error", once=true, warmupOnly=false, | |
| richErrorMsg=false) at /home/jmarrama/hhvm/hphp/runtime/base/program-functions.cpp:1655 | |
| #28 0x00000000023a8eb7 in HPHP::HttpRequestHandler::executePHPRequest (this=0x7fffe28446c0, transport=0x7fffe0974c90, reqURI=..., sourceRootInfo=..., | |
| cachableDynamicContent=false) at /home/jmarrama/hhvm/hphp/runtime/server/http-request-handler.cpp:359 | |
| #29 0x00000000023a8594 in HPHP::HttpRequestHandler::handleRequest (this=0x7fffe28446c0, transport=0x7fffe0974c90) | |
| at /home/jmarrama/hhvm/hphp/runtime/server/http-request-handler.cpp:287 | |
| #30 0x0000000002395383 in HPHP::ServerWorker<std::shared_ptr<HPHP::LibEventJob>, HPHP::LibEventTransportTraits>::doJobImpl (this=0x7fffe3bb93c0, job= | |
| std::shared_ptr (count 3) 0x7fffc8be05d8, abort=false) at /home/jmarrama/hhvm/hphp/runtime/server/server-worker.h:103 | |
| #31 0x0000000002394cfc in HPHP::ServerWorker<std::shared_ptr<HPHP::LibEventJob>, HPHP::LibEventTransportTraits>::doJob (this=0x7fffe3bb93c0, | |
| job=std::shared_ptr (count 3) 0x7fffc8be05d8) at /home/jmarrama/hhvm/hphp/runtime/server/server-worker.h:57 | |
| #32 0x000000000239238e in HPHP::JobQueueWorker<std::shared_ptr<HPHP::LibEventJob>, HPHP::Server*, true, false, HPHP::JobQueueDropVMStack>::start ( | |
| this=0x7fffe3bb93c0) at /home/jmarrama/hhvm/hphp/util/job-queue.h:409 | |
| #33 0x00000000023929db in HPHP::AsyncFunc<HPHP::ServerWorker<std::shared_ptr<HPHP::LibEventJob>, HPHP::LibEventTransportTraits> >::run_ (obj=0x7fffe37a5500) | |
| at /home/jmarrama/hhvm/hphp/util/async-func.h:205 | |
| #34 0x0000000003265e79 in HPHP::AsyncFuncImpl::threadFuncImpl (this=0x7fffe37a5500) at /home/jmarrama/hhvm/hphp/util/async-func.cpp:131 | |
| #35 0x0000000003265a5d in HPHP::AsyncFuncImpl::ThreadFunc (obj=0x7fffe37a5500) at /home/jmarrama/hhvm/hphp/util/async-func.cpp:51 | |
| #36 0x00007ffff11b29d1 in start_thread () from /lib64/libpthread.so.0 | |
| #37 0x00007ffff075fb6d in clone () from /lib64/libc.so.6 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The segfault core-dump from the non-debug build:
Program terminated with signal 11, Segmentation fault.
#0 0x00000000009a06ce in HPHP::ObjectData::DeleteObject(HPHP::ObjectData*) ()
Missing separate debuginfos, use: debuginfo-install hhvm-2.5.1-2.el6.x86_64
(gdb) bt
#0 0x00000000009a06ce in HPHP::ObjectData::DeleteObject(HPHP::ObjectData*) ()
#1 0x00000000009277b3 in HPHP::HphpArray::Release(HPHP::ArrayData*) ()
#2 0x0000000005a080b6 in ?? ()
#3 0x0000000005ea8e26 in ?? ()
#4 0x0000000000000000 in ?? ()
(gdb)