2015-05-27 1:35 GMT-04:00 Konstantin Dmitriev <ksee.zelga...@gmail.com>:
> 2015-05-25 21:39 GMT+06:00 Pengfei Hao <int...@gmail.com>: > > In truth, I can't , or kind of hard to. > > > > As I mentioned before, this bug only shown in the build system, it has > the > > most restricted compilation environment. It works fine if I call it in > my > > machine, but in the rpm build environment, there is no gdb and I cannot > > control the compilation options(while, use some method, I can, I could > try). > > > Could you check if there is no font, what will happen in the code? > > > > At the same time, I will hack the building procedure to provide the info > you > > want. > > Hello! > Can you please give me more information about your build environment. > Is it local or remote? > More info: I am using openSUSE 13.2 on an x86_64 machine. The project is here: https://build.opensuse.org/project/show/home:intijk:synfigstudio You can find all the tarball and spec files here. For online building you can check the log there. For local building, I usually use local building for pretest, it will give same building result with online building system. I build it in local: $ pwd /home/intijk/osc/home:intijk:synfigstudio/synfigstudio $ ls synfigstudio-1.0.1.tar.gz synfigstudio.spec $ osc build openSUSE_13.2 --local-package > I guess you can add GDB to the build environment by adding "Requires: > gdb" to RPM spec file. > > Yes, the same way I import strace, by using gdb, what information you want ? I could provide any thing you need. Also, I suspect the problem isn't related with fonts, because > synfig_icon.sif file doesn't have any text layers. > > I wonder, what happens if you try to use synfig to render empty file > (in the build environment). > > Best Regards, > K. > > > 2015-05-25 11:34 GMT-04:00 Konstantin Dmitriev <ksee.zelga...@gmail.com > >: > >> > >> 2015-05-25 21:28 GMT+06:00 Pengfei Hao <int...@gmail.com>: > >> > Hi, Konstantin, I am pretty sure I use the newest version you sent to > >> > me. > >> > > >> > here is the debug tree I found: > >> > > >> > tool/main.cpp 296: > >> > job = op.extract_job(); > >> > > >> > tool/optionsprocessor.cpp 533: > >> > job.root = > >> > > open_canvas_as(FileSystemNative::instance()->get_identifier(job.filename > >> > ), job.filename, errors, warnings); > >> > > >> > synfig/loadcanvas.cpp 172: > >> > canvas=parser.parse_from_file_as(identifier,as,errors); > >> > > >> > synfig/loadcanvas.cpp 3520: > >> > Canvas::Handle > >> > canvas(parse_canvas(parser.get_document()->get_root_node(),0,false, > >> > identifier,as)); > >> > > >> > synfig/loadcanvas.cpp 3421: > >> > canvas->push_front(parse_layer(child,canvas)); > >> > > >> > synfig/loadcanvas.cpp 2786: > >> > layer=Layer::create(element->get_attribute("type")->get_value()); > >> > > >> > synfig/layer.cpp 177: > >> > book()[name].factory(); > >> > > >> > These layer created successfully: > >> > > >> > PasteCanvas > >> > PasteCanvas > >> > shade > >> > SolidColor > >> > > >> > But the last one, text, failed. > >> > > >> > I guess maybe in the building environment, I do not have any font, > that > >> > is > >> > the reason, so I want to know, do I need any font to create the text > >> > layer? > >> > But at least, when the code do not found any font, it should at least > >> > give > >> > me some hint, not segmentation fault. > >> > > >> > > >> > PS: > >> > > >> > I add some printf for trace, so the line number above may shift from > >> > from > >> > what you have, I uploaded the loadcanvas.cpp , just for you to align > >> > line > >> > number. > >> > >> Hmm... That's weird. Can you build synfig-core with debug symbols? In > >> this case you can try to debug the "synfig -q synfig_icon.sif -o > >> 128x128/synfig_icon.png --time 0 -w 128 -h 128 " command with GDB. > >> > >> Best Regards, > >> K. > >> > >> > >> > ------------------------------------------------------------------------------ > >> One dashboard for servers and applications across Physical-Virtual-Cloud > >> Widest out-of-the-box monitoring support with 50+ applications > >> Performance metrics, stats and reports that give you Actionable Insights > >> Deep dive visibility with transaction tracing using APM Insight. > >> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > >> _______________________________________________ > >> Synfig-devl mailing list > >> Synfig-devl@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/synfig-devl > > > > > > > > > ------------------------------------------------------------------------------ > > One dashboard for servers and applications across Physical-Virtual-Cloud > > Widest out-of-the-box monitoring support with 50+ applications > > Performance metrics, stats and reports that give you Actionable Insights > > Deep dive visibility with transaction tracing using APM Insight. > > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > _______________________________________________ > > Synfig-devl mailing list > > Synfig-devl@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/synfig-devl > > > > > > -- > http://morevnaproject.org/ > > > ------------------------------------------------------------------------------ > _______________________________________________ > Synfig-devl mailing list > Synfig-devl@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/synfig-devl >
------------------------------------------------------------------------------
_______________________________________________ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl