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.
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/gmdisplaybug-355/fail.svg==1655==Memcheck,amemoryerrordetector==1655==Copyright(C)2002-2013,andGNUGPL'd, by Julian Seward et al.==1655==UsingValgrind-3.10.1andLibVEX;rerunwith-hforcopyrightinfo==1655==Command:/home/bfriesen/build/GM-16-static-debug/utilities/gmdisplaybug-355/fail.svg==1655====1655====1655==HEAPSUMMARY:==1655==inuseatexit:64,811bytesin839blocks==1655==totalheapusage:13,037allocs,12,198frees,23,894,357bytesallocated==1655====1655==LEAKSUMMARY:==1655==definitelylost:0bytesin0blocks==1655==indirectlylost:0bytesin0blocks==1655==possiblylost:0bytesin0blocks==1655==stillreachable:64,811bytesin839blocks==1655==suppressed:0bytesin0blocks==1655==Reachableblocks(thosetowhichapointerwasfound)arenotshown.==1655==Toseethem,rerunwith:--leak-check=full--show-leak-kinds=all==1655====1655==Forcountsofdetectedandsuppressederrors,rerunwith:-v==1655==ERRORSUMMARY:0errorsfrom0contexts(suppressed:8from1)
Bob
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You did not report which version of GraphicsMagick you are using. I am not able to reproduce the problem in the current GraphicsMagick release.
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.
Both ASAN and valgrind are not finding a problem when reading this file with the current GraphicsMagick release:
Bob