Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOOVParser raises error when the size of a atom is zero #171

Closed
fabioperrella opened this issue Sep 25, 2020 · 0 comments · Fixed by #172
Closed

MOOVParser raises error when the size of a atom is zero #171

fabioperrella opened this issue Sep 25, 2020 · 0 comments · Fixed by #172
Assignees
Labels

Comments

@fabioperrella
Copy link
Contributor

We have some errors similar to the following in our Appsignal every day:

Message

  negative length -8 given

Backtrace (last 10 lines)

/app/vendor/bundle/ruby/2.7.0/gems/format_parser-0.22.1/lib/care.rb:52 read
/app/vendor/bundle/ruby/2.7.0/gems/format_parser-0.22.1/lib/read_limiter.rb:71 read
/app/vendor/bundle/ruby/2.7.0/gems/format_parser-0.22.1/lib/parsers/moov_parser/decoder.rb:175 parse_hdlr_atom
/app/vendor/bundle/ruby/2.7.0/gems/format_parser-0.22.1/lib/parsers/moov_parser/decoder.rb:197 parse_meta_atom
/app/vendor/bundle/ruby/2.7.0/gems/format_parser-0.22.1/lib/parsers/moov_parser/decoder.rb:202 parse_atom_fields_per_type
/app/vendor/bundle/ruby/2.7.0/gems/format_parser-0.22.1/lib/parsers/moov_parser/decoder.rb:240 block in extract_atom_stream
/app/vendor/bundle/ruby/2.7.0/gems/format_parser-0.22.1/lib/parsers/moov_parser/decoder.rb:219 times
/app/vendor/bundle/ruby/2.7.0/gems/format_parser-0.22.1/lib/parsers/moov_parser/decoder.rb:219 extract_atom_stream
/app/vendor/bundle/ruby/2.7.0/gems/format_parser-0.22.1/lib/parsers/moov_parser/decoder.rb:238 block in extract_atom_stream
/app/vendor/bundle/ruby/2.7.0/gems/format_parser-0.22.1/lib/parsers/moov_parser/decoder.rb:219 times

I got some files to check and they seem to be valid videos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant