Skip to content

Crash with Access violation on Windows release with any Dockerfile #1126

@Astropilot

Description

@Astropilot

Hi, I hope you are all doing fine!

I tried to upgrade to the latest release of hadolint (v2.13.1) by downloading the windows executable from the release assets but sadly it crash when I give a dockerfile to analyze with an access violation.

When executing hadolint to get the version, everything is fine:

PS C:\hadolint> .\hadolint-windows-x86_64.exe -v
Haskell Dockerfile Linter 2.13.1

When giving the following dockerfile, it crash, even with an empty dockerfile:

FROM python:3.13.7-slim as python-base
PS C:\hadolint> .\hadolint-windows-x86_64.exe .\Dockerfile

Access violation in generated code when executing data at 0x7ff873a62cc4

 Attempting to reconstruct a stack trace...

   Frame        Code address
 * 0xc42f2fd3a0 0x7ff873a62cc4
 * 0xc42f2fd3a8 0x1
 * 0xc42f2fd3b0 0xf8800001000
 * 0xc42f2fd3b8 0x50000000e
 * 0xc42f2fd3c0 0x6364859
 * 0xc42f2fd3c8 0x7fff00000004
 * 0xc42f2fd3d0 0x200500028
 * 0xc42f2fd3d8 0x410
 * 0xc42f2fd3e0 0x740
 * 0xc42f2fd3e8 0x7ff46ed7c340

I am on the default configuration and on Windows 11 Pro 24H2.

Kind regards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbuild targetThis PR/issue deals the build targets

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions