Skip to content

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

Open
MaheshGPai wants to merge 3 commits intoapache:masterfrom
MaheshGPai:mahesh_pr
Open

BugFix: SIGABRT in quantiles_sketch::deserialize(): dereferencing emp…#478
MaheshGPai wants to merge 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 21423409459

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 21387083530: 0.01%
Covered Lines: 17247
Relevant Lines: 17455

💛 - 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

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)

3 participants