hhvm
hhvm copied to clipboard
The hhbc file is wrote bad in noRepoAuthoritative mode
There are some machines HHBC is written bad would happen,the case is less.and then I deleted hhbc file can run normally (hhbc file can be read and write)
hhvm master version don't add throw RepoException,I have add throw RepoException when hhbc have happened exception.
This Exception message:
[Fri Feb 13 07:51:15 2015] [hphp] [17679:7f2cb15ff700:3986:000002] [] Error: throw RepoExc ==>RepoQuery::step(repo=0x7f2f9911e800) error: 'INSERT INTO main.FileMd5_HHVM_2_2 VALUES(@path, @md5);' --> (11) database disk image is malformed
HHVM can appear some abnormal phenomena when the mistakes("database disk image is malformed")
Will there be another exception(" (10) disk I/O error") in front this exception(" (11) database disk image is malformed").
I can't emersion this exception, so you can't locate the cause of problem.
To avoid this problem's way: I will delete bad hhbc file solve this problem when check RepoException print error log.
please you help me locate this problem cause,thanks
We've been seeing this on some of our machines as well. I believe @markw65 is looking into the problem.
Internal task #6245073.
Any updates on this? It has become somewhat frequent for us in production lately.
@kmaslack Which version of HHVM are you hitting this with? I believe @aorenste has done some semi-recent cleanup to the locking around writing to the sqlite repo.
@Orvid The stuff I did was about 7 months ago and just cleaned up the API a little bit.