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

Reply via email to