Bug #106117 Crash in resend_bucket in Suma.cpp
Submitted: 8 Jan 2022 18:15 Modified: 17 Jan 2022 18:41
Reporter: Mikael Ronström Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:8.0.27 OS:Any
Assigned to: CPU Architecture:Any

[8 Jan 2022 18:15] Mikael Ronström
Description:
Gcp pointer is initialised with call to last.
This can fail and return a null pointer which leads to crash when the pointer is used
to setup EVENT_REP signal.

How to repeat:
test_event -r 5000 -n Bug30780 T1
At least fails on Mac OS X with ARM

Suggested fix:
Probably set to 0 if pointer is nullptr, possibly better solution exists.
[8 Jan 2022 18:16] Mikael Ronström
The failing method is start_resend
[17 Jan 2022 18:41] MySQL Verification Team
Hi Mikael, Thank you for the report.

all best
Bogdan