Spent some time today using valgrind to squish some preexisting bugs that were affecting the experimental text-decoration draws. This is not a lot of fun, since under valgrind it takes almost 4 minutes before inkscape will accept input events well, and 20 seconds or so for it to shut down again. Anyway, so far, I found that sp_style_read_itextdecoration in style.cpp was broken several different ways and so rewrote it. That made text decoration turn on reliably. (Not render perfectly, that is another problem.) Will post the fix for style.cpp in bug 172133 later.
I am currently stuck on another front. These two issues:
==4258== Conditional jump or move depends on uninitialised value(s) ==4258== at 0x810F401: SPClipPath::show(Inkscape::Drawing&, unsigned int) (optional.hpp:273)
==4258== Conditional jump or move depends on uninitialised value(s) ==4258== at 0x810F617: SPClipPath::setBBox(unsigned int, Geom::OptRect const&) (optional.hpp:273)
are in "optional.hpp" which is apparently a file transiently created during the build and then deleted. Talk about a moving target! Which files are the basis for the creation of optional.hpp? Other than dropping print statements into the basis files, how does one go about debugging a transient file like this? Is there some way to get a listing of "optional.hpp"? Line 273 is not very helpful without the corresponding source code.
Thanks,
David Mathog mathog@...1176... Manager, Sequence Analysis Facility, Biology Division, Caltech
Uhm.. isn't optional.hpp just a Boost header file? ;-)
http://www.boost.org/doc/libs/1_53_0/libs/optional/doc/html/index.html
Probably the argument Geom::OptRect const& is not "initialized"? Which means there hasn't been a Geom::Rect assigned to it.
Cheers, Johan
On 29-3-2013 21:59, mathog wrote:
Spent some time today using valgrind to squish some preexisting bugs that were affecting the experimental text-decoration draws. This is not a lot of fun, since under valgrind it takes almost 4 minutes before inkscape will accept input events well, and 20 seconds or so for it to shut down again. Anyway, so far, I found that sp_style_read_itextdecoration in style.cpp was broken several different ways and so rewrote it. That made text decoration turn on reliably. (Not render perfectly, that is another problem.) Will post the fix for style.cpp in bug 172133 later.
I am currently stuck on another front. These two issues:
==4258== Conditional jump or move depends on uninitialised value(s) ==4258== at 0x810F401: SPClipPath::show(Inkscape::Drawing&, unsigned int) (optional.hpp:273)
==4258== Conditional jump or move depends on uninitialised value(s) ==4258== at 0x810F617: SPClipPath::setBBox(unsigned int, Geom::OptRect const&) (optional.hpp:273)
are in "optional.hpp" which is apparently a file transiently created during the build and then deleted. Talk about a moving target! Which files are the basis for the creation of optional.hpp? Other than dropping print statements into the basis files, how does one go about debugging a transient file like this? Is there some way to get a listing of "optional.hpp"? Line 273 is not very helpful without the corresponding source code.
Thanks,
David Mathog mathog@...1176... Manager, Sequence Analysis Facility, Biology Division, Caltech
Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (2)
-
Johan Engelen
-
mathog