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!

Image::Magick problems

Discussion in 'General Discussion' started by mickalo, May 2, 2007.

  1. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    778
    Likes Received:
    4
    Trophy Points:
    318
    Location:
    N.W. Iowa
    Hello,

    we just installed ImageMagick and PerlMagick, then install the Image::Magick module. But can't seem to figure out why we get the following error with our Perl script:
    Code:
    *** glibc detected *** free(): invalid next size (fast): 0x08557190 ***
    
    can someone please explain this error and how to possibly fix it? we installed the lastest version of ImageMagick/PerlMagick and Image::Magick modules. this is on a Centos 4.4

    Any help much appreciated.
    Mickalo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. mctDarren

    mctDarren Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    Root Administrator
    Looks to me like you've overflowed a buffer somewhere, perhaps an array you're writing past the end limit of in your perl script?

    Added: one of the guys here throws in it could be a loop that is free'ing the same thing multiple times - happened to him before :)
     
    #2 mctDarren, May 2, 2007
    Last edited: May 2, 2007
  3. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    778
    Likes Received:
    4
    Trophy Points:
    318
    Location:
    N.W. Iowa
    that's what I thought too. I've used the same identical script with no problems on our own server, Linux/RHEL 4 dedicated server, but this is being used on a VPS server, could this be the problem?

    after going back through some earlier notes, I found that using the Image::Magick "Blur" causes this problem, if I remove the "Blur" it works fine. Had this problems on other servers too. So everything is working like it should. Appreciate all the help :)

    Mickalo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #3 mickalo, May 2, 2007
    Last edited: May 2, 2007
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