I am stuck with a segmentation fault while running pg_upgrade, from 8.4.3 to 9.0.1
$ ./pg_upgrade -d /var/pgsql-8_4_3/data/ -D /var/pgsql-9_0_1/data/ -b /var/pgsql-8_4_3/bin/ -B /var/pgsql-9_0_1/bin/ --check -P 5433 -v -g -G debug
Running in verbose mode
Running in debug mode
PerForming Consistency Checks on Old Live Server
------------------------------------------------
Checking old data directory (/var/pgsql-8_4_3/data) ok
Checking old bin directory (/var/pgsql-8_4_3/bin) ok
Checking new data directory (/var/pgsql-9_0_1/data) ok
Checking new bin directory (/var/pgsql-9_0_1/bin) ok
Segmentation fault
In my logs :
pg_upgrade[29259]: segfault at 474e4158 ip b7f444ed sp bfdd35c4 error 4 in libc-2.11.1.so[b7ed1000+16f000]
Both postgres version were compiled from source.
My environment: Linux Fedora Core 12 (kernel 2.6.30.5-xenU , glibc 2.11.1, gcc 4.4.3)
No custom shared object files. Cluster encoding: LATIN9
Any clues?
Hernán J. González