nginx - hhvm segmentation fault in PHP project -


please help. working on project >8000 lines of code in front controller architecture. try load page, hhvm crashes segmentation fault. i've listed sanitized stacktrace below sensitive items replaced ####.

host: #### processid: 29669 threadid: 7fda7cbff700 threadpid: 29676 name: unknown program type: segmentation fault runtime: hhvm version: tags/hhvm-3.0.1-0-g97c0ac06000e060376fdac4a7970e954e77900d6 debuggercount: 0  server_server_name: #### server: #### threadtype: web request url: /####  # 0  hphp::bt_handler(int) @ crash-reporter.cpp:0 # 1  killpg @ /lib/x86_64-linux-gnu/libc.so.6:0 # 2  memcpy @ /usr/bin/hhvm:0 # 3  get_tty_password @ /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18:0 # 4  mysql_stmt_fetch @ /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18:0 # 5  hphp::mysqlstmt::fetch() @ /usr/bin/hhvm:0 # 6  hphp::c_mysqli_stmt_ni_fetch(hphp::object const&) @ ext_mysqli.cpp:0 # 7  hphp::native::callfunc(hphp::func const*, hphp::typedvalue*, hphp::typedvalue*, int, hphp::typedvalue&) @ /usr/bin/hhvm:0 # 8  hphp::native::methodwrapper(hphp::actrec*) @ /usr/bin/hhvm:0 # 9  void hphp::executioncontext::dispatchimpl<4>(int) @ /usr/bin/hhvm:0 # 10 hphp::executioncontext::entervm(hphp::actrec*) @ /usr/bin/hhvm:0 # 11 hphp::executioncontext::invokefunc(hphp::typedvalue*, hphp::func const*, hphp::variant const&, hphp::objectdata*, hphp::class*, hphp::varenv*, hphp::stringdata*, hphp::executioncontext::invokeflags) @ /usr/bin/hhvm:0 # 12 hphp::executioncontext::invokeunit(hphp::typedvalue*, hphp::unit*) @ /usr/bin/hhvm:0 # 13 hphp::invoke_file(hphp::string const&, bool, char const*) @ /usr/bin/hhvm:0 # 14 hphp::include_impl_invoke(hphp::string const&, bool, char const*) @ /usr/bin/hhvm:0 # 15 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) @ /usr/bin/hhvm:0 # 16 hphp::httprequesthandler::executephprequest(hphp::transport*, hphp::requesturi&, hphp::sourcerootinfo&, bool) @ /usr/bin/hhvm:0 # 17 hphp::httprequesthandler::handlerequest(hphp::transport*) @ /usr/bin/hhvm:0 # 18 hphp::serverworker<std::shared_ptr<hphp::fastcgijob>, hphp::fastcgitransporttraits>::dojobimpl(std::shared_ptr<hphp::fastcgijob>, bool) @ /usr/bin/hhvm:0 # 19 hphp::serverworker<std::shared_ptr<hphp::fastcgijob>, hphp::fastcgitransporttraits>::dojob(std::shared_ptr<hphp::fastcgijob>) @ /usr/bin/hhvm:0 # 20 hphp::jobqueueworker<std::shared_ptr<hphp::fastcgijob>, hphp::server*, true, false, hphp::jobqueuedropvmstack>::start() @ /usr/bin/hhvm:0 # 21 hphp::asyncfuncimpl::threadfuncimpl() @ /usr/bin/hhvm:0 # 22 hphp::asyncfuncimpl::threadfunc(void*) @ /usr/bin/hhvm:0 # 23 start_thread @ /lib/x86_64-linux-gnu/libpthread.so.0:0 # 24 __clone @ /lib/x86_64-linux-gnu/libc.so.6:0  php stacktrace:  #0  mysqli_stmt->fetch() called @ [/####.php:58] #1  page->load() called @ [/####.php:12] #2  page->__construct(object of class dependency not converted string) called @ [/####.php:32] 

the 3.0.1 version known cause segmentation faults. version 3.1 launched yesterday , apparently fixes segfaults situations1. should consider upgrading, maybe work.

1 there still issues this, see example this one.


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -