Bug #109560 "Reduce size of RelWithDebInfo" makes coredump useless for official binaries

Submitted: 9 Jan 2023 20:12 Modified: 10 Jan 2023 6:50
Reporter: 黄 炎-爱可生 (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.30 OS:Any
Assigned to: CPU Architecture:Any

[9 Jan 2023 20:12] 黄 炎-爱可生
Description:
According to https://github.com/mysql/mysql-server/commit/fd704a8fae525a5eabe0e2c9d9b258732db7cb01, MySQL use compilation options "-g1"

It makes coredump useless for official Linux-generic package:
1. there's no symbols of variables/types/...
2. we could not reproduce compile hosts (pb2-el6-07.regionaliad02.mysql2iad.oraclevcn.com)

Make "-g3" mysqld tar, or make a debuginfo of generic package will help

How to repeat:
1. Install mysqld 8.0.30 by Linux-generic package
2. gdb mysqld
3. "info types" will list nothing

Suggested fix:
Make "-g3" mysqld tar, or make a debuginfo of generic package
[10 Jan 2023 6:50] MySQL Verification Team
Hello Yan Huang,

Thank you for the report and feedback.

Thanks,
Umesh

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.048 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.