Opened 7 months ago

Closed 7 months ago

#15928 closed defect (fixed)

MariaDB crashes when using OpenSSL-3

Reported by: Douglas R. Reno Owned by: pierre
Priority: normal Milestone: 11.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

As Pierre noted in IRC:

<plabs> Installing MariaDB/MySQL system tables in '/srv/mysql' ...
<plabs> *** stack smashing detected ***: terminated
<plabs> 220

This is definitely an OpenSSL-3 issue.

Change History (11)

comment:1 by Douglas R. Reno, 7 months ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:2 by pierre, 7 months ago

Found this: https://github.com/MariaDB/server/commit/1b238e343506b43825092941d4cd294d9b866bef

Looks like this is all mariadb upstream has done for openssl 3 (but I may be wrong)

comment:3 by pierre, 7 months ago

What I am amazed about is that I have installed openssl 3 and rebuilt mariadb on my main system, and I have not seen any issue. Maybe the reason is that I have not upgraded/reinstalled the database.

Last edited 7 months ago by pierre (previous) (diff)

comment:4 by pierre, 7 months ago

The above patch fixes the crash. Not tried the tests: mariadb is only the 128th package out of c.a. 930, so I want to move on...

comment:6 by pierre, 7 months ago

Short tests pass as usual (that is, one, test-connect fails)

comment:7 by Douglas R. Reno, 7 months ago

Owner: changed from Douglas R. Reno to plabs
Status: assignednew

Passing over to pierre

comment:8 by pierre, 7 months ago

Owner: changed from plabs to pierre
Status: newassigned

comment:9 by pierre, 7 months ago

mtr tests: {{{5 Failed 4/5784 tests, 99.93% were successful.

Failing test(s): spider/bugfix.mdev_26582 main.mysqldump main.ddl_i18n_koi8r main.ddl_i18n_utf8 }}} The last 3 are because of some character set missing. The first one is supposed to occur in 10.6.5 see https://jira.mariadb.org/browse/MDEV-26582. Will slightly modify the text.

comment:10 by pierre, 7 months ago

patch committed at aa6cb3d0 in patch repo

comment:11 by pierre, 7 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.