{"id":165,"date":"2011-01-24T15:40:06","date_gmt":"2011-01-24T15:40:06","guid":{"rendered":"http:\/\/www.omniweb.com\/wordpress\/?p=165"},"modified":"2011-01-24T15:50:00","modified_gmt":"2011-01-24T15:50:00","slug":"whois-segfaults-after-yum-update","status":"publish","type":"post","link":"https:\/\/www.omniweb.com\/wordpress\/?p=165","title":{"rendered":"whois segfaults after yum update"},"content":{"rendered":"<p>I did a yum update on a Centos 5.5 system and to my surprise, whois no longer worked:<\/p>\n<p><code># whois whatever.com<br \/>\n*** glibc detected *** whois: double free or corruption (out): 0x0013ffc0 ***<br \/>\n======= Backtrace: =========<br \/>\n\/lib\/libc.so.6[0x1795a5]<br \/>\n\/lib\/libc.so.6(cfree+0x59)[0x1799e9]<br \/>\nwhois[0x8049b18]<br \/>\nwhois[0x8049bff]<br \/>\nwhois[0x80521b3]<br \/>\n\/lib\/libc.so.6(__libc_start_main+0xdc)[0x125e9c]<br \/>\nwhois(wait+0x4d)[0x80492f1]<br \/>\n======= Memory map: ========<br \/>\n00110000-00263000 r-xp 00000000 fd:00 8224791    \/lib\/libc-2.5.so<br \/>\n00263000-00265000 r-xp 00152000 fd:00 8224791    \/lib\/libc-2.5.so<br \/>\n00265000-00266000 rwxp 00154000 fd:00 8224791    \/lib\/libc-2.5.so<br \/>\n00266000-00269000 rwxp 00266000 00:00 0<br \/>\n0044b000-00456000 r-xp 00000000 fd:00 8224771<br \/>\n\/lib\/libgcc_s-4.1.2-20080825.so.1<br \/>\n00456000-00457000 rwxp 0000a000 fd:00 8224771<br \/>\n\/lib\/libgcc_s-4.1.2-20080825.so.1<br \/>\n004d0000-006d0000 r-xp 00000000 fd:00 3956987    \/usr\/lib\/locale\/locale-archive<br \/>\n00bdb000-00bf6000 r-xp 00000000 fd:00 8224784    \/lib\/ld-2.5.so<br \/>\n00bf6000-00bf7000 r-xp 0001a000 fd:00 8224784    \/lib\/ld-2.5.so<br \/>\n00bf7000-00bf8000 rwxp 0001b000 fd:00 8224784    \/lib\/ld-2.5.so<br \/>\n00d46000-00d47000 r-xp 00d46000 00:00 0          [vdso]<br \/>\n00d86000-00d87000 rwxp 00d86000 00:00 0<br \/>\n00f20000-00f21000 rwxp 00f20000 00:00 0<br \/>\n08048000-08055000 r-xp 00000000 fd:00 3950793    \/usr\/bin\/whois<br \/>\n08055000-08056000 rwxp 0000d000 fd:00 3950793    \/usr\/bin\/whois<br \/>\n08f15000-08f36000 rwxp 08f15000 00:00 0          [heap]<br \/>\nbfd98000-bfdad000 rwxp bffe9000 00:00 0          [stack]<br \/>\nAborted<br \/>\n<\/code><br \/>\nand<\/p>\n<p><code># whois whatever.com<br \/>\nSegmentation fault<br \/>\n<\/code><\/p>\n<p>So I tried the verbose flag, and it worked!<br \/>\n<code># \/usr\/bin\/whois -v whatever.com<br \/>\n[\/etc\/jwhois.conf: Unable to open]<br \/>\n[Querying whois.internic.net]<br \/>\n[whois.internic.net]<\/p>\n<p>Whois Server Version 2.0<br \/>\n<\/code><\/p>\n<p>All I needed to do then was to create the file \/etc\/jwhois.conf<br \/>\nby getting the latest example from here <a href=\"http:\/\/savannah.gnu.org\/cgi-bin\/viewcvs\/jwhois\/jwhois\/example\/jwhois.conf\">http:\/\/savannah.gnu.org\/cgi-bin\/viewcvs\/jwhois\/jwhois\/example\/jwhois.conf<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I did a yum update on a Centos 5.5 system and to my surprise, whois no longer worked: # whois whatever.com *** glibc detected *** whois: double free or corruption (out): 0x0013ffc0 *** ======= Backtrace: ========= \/lib\/libc.so.6[0x1795a5] \/lib\/libc.so.6(cfree+0x59)[0x1799e9] whois[0x8049b18] whois[0x8049bff] &hellip; <a href=\"https:\/\/www.omniweb.com\/wordpress\/?p=165\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/165"}],"collection":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=165"}],"version-history":[{"count":3,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/165\/revisions"}],"predecessor-version":[{"id":168,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/165\/revisions\/168"}],"wp:attachment":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}