[MXS-1026] Crash with NullAuth authenticator Created: 2016-11-23  Updated: 2016-12-03  Resolved: 2016-12-03

Status: Closed
Project: MariaDB MaxScale
Component/s: mariadbbackend
Affects Version/s: 2.0.2
Fix Version/s: 2.0.3

Type: Bug Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None

Sprint: 2016-23

 Description   

The NullAuth authenticator causes a crash when used.

2016-11-23 04:57:28   error  : Fatal: MaxScale 2.0.1 received fatal signal 11. Attempting backtrace.
2016-11-23 04:57:28   error  : Commit ID: 14326774065fd211a79e5935414d149fb8a17660 System name: Linux Release string: CentOS Linux release 7.2.1511 (Core)
2016-11-23 04:57:28   error  :   /usr/bin/maxscale() [0x403df3]
2016-11-23 04:57:28   error  :   /lib64/libpthread.so.0(+0xf100) [0x7f05b0a84100]
2016-11-23 04:57:28   error  :   /lib64/libc.so.6(+0x1487b5) [0x7f05af5b07b5]
2016-11-23 04:57:28   error  :   /usr/lib64/maxscale/libMySQLBackend.so(+0x3c8c) [0x7f05a1df0c8c]
2016-11-23 04:57:28   error  :   /usr/lib64/maxscale/libMySQLBackend.so(+0x2f1e) [0x7f05a1deff1e]
2016-11-23 04:57:28   error  :   /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(+0x53336) [0x7f05b13bb336]
2016-11-23 04:57:28   error  :   /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(poll_waitevents+0x69c) [0x7f05b13ba916]
2016-11-23 04:57:28   error  :   /usr/bin/maxscale(worker_thread_main+0x2a) [0x405093]
2016-11-23 04:57:28   error  :   /lib64/libpthread.so.0(+0x7dc5) [0x7f05b0a7cdc5]
2016-11-23 04:57:28   error  :   /lib64/libc.so.6(clone+0x6d) [0x7f05af55eced]



 Comments   
Comment by markus makela [ 2016-12-03 ]

The NullAuth authenticator allocates MySQL protocol specific structures to prevent the crash. Although it doesn't crash, the authentication will still fail due to the lack of valid credentials.

In 2.1, the skip_authentication option for the MySQLAuth module can be used to bypass the authentication mechanism.

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