[MXS-4585] Debug assertion on shutdown Created: 2023-04-17  Updated: 2023-04-18  Resolved: 2023-04-17

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 23.02.1
Fix Version/s: 23.02.2

Type: Task Priority: Trivial
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates MXS-4580 Debug assertion on shutdown Closed

 Description   

If MaxScale does not have the required permissions to open the /var/log/maxscale/maxscale.log file, a debug assertion is hit on shutdown inside mxb_log_finish(). This happens because the atexit function calls it with an uninitialized logging system which happens as a result of the lack of permissions.



 Comments   
Comment by Johan Wikman [ 2023-04-17 ]

markus makela Better to classify this as a task. If it's a bug it will show up in the release notes and this is not something customers will ever be affected by. Or if it manifests itself some other way when running in release mode, change the description to reflect that.

Comment by markus makela [ 2023-04-17 ]

I figured it would've had an effect on syslog but it turns out even a duplicate call to closelog has no effect. I'll just convert this into a task.

Generated at Thu Feb 08 04:29:42 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.