{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/5497","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/5497/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/5497/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/5497/events","html_url":"https://github.com/facebook/hhvm/issues/5497","id":88766366,"number":5497,"title":"Core Dump HHVM 3.7.1","user":{"login":"brianlmoon","id":49531,"avatar_url":"https://avatars.githubusercontent.com/u/49531?v=3","gravatar_id":"","url":"https://api.github.com/users/brianlmoon","html_url":"https://github.com/brianlmoon","followers_url":"https://api.github.com/users/brianlmoon/followers","following_url":"https://api.github.com/users/brianlmoon/following{/other_user}","gists_url":"https://api.github.com/users/brianlmoon/gists{/gist_id}","starred_url":"https://api.github.com/users/brianlmoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianlmoon/subscriptions","organizations_url":"https://api.github.com/users/brianlmoon/orgs","repos_url":"https://api.github.com/users/brianlmoon/repos","events_url":"https://api.github.com/users/brianlmoon/events{/privacy}","received_events_url":"https://api.github.com/users/brianlmoon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"paulbiss","id":1039792,"avatar_url":"https://avatars.githubusercontent.com/u/1039792?v=3","gravatar_id":"","url":"https://api.github.com/users/paulbiss","html_url":"https://github.com/paulbiss","followers_url":"https://api.github.com/users/paulbiss/followers","following_url":"https://api.github.com/users/paulbiss/following{/other_user}","gists_url":"https://api.github.com/users/paulbiss/gists{/gist_id}","starred_url":"https://api.github.com/users/paulbiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulbiss/subscriptions","organizations_url":"https://api.github.com/users/paulbiss/orgs","repos_url":"https://api.github.com/users/paulbiss/repos","events_url":"https://api.github.com/users/paulbiss/events{/privacy}","received_events_url":"https://api.github.com/users/paulbiss/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-06-16T15:54:04Z","updated_at":"2015-06-19T03:47:21Z","closed_at":"2015-06-19T03:47:21Z","body":"This happened during a timed AJAX call from my web browser being left open over night. The same call had happened hundreds of times. There was nothing special about this one.\r\n\r\nTrusty package info:\r\n```\r\nPackage: hhvm\r\nStatus: install ok installed\r\nPriority: optional\r\nSection: web\r\nMaintainer: Paul Tarjan <pt@fb.com>\r\nArchitecture: amd64\r\nVersion: 3.7.1-1~trusty\r\nReplaces: hhvm-fastcgi\r\nProvides: hhvm-fastcgi\r\nDepends: binutils, libasn1-8-heimdal, libboost-filesystem1.54.0, libboost-program-options1.54.0, libboost-system1.54.0, libboost-system1.54.0, libboost-regex1.54.0, libbz2-1.0, libc6, libcap2, libc-client2007e, libcomerr2, libelf1, libexpat1, libfontconfig1, libfreetype6, libgcc1, libgcrypt11, libgd3, libgnutls26, libgpg-error0, libgssapi3-heimdal, libgssapi-krb5-2, libhcrypto4-heimdal, libheimbase1-heimdal, libheimntlm0-heimdal, libhx509-5-heimdal, libicu52, libidn11, libjpeg-turbo8, libk5crypto3, libkeyutils1, libkrb5-26-heimdal, libkrb5-3, libkrb5support0, libldap-2.4-2, libmcrypt4, libmemcached10, libmysqlclient18, libonig2, libp11-kit0, libpam0g, libpcre3, libpng12-0, libroken18-heimdal, librtmp0, libsasl2-2, libsqlite3-0, libssl1.0.0, libstdc++6, libtasn1-6, libtbb2, libtinfo5, libwind0-heimdal, libx11-6, libxau6, libxcb1, libxdmcp6, libxml2, libxpm4, zlib1g, libedit2, libjemalloc1 (>= 3.0.0), libgoogle-glog0 (>= 0.3.1), libcurl3 (>= 7.28.0), libboost-thread1.54.0, libboost-context1.54.0, libmagickwand5, libxslt1.1, libevent-2.0-5, libgmp10, libyaml-0-2\r\nConflicts: hhvm-fastcgi\r\nConffiles:\r\n /etc/hhvm/server.ini 0b0b3ab7fc11bee3b61271f870d81378\r\n /etc/hhvm/php.ini 23f945471468111f2b48a539ff9fd241\r\n /etc/default/hhvm d60fa72d85c37c4457c0e14a3272fa3f\r\n /etc/init.d/hhvm 211d392430226d8ae94a4d613836e772\r\n /etc/nginx/hhvm.conf 5c157e50de5444bf970a4ec7fbbf234c\r\n /etc/apache2/mods-available/hhvm_proxy_fcgi.conf 6ab1639f98500745d1f96cd48e269059\r\nDescription: HHVM virtual machine, runtime, and JIT for the PHP language\r\nDescription-md5: 98571cd7333493baf95470adfb419c6f\r\n```\r\n\r\n```\r\n# uname -a\r\nLinux brianm 3.13.0-53-generic #89-Ubuntu SMP Wed May 20 10:34:39 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n```\r\nError log:\r\n```\r\n[Tue Jun 16 11:05:31 2015] [hphp] [48255:7f6985bff700:1572:000001] [7f69afbf3d40:7f69afbf3cc9:7f69afbf70d8:220f09d:141e80e:133ded9:133f34a:133f5a4:133f93a:2c72014:2c71e8a:440027b:4400001:146c806:132c82b:122e5a9:2c6121f:122ffb5:199a1c9:45a432e:45a19be:46d24cf:45d6bfa:45d840e:45b7d7a:c000000:4400001:146c806:132c82b:122e5a9:2c6121f:2cb0039:2cafebf:fc00b2:dcb142:11091fa:110b2f2:111f05a:111f5ce:111bff6:21f4b67:f8c287:7f69b07aa182:7f69afcb747d] Core dumped: Aborted\r\n[Tue Jun 16 11:05:31 2015] [hphp] [48255:7f6985bff700:1572:000002] [7f69afbf3d40:7f69afbf3cc9:7f69afbf70d8:220f09d:141e80e:133ded9:133f34a:133f5a4:133f93a:2c72014:2c71e8a:440027b:4400001:146c806:132c82b:122e5a9:2c6121f:122ffb5:199a1c9:45a432e:45a19be:46d24cf:45d6bfa:45d840e:45b7d7a:c000000:4400001:146c806:132c82b:122e5a9:2c6121f:2cb0039:2cafebf:fc00b2:dcb142:11091fa:110b2f2:111f05a:111f5ce:111bff6:21f4b67:f8c287:7f69b07aa182:7f69afcb747d] Stack trace in /tmp/stacktrace.48255.log\r\n```\r\nStack trace:\r\n```\r\nHost: brianm\r\nProcessID: 48256\r\nThreadID: 7f6985bff700\r\nThreadPID: 64298\r\nName: unknown program\r\nType: Aborted\r\nRuntime: hhvm\r\nVersion: tags/HHVM-3.7.1-0-g111c76378ac29aa8f25e6bb3c5f15b628e6bbea1\r\nDebuggerCount: 0\r\n\r\n-------------------------------------IRUnit-------------------------------------\r\n: digraph G {\r\nB0 -> B1\r\nB1 -> B3; B1 -> B2 [color=cyan]\r\nB3 -> B6; B3 -> B4\r\nB6 -> B5\r\nB4 -> B5\r\nB5 -> B11; B5 -> B7 [color=green]\r\nB11 -> B8 [color=cyan]\r\nB7 -> B10 [color=green]; B7 -> B9 [color=blue]\r\nB10 -> B8 [color=cyan]\r\n}\r\n\r\n B0:\r\nPseudo-main at 0\r\nmaxStackCells: 1\r\nnumLocals: 0\r\nnumIterators: 0\r\n    --- bc 0, fp _, spOff 0 ()\r\n   0: Int 1\r\n    (00) t0:FramePtr = DefFP\r\n    (01) t1:StkPtr = DefSP<0> t0:FramePtr\r\n    (02) Jmp -> B1\r\n  no fallthrough\r\n\r\n B1: (preds B0)\r\n    --- bc 0, fp 0, spOff 0 () [profTrans=-325492]\r\n   0: Int 1\r\n    (03) EndGuards\r\n\r\n    --- bc 9, fp 0, spOff 1 () [profTrans=-325492]\r\n   9: RetC\r\n    (08) ReleaseVVOrExit t0:FramePtr -> B2<Unlikely>\r\n  -> B3\r\n\r\n B3: (preds B1)\r\n    (09) GenericRetDecRefs t0:FramePtr\r\n    (10) t4:{Obj|Cctx} = LdCtx t0:FramePtr\r\n    (11) CheckCtxThis t4:{Obj|Cctx} -> B4\r\n  -> B6\r\n\r\n B6: (preds B3)\r\n    (12) t5:Obj = CastCtxThis t4:{Obj|Cctx}\r\n    (13) DecRef t5:Obj\r\n    (14) Jmp -> B5\r\n  no fallthrough\r\n\r\n B4: (preds B3)\r\n    (15) Jmp -> B5\r\n  no fallthrough\r\n\r\n B5: (preds B4 B6)\r\n    --- bc 9, fp 0, spOff 0 () [profTrans=-325492]\r\n   9: RetC\r\n    (16) CheckSurpriseFlags -> B7<Unlikely>\r\n  -> B11\r\n\r\n B11: (preds B5)\r\n    (24) Jmp -> B8\r\n  no fallthrough\r\n\r\n B8: (preds B11 B10)\r\n    (20) StRetVal t0:FramePtr, 1\r\n    (21) t6:StkPtr = RetAdjustStk t0:FramePtr\r\n    (22) RetCtrl<0> t6:StkPtr, t0:FramePtr\r\n  no fallthrough\r\n\r\n------------------------cold blocks-------------------------\r\n B7<Unlikely>: (preds B5)\r\n    (19) ReturnHook t0:FramePtr, 1 -> B9<Catch>\r\n  -> B10<Unlikely>\r\n\r\n B10<Unlikely>: (preds B7)\r\n    (23) Jmp -> B8\r\n  no fallthrough\r\n\r\n B2<Unlikely>: (preds B1)\r\n    --- bc 9, fp 0, spOff 1 () [profTrans=-325492]\r\n   9: RetC\r\n    (06) StStk<IrSpOff -1> t1:StkPtr, 1\r\n    (07) InterpOneCF<RetC: spOff:-1, bcOff:9, popped:0, pushed:0> t1:StkPtr, t0:FramePtr\r\n  no fallthrough\r\n\r\n-----------------------frozen blocks------------------------\r\n B9<Catch>: (preds B7)\r\n    --- bc 9, fp 0, spOff 0 () [profTrans=-325492]\r\n   9: RetC\r\n    (17) BeginCatch\r\n    (18) EndCatch<IrSpOff 0> t0:FramePtr, t1:StkPtr\r\n  no fallthrough\r\n\r\n-----------------------------------RegionDesc-----------------------------------\r\n: Region (1 blocks):\r\nBlock -325492 @0 length 2 initSpOff 0 inlineLevel 0\r\n    0  Int 1\r\n    9  RetC\r\nArcs:\r\nSide-exiting Blocks:\r\n\r\n\r\nThreadType: Web Request\r\nAssertion Message: data block = cold\r\nmessage: Attempted to emit 1 byte(s) into a 75 byte DataBlock with 0 bytes available. This almost certainly means the TC is full. If this is the case, increasing Eval.JitASize, Eval.JitAColdSize, Eval.JitAFrozenSize and Eval.JitGlobalDataSize in the configuration file when running this script or application should fix this problem.\r\n\r\nAssertion Failure: /tmp/tmp.CvLsK49lmP/hphp/runtime/vm/jit/translate-region.cpp:719: HPHP::jit::TranslateResult HPHP::jit::{anonymous}::mcGenRegion(HPHP::jit::IRGS&, const HPHP::jit::RegionDesc&, HPHP::jit::RegionBlacklist&): assertion `0' failed.\r\nURL: /admin/phews/queue/queue_server.php?cmd=get_inprogress_update\r\nServer_SERVER_NAME: brianm.secure.dev.dealnews.com\r\nServer: brianm.secure.dev.dealnews.com\r\n\r\n# 0  gsignal at /lib/x86_64-linux-gnu/libc.so.6:0\r\n# 1  abort at /lib/x86_64-linux-gnu/libc.so.6:0\r\n# 2  HPHP::assert_fail(char const*, char const*, unsigned int, char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) at /usr/bin/hhvm:0\r\n# 3  HPHP::jit::translateRegion(HPHP::jit::IRGS&, HPHP::jit::RegionDesc const&, HPHP::hphp_hash_set<HPHP::jit::ProfSrcKey, HPHP::jit::ProfSrcKey::Hasher, std::equal_to<HPHP::jit::ProfSrcKey> >&, HPHP::jit::TransFlags, std::vector<HPHP::jit::RegionDesc::TypePred, std::allocator<HPHP::jit::RegionDesc::TypePred> >&) at /usr/bin/hhvm:0\r\n# 4  HPHP::jit::MCGenerator::translateWork(HPHP::jit::TranslArgs const&) at /usr/bin/hhvm:0\r\n# 5  HPHP::jit::MCGenerator::translate(HPHP::jit::TranslArgs const&) at /usr/bin/hhvm:0\r\n# 6  HPHP::jit::MCGenerator::retranslate(HPHP::jit::TranslArgs const&) at /usr/bin/hhvm:0\r\n# 7  HPHP::jit::MCGenerator::createTranslation(HPHP::jit::TranslArgs const&) at /usr/bin/hhvm:0\r\n# 8  HPHP::jit::MCGenerator::getCallArrayPrologue(HPHP::Func*) at /usr/bin/hhvm:0\r\n# 9  HPHP::jit::funcBodyHelper(HPHP::ActRec*, void*) at /usr/bin/hhvm:0\r\n# 10 HPHP::jit::x64::(anonymous namespace)::BackEnd::enterTCHelper(unsigned char*, HPHP::ActRec*) at back-end-x64.cpp:0\r\n# 11 HPHP::jit::MCGenerator::enterTC(unsigned char*, HPHP::ActRec*) at /usr/bin/hhvm:0\r\n# 12 HPHP::enterVM(HPHP::ActRec*, HPHP::StackArgsState, HPHP::Resumable*, HPHP::ObjectData*) at bytecode.cpp:0\r\n# 13 HPHP::ExecutionContext::invokeFunc(HPHP::TypedValue*, HPHP::Func const*, HPHP::Variant const&, HPHP::ObjectData*, HPHP::Class*, HPHP::VarEnv*, HPHP::StringData*, HPHP::ExecutionContext::InvokeFlags) at /usr/bin/hhvm:0\r\n# 14 HPHP::ExecutionContext::createFunction(HPHP::String const&, HPHP::String const&) at /usr/bin/hhvm:0\r\n# 15 HPHP::f_create_function(HPHP::String const&, HPHP::String const&) at /usr/bin/hhvm:0\r\n# 16 HPHP::jit::x64::(anonymous namespace)::BackEnd::enterTCHelper(unsigned char*, HPHP::ActRec*) at back-end-x64.cpp:0\r\n# 17 HPHP::jit::MCGenerator::enterTC(unsigned char*, HPHP::ActRec*) at /usr/bin/hhvm:0\r\n# 18 HPHP::enterVM(HPHP::ActRec*, HPHP::StackArgsState, HPHP::Resumable*, HPHP::ObjectData*) at bytecode.cpp:0\r\n# 19 HPHP::ExecutionContext::invokeFunc(HPHP::TypedValue*, HPHP::Func const*, HPHP::Variant const&, HPHP::ObjectData*, HPHP::Class*, HPHP::VarEnv*, HPHP::StringData*, HPHP::ExecutionContext::InvokeFlags) at /usr/bin/hhvm:0\r\n# 20 HPHP::ExecutionContext::invokeUnit(HPHP::TypedValue*, HPHP::Unit const*) at /usr/bin/hhvm:0\r\n# 21 HPHP::invoke_file(HPHP::String const&, bool, char const*) at builtin-functions.cpp:0\r\n# 22 HPHP::include_impl_invoke(HPHP::String const&, bool, char const*) at /usr/bin/hhvm:0\r\n# 23 HPHP::hphp_invoke(HPHP::ExecutionContext*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, HPHP::Array const&, HPHP::VRefParamValue const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool, bool, bool) at /usr/bin/hhvm:0\r\n# 24 HPHP::HttpRequestHandler::executePHPRequest(HPHP::Transport*, HPHP::RequestURI&, HPHP::SourceRootInfo&, bool) at /usr/bin/hhvm:0\r\n# 25 HPHP::HttpRequestHandler::handleRequest(HPHP::Transport*) at /usr/bin/hhvm:0\r\n# 26 HPHP::ServerWorker<std::shared_ptr<HPHP::FastCGIJob>, HPHP::FastCGITransportTraits>::doJobImpl(std::shared_ptr<HPHP::FastCGIJob>, bool) at /usr/bin/hhvm:0\r\n# 27 HPHP::ServerWorker<std::shared_ptr<HPHP::FastCGIJob>, HPHP::FastCGITransportTraits>::doJob(std::shared_ptr<HPHP::FastCGIJob>) at /usr/bin/hhvm:0\r\n# 28 HPHP::JobQueueWorker<std::shared_ptr<HPHP::FastCGIJob>, HPHP::Server*, true, false, HPHP::JobQueueDropVMStack>::start() at /usr/bin/hhvm:0\r\n# 29 HPHP::AsyncFuncImpl::ThreadFunc(void*) at /usr/bin/hhvm:0\r\n# 30 HPHP::start_routine_wrapper(void*) at /usr/bin/hhvm:0\r\n# 31 start_thread at /lib/x86_64-linux-gnu/libpthread.so.0:0\r\n# 32 clone at /lib/x86_64-linux-gnu/libc.so.6:0\r\n\r\nPHP Stacktrace:\r\n\r\n#0  include() called at [/dealnews/mywww/brianm/lib/ORM/Queue.php:1052]\r\n#1  ORM_Queue::parse_queue_wiki_text([redacted, available upon request]) called at [/dealnews/mywww/brianm/lib/ORM/Queue.php:699]\r\n#2  ORM_Queue->load(970711) called at [/dealnews/mywww/brianm/virthost/secure.dealnews/admin/phews/queue/queue_functions.php:80]\r\n#3  get_inprogress() called at [/dealnews/mywww/brianm/virthost/secure.dealnews/admin/phews/queue/queue_functions.php:112]\r\n#4  get_inprogress_html() called at [/dealnews/mywww/brianm/virthost/secure.dealnews/admin/phews/queue/queue_server.php:242]\r\n#5  get_inprogress_update() called at [/dealnews/mywww/brianm/virthost/secure.dealnews/admin/phews/queue/queue_server.php:328]\r\n#6  include(/dealnews/mywww/brianm/virthost/secure.dealnews/admin/phews/queue/queue_server.php) called at [/dealnews/mywww/brianm/virthost/secure.dealnews/admin/router.php:155]\r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/hhvm/issues/comments/113358462","html_url":"https://github.com/facebook/hhvm/issues/5497#issuecomment-113358462","issue_url":"https://api.github.com/repos/facebook/hhvm/issues/5497","id":113358462,"user":{"login":"paulbiss","id":1039792,"avatar_url":"https://avatars.githubusercontent.com/u/1039792?v=3","gravatar_id":"","url":"https://api.github.com/users/paulbiss","html_url":"https://github.com/paulbiss","followers_url":"https://api.github.com/users/paulbiss/followers","following_url":"https://api.github.com/users/paulbiss/following{/other_user}","gists_url":"https://api.github.com/users/paulbiss/gists{/gist_id}","starred_url":"https://api.github.com/users/paulbiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulbiss/subscriptions","organizations_url":"https://api.github.com/users/paulbiss/orgs","repos_url":"https://api.github.com/users/paulbiss/repos","events_url":"https://api.github.com/users/paulbiss/events{/privacy}","received_events_url":"https://api.github.com/users/paulbiss/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T03:47:21Z","updated_at":"2015-06-19T03:47:21Z","body":"Please reopen if it continues failing in 3.7.2."}}