Why does the grep command abort whenever I try and use the "-i" flag?

Solution Unverified - Updated -

Issue

Why does the grep command abort whenever I try and use the "-i" flag?

Grepping for a certain term in case insensitivity mode (the "-i" flag) causes a glibc error. For example:

$ grep -i "insert into" 1-walkway.jpg

*** glibc detected *** free(): invalid next size (fast): 0x08df7898 ***
Aborted

Environment

  • Red Hat Enterprise Linux 4 Update 4
  • glibc

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