Skip to content

fix(bq_driver): Asan CI check fix with less lsan entries - #1629

Draft
KanchanShu wants to merge 5 commits into
mainfrom
test_asan_fix
Draft

fix(bq_driver): Asan CI check fix with less lsan entries#1629
KanchanShu wants to merge 5 commits into
mainfrom
test_asan_fix

Conversation

@KanchanShu

Copy link
Copy Markdown
Collaborator

No description provided.

@KanchanShu KanchanShu changed the title Test asan fix fix(bq_driver): Asan CI check fix with less lsan entries Aug 11, 2026
Comment thread ci/gha/builds/lib/lsan.supp Outdated
leak:_iodbcdm_SetConnectOption_init
leak:_iodbcdm_driverunload
leak:_iodbcdm_pushsqlerr
leak:SQLAllocStmt_Internal

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

these looks like a clear memory leak in our driver SQLAllocStmt_Internal, SQLAllocConnect_Internal, SQLAllocEnv_Internal. We will never suppress these

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

removed them

leak:StatusRecord
leak:std::__cxx11::basic_string
leak:_iodbcdm_SetConnectOption_init
leak:_iodbcdm_driverunload

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please give the stack trace and reasoning why we are suppressing these other leaks?

}
}

void StatementHandle::WaitForAsyncOperations() {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

this looks a bit risky, do we have any way in any case it will not cause deadlock?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

removed the block

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.

5 participants