Skip to content

Instantly share code, notes, and snippets.

View JohanTan's full-sized avatar

Zhou Tan JohanTan

  • Graphiq
  • Santa Barbara
View GitHub Profile
@JohanTan
JohanTan / HHVM_3_9_1_core_dump
Created February 3, 2016 22:36
HHVM 3.9.1 core dump
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/hhvm --config /etc/hhvm/server.ini --user www-data --mode daemon -vPid'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007ff5b5935cc9 in raise () from /lib/x86_64-linux-gnu/libc.so.6
Thread 131 (Thread 0x7ff396bff700 (LWP 14247)):
#0 0x00007ff5b64f0414 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1 0x0000000001e5deb8 in HPHP::SynchronizableMulti::waitImpl(int, int, bool, timespec*) ()
@JohanTan
JohanTan / hhvm.log
Created September 29, 2015 18:17
Stacktrace on HHVM 3.9.1 Core dumped
Assertion failure: /tmp/tmp.4H1nhDYN2z/hphp/runtime/vm/jit/translate-region.cpp:786: HPHP::jit::TranslateResult HPHP::jit::{anonymous}::mcGenRegion(HPHP::jit::IRGS&, const HPHP::jit::RegionDesc&, HPHP::jit::RegionBlacklist&): assertion `0' failed.
data block = afrozen
message: Attempted to emit 1 byte(s) into a 268435456 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.
-----------------------------------RegionDesc-----------------------------------
Region (1 blocks):
Block -314354 FTB\core\caching\PHPFileCache::@25989 length 519 initSpOff 29 inlineLevel 0 profTransID -1
precondition: Local{0} :: Int
#!/bin/bash
#Inspired by http://blog.neutrino.es/2012/git-copy-a-file-or-directory-from-another-repository-preserving-history/
#Copy a file or directory out of a git repository, preserving history!
#Creates DESTINATIONPATH with patches that can be applied with git am
#e.g.
#0001-Add-new-theme-Gum.patch
#0002-Add-syntax-highlighting-for-Gum-theme.patch
#0003-Gum-Fix-tag-URLs-not-being-slugified-and-therefore-b.patch
#0004-Gum-Add-Disqus-support.patch
#0005-Gum-Use-article-title-as-the-title-of-the-generated-.patch