Re: free(): invalid pointer , when to dumping data to a new server

From: Lars Aksel Opsahl <Lars(dot)Opsahl(at)nibio(dot)no>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: free(): invalid pointer , when to dumping data to a new server
Date: 2020-10-27 15:15:10
Message-ID: PR3P189MB1035C3DC4C526A813501E7FD9D160@PR3P189MB1035.EURP189.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


>
>From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>Sent: Tuesday, October 27, 2020 3:10 PMTo: Lars Aksel Opsahl <Lars(dot)Opsahl(at)nibio(dot)no>; pgsql-admin(at)lists(dot)postgresql(dot)org <pgsql-admin(at)lists(dot)postgresql(dot)org>Subject: Re: free(): invalid pointer , when to dumping data to a new server
>
.
.
>> Dnf search does not give mee any debuginfo file for postgres
>
>You'll have to edit "/etc/yum.repos.d/pgdg-fedora-all.repo" and
>set the "PostgreSQL 13 for Fedora $releasever - $basearch - Debuginfo"
>repository to "enabled=1".
>
>Then you can install the debuginfo packages and generate a stack trace.
>
>Yours,
>Laurenz Albe
>--
>Cybertec | https://www.cybertec-postgresql.com
>

HI

Thanks that fixed the debug install yes.

Here is the new stackstrace not too much info that helps mee thou.

gdb /usr/pgsql-12/bin/postmaster /var/lib/systemd/coredump/core.postmaster.26.6f7d98107f544085a41c6f8b876418d0.298120.1603810048000000
GNU gdb (GDB) Red Hat Enterprise Linux 8.2-11.el8
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/pgsql-12/bin/postmaster...Reading symbols from /usr/lib/debug/usr/pgsql-12/bin/postgres-12.4-1PGDG.rhel8.x86_64.debug...done.
done.
BFD: warning: /var/lib/systemd/coredump/core.postmaster.26.6f7d98107f544085a41c6f8b876418d0.298120.1603810048000000 is truncated: expected core file size >= 2326896640, found: 2147483648

warning: core file may not match specified executable file.
[New LWP 298120]
Cannot access memory at address 0x7f79c5966128
Cannot access memory at address 0x7f79c5966120
Failed to read a valid object file image from memory.
Core was generated by `postgres: postgres test1 [local] idle '.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f79c2caf70f in ?? ()
(gdb) bt
#0 0x00007f79c2caf70f in ?? ()
Backtrace stopped: Cannot access memory at address 0x7ffc037c6ae0
(gdb)

Lars

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Herrera 2020-10-27 16:04:35 Re: free(): invalid pointer , when to dumping data to a new server
Previous Message Laurenz Albe 2020-10-27 14:10:50 Re: free(): invalid pointer , when to dumping data to a new server