1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2026-10-23 21:49:05 +03:00
Files
Leonid Fedorov 1d3ddba190 MCOL-6204: Fix workernode crash when signal arrives during startup
The workernode process could crash if a signal (SIGINT, SIGTERM, SIGHUP)
was received during initialization. Signal handlers were registered
before the SlaveComm object was constructed, causing a null pointer
dereference when the handler tried to call comm->stop() or comm->reset().

The SlaveComm constructor can take significant time because it
initializes MasterSegmentTable which acquires RWLocks on shared memory.
If a signal arrived during this window, the process would crash.

Added null checks for the comm pointer in both stop() and reset()
signal handlers to prevent the crash.
2026-01-27 00:58:44 +04:00
..
2025-05-20 18:22:59 +04:00