Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] AggregationMethodOneNumber should handle ColumnNullable #8825

Closed

Conversation

dataroaring
Copy link
Contributor

It is a mistake to cast ColumnNullable* to ColumnVectorHelper*.
UBSAN reports below messages:
runtime error: member call on address 0x00002af70680 which does not point to a
n object of type 'doris::vectorized::ColumnVectorHelper'

The be core dump running tpcds q77 on 1T data set without UBSAN.

Fix #8815.

Proposed changes

Issue Number: close #8815

Problem Summary:

Describe the overview of changes.

Checklist(Required)

  1. Does it affect the original behavior: (Yes/No/I Don't know)
  2. Has unit tests been added: (Yes/No/No Need)
  3. Has document been added or modified: (Yes/No/No Need)
  4. Does it need to update dependencies: (Yes/No)
  5. Are there any changes that cannot be rolled back: (Yes/No)

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

It is a mistake to cast ColumnNullable* to ColumnVectorHelper*.
UBSAN reports below messages:
runtime error: member call on address 0x00002af70680 which does not point to a
n object of type 'doris::vectorized::ColumnVectorHelper'

The be core dump running tpcds q77 on 1T data set without UBSAN.

Fix apache#8815.
@dataroaring dataroaring added dev/1.0.1-deprecated should be merged into dev-1.0.1 branch kind/fix Categorizes issue or PR as related to a bug. labels Apr 2, 2022
@morningman morningman closed this May 12, 2022
@morningman morningman removed the dev/1.0.1-deprecated should be merged into dev-1.0.1 branch label May 16, 2022
@dataroaring dataroaring deleted the AggregationMethodOneNumber branch September 12, 2024 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/fix Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] tpcds sf1000 core dump
2 participants