Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 72901B5DBFB for ; Wed, 12 Oct 2011 04:33:01 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 40590-03 for ; Wed, 12 Oct 2011 07:32:54 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mail.postgresql.org (Postfix) with ESMTP id D0DD3B5DBFD for ; Wed, 12 Oct 2011 04:32:52 -0300 (ADT) Received: by pzk32 with SMTP id 32so2891685pzk.3 for ; Wed, 12 Oct 2011 00:32:51 -0700 (PDT) Received: by 10.68.56.72 with SMTP id y8mr5774258pbp.82.1318404771479; Wed, 12 Oct 2011 00:32:51 -0700 (PDT) Received: from ayaki.localdomain (124-169-192-172.dyn.iinet.net.au. [124.169.192.172]) by mx.google.com with ESMTPS id u1sm4745738pbr.9.2011.10.12.00.32.48 (version=SSLv3 cipher=OTHER); Wed, 12 Oct 2011 00:32:50 -0700 (PDT) Message-ID: <4E95429D.1000201@ringerc.id.au> Date: Wed, 12 Oct 2011 15:32:45 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 MIME-Version: 1.0 To: STIEG Heimo CC: Stefan Kaltenbrunner , "pgsql-bugs@postgresql.org" , "robertmhaas@gmail.com" Subject: Re: BUG #6247: Freeswitch will crash after 2-3 days within odbc connection References: <4E9538C1.40107@kaltenbrunner.cc> In-Reply-To: Content-Type: multipart/alternative; boundary="------------080201030004090201080206" 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: 201110/94 X-Sequence-Number: 31364 This is a multi-part message in MIME format. --------------080201030004090201080206 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 10/12/2011 03:21 PM, STIEG Heimo wrote: > OH, I thought, that the psql maintains also the odbc driver. The PostgreSQL odbc driver, psqlODBC, is maintained as a project associated with (though not part of) PostgreSQL proper. unixODBC, which is the ODBC implementation for UNIX, has nothing to do with PostgreSQL. I think the PostgreSQL ODBC driver is primarily used on Windows for ODBC on Windows systems, though of course unixODBC should also be supported. Looking at your stack trace, it doesn't look like the psqlODBC driver is involved, unless it's indirectly by corrupting memory. It crashes in unixODBC proper. If you have an issue with unixODBC its self, you need to report that to the unixODBC maintainers. See http://www.unixodbc.org/ If the issue does turn out to be with the psqlODBC driver, then please provide more detail including `mylog' from the psqlODBC driver, the ODBC trace logs, a query history from PostgreSQL, an explanation of your reasoning, and preferably a self-contained test case allowing others to reproduce the issue without having to have freeswitch etc. -- Craig Ringer --------------080201030004090201080206 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit On 10/12/2011 03:21 PM, STIEG Heimo wrote:
OH, I thought, that the psql maintains also the odbc driver.

The PostgreSQL odbc driver, psqlODBC, is maintained as a project associated with (though not part of) PostgreSQL proper.

unixODBC, which is the ODBC implementation for UNIX, has nothing to do with PostgreSQL. I think the PostgreSQL ODBC driver is primarily used on Windows for ODBC on Windows systems, though of course unixODBC should also be supported.

Looking at your stack trace, it doesn't look like the psqlODBC driver is involved, unless it's indirectly by corrupting memory. It crashes in unixODBC proper.

If you have an issue with unixODBC its self, you need to report that to the unixODBC maintainers. See http://www.unixodbc.org/

If the issue does turn out to be with the psqlODBC driver, then please provide more detail including `mylog' from the psqlODBC driver, the ODBC trace logs, a query history from PostgreSQL, an explanation of your reasoning, and preferably a self-contained test case allowing others to reproduce the issue without having to have freeswitch etc.


--
Craig Ringer
--------------080201030004090201080206--