Skip to content

Registry bad pointer on Windows from github.com/konsorten/go-windows-terminal-sequences.EnableVirtualTerminalProcessing #3223

@AndreasHassing

Description

@AndreasHassing

Hi, I got this error while trying to run the registry from a Windows machine:

runtime: bad pointer in frame github.com/konsorten/go-windows-terminal-sequences.EnableVirtualTerminalProcessing at 0xc00060d630: 0x280
fatal error: invalid pointer found on stack

The chain of dependency failure is:

  • Docker Registry vCurrent
    • github.com/sirupsen/logrus v1.4.2
      • github.com/konsorten/go-windows-terminal-sequences v1.0.1

This is a known issue, see: sirupsen/logrus#1112

Solution: Update to logrus v1.6.0, updates github.com/konsorten/go-windows-terminal-sequences to v1.0.3 which contains the fix.

logrus has in a later (unreleased) commit removed the dependency on konsorten/go-windows-terminal-sequences completely.

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