pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
To: Yuriy Nasida <ynasida@gmail.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Segmentation fault in case Debian9+odbc+pgsql10.6
Date: Wed, 28 Nov 2018 14:28:58 +0900
Message-ID: <df758cac-e992-9cf1-9e01-da3568de9287@dream.email.ne.jp> (raw )
In-Reply-To: <CADihe3+SySXWYhSGBv1SRhfbe4FHbC-vaHcDE9PWLj+wx=oGkA@mail.gmail.com >
References: <CADihe3+SySXWYhSGBv1SRhfbe4FHbC-vaHcDE9PWLj+wx=oGkA@mail.gmail.com >
Hi Yuriy,
The crash seems to be caused by setting log_min_duration_statement = 0
orlog_duration = on
in postgresql.conf. The bug was fixed in 9.06.0100. Please avoid the
setting in postgresql.conf
or upgrade the driver.
regards,
Hiroshi Inoue
On 2018/11/27 1:01, Yuriy Nasida wrote:
> Hi guys,
>
> FYI - I noted that i have not problems with Deb9+pgsql9 and with
> Deb8+pgsql10
> But! I get *segmentation fault* in case *Debian9+odbc+pgsql10.6*
>
> Did you get something like this ?
>
> Please look at some info below.
>
> My *odbc.ini:*
>
> [pgsqldsn]
> Driver = /usr/lib/x86_64-linux-gnu/odbc/psqlodbcw.so
> Setup = /usr/lib/x86_64-linux-gnu/odbc/libodbcpsqlS.so
> Database=dbname
> Servername=ip
> Port=5432
> Username=root
> Password=superpasswd
> Debug=0
> CommLog=1
> UsageCount=1
> RowVersioning=No
> ShowSystemTables=No
> ShowOidColumn=No
> FakeOidIndex=No
> ConnSettings=
>
> odbc version:
> *odbc-postgresql:amd64 1:09.05.0400-2*
>
> # isql -v pgsqldsn
> DEBUG: CommitTransaction(1) name: unnamed; blockState: STARTED;
> state: INPROGR, xid/subid/cid: 0/1/0
> *Segmentation fault*
> *
> *
> Pgsql logs:
>
> DEBUG: forked new backend, pid=36868 socket=11
> DEBUG: postmaster child[36868]: starting with (
> DEBUG: postgres
> DEBUG: )
> DEBUG: InitPostgres
> DEBUG: my backend ID is 5
> DEBUG: StartTransaction(1) name: unnamed; blockState: DEFAULT; state:
> INPROGR, xid/subid/cid: 0/1/0
> DEBUG: received password packet
> DEBUG: CommitTransaction(1) name: unnamed; blockState: STARTED;
> state: INPROGR, xid/subid/cid: 0/1/0
> DEBUG: StartTransaction(1) name: unnamed; blockState: DEFAULT; state:
> INPROGR, xid/subid/cid: 0/1/0
> STATEMENT: SET DateStyle = 'ISO'
> DEBUG: CommitTransaction(1) name: unnamed; blockState: STARTED;
> state: INPROGR, xid/subid/cid: 0/1/0
> STATEMENT: SET DateStyle = 'ISO'
> LOG: duration: 0.271 ms statement: SET DateStyle = 'ISO'
> DEBUG: StartTransaction(1) name: unnamed; blockState: DEFAULT; state:
> INPROGR, xid/subid/cid: 0/1/0
> STATEMENT: SET extra_float_digits = 2
> DEBUG: CommitTransaction(1) name: unnamed; blockState: STARTED;
> state: INPROGR, xid/subid/cid: 0/1/0
> STATEMENT: SET extra_float_digits = 2
> LOG: duration: 0.171 ms statement: SET extra_float_digits = 2
> DEBUG: unexpected EOF on client connection
> DEBUG: shmem_exit(0): 1 before_shmem_exit callbacks to make
> DEBUG: shmem_exit(0): 6 on_shmem_exit callbacks to make
> DEBUG: proc_exit(0): 3 callbacks to make
> DEBUG: exit(0)
> DEBUG: shmem_exit(-1): 0 before_shmem_exit callbacks to make
> DEBUG: shmem_exit(-1): 0 on_shmem_exit callbacks to make
> DEBUG: proc_exit(-1): 0 callbacks to make
> DEBUG: reaping dead processes
> DEBUG: server process (PID 36868) exited with exit code 0
>
>
> Any advice ?
> Thanks.
---
このメールは、AVG によってウイルス チェックされています。
http://www.avg.com
view thread (6+ messages) latest in thread
Message-ID: <df758cac-e992-9cf1-9e01-da3568de9287@dream.email.ne.jp>
Permalink: ../df758cac-e992-9cf1-9e01-da3568de9287@dream.email.ne.jp/
Also on: postgresql.org/message-id/df758cac-e992-9cf1-9e01-da3568de9287@dream.email.ne.jp
copy link · copy postgr.es
reply 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: h-inoue@dream.email.ne.jp, ynasida@gmail.com
Subject: Re: Segmentation fault in case Debian9+odbc+pgsql10.6
In-Reply-To: <df758cac-e992-9cf1-9e01-da3568de9287@dream.email.ne.jp>
References: <CADihe3+SySXWYhSGBv1SRhfbe4FHbC-vaHcDE9PWLj+wx=oGkA@mail.gmail.com> <df758cac-e992-9cf1-9e01-da3568de9287@dream.email.ne.jp>
* 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