Re: Reinitialize stack base after fork (for the benefit of rr)?

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Reinitialize stack base after fork (for the benefit of rr)?
Date: 2020-04-05 04:02:56
Message-ID: CAH2-Wz=RCLLj2H5mkWykqy2004+FdTeiw6br4oZX1q2Vg=YCow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Mar 27, 2020 at 11:22 AM Andres Freund <andres(at)anarazel(dot)de> wrote:
> I've found rr [1] very useful to debug issues in postgres. The ability
> to hit a bug, and then e.g. identify a pointer with problematic
> contents, set a watchpoint on its contents, and reverse-continue is
> extremely powerful.

I agree that rr is very useful. It would be great if we had a totally
smooth workflow for debugging using rr.

--
Peter Geoghegan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2020-04-05 04:13:30 Re: Online checksums verification in the backend
Previous Message Tom Lane 2020-04-05 01:26:53 Re: Ltree syntax improvement