FYI: Ubuntu 10.04 lucid strange segfault - Mailing list pgsql-hackers

From Yeb Havinga
Subject FYI: Ubuntu 10.04 lucid strange segfault
Date
Msg-id 4C3738C9.1060706@gmail.com
Whole thread Raw
Responses Re: FYI: Ubuntu 10.04 lucid strange segfault
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: [v9.1] Add security hook on initialization of instance
Next
From: Robert Haas
Date:
Subject: reducing NUMERIC size for 9.1