← Back to team overview

maria-developers team mailing list archive

Re: 9f2bbf84e8d1: Fixed my_addr_resolve


Hi, Michael!

On Dec 03, Michael Widenius wrote:
> revision-id: 9f2bbf84e8d1 (mariadb-10.5.2-274-g9f2bbf84e8d1)
> parent(s): 173116c3a573
> author: Michael Widenius <michael.widenius@xxxxxxxxx>
> committer: Michael Widenius <michael.widenius@xxxxxxxxx>
> timestamp: 2020-09-24 17:26:40 +0300
> message:
> Fixed my_addr_resolve
> At least on openSUSE Leap 15.1 one should not use the dli_fbase offset
> provided by dladdr() for addresses in the main program.
> Without this patch the stack traces from sf_report_leaked_memory()
> are not usable.

Sorry, I was not able to repeat it.

I built on openSUSE Leap and the stack trace was perfectly usable
without your patch. I tried both `kill -ABRT` and an artificially
introduced memory leak.

VP of MariaDB Server Engineering
and security@xxxxxxxxxxx