Re: [May be a bug] double free or corruption
От | Ashutosh Bapat |
---|---|
Тема | Re: [May be a bug] double free or corruption |
Дата | |
Msg-id | CAExHW5virSLudu0GMH3QzD9mRJJtKd+tw5DLf3CwzeW4tG3L4g@mail.gmail.com обсуждение исходный текст |
Ответ на | [May be a bug] double free or corruption ("Wen Yi" <wen-yi@qq.com>) |
Список | pgsql-hackers |
Hi Wen, On Wed, Jul 26, 2023 at 7:55 PM Wen Yi <wen-yi@qq.com> wrote: ... snip ... > ----- Backtrace ----- > corrupted double-linked list > > > Fatal signal: Aborted > ----- Backtrace ----- > done > server started > 0x5557bf5908b0 ??? ... snip ... > --------------------- > A fatal error internal to GDB has been detected, further > debugging is not possible. GDB will now terminate. > > This is a bug, please report it. For instructions, see: > <https://www.gnu.org/software/gdb/bugs/>. > > Aborted (core dumped) > [postgres@fedora postgres]$ > > -------------------------------------------------------------------------------------------------------------- > > As you can see, the gdb tell me I should report this, because gdb think there's a double-free. > But I check the postgres, it keep the run rightly, like this:(Before I run the psql, I print the log file) > I think you hit a gdb bug. The error message from gdb references https://www.gnu.org/software/gdb/bugs/ which has instructions on reporting bugs about gdb. > 2023-07-26 22:16:17.489 CST [83554] LOG: database system is ready to accept connections > [postgres@fedora postgres]$ psql > psql (17devel) > Type "help" for help. > > postgres=# \q > [postgres@fedora postgres]$ I guess gdb hit this bug after detaching from the backend you were debugging. So it continued running. In case it crashed because something went wrong. postmaster will just restart all the backends and will allow you to reconnect. -- Best Wishes, Ashutosh Bapat
В списке pgsql-hackers по дате отправления: