apache / apache/gluten

[VL] random issue on GHA: terminate called without an active exception

Open
#5,679 3 comments 0 reactions 0 assignees View on GitHub
bug triage
Dominant language
Scala
Stars
1.6k
Forks
657
Avg merge
2d 14h
Merged PRs (30d)
80

Description

### Backend

VL (Velox)

### Bug description

```
VeloxOrcDataTypeValidationSuite:
E20240509 09:27:33.494535 61272 Exceptions.h:69] Line: /__w/incubator-gluten/incubator-gluten/ep/build-velox/build/velox_ep/velox/exec/Task.cpp:1850, Function:terminate, Expression: Cancelled, Source: RUNTIME, ErrorCode: INVALID_STATE
E20240509 09:27:33.781136 61272 Exceptions.h:69] Line: /__w/incubator-gluten/incubator-gluten/ep/build-velox/build/velox_ep/velox/exec/Task.cpp:1850, Function:terminate, Expression: Cancelled, Source: RUNTIME, ErrorCode: INVALID_STATE
- Bool type
E20240509 09:27:34.375708 61272 Exceptions.h:69] Line: /__w/incubator-gluten/incubator-gluten/ep/build-velox/build/velox_ep/velox/exec/Task.cpp:1850, Function:terminate, Expression: Cancelled, Source: RUNTIME, ErrorCode: INVALID_STATE
E20240509 09:27:34.512818 58314 Exceptions.h:69] Line: /__w/incubator-gluten/incubator-gluten/cpp/velox/substrait/SubstraitToVeloxPlan.cc:1852, Function:setFilterInfo, Expression: Subfield filters creation not supported for input type 'VARBINARY' in setFilterInfo, Source: RUNTIME, ErrorCode: NOT_IMPLEMENTED
E20240509 09:27:34.544896 58314 Exceptions.h:69] Line: /__w/incubator-gluten/incubator-gluten/cpp/velox/substrait/SubstraitToVeloxPlan.cc:1852, Function:setFilterInfo, Expression: Subfield filters creation not supported for input type 'VARBINARY' in setFilterInfo, Source: RUNTIME, ErrorCode: NOT_IMPLEMENTED
E20240509 09:27:34.577921 58314 Exceptions.h:69] Line: /__w/incubator-gluten/incubator-gluten/cpp/velox/substrait/SubstraitToVeloxPlan.cc:1852, Function:setFilterInfo, Expression: Subfield filters creation not supported for input type 'VARBINARY' in setFilterInfo, Source: RUNTIME, ErrorCode: NOT_IMPLEMENTED
E20240509 09:27:34.607234 58314 Exceptions.h:69] Line: /__w/incubator-gluten/incubator-gluten/cpp/velox/substrait/SubstraitToVeloxPlan.cc:1852, Function:setFilterInfo, Expression: Subfield filters creation not supported for input type 'VARBINARY' in setFilterInfo, Source: RUNTIME, ErrorCode: NOT_IMPLEMENTED
E20240509 09:27:34.827401 58314 Exceptions.h:69] Line: /__w/incubator-gluten/incubator-gluten/cpp/velox/substrait/SubstraitToVeloxPlan.cc:1852, Function:setFilterInfo, Expression: Subfield filters creation not supported for input type 'VARBINARY' in setFilterInfo, Source: RUNTIME, ErrorCode: NOT_IMPLEMENTED
E20240509 09:27:34.860780 58314 Exceptions.h:69] Line: /__w/incubator-gluten/incubator-gluten/cpp/velox/substrait/SubstraitToVeloxPlan.cc:1852, Function:setFilterInfo, Expression: Subfield filters creation not supported for input type 'VARBINARY' in setFilterInfo, Source: RUNTIME, ErrorCode: NOT_IMPLEMENTED
E20240509 09:27:34.894490 58314 Exceptions.h:69] Line: /__w/incubator-gluten/incubator-gluten/cpp/velox/substrait/SubstraitToVeloxPlan.cc:1852, Function:setFilterInfo, Expression: Subfield filters creation not supported for input type 'VARBINARY' in setFilterInfo, Source: RUNTIME, ErrorCode: NOT_IMPLEMENTED
E20240509 09:27:34.930202 58314 Exceptions.h:69] Line: /__w/incubator-gluten/incubator-gluten/cpp/velox/substrait/SubstraitToVeloxPlan.cc:1852, Function:setFilterInfo, Expression: Subfield filters creation not supported for input type 'VARBINARY' in setFilterInfo, Source: RUNTIME, ErrorCode: NOT_IMPLEMENTED
- Binary type
E20240509 09:27:35.139830 61272 Exceptions.h:69] Line: /__w/incubator-gluten/incubator-gluten/ep/build-velox/build/velox_ep/velox/exec/Task.cpp:1850, Function:terminate, Expression: Cancelled, Source: RUNTIME, ErrorCode: INVALID_STATE
- String type
E20240509 09:27:35.702018 61272 Exceptions.h:69] Line: /__w/incubator-gluten/incubator-gluten/ep/build-velox/build/velox_ep/velox/exec/Task.cpp:1850, Function:terminate, Expression: Cancelled, Source: RUNTIME, ErrorCode: INVALID_STATE
- Double type
E20240509 09:27:36.363720 61272 Exceptions.h:69] Line: /__w/incubator-gluten/incubator-gluten/ep/build-velox/build/velox_ep/velox/exec/Task.cpp:1850, Function:terminate, Expression: Cancelled, Source: RUNTIME, ErrorCode: INVALID_STATE
- Float type
E20240509 09:27:36.987668 61272 Exceptions.h:69] Line: /__w/incubator-gluten/incubator-gluten/ep/build-velox/build/velox_ep/velox/exec/Task.cpp:1850, Function:terminate, Expression: Cancelled, Source: RUNTIME, ErrorCode: INVALID_STATE
- Long type
pure virtual method called
terminate called without an active exception
```

### Spark version

None

### Spark configurations

_No response_

### System information

_No response_

### Relevant logs

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with VeloxOrcDataTypeValidationSuite and reproduce the failure in the GitHub Actions environment. Read velox/exec/Task.cpp around line 1850 and cpp/velox/substrait/SubstraitToVeloxPlan.cc around line 1852, then trace the reported cancellation and termination sequence. Done means identifying the intermittent cause and adding a verified fix or regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, github-actions, scala
Domain
backend, ci-cd, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.