On Wed, Feb 27, 2002 at 06:39:47PM -0500, Tom Lane wrote:
> Andrew Sullivan <andrew(at)libertyrms(dot)info> writes:
> > I'm doing some tests with 7.2 here, and I'm having trouble creating a
> > table. This is on Solaris 7 compiled with a 64 bit gcc; gcc -v gives
> Can you get a gdb backtrace from the core file?
Tom very kindly stepped in and had a poke around with a debugger (and
had to use -- eek -- adb because there was some sort of argument
between gdb compiled as 64 bit and Solaris), and discovered that
vsnprintf was doing something nasty.
Turns out, according to the GNU autoconf pages (at
vsnprintf overruns the buffer sometimes.
The answer is to edit src/backend/port/Makefile and add "snprintf.o"
to OBJS. Postgres includes its own implementation for platforms that
don't have it.
Thanks to Tom Lane.
Andrew Sullivan 87 Mowat Avenue
Liberty RMS Toronto, Ontario Canada
<andrew(at)libertyrms(dot)info> M6K 3E3
+1 416 646 3304 x110
In response to
pgsql-general by date
|Next:||From: Tom Lane||Date: 2002-02-28 21:48:21|
|Subject: Re: killed select? |
|Previous:||From: Jean-Michel POURE||Date: 2002-02-28 21:12:34|
|Subject: Re: convert Postgres script to SQL Server script?|