Skip to content
This repository was archived by the owner on Nov 22, 2018. It is now read-only.
This repository was archived by the owner on Nov 22, 2018. It is now read-only.

zopfli: fails on non-empty input file #9

@cznic

Description

@cznic

@opennota

jnml@r550:~/src/github.com/google/zopfli$ ls
CONTRIBUTING.md  CONTRIBUTORS  COPYING  Makefile  README  README.zopflipng  src
jnml@r550:~/src/github.com/google/zopfli$ git status 
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
jnml@r550:~/src/github.com/google/zopfli$ touch tmp
jnml@r550:~/src/github.com/google/zopfli$ 99c src/zopfli/*.c -O2 -W -Wall -Wextra -Wno-unused-function -ansi -pedantic -lm -o zopfli && ./zopfli -v tmp
Saving to: tmp.gz
Error: Out of memory. Tried allocating 0 bytes of memory.
jnml@r550:~/src/github.com/google/zopfli$ 99trace ./zopfli -v tmp |& tee trace
jnml@r550:~/src/github.com/google/zopfli$

This looks like a bug in ccir or virtual. I'll try to invstigate later. Feel free to try to find the bug(s) by yourself if you like. The attached trace might be useful in identifying the source of the problem.

trace.zip

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions