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

Поиск
Список
Период
Сортировка
От Lars Aksel Opsahl
Тема Re: free(): invalid pointer , when to dumping data to a new server
Дата
Msg-id PR3P189MB1035C3DC4C526A813501E7FD9D160@PR3P189MB1035.EURP189.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответ на Re: free(): invalid pointer , when to dumping data to a new server  (Laurenz Albe <laurenz.albe@cybertec.at>)
Ответы Re: free(): invalid pointer , when to dumping data to a new server  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: free(): invalid pointer , when to dumping data to a new server  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-admin

>
>From: Laurenz Albe <laurenz.albe@cybertec.at>Sent: Tuesday, October 27, 2020 3:10 PMTo: Lars Aksel Opsahl <Lars.Opsahl@nibio.no>; pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.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

В списке pgsql-admin по дате отправления:

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: free(): invalid pointer , when to dumping data to a new server
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: free(): invalid pointer , when to dumping data to a new server