From: marian@byteanywhere.com
To: pgsql-odbc@postgresql.org
Subject: hang at SQLAllocStmt
Date: Sun, 4 Mar 2012 09:21:18 +0200
Message-ID: <5ae6a5ef6bad7ed91cf1c900fc553b5c.squirrel@www.byteanywhere.com> (raw)
Hi,
I am running into a death lock with iODBC for function SQLAllocStmt().
The stack in the always the same and it hangs when SQLAllocStmt() is reached.
The same code works with unixODBC. Is there any way to baypass that
lock ? Anyone seen this problem before ?
#0 0x00007f2113f4ec74 in __lll_lock_wait () from
/usr/local/thekompany/lib/libpthread.so.0
#1 0x00007f2113f4a179 in _L_lock_953 () from
/usr/local/thekompany/lib/libpthread.so.0
#2 0x00007f2113f49f9b in pthread_mutex_lock () from
/usr/local/thekompany/lib/libpthread.so.0
#3 0x00007f2116580f72 in SQLAllocStmt (hdbc=0x2dd47c0, phstmt=0x80) at
hstmt.c:427
#4 0x00007f2116580a08 in SQLAllocStmt_Internal (hdbc=0x2a03670,
phstmt=0x2d91750) at hstmt.c:241
#5 0x00007f2116590d32 in SQLAllocHandle (handleType=3,
inputHandle=0x2a03670, outputHandlePtr=0x2d91750) at odbc3.c:276
Thanks,
Marian
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: marian@byteanywhere.com
Subject: Re: hang at SQLAllocStmt
In-Reply-To: <5ae6a5ef6bad7ed91cf1c900fc553b5c.squirrel@www.byteanywhere.com>
References: <5ae6a5ef6bad7ed91cf1c900fc553b5c.squirrel@www.byteanywhere.com>
* 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