Comment 30 for bug 1538361

Revision history for this message
David Mathog (mathog) wrote :

Re 29. There should not be any difference between sprintf() and g_sprintf(), nor between %lf and %f. That there is tells us that something has gone wrong elsewhere, likely either in the preprocessor related to the devlibs() changes, or possibly in some of my code that precedes this. Post 28 describes the usual steps used on linux to hunt down the latter sort of issues, and the results shown were negative with the current trunk revision. This sort of corruption can be miserably difficult to find with print statements, or even a debugger, because what is corrupted is often parts of the stack, which brings the whole house of cards down.

Unfortunately I have never been able to find an equivalent of valgrind to use for Windows development. The closest was Dr.Memory, but when I tried it several years ago it could not handle Inkscape, it just would not run.