Fwd: Bug#249083: postgresql: Postgres SIGSEGV if wins in nsswitch.conf - Mailing list pgsql-bugs

From Martin Pitt
Subject Fwd: Bug#249083: postgresql: Postgres SIGSEGV if wins in nsswitch.conf
Date
Msg-id 20040525080419.GA5922@donald.intranet.fbn-dd.de
Whole thread Raw
Responses Re: Fwd: Bug#249083: postgresql: Postgres SIGSEGV if wins
Re: Fwd: Bug#249083: postgresql: Postgres SIGSEGV if wins in nsswitch.conf
List pgsql-bugs
Hi PostgreSQL developers!

Does anybody happen to use Postgresql with winbind authentication? We
got the bug report below where this seems to crash.

Is this problem known?

Thanks and have a nice day!

Martin

----- Forwarded message from Cory Dodt <cdodt@turing> -----

Subject: Bug#249083: postgresql: Postgres SIGSEGV if wins in nsswitch.conf
Reply-To: Cory Dodt <cdodt@turing>, 249083@bugs.debian.org
From: Cory Dodt <cdodt@turing>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Date: Fri, 14 May 2004 14:56:11 -0700
X-Spam-Status: No, hits=3D1.6 required=3D4.0 tests=3DBAYES_44,NO_DNS_FOR_FR=
OM=20
    autolearn=3Dno version=3D2.61

Package: postgresql
Version: 7.4.2-4
Severity: normal

[system information]

When configured to look up names with winbind (3.0.2a-1/sarge), postmaster
crashes with the following:

2004-05-14 14:50:14 [8725] LOG:  could not create IPv6 socket: Address fami=
ly not supported by protocol
2004-05-14 14:50:14 [8725] LOG:  authentication file token too long, skippi=
ng: "=98.=ED=F1
Segmentation fault
--------------------
... the nsswitch.conf that goes with the above contains:
hosts: wins files dns

However if I change the name lookup order to:
hosts: files dns wins

pg starts up normally and the authentication file token error disappears.
(The IPV6 error remains.)
I tried to get a stack trace; unfortunately the stack is corrupted but this
much (truncated) looks for real:
...
#8  0x40ecb020 in ?? () from /lib/libnss_wins.so.2
...
#35 0x4028efce in __errno_location () from /lib/libc.so.6=20



Winbind name lookup works fine normally, still I wouldn't be too much surpr=
ised
if this was in fact a winbind bug.


----- End forwarded message -----

--=20
Martin Pitt                 Debian GNU/Linux Developer
martin@piware.de                      mpitt@debian.org
http://www.piware.de             http://www.debian.org

pgsql-bugs by date:

Previous
From: Kris Jurka
Date:
Subject: Re: BUG #1155: AbstractJdbc2ResultSet:parseQuery ; in tablename
Next
From: Richard Huxton
Date:
Subject: Re: Fwd: Bug#249083: postgresql: Postgres SIGSEGV if wins