Skip to content

[CBRD-26322] Prevent core dump when receiving signal in CAS - #7901

Open
airnet73 wants to merge 5 commits into
CUBRID:developfrom
airnet73:cbrd-26322
Open

[CBRD-26322] Prevent core dump when receiving signal in CAS#7901
airnet73 wants to merge 5 commits into
CUBRID:developfrom
airnet73:cbrd-26322

Conversation

@airnet73

@airnet73 airnet73 commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

http://jira.cubrid.org/browse/CBRD-26322

Purpose

시그널 핸들러 내에서 async-signal-unsafe 함수를 호출할 경우, 시그널이 비동기적으로 개입하면서 교착 상태(Deadlock), 메모리 오염, 프로세스 강제 종료(Crash/Abort) 등의 심각한 문제가 발생할 수 있습니다.

이를 해결하기 위해 시그널 핸들러에서는 시그널 수신 여부만 기록하고, async-signal-unsafe한 실제 정리 작업은 메인 루프에서 처리하도록 구조를 개선했습니다.

Remarks

N/A

@airnet73 airnet73 added this to the guava milestone Sep 8, 2026
@airnet73 airnet73 self-assigned this Sep 8, 2026
@airnet73
airnet73 requested a review from beyondykk9 as a code owner September 8, 2026 11:10
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

❌ TC Merge Gate — Merge Blocked

One or more TC PRs are still open. Please merge or close them before merging this PR.

TC Repositories & Branches:

  • cubrid-testcases: TC PR tc/pr-7901 is open (draft) — must be merged or closed first
  • cubrid-testcases-private-ex: TC PR tc/pr-7901 is open (draft) — must be merged or closed first

Steps to unblock:

  1. Merge or close all TC PRs listed above.
  2. Re-run this check: Actions tab → TC Merge Gate → Re-run failed jobs

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

🧪 TC Test Environment Ready

CircleCI Testing:

  • CircleCI will automatically test using the branches below.

TC Repositories & Branches:

Next Steps:

  1. Wait for CircleCI tests to complete
  2. If CircleCI tests failed, please check the test results and fix the issues.
  3. When ready to merge this PR, please merge the TC PR first, then merge this PR.

@greptile-apps

greptile-apps Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "[CBRD-26322] Prevent core dump when rece..." | Re-trigger Greptile

Comment thread src/broker/cas_common_main.c
@airnet73

Copy link
Copy Markdown
Contributor Author

/run all

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.

1 participant