Re: Server process crash - Segmentation fault

From: Leif Jensen <leif(at)crysberg(dot)dk>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Server process crash - Segmentation fault
Date: 2014-05-07 15:46:40
Message-ID: 12460598.10774.1399477600310.JavaMail.root@quick
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

Hi Guys,

Here is a gdb dump of the backtrace at the server process crash. I have also included the code that generates these calls. As mentioned below this specific connection has been used many times before the crash. Also, we are aware of the thread caveat that only using a connection from one thread at a time. Therefore the "strange" connection name that includes both the process id and the thread id. This is for the code to make sure that a connection is only used in the thread it is meant to.

Hope this can help in helping me ;-),

Leif

----- Original Message -----
> On 05/06/2014 11:37 PM, Leif Jensen wrote:
> > Hello Adrian,
> >
> > Thank you for your answer. I can post part of the code that
> > makes these calls, but I'm not sure how much it would help. It
> > is rather large function that makes these calls, and it is
> > called all over the program. The part of the log posted is only
> > a small excerpt of the use of the
> > ApplDBConn_22854_f6adeb70_query, which has been used many many
> > times before the log shown (167 in all to be exact ;-) ).
>
> Exactly. Something different happened at that point. The hard part
> will
> determining what that is. The next step would seem to run a debugger
> on
> the Postgres process to get more information. For a step by step guide
> see here:
>
> https://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_PostgreSQL_backend_on_Linux/BSD
>
> >
> > Leif
> >
> >
>
>
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)aklaver(dot)com

Attachment Content-Type Size
gdb-bt application/octet-stream 6.4 KB
db-mod.pgc text/x-csrc 38.9 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message emanuel.calvo 2014-05-07 15:59:18 BUG #10255: CREATE COLLATION bug on 9.4
Previous Message Stephen Frost 2014-05-07 15:44:31 Re: BUG #10250: pgAdmin III 1.16.1 stores unescaped plaintext password

Browse pgsql-general by date

  From Date Subject
Next Message Andrus 2014-05-07 16:03:29 How to fix lost synchronization with server
Previous Message Adrian Klaver 2014-05-07 15:36:25 Re: Building Postgres using mingw