lizhimins opened a new issue, #7305: URL: https://github.com/apache/rocketmq/issues/7305
### Before Creating the Bug Report - [X] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq/discussions). - [X] I have searched the [GitHub Issues](https://github.com/apache/rocketmq/issues) and [GitHub Discussions](https://github.com/apache/rocketmq/discussions) of this repository and believe that this is not a duplicate. - [X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ. ### Runtime platform environment MacOS 13.5.1 / Linux 4.19 ### RocketMQ version latest develop branch (5.1.3) ### JDK Version JDK11 ### Describe the Bug When the broker shutsdown gracefully, the metrics and transactional services do not shut down normally. If the metrics timing task happens to be executed at this time, but the delay message module has been closed normally, the broker accesses illegal direct memory while offline, causing broker coredump. 当 Broker 正常关闭时(优雅下线),metrics 和 transactional 两个服务没有正常关闭。 假如此时 metrics 定时任务正好执行,但是定时消息模块已经正常关闭了,此时 broker 在下线时访问了非法内存,造成 coredump ### Steps to Reproduce No ### What Did You Expect to See? Broker shutdown normally ### What Did You See Instead? Broker coredump ### Additional Context _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
