Skip to content

Instantly share code, notes, and snippets.

@awinograd
Created June 20, 2016 21:22
Show Gist options
  • Save awinograd/bba4d77d85afc7c93273e32bfa165e85 to your computer and use it in GitHub Desktop.
Save awinograd/bba4d77d85afc7c93273e32bfa165e85 to your computer and use it in GitHub Desktop.
HHVM Segfault
Reading symbols from /home/awinograd/hhvm314/usr/local/bin/hhvm...done.
[New LWP 10100]
[New LWP 17575]
[New LWP 10014]
[New LWP 9035]
[New LWP 10101]
[New LWP 10099]
[New LWP 8674]
[New LWP 9038]
warning: .dynamic section for "/lib64/liblber-2.4.so.2" is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for "/lib64/libldap-2.4.so.2" is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for "/lib64/libexslt.so.0" is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for "/lib64/libgpg-error.so.0" is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for "/opt/hhvm-ext-geoip/geoip.so" is not at the expected address (wrong library or version mismatch?)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/local/bin/hhvm -m daemon -d hhvm.log.file=/var/log/hhvm/errors.log'.
Program terminated with signal 6, Aborted.
#0 0x00007f6c0368c5f7 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install GeoIP-1.6.9-2.0.cf.rhel7.x86_64 ImageMagick-6.7.8.9-13.el7_2.x86_64 boost-context-1.53.0-25.el7.x86_64 boost-filesystem-1.53.0-25.el7.x86_64 boost-program-options-1.53.0-25.el7.x86_64 boost-system-1.53.0-25.el7.x86_64 boost-thread-1.53.0-25.el7.x86_64 bzip2-libs-1.0.6-13.el7.x86_64 cyrus-sasl-lib-2.1.26-20.el7_2.x86_64 double-conversion-2.0.1-3.el7.x86_64 elfutils-libelf-0.163-3.el7.x86_64 expat-2.1.0-8.el7.x86_64 fontconfig-2.10.95-7.el7.x86_64 freetype-2.4.11-11.el7.x86_64 gflags-2.1.1-6.el7.x86_64 glibc-2.17-106.el7_2.4.x86_64 glog-0.3.3-8.el7.x86_64 gmp-6.0.0-12.el7_1.x86_64 jbigkit-libs-2.0-11.el7.x86_64 jemalloc-3.6.0-1.el7.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.13.2-12.el7_2.x86_64 libICE-1.0.9-2.el7.x86_64 libSM-1.2.2-2.el7.x86_64 libX11-1.6.3-2.el7.x86_64 libXau-1.0.8-2.1.el7.x86_64 libXext-1.3.3-3.el7.x86_64 libXt-1.1.4-6.1.el7.x86_64 libattr-2.4.46-12.el7.x86_64 libcap-2.22-8.el7.x86_64 libcom_err-1.42.9-7.el7.x86_64 libcurl-7.49.1-2.0.cf.rhel7.x86_64 libdwarf-20130207-4.el7.x86_64 libedit-3.0-12.20121213cvs.el7.x86_64 libevent-2.0.21-4.el7.x86_64 libgcc-4.8.5-4.el7.x86_64 libgcrypt-1.5.3-12.0.cf.rhel7.x86_64 libgomp-4.8.5-4.el7.x86_64 libgpg-error-1.21-3.0.cf.rhel7.x86_64 libicu-50.1.2-15.el7.x86_64 libidn-1.28-3.el7.x86_64 libjpeg-turbo-1.2.90-5.el7.x86_64 libmcrypt-2.5.8-13.el7.x86_64 libmemcached-1.0.16-5.el7.x86_64 libpng-1.5.13-7.el7_2.x86_64 libpsl-0.7.0-1.el7.x86_64 libselinux-2.2.2-6.el7.x86_64 libssh2-1.7.0-5.0.cf.rhel7.x86_64 libstdc++-4.8.5-4.el7.x86_64 libtiff-4.0.3-14.el7.x86_64 libtool-ltdl-2.4.2-21.el7_2.x86_64 libuuid-2.23.2-22.el7_1.1.x86_64 libvpx-1.3.0-5.el7_0.x86_64 libxcb-1.11-4.el7.x86_64 libxml2-2.9.4-1.0.cf.rhel7.x86_64 libxslt-1.1.29-1.0.cf.rhel7.x86_64 libyaml-0.1.4-11.el7_0.x86_64 lz4-r131-1.el7.x86_64 ncurses-libs-5.9-13.20130511.el7.x86_64 nspr-4.10.8-2.el7_1.x86_64 nss-3.19.1-19.el7_2.x86_64 nss-softokn-3.16.2.3-13.el7_1.x86_64 nss-softokn-freebl-3.16.2.3-13.el7_1.x86_64 nss-sysinit-3.19.1-19.el7_2.x86_64 nss-util-3.19.1-9.el7_2.x86_64 numactl-libs-2.0.9-6.el7_2.x86_64 oniguruma-5.9.5-3.el7.x86_64 openldap-2.4.40-9.el7_2.x86_64 openssl-libs-1.0.1e-51.el7_2.5.x86_64 sqlite-3.7.17-8.el7.x86_64 tbb-4.1-9.20130314.el7.x86_64 xz-libs-5.1.2-16.1.alpha.cf.el7.x86_64 zlib-1.2.7-15.el7.x86_64
(gdb) bt
#0 0x00007f6c0368c5f7 in raise () from /lib64/libc.so.6
#1 0x00007f6c0368dce8 in abort () from /lib64/libc.so.6
#2 0x0000000005083326 in HPHP::bt_handler (sig=11)
at /home/awinograd/build_hhvm/hhvm/hphp/runtime/base/crash-reporter.cpp:43
#3 <signal handler called>
#4 0x00000000050b15d6 in HPHP::Func::validate (this=0x0)
at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/func-inl.h:73
#5 0x00000000056636d7 in HPHP::Func::fromFuncId (id=6242)
at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/func.cpp:357
#6 0x0000000005728433 in HPHP::SrcKey::func (this=0x7f6ba0000a78)
at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/srckey-inl.h:120
#7 0x00000000061ad17a in HPHP::jit::TransRec::print (this=0x7f6ba0000a10, profCount=0)
at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/jit/trans-rec.cpp:146
#8 0x0000000005f4f1eb in HPHP::jit::MCGenerator::dumpTCData (this=0x7f6bfc4b9000)
at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/jit/mc-generator.cpp:2216
#9 0x0000000005f4ef54 in HPHP::jit::MCGenerator::dumpTC (this=0x7f6bfc4b9000,
ignoreLease=true)
---Type <return> to continue, or q <return> to quit---
at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/jit/mc-generator.cpp:2180
#10 0x0000000005083578 in HPHP::bt_handler (sig=6)
at /home/awinograd/build_hhvm/hhvm/hphp/runtime/base/crash-reporter.cpp:110
#11 <signal handler called>
#12 0x00007f6c0368c5f7 in raise () from /lib64/libc.so.6
#13 0x00007f6c0368dce8 in abort () from /lib64/libc.so.6
#14 0x00007f6c03685566 in __assert_fail_base () from /lib64/libc.so.6
#15 0x00007f6c03685612 in __assert_fail () from /lib64/libc.so.6
#16 0x0000000005602c7d in HPHP::Class::setSpecial (this=0x7f6bdba35248)
at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/class.cpp:1267
#17 0x000000000560384b in HPHP::Class::Class(HPHP::PreClass*, HPHP::Class*, std::vector<HPHP::AtomicSharedPtrImpl<HPHP::Class, true>, std::allocator<HPHP::AtomicSharedPtrImpl<HPHP::Class, true> > >&&, unsigned int, unsigned int) (this=0x7f6bdba35248,
preClass=0x7f6bdc0ffd00, parent=0x7f6bdba350c0,
usedTraits=<unknown type in /home/awinograd/hhvm314/usr/local/bin/hhvm, CU 0x1237a0e5, DIE 0x124a92bc>, classVecLen=2, funcVecLen=9)
at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/class.cpp:1410
---Type <return> to continue, or q <return> to quit---
#18 0x00000000055fecff in HPHP::Class::newClass (preClass=0x7f6bdc0ffd00,
parent=0x7f6bdba350c0)
at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/class.cpp:233
#19 0x0000000005760a0d in HPHP::Unit::defClass (preClass=0x7f6bdc0ffd00,
failIsFatal=true) at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/unit.cpp:739
#20 0x00000000055098df in HPHP::iopDefCls (cid=...)
at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/bytecode.cpp:5013
#21 0x00000000055112cb in HPHP::iopWrapper (
fn=0x5509892 <HPHP::iopDefCls(HPHP::intva_t)>,
pc=@0x7f6bdabf7ff8: 0x7f6bdc16d482 "\354\001")
at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/bytecode.cpp:6014
#22 0x00000000055556ef in HPHP::interpOneDefCls (fp=0x7f6bd9affe30, sp=0x7f6bd9affe30,
pcOff=0) at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/bytecode.cpp:6521
#23 0x000000000ac9585a in ?? ()
#24 0x00007f6bd9affe70 in ?? ()
#25 0x000000000ee2da24 in ?? ()
#26 0x000000000ac0004f in ?? ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment