Re: Segmentation Fault

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: wobbet(at)wobbet(dot)com, Robert Sanford <wobbet(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Segmentation Fault
Date: 2023-09-13 23:58:57
Message-ID: 3030992.1694649537@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Robert Sanford <wobbet(at)gmail(dot)com> writes:
> I realized that when I was running GDB I just took a snap of when it
> failed. Here I've added after continuing and requesting a backtrace.

This is still quite unhelpful; it appears to show normal behavior in
a process that's not the failing one. There is some advice about
collecting useful backtraces at

https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_backend

I'd counsel the method of enabling core dumps and then attaching
gdb to a core file, rather than dealing with live processes.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Laurenz Albe 2023-09-14 02:52:58 Re: Segmentation Fault
Previous Message Robert Sanford 2023-09-13 22:31:12 Re: Segmentation Fault