whois -r <ip address> gives glibc realloc() error

Solution Verified - Updated -

Issue

whois -r <ip address> gives glibc realloc() error

$  whois -r 192.168.1.1
[Querying whois.example.net]
*** glibc  detected *** whois: realloc(): invalid next size: 0x000000001bb6ff00 *** 
======= Backtrace: =========
/lib64/libc.so.6[0x37b0a747a4]
/lib64/libc.so.6(realloc+0x102)[0x37b0a75292] 
whois[0x403a86]
whois[0x40a29d]
whois[0x40a892]
whois[0x40abe9] 
whois[0x40ada4]
whois[0x40affc]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x37b0a1d994] 
whois[0x401ab9]
======= Memory map: ========
00400000-0040f000  r-xp 00000000 08:02 436955                             /usr/bin/jwhois
0060f000-00610000  rw-p 0000f000 08:02 436955                             /usr/bin/jwhois
1bb51000-1bb72000  rw-p 1bb51000 00:00 0                                  [heap]
37b0400000-37b041c000  r-xp 00000000 08:02 2334157                        /lib64/ld-2.5.so
37b061b000-37b061c000  r--p 0001b000 08:02 2334157                        /lib64/ld-2.5.so
37b061c000-37b061d000  rw-p 0001c000 08:02 2334157                        /lib64/ld-2.5.so
37b0a00000-37b0b4e000  r-xp 00000000 08:02 2334159                        /lib64/libc-2.5.so
37b0b4e000-37b0d4d000  ---p 0014e000 08:02 2334159                        /lib64/libc-2.5.so
37b0d4d000-37b0d51000  r--p 0014d000 08:02 2334159                        /lib64/libc-2.5.so
37b0d51000-37b0d52000  rw-p 00151000 08:02 2334159                        /lib64/libc-2.5.so
37b0d52000-37b0d57000  rw-p 37b0d52000 00:00 0 
37b9800000-37b980d000 r-xp 00000000 08:02  2334177                        /lib64/libgcc_s-4.1.2-20080825.so.1
37b980d000-37b9a0d000  ---p 0000d000 08:02 2334177                         /lib64/libgcc_s-4.1.2-20080825.so.1
37b9a0d000-37b9a0e000 rw-p  0000d000 08:02 2334177                         /lib64/libgcc_s-4.1.2-20080825.so.1
37be000000-37be031000 r-xp  00000000 08:02 438601                          /usr/lib64/libidn.so.11.5.19
37be031000-37be230000 ---p 00031000  08:02 438601                         /usr/lib64/libidn.so.11.5.19
37be230000-37be231000  rw-p 00030000 08:02 438601                          /usr/lib64/libidn.so.11.5.19
2aeae3c08000-2aeae3c09000 rw-p  2aeae3c08000 00:00 0 
2aeae3c2d000-2aeae3c2f000 rw-p 2aeae3c2d000  00:00 0 
2aeae3c2f000-2aeae7206000 r--p 00000000 08:02 439758                      /usr/lib/locale/locale-archive
2aeae7206000-2aeae7208000  rw-p 2aeae7206000 00:00 0 
2aeae722c000-2aeae7236000 r-xp 00000000  08:02 2334007                    /lib64/libnss_files-2.5.so
2aeae7236000-2aeae7435000  ---p 0000a000 08:02 2334007                     /lib64/libnss_files-2.5.so
2aeae7435000-2aeae7436000 r--p 00009000  08:02 2334007                    /lib64/libnss_files-2.5.so
2aeae7436000-2aeae7437000  rw-p 0000a000 08:02 2334007                     /lib64/libnss_files-2.5.so
2aeae7437000-2aeae746c000 r--s 00000000  08:02 1436863                    /var/db/nscd/hosts
2aeae746c000-2aeae746d000  rw-p 2aeae746c000 00:00 0 
2aeae8000000-2aeae8021000 rw-p  2aeae8000000 00:00 0 
2aeae8021000-2aeaec000000 ---p 2aeae8021000  00:00 0 
7fffc7552000-7fffc7567000 rw-p 7ffffffe9000 00:00 0                       [stack]
ffffffffff600000-ffffffffffe00000 ---p  00000000 00:00 0                  [vdso]

Environment

Red Hat Enterprise Linux 5.5

Red Hat Enterprise Linux 6

jwhois 3.2.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.