google / google/jpegli

Tests fail with SEGFAULT in debug mode on Commit d6f6fa7

Open
#59 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
401
Forks
66
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When building the library based on commit d6f6fa7, I encountered two test failures while running `ci.sh` in debug mode. The tests fail with segmentation faults (`SEGFAULT`).

**To Reproduce**
Steps to reproduce the behavior:

1. Checkout the commit d6f6fa7
2. Run:
```
./ci.sh debug
```

**Expected behavior**
All tests should pass.

**Screenshots**
Out of 55 tests, 2 tests fail:

```
96% tests passed, 2 tests failed out of 55

Total Test time (real) = 6.37 sec

The following tests did not run:
54 - GaussBlurTest.SlowTestDirac1D (Disabled)

The following tests FAILED:
3 - ButteraugliInPlaceTest.LargeImage (SEGFAULT)
17 - JpegliTest.JpegliHDRRoundtripTest (SEGFAULT)
```

**Environment**
- OS: Ubuntu 20.04
- Compiler version: clang 11

**Additional context**

- The issue does not reproduce in release or opt modes.
- I attempted to reproduce the issue on the main branch, but encountered build failures during the build stage.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.