Skip site navigation (1) Skip section navigation (2)

Solaris + locale bug identified

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org, pgsql-ports(at)postgreSQL(dot)org
Subject: Solaris + locale bug identified
Date: 2002-05-03 02:56:50
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-ports
Boban Acimovic was kind enough to give me access to a Solaris 8 system
to track down a reproducible server crash.  What I find is that strxfrm
is buggy on that system.  Given locale is_IS.ISO8859-1, the call

	strxfrm(<ptr>, "pg_amop_opc_strategy_index", 58)

was observed to scribble on 108 bytes of memory at <ptr>, not the 58
that it was allowed to.  This naturally led to death and destruction
upon next use of the adjacent data structures.

I don't know yet whether this is a known/repaired problem, or whether
it occurs in any locales besides Icelandic.  But I thought I'd give
the list a heads-up.  If anyone recognizes this bug, more info would
be appreciated.

			regards, tom lane

pgsql-ports by date

Next:From: frank.brinkmannDate: 2002-05-03 07:14:05
Subject: Problems running on Sharp Zaurus ( armv4l )
Previous:From: Aleksander WalaDate: 2002-04-25 18:59:57
Subject: question?

pgsql-hackers by date

Next:From: Dalibor AndzakovicDate: 2002-05-03 03:06:41
Subject: Re: PostgreSQL mission statement?
Previous:From: mlwDate: 2002-05-03 02:46:21
Subject: Re: PostgreSQL mission statement?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group