This is the backtrace info I get: #0 0x00007fffee214456 in Layer_Freetype::new_face(std::string const&) () at /usr/lib/synfig/modules/liblyr_freetype.so #1 0x00007fffee214827 in Layer_Freetype::new_font_(std::string const&, int, int) () at /usr/lib/synfig/modules/liblyr_freetype.so #2 0x00007fffee21531d in Layer_Freetype::new_font(std::string const&, int, int) () at /usr/lib/synfig/modules/liblyr_freetype.so #3 0x00007fffee21bbbb in Layer_Freetype::Layer_Freetype() () at /usr/lib/synfig/modules/liblyr_freetype.so #4 0x00007fffee21c60b in Layer_Freetype::create() () at /usr/lib/synfig/modules/liblyr_freetype.so #5 0x00007ffff78e2e0c in synfig::Layer::create(std::string const&) () at /usr/lib/libsynfig.so.0 #6 0x00007ffff79094c4 in synfig::CanvasParser::parse_layer(xmlpp::Element*, etl::handle<synfig::Canvas>) () at /usr/lib/libsynfig.so.0 #7 0x00007ffff79054f0 in synfig::CanvasParser::parse_canvas(xmlpp::Element*, etl::handle<synfig::Canvas>, bool, synfig::FileSystem::Identifier const&, std::string) () at /usr/lib/libsynfig.so.0 #8 0x00007ffff790214e in synfig::CanvasParser::parse_canvas_defs(xmlpp::Element*, etl::handle<synfig::Canvas>) () at /usr/lib/libsynfig.so.0 #9 0x00007ffff7903eb4 in synfig::CanvasParser::parse_canvas(xmlpp::Element*, etl::handle<synfig::Canvas>, bool, synfig::FileSystem::Identifier const&, std::string) () at /usr/lib/libsynfig.so.0 #10 0x00007ffff7913283 in synfig::CanvasParser::parse_from_file_as(synfig::FileSystem::Identifier const&, std::string const&, std::string&) () at /usr/lib/libsynfig.so.0 #11 0x00007ffff7914c02 in synfig::open_canvas_as(synfig::FileSystem::Identifier const&, std::string const&, std::string&, std::string&) () at /usr/lib/libsynfig.so.0 #12 0x00007ffff78bdf21 in synfig::Canvas::surefind_canvas(std::string const&, std::string&) () at /usr/lib/libsynfig.so.0 #13 0x00007ffff790b639 in synfig::CanvasParser::parse_layer(xmlpp::Element*, etl::handle<synfig::Canvas>) () at /usr/lib/libsynfig.so.0 #14 0x00007ffff79054f0 in synfig::CanvasParser::parse_canvas(xmlpp::Element*, etl::handle<synfig::Canvas>, bool, synfig::FileSystem::Identifier const&, std::string) () at /usr/lib/libsynfig.so.0 #15 0x00007ffff7913283 in synfig::CanvasParser::parse_from_file_as(synfig::FileSystem::Identifier const&, std::string const&, std::string&) () at /usr/lib/libsynfig.so.0 #16 0x00007ffff7914c02 in synfig::open_canvas_as(synfig::FileSystem::Identifier const&, std::string const&, std::string&, std::string&) () at /usr/lib/libsynfig.so.0 #17 0x00000000004691c4 in OptionsProcessor::extract_job() (this=0x7fffffffe350) at optionsprocessor.cpp:523 #18 0x00000000004841b3 in main(int, char**) (argc=11, argv=0x7fffffffe8d8) at main.cpp:274
Did you notice my another email before, I already print a debug tree: *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:* *PasteCanvasPasteCanvasshadeSolidColorBut the last one, text, failed.* 2015-05-29 12:39 GMT-04:00 Konstantin Dmitriev <ksee.zelga...@gmail.com>: > Hello! > > 2015-05-27 22:01 GMT+06:00 Pengfei Hao <int...@gmail.com>: > > > > > > 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. > > Thank you for the information about the environment! > About GDB: I need the stack backtrace. > > Best Regards, > Konstantin > > -- > 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