[MDEV-6479] stack traces in 10.1 Created: 2014-07-23  Updated: 2022-09-19  Resolved: 2015-02-28

Status: Closed
Project: MariaDB Server
Component/s: OTHER
Affects Version/s: 10.1.0
Fix Version/s: 10.1.4

Type: Bug Priority: Major
Reporter: Sergei Golubchik Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Problem/Incident
causes MDEV-20738 my_addr_resolve passes invalid offset... Open
Relates
relates to MDEV-29568 libelf (specificly libdw) based stack... Open
relates to MDEV-5730 enhance security using special compil... Closed
relates to MDEV-16194 Stack trace is not resolved on fulltest2 Open

 Description   

After MDEV-5730 old method of resolving stack traces (using addr2line) no longer works. We need an alternative:

  • addr2line method should be either removed or automatically disabled when it cannot work
  • consider using libelf


 Comments   
Comment by Sergei Golubchik [ 2015-02-28 ]

Neither is done, instead I find the load offset and subtract it from the address before using addr2line.

Generated at Thu Feb 08 07:12:13 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.