pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: noordsij <noordsij@cs.helsinki.fi>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #6086: Segmentation fault
Date: Mon, 25 Jul 2011 11:57:59 -0400
Message-ID: <1311609295-sup-6784@alvh.no-ip.org> (raw)
In-Reply-To: <CA+TgmoYo3BGBf1hh43FNyQ976HA4k_w5jexZnki8EEL+mHHhXw@mail.gmail.com>
References: <201106300732.p5U7W0Bj001711@wwwmaster.postgresql.org>
	<CA+Tgmob6iFkry0Vg+whf2ALUaxYZAiSWCo8aDD5SH+9dzXad8A@mail.gmail.com>
	<e2e7673675e48059cf6712462467f4f6@cs.helsinki.fi>
	<CA+TgmoYo3BGBf1hh43FNyQ976HA4k_w5jexZnki8EEL+mHHhXw@mail.gmail.com>

Excerpts from Robert Haas's message of lun jul 25 11:20:55 -0400 2011:
> On Sun, Jul 24, 2011 at 5:06 PM, noordsij <noordsij@cs.helsinki.fi> wrote:
> >> Any idea what query triggered this?
> >
> > Only up to which stored procedure (which itself contains multiple
> > statements).
> 
> If you provide a reproducible test case, we can probably get this fixed.
> 
> Otherwise, we probably can't.

But why is libxml calling pthread_mutex_lock and such?  Unless libxml is
making itself multithread inside a backend, that shouldn't matter --
much less cause a crash.

Note (to the OP) that it's totally unexpected to have a Postgres backend
become multithreaded, and has been shown to be dangerous when a library
made it so.

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



view thread (8+ messages)  latest in thread

Message-ID: <1311609295-sup-6784@alvh.no-ip.org>
Permalink:  ../1311609295-sup-6784@alvh.no-ip.org/
Also on:    postgresql.org/message-id/1311609295-sup-6784@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@commandprompt.com, robertmhaas@gmail.com, noordsij@cs.helsinki.fi
  Subject: Re: BUG #6086: Segmentation fault
  In-Reply-To: <1311609295-sup-6784@alvh.no-ip.org>
  References: <201106300732.p5U7W0Bj001711@wwwmaster.postgresql.org> <CA+Tgmob6iFkry0Vg+whf2ALUaxYZAiSWCo8aDD5SH+9dzXad8A@mail.gmail.com> <e2e7673675e48059cf6712462467f4f6@cs.helsinki.fi> <CA+TgmoYo3BGBf1hh43FNyQ976HA4k_w5jexZnki8EEL+mHHhXw@mail.gmail.com> <1311609295-sup-6784@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox