Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    156
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Manuel_accu

    Manuel_accu Well-Known Member

    Joined:
    Jun 19, 2005
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    166
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jondolar

    jondolar Well-Known Member

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

    Thanks for the tip. Based on my error which specific option do you think I should look at and increase?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. jondolar

    jondolar Well-Known Member

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

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

    instead of grep

    It's slower but at least it works.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice