[MacPorts] #64414: mariadb-10.3 crashes on macOS Monterey

MacPorts noreply at macports.org
Fri Jan 14 10:10:47 UTC 2022


#64414: mariadb-10.3 crashes on macOS Monterey
---------------------------+-----------------------
  Reporter:  GreggGreen    |      Owner:  michaelld
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:  monterey
      Port:  mariadb-10.3  |
---------------------------+-----------------------

Comment (by chrstphrchvz):

 MariaDB not supporting and even crashing when built with OpenSSL 3 is a
 known issue: [https://jira.mariadb.org/browse/MDEV-26771],
 [https://jira.mariadb.org/browse/MDEV-25785].

 MariaDB hardcodes the sizes of various OpenSSL data structures—even though
 OpenSSL 1.1 and later want programs to treat them as opaque and have no
 knowledge of their size—because MariaDB insists on allocating them on the
 stack for performance. There is a runtime compatibility check in MariaDB
 which should abort if the hardcoded sizes are insufficient; so if MariaDB
 is crashing rather than aborting, I think that may indicate their runtime
 compatibility check isn’t running properly. The stack traces show the
 crash occurring somewhere OpenSSL compatibility is assumed, so I wonder if
 that is being executed before the compatibility check.

-- 
Ticket URL: <https://trac.macports.org/ticket/64414#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list