Error message: "/bin/ps double free or corruption detected in ps" in RHEL 4

Solution Verified - Updated -

Issue

  • ps getting glibc double free or corruption error

  • Process listing using the following command:

ps -eo pid,args > log.txt

ends with the following error:

/bin/ps: double free or corruption (out): 0x0000000017a0b9e0 ***

======= Backtrace: =========

/lib64/libc.so.6[0x3ff326f4f4]
/lib64/libc.so.6(cfree+0x8c)[0x3ff3272b1c]
/bin/ps[0x402393]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x3ff321d8a4]
/bin/ps[0x4019f9]

======= Memory map: ========

00400000-00413000 r-xp 00000000 08:07 9091733                            /bin/ps
00613000-00614000 rw-p 00013000 08:07 9091733                            /bin/ps
00614000-00634000 rw-p 00614000 00:00 0
17a08000-17a29000 rw-p 17a08000 00:00 0
3ff2a00000-3ff2a1a000 r-xp 00000000 08:07 2518210                        /lib64/ld-2.5.so
3ff2c19000-3ff2c1a000 r--p 00019000 08:07 2518210                        /lib64/ld-2.5.so
3ff2c1a000-3ff2c1b000 rw-p 0001a000 08:07 2518210                        /lib64/ld-2.5.so5   obpSBSOMC-M5-eth2
3ff2e00000-3ff2e0d000 r-xp 00000000 08:07 2518536                        /lib64/libproc-3.2.7.so
3ff2e0d000-3ff300d000 ---p 0000d000 08:07 2518536                        /lib64/libproc-3.2.7.so
3ff300d000-3ff300e000 rw-p 0000d000 08:07 2518536                        /lib64/libproc-3.2.7.so
3ff300e000-3ff3022000 rw-p 3ff300e000 00:00 0
3ff3200000-3ff3346000 r-xp 00000000 08:07 2518219                        /lib64/libc-2.5.so
3ff3346000-3ff3546000 ---p 00146000 08:07 2518219                        /lib64/libc-2.5.so
3ff3546000-3ff354a000 r--p 00146000 08:07 2518219                        /lib64/libc-2.5.so
3ff354a000-3ff354b000 rw-p 0014a000 08:07 2518219                        /lib64/libc-2.5.so
3ff354b000-3ff3550000 rw-p 3ff354b000 00:00 0
3ff3a00000-3ff3a02000 r-xp 00000000 08:07 2518227                        /lib64/libdl-2.5.so
3ff3a02000-3ff3c02000 ---p 00002000 08:07 2518227                        /lib64/libdl-2.5.so
3ff3c02000-3ff3c03000 r--p 00002000 08:07 2518227                        /lib64/libdl-2.5.so
3ff3c03000-3ff3c04000 rw-p 00003000 08:07 2518227                        /lib64/libdl-2.5.so
3ff7e00000-3ff7e0d000 r-xp 00000000 08:07 2518243                        /lib64/libgcc_s-4.1.2-20070626.so.1
3ff7e0d000-3ff800d000 ---p 0000d000 08:07 2518243                        /lib64/libgcc_s-4.1.2-20070626.so.1
3ff800d000-3ff800e000 rw-p 0000d000 08:07 2518243                        /lib64/libgcc_s-4.1.2-20070626.so.1
2aaaaaaab000-2aaaaaaac000 rw-p 2aaaaaaab000 00:00 0
2aaaaaadb000-2aaaaaade000 rw-p 2aaaaaadb000 00:00 0
2aaaaaade000-2aaaae0b0000 r--p 00000000 08:06 4727354                    /usr/lib/locale/locale-archive
2aaaae0b0000-2aaaae0d1000 rw-p 2aaaae0b0000 00:00 0
2aaaae0d1000-2aaaae0d2000 ---p 2aaaae0d1000 00:00 0
2aaaae0d2000-2aaaae0d3000 rw-p 2aaaae0d2000 00:00 0
2aaaae101000-2aaaae10b000 r-xp 00000000 08:07 2518235                    /lib64/libnss_files-2.5.so
2aaaae10b000-2aaaae30a000 ---p 0000a000 08:07 2518235                    /lib64/libnss_files-2.5.so
2aaaae30a000-2aaaae30b000 r--p 00009000 08:07 2518235                    /lib64/libnss_files-2.5.so
2aaaae30b000-2aaaae30c000 rw-p 0000a000 08:07 2518235                    /lib64/libnss_files-2.5.so
2aaab0000000-2aaab0021000 rw-p 2aaab0000000 00:00 0
2aaab0021000-2aaab4000000 ---p 2aaab0021000 00:00 0
7fff64eda000-7fff64ef0000 rw-p 7fff64eda000 00:00 0                      [stack]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0                  [vdso]

Signal 6 (ABRT) caught by ps (procps version 3.2.7).

Please send bug reports to <feedback@lists.sf.net> or <albert@users.sf.net>

Environment

  • Red Hat Enterprise Linux 4.8
  • procps.3.2.3-8.9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content