You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2026-10-23 21:49:05 +03:00
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.