Skip to content

MDTest.messageDigestElaborateTest() crashes on Ubuntu Pro VMs #103

@pushkarnk

Description

@pushkarnk

MDTest.messageDigestElaborateTest() has never crashed in CI, or during local development.

While testing on Ubuntu Pro with the openssl that comes with fip-updates I started observing a crash (amd64, arm64 and s390x). Here is the stack trace:

J 1036  com.canonical.openssl.md.OpenSSLMD.doUpdate0([B)V (0 bytes) @ 0x00007fe3a7a98374 [0x00007fe3a7a98320+0x0000000000000054]
J 1051 c1 com.canonical.openssl.md.OpenSSLMD.engineUpdate([B)V (72 bytes) @ 0x00007fe3a01416cc [0x00007fe3a0141400+0x00000000000002cc]
J 1047 c1 com.canonical.openssl.md.OpenSSLMD.engineUpdate(B)V (12 bytes) @ 0x00007fe3a014105c [0x00007fe3a0140f40+0x000000000000011c]
J 1053% c1 MDTest.messageDigestElaborateTest()V (293 bytes) @ 0x00007fe3a01444dc [0x00007fe3a0142460+0x000000000000207c]

This always happens after the MessageDigest.reset() call. But there is some inconsistency, I see the test failing once in 3-4 runs.

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