hernan gonzalez <hgonzalez@gmail.com> writes:
> Well, this is strange. I run the same command line with gbd, it does not
> throw the segfault.
Interesting. Do "ulimit -c unlimited", then run pg_upgrade normally,
and then try "gdb ./pg_upgrade core" (the name of the corefile might
be something different depending on local configuration).
regards, tom lane