Hi Guys, I downloaded a 9.0.4 binary from EnterpriseDB: http://www.enterprisedb.com/postgresql-904-installers-linux64 After several tires, it seems the psql client is very easy to core dump. See attached the core dump information. Is it a known psql issue? or it just related to EnterpriseDB package? Many thanks. Br, Zhidong
[root@ucs34 data]# /opt/PostgreSQL/9.0/bin/psql -U postgres psql (9.0.4) Type "help" for help. postgres=# \l *** glibc detected *** /opt/PostgreSQL/9.0/bin/psql: realloc(): invalid next size: 0x000000001df011b0 *** ======= Backtrace: ========= /lib64/libc.so.6[0x34cea748f4] /lib64/libc.so.6(realloc+0x102)[0x34cea753e2] /opt/PostgreSQL/9.0/lib/libpq.so.5(enlargePQExpBuffer+0x66)[0x2ad86286a366] /opt/PostgreSQL/9.0/lib/libpq.so.5(appendPQExpBuffer+0xdb)[0x2ad86286a56b] /opt/PostgreSQL/9.0/bin/psql[0x417f35] /opt/PostgreSQL/9.0/bin/psql[0x405e17] /opt/PostgreSQL/9.0/bin/psql[0x40dae8] /opt/PostgreSQL/9.0/bin/psql[0x40fa7e] /lib64/libc.so.6(__libc_start_main+0xf4)[0x34cea1d994] /opt/PostgreSQL/9.0/bin/psql[0x403a69] ======= Memory map: ======== 00400000-00456000 r-xp 00000000 08:01 92438705 /opt/PostgreSQL/9.0/bin/psql 00655000-00656000 rw-p 00055000 08:01 92438705 /opt/PostgreSQL/9.0/bin/psql 00656000-00657000 rw-p 00656000 00:00 0 1dee8000-1df09000 rw-p 1dee8000 00:00 0 [heap] 3485e00000-3485e03000 r-xp 00000000 08:01 92440290 /opt/PostgreSQL/9.0/lib/libtermcap.so.2 3485e03000-3486002000 ---p 00003000 08:01 92440290 /opt/PostgreSQL/9.0/lib/libtermcap.so.2 3486002000-3486003000 rw-p 00002000 08:01 92440290 /opt/PostgreSQL/9.0/lib/libtermcap.so.2 34ce600000-34ce61c000 r-xp 00000000 08:01 118620183 /lib64/ld-2.5.so 34ce81b000-34ce81c000 r--p 0001b000 08:01 118620183 /lib64/ld-2.5.so 34ce81c000-34ce81d000 rw-p 0001c000 08:01 118620183 /lib64/ld-2.5.so 34cea00000-34ceb4e000 r-xp 00000000 08:01 118620185 /lib64/libc-2.5.so 34ceb4e000-34ced4e000 ---p 0014e000 08:01 118620185 /lib64/libc-2.5.so 34ced4e000-34ced52000 r--p 0014e000 08:01 118620185 /lib64/libc-2.5.so 34ced52000-34ced53000 rw-p 00152000 08:01 118620185 /lib64/libc-2.5.so 34ced53000-34ced58000 rw-p 34ced53000 00:00 0 34cee00000-34cee82000 r-xp 00000000 08:01 118620233 /lib64/libm-2.5.so 34cee82000-34cf081000 ---p 00082000 08:01 118620233 /lib64/libm-2.5.so 34cf081000-34cf082000 r--p 00081000 08:01 118620233 /lib64/libm-2.5.so 34cf082000-34cf083000 rw-p 00082000 08:01 118620233 /lib64/libm-2.5.so 34cf200000-34cf202000 r-xp 00000000 08:01 118620229 /lib64/libdl-2.5.so 34cf202000-34cf402000 ---p 00002000 08:01 118620229 /lib64/libdl-2.5.so 34cf402000-34cf403000 r--p 00002000 08:01 118620229 /lib64/libdl-2.5.so 34cf403000-34cf404000 rw-p 00003000 08:01 118620229 /lib64/libdl-2.5.so 34cf600000-34cf616000 r-xp 00000000 08:01 118620221 /lib64/libpthread-2.5.so 34cf616000-34cf815000 ---p 00016000 08:01 118620221 /lib64/libpthread-2.5.so 34cf815000-34cf816000 r--p 00015000 08:01 118620221 /lib64/libpthread-2.5.so 34cf816000-34cf817000 rw-p 00016000 08:01 118620221 /lib64/libpthread-2.5.so 34cf817000-34cf81b000 rw-p 34cf817000 00:00 0 34cfe00000-34cfe14000 r-xp 00000000 08:01 122500555 /usr/lib64/libz.so.1.2.3 34cfe14000-34d0013000 ---p 00014000 08:01 122500555 /usr/lib64/libz.so.1.2.3 34d0013000-34d0014000 rw-p 00013000 08:01 122500555 /usr/lib64/libz.so.1.2.3 34d6800000-34d6815000 r-xp 00000000 08:01 118620362 /lib64/libselinux.so.1 34d6815000-34d6a15000 ---p 00015000 08:01 118620362 /lib64/libselinux.so.1 34d6a15000-34d6a17000 rw-p 00015000 08:01 118620362 /lib64/libselinux.so.1 34d6a17000-34d6a18000 rw-p 34d6a17000 00:00 0 34d6c00000-34d6c3b000 r-xp 00000000 08:01 118620355 /lib64/libsepol.so.1 34d6c3b000-34d6e3b000 ---p 0003b000 08:01 118620355 /lib64/libsepol.so.1 34d6e3b000-34d6e3c000 rw-p 0003b000 08:01 118620355 /lib64/libsepol.so.1 34d6e3c000-34d6e46000 rw-p 34d6e3c000 00:00 0 34d8400000-34d8419000 r-xp 00000000 08:01 118620460 /lib64/libaudit.so.0.0.0 34d8419000-34d8618000 ---p 00019000 08:01 118620460 /lib64/libaudit.so.0.0.0 34d8618000-34d861a000 rw-p 00018000 08:01 118620460 /lib64/libaudit.so.0.0.0 34d8c00000-34d8c02000 r-xp 00000000 08:01 118620335 /lib64/libkeyutils-1.2.so 34d8c02000-34d8e01000 ---p 00002000 08:01 118620335 /lib64/libkeyutils-1.2.so 34d8e01000-34d8e02000 rw-p 00001000 08:01 118620335 /lib64/libkeyutils-1.2.so 34d9c00000-34d9c11000 r-xp 00000000 08:01 118620347 /lib64/libresolv-2.5.so 34d9c11000-34d9e11000 ---p 00011000 08:01 118620347 /lib64/libresolv-2.5.so 34d9e11000-34d9e12000 r--p 00011000 08:01 118620347 /lib64/libresolv-2.5.so 34d9e12000-34d9e13000 rw-p 00012000 08:01 118620347 /lib64/libresolv-2.5.so 34d9e13000-34d9e15000 rw-p 34d9e13000 00:00 0 34da000000-34da002000 r-xp 00000000 08:01 118620364 /lib64/libcom_err.so.2.1 34da002000-34da201000 ---p 00002000 08:01 118620364 /lib64/libcom_err.so.2.1 34da201000-34da202000 rw-p 00001000 08:01 118620364 /lib64/libcom_err.so.2.1 34da400000-34da424000 r-xp 00000000 08:01 122507705 /usr/lib64/libk5crypto.so.3.1 34da424000-34da623000 ---p 00024000 08:01 122507705 /usr/lib64/libk5crypto.so.3.1 34da623000-34da625000 rw-p 00023000 08:01 122507705 /usr/lib64/libk5crypto.so.3.1 34da800000-34da808000 r-xp 00000000 08:01 122507704 /usr/lib64/libkrb5support.so.0.1 34da808000-34daa07000 ---p 00008000 08:01 122507704 /usr/lib64/libkrb5support.so.0.1 34daa07000-34daa08000 rw-p 00007000 08:01 122507704 /usr/lib64/libkrb5support.so.0.1 34db000000-34db091000 r-xp 00000000 08:01 122507706 /usr/lib64/libkrb5.so.3.3 34db091000-34db291000 ---p 00091000 08:01 122507706 /usr/lib64/libkrb5.so.3.3 34db291000-34db295000 rw-p 00091000 08:01 122507706 /usr/lib64/libkrb5.so.3.3 34dbc00000-34dbc2c000 r-xp 00000000 08:01 122507707 /usr/lib64/libgssapi_krb5.so.2.2 34dbc2c000-34dbe2c000 ---p 0002c000 08:01 122507707 /usr/lib64/libgssapi_krb5.so.2.2 34dbe2c000-34dbe2e000 rw-p 0002c000 08:01 122507707 /usr/lib64/libgssapi_krb5.so.2.2 34dc800000-34dc80b000 r-xp 00000000 08:01 118620461 /lib64/libpam.so.0.81.5 34dc80b000-34dca0a000 ---p 0000b000 08:01 118620461 /lib64/libpam.so.0.81.5 34dca0a000-34dca0b000 rw-p 0000a000 08:01 118620461 /lib64/libpam.so.0.81.5 34e0800000-34e080d000 r-xp 00000000 08:01 118620458 /lib64/libgcc_s-4.1.2-20080825.so.1 34e080d000-34e0a0d000 ---p 0000d000 08:01 118620458 /lib64/libgcc_s-4.1.2-20080825.so.1 34e0a0d000-34e0a0e000 rw-p 0000d000 08:01 118620458 /lib64/libgcc_s-4.1.2-20080825.so.1 34e1000000-34e1009000 r-xp 00000000 08:01 118620459 /lib64/libcrypt-2.5.so 34e1009000-34e1208000 ---p 00009000 08:01 118620459 /lib64/libcrypt-2.5.so 34e1208000-34e1209000 r--p 00008000 08:01 118620459 /lib64/libcrypt-2.5.so 34e1209000-34e120a000 rw-p 00009000 08:01 118620459 /lib64/libcrypt-2.5.so 34e120a000-34e1238000 rw-p 34e120a000 00:00 0 383ea00000-383eb2d000 r-xp 00000000 08:01 92440268 /opt/PostgreSQL/9.0/lib/libcrypto.so.6 383eb2d000-383ed2c000 ---p 0012d000 08:01 92440268 /opt/PostgreSQL/9.0/lib/libcrypto.so.6 383ed2c000-383ed4d000 rw-p 0012c000 08:01 92440268 /opt/PostgreSQL/9.0/lib/libcrypto.so.6 383ed4d000-383ed51000 rw-p 383ed4d000 00:00 0 383ee00000-383ee46000 r-xp 00000000 08:01 92440289 /opt/PostgreSQL/9.0/lib/libssl.so.6 383ee46000-383f046000 ---p 00046000 08:01 92440289 /opt/PostgreSQL/9.0/lib/libssl.so.6 383f046000-383f04c000 rw-p 00046000 08:01 92440289 /opt/PostgreSQL/9.0/lib/libssl.so.6 2ad862851000-2ad862853000 rw-p 2ad862851000 00:00 0 2ad862853000-2ad862876000 r-xp 00000000 08:01 92440287 /opt/PostgreSQL/9.0/lib/libpq.so.5 2ad862876000-2ad862a75000 ---p 00023000 08:01 92440287 /opt/PostgreSQL/9.0/lib/libpq.so.5 2ad862a75000-2ad862a78000 rw-p 00022000 08:01 92440287 /opt/PostgreSQL/9.0/lib/libpq.so.5 2ad862a78000-2ad862aae000 r-xp 00000000 08:01 92440294 /opt/PostgreSQL/9.0/lib/libxslt.so.1 2ad862aae000-2ad862cad000 ---p 00036000 08:01 92440294 /opt/PostgreSQL/9.0/lib/libxslt.so.1 2ad862cad000-2ad862caf000 rw-p 00035000 08:01 92440294 /opt/PostgreSQL/9.0/lib/libxslt.so.1 2ad862caf000-2ad862de3000 r-xp 00000000 08:01 92440293 /opt/PostgreSQL/9.0/lib/libxml2.so.2 2ad862de3000-2ad862fe2000 ---p 00134000 08:01 92440293 /opt/PostgreSQL/9.0/lib/libxml2.so.2 2ad862fe2000-2ad862fec000 rw-p 00133000 08:01 92440293 /opt/PostgreSQL/9.0/lib/libxml2.so.2 2ad862fec000-2ad862fed000 rw-p 2ad862fec000 00:00 0 2ad862ffd000-2ad862fff000 rw-p 2ad862ffd000 00:00 0 2ad862fff000-2ad863027000 r-xp 00000000 08:01 92440277 /opt/PostgreSQL/9.0/lib/libedit.so 2ad863027000-2ad863226000 ---p 00028000 08:01 92440277 /opt/PostgreSQL/9.0/lib/libedit.so 2ad863226000-2ad863229000 rw-p 00027000 08:01 92440277 /opt/PostgreSQL/9.0/lib/libedit.so 2ad863229000-2ad863231000 rw-p 2ad863229000 00:00 0 2ad863231000-2ad86680b000 r--p 00000000 08:01 122492883 /usr/lib/locale/locale-archive 2ad86680b000-2ad86680c000 rw-p 2ad86680b000 00:00 0 2ad86681b000-2ad866825000 r-xp 00000000 08:01 118620184 /lib64/libnss_files-2.5.so 2ad866825000-2ad866a24000 ---p 0000a000 08:01 118620184 /lib64/libnss_files-2.5.so 2ad866a24000-2ad866a25000 r--p 00009000 08:01 118620184 /lib64/libnss_files-2.5.so 2ad866a25000-2ad866a26000 rw-p 0000a000 08:01 118620184 /lib64/libnss_files-2.5.so 2ad868000000-2ad868021000 rw-p 2ad868000000 00:00 0 2ad868021000-2ad86c000000 ---p 2ad868021000 00:00 0 7fff885ab000-7fff885c0000 rw-p 7ffffffea000 00:00 0 [stack] ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vdso] Aborted [root@ucs34 data]#
-- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general