From: Bart Samwel <bart@samwel.tk>
To: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Most recent driver aborts transaction after one error
Date: Sun, 19 Mar 2006 00:29:56 +0100
Message-ID: <441C97F4.4060004@samwel.tk> (raw)
In-Reply-To: <441C95C5.4040801@tpf.co.jp>
References: <44194B56.5050304@samwel.tk>
<4419FB0A.3000905@tpf.co.jp>
<441A8E02.4080206@samwel.tk>
<441B8B01.10108@tpf.co.jp>
<441BEA51.7070606@samwel.tk>
<441C95C5.4040801@tpf.co.jp>
Hiroshi Inoue wrote:
> Bart Samwel wrote:
>
>> Hiroshi Inoue wrote:
>>
>>> Bart Samwel wrote:
>>>
>>>>
>>>> 2. I also encountered an access violation while exiting. The call
>>>> stack was not very informative:
>>>>
>>>> ntdll.dll!_RtlpWaitForCriticalSection@4() + 0x5b
>>>> ntdll.dll!_RtlEnterCriticalSection@4() + 0x46
>>>> psqlodbc35w.dll!023a097e() ntdll.dll!_RtlpFreeDebugInfo@4()
>>>> + 0x57 ntdll.dll!_RtlDeleteCriticalSection@4() + 0x78 If
>>>> you want me to try this with a debug-compiled psqlodbc35w, just say
>>>> the word!
>>>
>>>
>>>
>>> It looks like a thread is about to Free a Handle while another thread
>>> is wating for the Handle.
>>> OK please send me the mylog output.
>>
>>
>> I've attached two mylogs: in the first, I ordered my debugger to
>> continue after the access violation, in the second, I immediately
>> killed the program at the point of the access violation. If you need
>> more info, let me know.
>>
>
> Thanks.
> Please retry the dll at
> http://www.geocities.jp/inocchichichi/psqlodbc/index.html .
> Check SQLGetInfo with the option SQL_DBMS_NAME or SQL_DBMS_VERSION
> as well.
OK, that fixes both the access violation and the DBMS_NAME and
DBMS_VERSION issues. The DBMS_NAME is now "PostgreSQL", and the version
is 8.1.3, as expected. Thanks for the quick response!
--Bart
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-odbc@postgresql.org
Cc: bart@samwel.tk, inoue@tpf.co.jp
Subject: Re: Most recent driver aborts transaction after one error
In-Reply-To: <441C97F4.4060004@samwel.tk>
References: <44194B56.5050304@samwel.tk> <4419FB0A.3000905@tpf.co.jp> <441A8E02.4080206@samwel.tk> <441B8B01.10108@tpf.co.jp> <441BEA51.7070606@samwel.tk> <441C95C5.4040801@tpf.co.jp> <441C97F4.4060004@samwel.tk>
* 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