Menu

#355 gm: realloc(): invalid next size: 0xb7c4bab0 ***

v1.0_(example)
closed-works-for-me
None
5
2016-02-26
2016-02-26
Denis M.
No

The attached SVG causes GM to crach (I have tried identify and convert).
It drops a message " glibc detected *** gm: realloc(): invalid next size: 0xb7c4bab0 " and hangs.
Please fix this.

1 Attachments

Discussion

  • Bob Friesenhahn

    Bob Friesenhahn - 2016-02-26
    • assigned_to: Bob Friesenhahn
     
  • Bob Friesenhahn

    Bob Friesenhahn - 2016-02-26

    You did not report which version of GraphicsMagick you are using. I am not able to reproduce the problem in the current GraphicsMagick release.

     
    • Denis M.

      Denis M. - 2016-02-26

      Thank you Bob for getting back so quickly. I am sorry, I should have checked before complaining. We are using version 1.3.12 and should update first.

       
  • Bob Friesenhahn

    Bob Friesenhahn - 2016-02-26
    • status: open --> closed-works-for-me
     
  • Bob Friesenhahn

    Bob Friesenhahn - 2016-02-26

    Both ASAN and valgrind are not finding a problem when reading this file with the current GraphicsMagick release:

    % valgrind --tool=memcheck --leak-check=full ~/build/GM-16-static-debug/utilities/gm display bug-355/fail.svg
    ==1655== Memcheck, a memory error detector
    ==1655== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
    ==1655== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
    ==1655== Command: /home/bfriesen/build/GM-16-static-debug/utilities/gm display bug-355/fail.svg
    ==1655==
    ==1655==
    ==1655== HEAP SUMMARY:
    ==1655==     in use at exit: 64,811 bytes in 839 blocks
    ==1655==   total heap usage: 13,037 allocs, 12,198 frees, 23,894,357 bytes allocated
    ==1655==
    ==1655== LEAK SUMMARY:
    ==1655==    definitely lost: 0 bytes in 0 blocks
    ==1655==    indirectly lost: 0 bytes in 0 blocks
    ==1655==      possibly lost: 0 bytes in 0 blocks
    ==1655==    still reachable: 64,811 bytes in 839 blocks
    ==1655==         suppressed: 0 bytes in 0 blocks
    ==1655== Reachable blocks (those to which a pointer was found) are not shown.
    ==1655== To see them, rerun with: --leak-check=full --show-leak-kinds=all
    ==1655==
    ==1655== For counts of detected and suppressed errors, rerun with: -v
    ==1655== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 8 from 1)
    

    Bob

     

Log in to post a comment.

MongoDB Logo MongoDB