The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Strange glibc error while running grep

Discussion in 'General Discussion' started by jondolar, Oct 2, 2006.

  1. jondolar

    jondolar Well-Known Member

    Joined:
    Feb 15, 2004
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    I'm running the following command from the shell and I get a core dump and an error. It looks like there is a problem with the glibc module. Not sure if that means it did not compile properly or is damaged or if that means there is a memory problem. Here is the command I am running and the error:

    root@secure [/home/bbentley]# grep -lir "/home/virtual" *
    *** glibc detected *** free(): invalid next size (fast): 0x09421b38 ***
    Aborted (core dumped)
    root@secure [/home/bbentley]#

    Anybody have any ideas?

    I ran /scripts/cpup --force to force a download of the latest files. I wasn't sure if that included any files needed to rebuild glibc. Can someone provide guidance on that?

    Thank you
     
  2. Manuel_accu

    Manuel_accu Well-Known Member

    Joined:
    Jun 19, 2005
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    16
  3. jondolar

    jondolar Well-Known Member

    Joined:
    Feb 15, 2004
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Which Option

    Thanks for the tip. Based on my error which specific option do you think I should look at and increase?
     
  4. jondolar

    jondolar Well-Known Member

    Joined:
    Feb 15, 2004
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Work around

    I switched my script to use:
    find . -type f

    instead of grep

    It's slower but at least it works.
     
Loading...

Share This Page