Skip to content

BugFix: SIGABRT in quantiles_sketch::deserialize(): dereferencing emp…#478

Merged
leerho merged 3 commits intoapache:masterfrom
MaheshGPai:mahesh_pr
Feb 11, 2026
Merged

BugFix: SIGABRT in quantiles_sketch::deserialize(): dereferencing emp…#478
leerho merged 3 commits intoapache:masterfrom
MaheshGPai:mahesh_pr

Conversation

@MaheshGPai
Copy link
Contributor

@MaheshGPai MaheshGPai commented Jan 27, 2026

Fixes 477

@coveralls
Copy link

coveralls commented Jan 27, 2026

Pull Request Test Coverage Report for Build 21665998475

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 50 of 50 (100.0%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 98.808%

Totals Coverage Status
Change from base Build 21661806806: 0.01%
Covered Lines: 17245
Relevant Lines: 17453

💛 - Coveralls

# Use C++17 if CMAKE_CXX_STANDARD is set to 17+, otherwise C++11
# This allows hardening tests to use std::optional with libc++ hardening
if(DEFINED CMAKE_CXX_STANDARD)
if(CMAKE_CXX_STANDARD MATCHES "17|20|23")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems overcomplicated
CXX_STANDARD is set to ${CMAKE_CXX_STANDARD} if defined, otherwise to 11
CXX_STANDARD_REQUIRED YES - this is set in any case

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have updated this

@leerho leerho merged commit 4f069a3 into apache:master Feb 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: SIGABRT in quantiles_sketch::deserialize(): dereferencing empty std::optional (libc++ verbose_abort)

4 participants