Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 81C5FB5DBCE for ; Sat, 17 Sep 2011 20:00:12 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 01972-02 for ; Sat, 17 Sep 2011 23:00:05 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from mail-pz0-f42.google.com (mail-pz0-f42.google.com [209.85.210.42]) by mail.postgresql.org (Postfix) with ESMTP id B71E3B5DBC4 for ; Sat, 17 Sep 2011 20:00:03 -0300 (ADT) Received: by pzk1 with SMTP id 1so6144785pzk.1 for ; Sat, 17 Sep 2011 16:00:03 -0700 (PDT) Received: by 10.68.39.169 with SMTP id q9mr1526438pbk.212.1316300403091; Sat, 17 Sep 2011 16:00:03 -0700 (PDT) Received: from ayaki.localdomain (124-148-242-247.dyn.iinet.net.au. [124.148.242.247]) by mx.google.com with ESMTPS id f8sm48966621pbc.3.2011.09.17.16.00.00 (version=SSLv3 cipher=OTHER); Sat, 17 Sep 2011 16:00:02 -0700 (PDT) Message-ID: <4E75266D.6070707@ringerc.id.au> Date: Sun, 18 Sep 2011 06:59:57 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 MIME-Version: 1.0 To: "Richard G. Bayer" CC: pgsql-bugs@postgresql.org Subject: Re: BUG #6208: crash when c: occupied by removable drive References: <201109160937.p8G9bjHD025982@wwwmaster.postgresql.org> In-Reply-To: <201109160937.p8G9bjHD025982@wwwmaster.postgresql.org> Content-Type: multipart/alternative; boundary="------------030602070604000800060809" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-5 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201109/108 X-Sequence-Number: 31125 This is a multi-part message in MIME format. --------------030602070604000800060809 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 09/16/2011 05:37 PM, Richard G. Bayer wrote: > The following bug has been logged online: > > Bug reference: 6208 > Logged by: Richard G. Bayer > Email address: bayer@nws.cz > PostgreSQL version: 8.4.7 > Operating system: Windiws XP 32-bit > Description: crash when c: occupied by removable drive > Details: > > After hours of debugging an application we bought we figured out that the PG > library was the reason. When you say "the Pg library" do you mean libpq? PgODBC? The PostGreSQL server (postgres.exe)? If you mean libpq or PgODBC, how did you determine that it was the culprit of the crash? Do you have a test case or simplified demo program showing the crash? Do you have a backtrace? If it's actually postgres.exe not a library that crashes, when exactly does it crash? What is shown in the server log? Can you try to get a backtrace using the instructions here: http://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_PostgreSQL_backend_on_Windows -- Craig Ringer --------------030602070604000800060809 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit On 09/16/2011 05:37 PM, Richard G. Bayer wrote:
The following bug has been logged online:

Bug reference:      6208
Logged by:          Richard G. Bayer
Email address:      bayer@nws.cz
PostgreSQL version: 8.4.7
Operating system:   Windiws XP 32-bit
Description:        crash when c: occupied by removable drive
Details: 

After hours of debugging an application we bought we figured out that the PG
library was the reason.
When you say "the Pg library" do you mean libpq? PgODBC? The PostGreSQL server (postgres.exe)?

If you mean libpq or PgODBC, how did you determine that it was the culprit of the crash? Do you have a test case or simplified demo program showing the crash? Do you have a backtrace?

If it's actually postgres.exe not a library that crashes, when exactly does it crash? What is shown in the server log? Can you try to get a backtrace using the instructions here:

http://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_PostgreSQL_backend_on_Windows

--
Craig Ringer
--------------030602070604000800060809--