BUG #8093: After starting postgres, any attempt to connect generate a core dump and unable to login

From: bmohareb(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #8093: After starting postgres, any attempt to connect generate a core dump and unable to login
Date: 2013-04-18 16:20:19
Message-ID: E1USrZL-0000jP-33@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 8093
Logged by: Beshoy
Email address: bmohareb(at)gmail(dot)com
PostgreSQL version: 9.0.4
Operating system: redhat 5 64bit
Description:

$ psql seo
psql (9.0.4)
Type "help" for help.

*** glibc detected *** psql: free(): invalid next size (normal):
0x000000001553a9d0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x321b871684]
/lib64/libc.so.6(cfree+0x8c)[0x321b874ccc]
/opt/postgres/9.0/bin/../lib/libedit.so[0x2af979babd40]
/opt/postgres/9.0/bin/../lib/libedit.so(history+0x5a3)[0x2af979bac6da]
/opt/postgres/9.0/bin/../lib/libedit.so(read_history+0x47)[0x2af979bbccd5]
psql[0x40a142]
psql[0x40fb0b]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x321b81d8b4]
psql[0x403a69]
======= Memory map: ========
00400000-00456000 r-xp 00000000 fd:00 22118521
/opt/postgres/9.0/bin/psql
00655000-00656000 rw-p 00055000 fd:00 22118521
/opt/postgres/9.0/bin/psql
00656000-00657000 rw-p 00656000 00:00 0
15526000-15547000 rw-p 15526000 00:00 0
321b400000-321b41a000 r-xp 00000000 fd:00 4030466
/lib64/ld-2.5.so
321b61a000-321b61b000 r--p 0001a000 fd:00 4030466
/lib64/ld-2.5.so
321b61b000-321b61c000 rw-p 0001b000 fd:00 4030466
/lib64/ld-2.5.so
321b800000-321b94a000 r-xp 00000000 fd:00 4030469
/lib64/libc-2.5.so
321b94a000-321bb49000 ---p 0014a000 fd:00 4030469
/lib64/libc-2.5.so
321bb49000-321bb4d000 r--p 00149000 fd:00 4030469
/lib64/libc-2.5.so
321bb4d000-321bb4e000 rw-p 0014d000 fd:00 4030469
/lib64/libc-2.5.so
321bb4e000-321bb53000 rw-p 321bb4e000 00:00 0
321bc00000-321bc82000 r-xp 00000000 fd:00 4030491
/lib64/libm-2.5.so
321bc82000-321be81000 ---p 00082000 fd:00 4030491
/lib64/libm-2.5.so
321be81000-321be82000 r--p 00081000 fd:00 4030491
/lib64/libm-2.5.so
321be82000-321be83000 rw-p 00082000 fd:00 4030491
/lib64/libm-2.5.so
321c000000-321c002000 r-xp 00000000 fd:00 4030484
/lib64/libdl-2.5.so
321c002000-321c202000 ---p 00002000 fd:00 4030484
/lib64/libdl-2.5.so
321c202000-321c203000 r--p 00002000 fd:00 4030484
/lib64/libdl-2.5.so
321c203000-321c204000 rw-p 00003000 fd:00 4030484
/lib64/libdl-2.5.so
321c400000-321c415000 r-xp 00000000 fd:00 4030479
/lib64/libpthread-2.5.so
321c415000-321c614000 ---p 00015000 fd:00 4030479
/lib64/libpthread-2.5.so
321c614000-321c615000 r--p 00014000 fd:00 4030479
/lib64/libpthread-2.5.so
321c615000-321c616000 rw-p 00015000 fd:00 4030479
/lib64/libpthread-2.5.so
321c616000-321c61a000 rw-p 321c616000 00:00 0
321c800000-321c814000 r-xp 00000000 fd:00 15964105
/usr/lib64/libz.so.1.2.3
321c814000-321ca13000 ---p 00014000 fd:00 15964105
/usr/lib64/libz.so.1.2.3
321ca13000-321ca14000 rw-p 00013000 fd:00 15964105
/usr/lib64/libz.so.1.2.3
3221400000-322143b000 r-xp 00000000 fd:00 4030501
/lib64/libsepol.so.1
322143b000-322163b000 ---p 0003b000 fd:00 4030501
/lib64/libsepol.so.1
322163b000-322163c000 rw-p 0003b000 fd:00 4030501
/lib64/libsepol.so.1
322163c000-3221646000 rw-p 322163c000 00:00 0
3222000000-3222015000 r-xp 00000000 fd:00 4030503
/lib64/libselinux.so.1
3222015000-3222215000 ---p 00015000 fd:00 4030503
/lib64/libselinux.so.1
3222215000-3222217000 rw-p 00015000 fd:00 4030503
/lib64/libselinux.so.1
3222217000-3222218000 rw-p 3222217000 00:00 0
3224200000-3224211000 r-xp 00000000 fd:00 4030499
/lib64/libresolv-2.5.so
3224211000-3224411000 ---p 00011000 fd:00 4030499
/lib64/libresolv-2.5.so
3224411000-3224412000 r--p 00011000 fd:00 4030499
/lib64/libresolv-2.5.so
3224412000-3224413000 rw-p 00012000 fd:00 4030499
/lib64/libresolv-2.5.so
3224413000-3224415000 rw-p 3224413000 00:00 0
3224e00000-3224e13000 r-xp 00000000 fd:00 4030530
/lib64/libaudit.so.0.0.0
3224e13000-3225013000 ---p 00013000 fd:00 4030530
/lib64/libaudit.so.0.0.0
3225013000-3225015000 rw-p 00013000 fd:00 4030530
/lib64/libaudit.so.0.0.0
3225a00000-3225a24000 r-xp 00000000 fd:00 15964300
/usr/lib64/libk5crypto.so.3.1
3225a24000-3225c23000 ---p 00024000 fd:00 15964300
/usr/lib64/libk5crypto.so.3.1
3225c23000-3225c25000 rw-p 00023000 fd:00 15964300
/usr/lib64/libk5crypto.so.3.1
3226200000-3226202000 r-xp 00000000 fd:00 4030492
/lib64/libkeyutils-1.2.so
3226202000-3226401000 ---p 00002000 fd:00 4030492
/lib64/libkeyutils-1.2.so
3226401000-3226402000 rw-p 00001000 fd:00 4030492
/lib64/libkeyutils-1.2.so
3226600000-3226608000 r-xp 00000000 fd:00 15964248
/usr/lib64/libkrb5support.so.0.1
3226608000-3226807000 ---p 00008000 fd:00 15964248
/usr/lib64/libkrb5support.so.0.1
3226807000-3226808000 rw-p 00007000 fd:00 15964248
/usr/lib64/libkrb5support.so.0.1
3229200000-322920b000 r-xp 00000000 fd:00 4030533
/lib64/libpam.so.0.81.5
322920b000-322940a000 ---p 0000b000 fd:00 4030533
/lib64/libpam.so.0.81.5
322940a000-322940b000 rw-p 0000a000 fd:00 4030533
/lib64/libpam.so.0.81.5
322b200000-322b20d000 r-xp 00000000 fd:00 4030526
/lib64/libgcc_s-4.1.2-20080102.so.1
322b20d000-322b40d000 ---p 0000d000 fd:00 4030526
/lib64/libgcc_s-4.1.2-20080102.so.1
322b40d000-322b40e000 rw-p 0000d000 fd:00 4030526
/lib64/libgcc_s-4.1.2-20080102.so.1
322d200000-322d209000 r-xp 00000000 fd:00 4030529
/lib64/libcrypt-2.5.so
322d209000-322d408000 ---p 00009000 fd:00 4030529
/lib64/libcrypt-2.5.so
322d408000-322d409000 r--p 00008000 fd:00 4030529
/lib64/libcrypt-2.5.so
322d409000-322d40a000 rw-p 00009000 fd:00 4030529
/lib64/libcrypt-2.5.so
322d40a000-322d438000 rw-p 322d40a000 00:00 0
3485e00000-3485e03000 r-xp 00000000 fd:00 22120097
/opt/postgres/9.0/lib/libtermcap.so.2
3485e03000-3486002000 ---p 00003000 fd:00 22120097
/opt/postgres/9.0/lib/libtermcap.so.2
3486002000-3486003000 rw-p 00002000 fd:00 22120097
/opt/postgres/9.0/lib/libtermcap.so.2
383ea00000-383eb2d000 r-xp 00000000 fd:00 22120071
/opt/postgres/9.0/lib/libcrypto.so.6
383eb2d000-383ed2c000 ---p 0012d000 fd:00 22120071
/opt/postgres/9.0/lib/libcrypto.so.6
383ed2c000-383ed4d000 rw-p 0012c000 fd:00 22120071
/opt/postgres/9.0/lib/libcrypto.so.6
383ed4d000-383ed51000 rw-p 383ed4d000 00:00 0
383ee00000-383ee46000 r-xp 00000000 fd:00 22120096
/opt/postgres/9.0/lib/libssl.so.6
383ee46000-383f046000 ---p 00046000 fd:00 22120096
/opt/postgres/9.0/lib/libssl.so.6
383f046000-383f04c000 rw-p 00046000 fd:00 22120096
/opt/postgres/9.0/lib/libssl.so.6
3c6bc00000-3c6bc02000 r-xp 00000000 fd:00 4030596
/lib64/libcom_err.so.2.1
3c6bc02000-3c6be01000 ---p 00002000 fd:00 4030596
/lib64/libcom_err.so.2.1
3c6be01000-3c6be02000 rw-p 00001000 fd:00 4030596
/lib64/libcom_err.so.2.1
3c6c000000-3c6c02c000 r-xp 00000000 fd:00 15983918
/usr/lib64/libgssapi_krb5.so.2.2
3c6c02c000-3c6c22c000 ---p 0002c000 fd:00 15983918
/usr/lib64/libgssapi_krb5.so.2.2
3c6c22c000-3c6c22e000 rw-p 0002c000 fd:00 15983918
/usr/lib64/libgssapi_krb5.so.2.2
3c6c400000-3c6c48f000 r-xp 00000000 fd:00 15964401
/usr/lib64/libkrb5.so.3.3
3c6c48f000-3c6c68e000 ---p 0008f000 fd:00 15964401
/usr/lib64/libkrb5.so.3.3
3c6c68e000-3c6c692000 rw-p 0008e000 fd:00 15964401
/usr/lib64/libkrb5.so.3.3
2af9793e9000-2af9793eb000 rw-p 2af9793e9000 00:00 0
2af9793eb000-2af97940e000 r-xp 00000000 fd:00 22120094
/opt/postgres/9.0/lib/libpq.so.5
2af97940e000-2af97960d000 ---p 00023000 fd:00 22120094
/opt/postgres/9.0/lib/libpq.so.5
2af97960d000-2af979610000 rw-p 00022000 fd:00 22120094
/opt/postgres/9.0/lib/libpq.so.5
2af979610000-2af979646000 r-xp 00000000 fd:00 22120104
/opt/postgres/9.0/lib/libxslt.so.1
2af979646000-2af979845000 ---p 00036000 fd:00 22120104
/opt/postgres/9.0/lib/libxslt.so.1
2af979845000-2af979847000 rw-p 00035000 fd:00 22120104
/opt/postgres/9.0/lib/libxslt.so.1
2af979847000-2af97997b000 r-xp 00000000 fd:00 22120103
/opt/postgres/9.0/lib/libxml2.so.2
2af97997b000-2af979b7a000 ---p 00134000 fd:00 22120103
/opt/postgres/9.0/lib/libxml2.so.2
2af979b7a000-2af979b84000 rw-p 00133000 fd:00 22120103
/opt/postgres/9.0/lib/libxml2.so.2
2af979b84000-2af979b87000 rw-p 2af979b84000 00:00 0
2af979b9b000-2af979b9d000 rw-p 2af979b9b000 00:00 0
2af979b9d000-2af979bc5000 r-xp 00000000 fd:00 22120080
/opt/postgres/9.0/lib/libedit.so
2af979bc5000-2af979dc4000 ---p 00028000 fd:00 22120080
/opt/postgres/9.0/lib/libedit.so
2af979dc4000-2af979dc7000 rw-p 00027000 fd:00 22120080
/opt/postgres/9.0/lib/libedit.so
2af979dc7000-2af979dcf000 rw-p 2af979dc7000 00:00 0
2af979dcf000-2af979dd9000 r-xp 00000000 fd:00 4030749
/lib64/libnss_files-2.5.so
2af979dd9000-2af979fd8000 ---p 0000a000 fd:00 4030749
/lib64/libnss_files-2.5.so
2af979fd8000-2af979fd9000 r--p 00009000 fd:00 4030749
/lib64/libnss_files-2.5.so
2af979fd9000-2af979fda000 rw-p 0000a000 fd:00 4030749
/lib64/libnss_files-2.5.so
2af97c000000-2af97c021000 rw-p 2af97c000000 00:00 0
2af97c021000-2af980000000 ---p 2af97c021000 00:00 0
7fff316ac000-7fff316c1000 rw-p 7fff316ac000 00:00 0
[stack]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0
[vdso]
Aborted (core dumped)

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jeff Janes 2013-04-18 16:39:53 Re: BUG #8025: PostgreSQL crash (>= 9.1 64 bit)
Previous Message Xavier Mouton-Dubosc 2013-04-18 15:45:51 Re: BUG #8092: pg_dump need sur quoting schema name