{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/5465","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/5465/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/5465/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/5465/events","html_url":"https://github.com/facebook/hhvm/issues/5465","id":86762305,"number":5465,"title":"Assertion Failure when trying to compile authoritative repo for Magento","user":{"login":"nemphys","id":739270,"avatar_url":"https://avatars.githubusercontent.com/u/739270?v=3","gravatar_id":"","url":"https://api.github.com/users/nemphys","html_url":"https://github.com/nemphys","followers_url":"https://api.github.com/users/nemphys/followers","following_url":"https://api.github.com/users/nemphys/following{/other_user}","gists_url":"https://api.github.com/users/nemphys/gists{/gist_id}","starred_url":"https://api.github.com/users/nemphys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemphys/subscriptions","organizations_url":"https://api.github.com/users/nemphys/orgs","repos_url":"https://api.github.com/users/nemphys/repos","events_url":"https://api.github.com/users/nemphys/events{/privacy}","received_events_url":"https://api.github.com/users/nemphys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-09T22:58:31Z","updated_at":"2015-06-09T22:58:31Z","closed_at":null,"body":"Hi, after running our Magento website under HHVM in production successfully for over a month now, I thought it was time to give repo.authoritative mode a shot.\r\nWhen I tried to compile the code, though, after a long wait I got this error:\r\n\r\nAssertion Failure: /tmp/tmp.CvLsK49lmP/hphp/parser/scanner.cpp:141: void HPHP::Scanner::computeMd5(): assertion `length != -1 && length <= std::numeric_limits<int32_t>::max()' failed.\r\n\r\n# 0  ?? at hhvm:0\r\n# 1  gsignal at /lib/x86_64-linux-gnu/libc.so.6:0\r\n# 2  abort at /lib/x86_64-linux-gnu/libc.so.6:0\r\n# 3  HPHP::assert_fail(char const*, char const*, unsigned int, char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) at hhvm:0\r\n# 4  HPHP::Scanner::computeMd5() at hhvm:0\r\n# 5  HPHP::Scanner::Scanner(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool) at hhvm:0\r\n# 6  HPHP::Package::parseImpl(char const*) at hhvm:0\r\n# 7  ParserWorker::doJob(std::pair<char const*, bool>) at hhvm:0\r\n# 8  HPHP::JobQueueWorker<std::pair<char const*, bool>, HPHP::Package*, true, true, HPHP::detail::NoDropCachePolicy>::start() at hhvm:0\r\n# 9  HPHP::AsyncFuncImpl::ThreadFunc(void*) at hhvm:0\r\n# 10 HPHP::start_routine_wrapper(void*) at hhvm:0\r\n# 11 start_thread at /lib/x86_64-linux-gnu/libpthread.so.0:0\r\n# 12 clone at /lib/x86_64-linux-gnu/libc.so.6:0\r\n\r\nPHP Stacktrace:\r\n\r\nAny ideas?"}}