Re: Segmentation Fault in Postgres server when using psqlODBC

Hiroshi Inoue <inoue@tpf.co.jp>

From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Joshua Berry <yoberi@gmail.com>
Cc: pgsql-odbc@postgresql.org
Date: 2013-05-30T13:52:25Z
Lists: pgsql-bugs
Hi Joshua,

(2013/05/29 12:02), Joshua Berry wrote:
> Hi Hiroshi,
>
> On Tue, May 28, 2013 at 3:19 PM, Hiroshi Inoue <inoue@tpf.co.jp
> <mailto:inoue@tpf.co.jp>> wrote:
>
>         Thanks for the reply. Have you seen or heard of psqlODBC's use of
>         cursors intermittently causing segfaults as I'd described?
>
>
>     No.
>
>     I have a question about your application.
>     Is your application mutilthreaded?
>     If so, do multiple threads share the same connection?
>
> It is multithreaded; all threads use the same connection.

There's a possibility that the crash is caused by the multithreaded
application. Jack Wilson's bug report seems also related to multithread 
and I sent him a patch to fix the bug hopefully. We will release the 
next release when the patch fixes the bug.

regards,
Hiroshi Inoue