Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

lepton crash with specific image #101

@spwolf

Description

@spwolf

Hello,

We have encountered an issue with lepton.exe when encoding specific jpg image. This has been reported by @StephanBusch - big thanks to Stephan and to @danielrh for lepton.

Thanks for looking into it!

Here is the image:
http://nishi.dreamhosters.com/u/c24-203.jpg

Here is the error and crash we get:
C:\1>lepton-slow-best-ratio.exe c24-203.jpg test.lep
lepton v1.0-08c52d9280df3d409d9246df7ff166dd94628730
lepton v1.0-08c52d9280df3d409d9246df7ff166dd94628730
Assert Failed: huffr->eof && "If 0run is longer than the block must be truncated" at (C:\Users\daniel\Source\lepton\src\lepton\jpgcoder.cc:4540)
Input Size 167419 != Roundtrip Size 0
a3e06756b48f3fc895b0cad80209e9c3 != 0600000005000000ffffffff00000000
UNSUPPORTED_JPEG

C:\1>lepton v1.0-08c52d9280df3d409d9246df7ff166dd94628730
filetype of file "-" is unknown bytes needed to decompress this file
UNSUPPORTED_JPEG

C:\1>lepton-slow-best-ratio.exe c24-203.jpg test.lepton
lepton v1.0-08c52d9280df3d409d9246df7ff166dd94628730
lepton v1.0-08c52d9280df3d409d9246df7ff166dd94628730
Assert Failed: huffr->eof && "If 0run is longer than the block must be truncated" at (C:\Users\daniel\Source\lepton\src\lepton\jpgcoder.cc:4540)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions