Skip to content

Instantly share code, notes, and snippets.

@jmarrama
Created January 8, 2014 23:23
Show Gist options
  • Select an option

  • Save jmarrama/8326637 to your computer and use it in GitHub Desktop.

Select an option

Save jmarrama/8326637 to your computer and use it in GitHub Desktop.
fastcgi segfault
(gdb) bt
#0 0x00007ffff046395a in __strchr_sse2 () from /lib64/libc.so.6
#1 0x00007ffff11479f6 in strchr (site_flag=0x24f9800, site_default=0x2504b20,
fname=0x1dc3d08 "/home/vagrant/hhvm/hphp/third_party/thrift/lib/cpp/async/TEventBase.h", verbose_level=11) at /usr/include/string.h:230
#2 VLOG2Initializer (site_flag=0x24f9800, site_default=0x2504b20, fname=0x1dc3d08 "/home/vagrant/hhvm/hphp/third_party/thrift/lib/cpp/async/TEventBase.h",
verbose_level=11) at src/vlog_is_on.cc:137
#3 google::InitVLOG3__ (site_flag=0x24f9800, site_default=0x2504b20,
fname=0x1dc3d08 "/home/vagrant/hhvm/hphp/third_party/thrift/lib/cpp/async/TEventBase.h", verbose_level=11) at src/vlog_is_on.cc:200
#4 0x00000000013c1f49 in apache::thrift::async::TEventBase::TEventBase() ()
#5 0x00000000013cbec9 in facebook::proxygen::WorkerThread::WorkerThread(apache::thrift::async::TEventBaseManager*) ()
#6 0x00000000010e61c4 in HPHP::FastCGIServer::FastCGIServer(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int) ()
#7 0x0000000000d8f941 in HPHP::FastCGIServerFactory::createServer(HPHP::ServerOptions const&) ()
#8 0x0000000000d6ccbf in HPHP::HttpServer::HttpServer() ()
#9 0x0000000000b7f68d in HPHP::execute_program_impl(int, char**) ()
#10 0x0000000000b80756 in HPHP::execute_program(int, char**) ()
#11 0x0000000000808c2d in main ()
(gdb) frame 2
#2 VLOG2Initializer (site_flag=0x24f9800, site_default=0x2504b20, fname=0x1dc3d08 "/home/vagrant/hhvm/hphp/third_party/thrift/lib/cpp/async/TEventBase.h",
verbose_level=11) at src/vlog_is_on.cc:137
137 while ((sep = strchr(vmodule, '=')) != NULL) {
(gdb) print vmodule
$1 = 0x0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment