Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005550 [Resin] minor always 10-10-13 10:21 10-22-13 10:40
Reporter nam View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 5.0 Product Version
  Product Build
Summary 0005550: resin fails to start if internal git objects are corrupted
Description (rep by G. Trester)

1. Resin running in VM.
2. Hard shutdown of VM.
3. VM restart.
4. Resin fails to start up.

> The file that causes the crash is:
>
> resin-data/app-0/.git/objects/ac/34170f8790f7e599dde5d99d36f2a5db3f0451
>
> It is empty so it's not a valid ZLIB compressed file. The server has plenty of free space so that couldn't have caused the problem.
>
>
> There are a few more empty files:
>
> $ ls -l `find resin-data -type f -size 0`
> -rw-r--r--. 1 root root 0 Oct 10 17:53 resin-data/app-0.cache
> -rw-r--r--. 1 root root 0 Oct 9 16:48 resin-data/app-0/.git/objects/1a/581325fc61368acbde1231ee7218374dabf0a4
> -rw-r--r--. 1 root root 0 Oct 9 16:48 resin-data/app-0/.git/objects/3c/9e6b72611762b308ed46e325ccdd85d99f7eeb
> -rw-r--r--. 1 root root 0 Oct 9 16:48 resin-data/app-0/.git/objects/5d/5ea828b0718d51fc5b28e9ecbdd26fc01e2274
> -rw-r--r--. 1 root root 0 Oct 9 16:48 resin-data/app-0/.git/objects/62/e49e7934697c15db2ceb0993ff32fb6526054a
> -rw-r--r--. 1 root root 0 Oct 9 16:48 resin-data/app-0/.git/objects/72/e9ec15a0bcd3d59200778eccf7bbb667378176
> -rw-r--r--. 1 root root 0 Oct 9 16:48 resin-data/app-0/.git/objects/93/91e2133877843681effc71d7655fd1c82b02e8
> -rw-r--r--. 1 root root 0 Oct 9 16:48 resin-data/app-0/.git/objects/a0/2214cde1db45c99401acf5e5077cc1efdb997b
> -rw-r--r--. 1 root root 0 Oct 9 16:48 resin-data/app-0/.git/objects/ac/34170f8790f7e599dde5d99d36f2a5db3f0451
> -rw-r--r--. 1 root root 0 Oct 9 16:48 resin-data/app-0/.git/objects/c5/fb03e2d4cbbd6de7aad7a0dac50c248fc50fcc
> -rw-r--r--. 1 root root 0 Oct 9 16:48 resin-data/app-0/.git/objects/f3/10307038e9eb01ac27d37f6a012bf9964e99bc
> -rw-r--r--. 1 root root 0 Oct 10 17:53 resin-data/app-0/tmp/temp_file
>


io.baratine.core.ServiceExecutionException: com.caucho.env.repository.RepositoryException
  at com.caucho.ramp.message.QueryRefFuture.get()
  at com.caucho.ramp.message.AbstractQueryFutureMessage.offerAndGet()
  at com.caucho.env.repository.RepositoryService__MakaiProxy.readLocalTagMap()
  at com.caucho.env.repository.AbstractRepository.loadLocalRoot()
  at com.caucho.server.repository.ClusterRepository.start()
  at com.caucho.env.repository.RepositorySystem.start()
  ...

Caused by ...

Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
  at java.util.zip.InflaterInputStream.fill()
  at java.util.zip.InflaterInputStream.read()
  at java.util.zip.InflaterInputStream.read()
  at com.caucho.env.git.GitObjectStream.<init>
  at com.caucho.env.git.GitObjectStream.<init>
  at com.caucho.env.git.GitObjectStream.open(GitSystem.java:389)
  at com.caucho.env.git.GitObjectStream.parseCommit(GitSystem.java:231)
  ...
Steps To Reproduce
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
10-10-13 10:21 nam New Issue
10-10-13 15:47 nam Description Updated
10-14-13 15:31 nam Project Quercus => Resin
10-22-13 10:40 ferg Assigned To  => ferg
10-22-13 10:40 ferg Status new => closed
10-22-13 10:40 ferg Resolution open => fixed
10-22-13 10:40 ferg Fixed in Version  => 5.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker