Skip to content

Segmentation fault in RHEL containers #79

@gabrielcradden

Description

@gabrielcradden

Initial checklist

Affected package

[email protected] with [email protected] (but appears to affect versions 11+ of remark-cli

Steps to reproduce

On some RHEL9-based containers, remark --use validate-links hits a segfault no matter the input files.

This happens with the latest node, remark, and remark-validate-links versions. However, I don't see it on my WSL which is also using redhat, or on the node:24-alpine container.

Annoyingly, I couldn't reproduce this on the UBI 9 base container but only on one of our internal build containers, so I can't give you good repro steps.

Actual behavior

Segmentation fault (core dumped)

I couldn't get anything out of the core dump file. I've attached the last few hundred lines of strace for the command.

remark strace.txt

Expected behavior

Not segfault

Runtime

v24.4.1

Package manager

npm 11.4.2

Operating system

Red Hat Enterprise Linux 9.6 container image

Build and bundle tools

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    👀 no/externalThis makes more sense somewhere else👎 phase/noPost cannot or will not be acted on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions