FYI: Ubuntu 10.04 lucid strange segfault

From: Yeb Havinga <yebhavinga(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: FYI: Ubuntu 10.04 lucid strange segfault
Date: 2010-07-09 14:57:13
Message-ID: 4C3738C9.1060706@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-07-09 14:58:40 reducing NUMERIC size for 9.1
Previous Message Stephen Frost 2010-07-09 14:52:22 Re: [v9.1] Add security hook on initialization of instance