Re: capturing regression test core dump - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: capturing regression test core dump
Date
Msg-id 1309881722-sup-6332@alvh.no-ip.org
Whole thread Raw
In response to capturing regression test core dump  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Excerpts from Robert Haas's message of mar jul 05 11:49:48 -0400 2011:
> Is there any way to get the regression tests to write a core dump file
> somewhere that I can get at it?  I tried "ulimit -c unlimited" but
> can't find any core file lying around after I reproduce the crash.

Are you using a temp install?  If so, the core files are going to end up
there, and thus go away when that's deleted.  You could change the
core_pattern if you're on Linux (see core(5)) but it's probably easier
to use "make installcheck" instead.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Small SSI issues
Next
From: Pavel Golub
Date:
Subject: Re: [BUGS] COPY .... WITH (FORMAT binary) causes syntax error at or near "binary"