Re: Details of Segmentation Fault

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pgsql-novice(at)postgresql(dot)org>,<steve(at)stevehorn(dot)cc>
Subject: Re: Details of Segmentation Fault
Date: 2012-09-10 12:27:06
Message-ID: 504D964A020000250004A0AC@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Steve Horn wrote:
> I am trying to get the details of a segmentation fault that I'm
> encountering when running a function from the pgRouting library.
> The log in /var/log/postgresql doesn't give me a lot of detail:
>
> 2012-09-09 21:03:36 EDT LOG: server process (PID 20008) was
> terminated by signal 11: Segmentation fault
> 2012-09-09 21:03:36 EDT LOG: terminating any other active server
> processes
> 2012-09-09 21:03:36 EDT WARNING: terminating connection because of
> crash of another server process
> 2012-09-09 21:03:36 EDT DETAIL: The postmaster has commanded this
> server process to roll back the current transaction and exit,
> because another server process exited abnormally and possibly
> corrupted shared memory.
> 2012-09-09 21:03:36 EDT HINT: In a moment you should be able to
> reconnect to the database and repeat your command.
>
> ... etc.
>
> Is there any other place to check that would give me a better idea
> of what happened?

You could try to get a stack trace:

http://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_backend

Note that people can be more helpful if you include more information,
like your OS and the version of PostgreSQL.

-Kevin

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Steve Horn 2012-09-10 12:38:50 Re: Details of Segmentation Fault
Previous Message Hitesh Varule 2012-09-10 11:17:28 Need help (unterminated dollar-quoted string at or near "$$ LANGUAGE plpgsql IMMUTABLE; ")