FAQ
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.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Search Discussions

  • Florian Pflug at Jul 5, 2011 at 3:58 pm

    On Jul5, 2011, at 17:49 , Robert Haas wrote:
    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.
    In case you're on OSX, the core dumps there are written to /cores,
    not to the cwd of the process.

    best regards,
    Florian Pflug
  • Robert Haas at Jul 5, 2011 at 4:12 pm

    On Tue, Jul 5, 2011 at 11:57 AM, Florian Pflug wrote:
    On Jul5, 2011, at 17:49 , Robert Haas wrote:
    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.
    In case you're on OSX, the core dumps there are written to /cores,
    not to the cwd of the process.
    Oh, ho! Thanks!

    --
    Robert Haas
    EnterpriseDB: http://www.enterprisedb.com
    The Enterprise PostgreSQL Company
  • Alvaro Herrera at Jul 5, 2011 at 4:03 pm

    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-hackers @
categoriespostgresql
postedJul 5, '11 at 3:49p
activeJul 5, '11 at 4:12p
posts4
users3
websitepostgresql.org...
irc#postgresql

People

Translate

site design / logo © 2022 Grokbase