From: Yeb Havinga on
Hello list,

Due to dependency requirements my development machine has ubuntu
repositories jaunty, lucid and intrepid.

Today I went testing a patch on a recent PostgreSQL. I had to install
autoconf to configure the patched source. While seeing some other
packages getting installed on the screen, I remember thinking 'should've
installed with aptitude to see change set instead of apt-get install'.

I did not get past make install due to a segfault on ./zic in the
src/timezone directory. The strange thing is that another source tree I
was working on was intact and could configure and make install/run zic
without problems. Circumventing the zic segfault showed that after
installation the postgres binary had no problems, but psql had similar
problems as zic. (0x0000000000659bd0 in strncpy@@GLIBC_2.2.5 () where
zic went wrong in strchr).

<long story of dead ends in problem tree traversal removed>

At some point read reading http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43556

Changing versions to gcc 4.4.3-4ubuntu5 and binutils 2.20.1-3ubuntu5
made the strange segfaults go away.

I don't know which versions I had installed when having the segfault, sorry.

regards,
Yeb Havinga


--
Sent via pgsql-hackers mailing list (pgsql-hackers(a)postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers