Bugs item #1811250, was opened at 2007-10-11 04:45 Message generated for change (Comment added) made by dooglus You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1811250&group_id=144022
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: dooglus (dooglus) Assigned to: Nobody/Anonymous (nobody) Summary: synfig behaves badly when it doesn't recognise a valuenode Initial Comment: If I add a new valuenode type to svn, save a .sif file and try to load it into an older version of synfig, synfig crashes. If build with debug, it crashes like this: file.sifz:<random>:15: error: Unexpected element <random> file.sifz:<random>:15: error: Expected a ValueNode synfigstudio: .../ETL/trunk/ETL/_handle.h:258: T* etl::handle<T>::operator->() const [with T = synfig::ValueNode]: Assertion `obj' failed. Aborted (core dumped) and if not, like this: file.sifz:<random>:15: error: Unexpected element <random> file.sifz:<random>:15: error: Expected a ValueNode Segmentation fault (core dumped) Here's a backtrace: #3 __assert_fail () from /lib/tls/i686/cmov/libc.so.6 #4 etl::handle<synfig::ValueNode>::operator-> (this=0xbfc22d60) at .../ETL/trunk/ETL/_handle.h:258 #5 synfig::CanvasParser::parse_value_node (this=0xbfc235d4, element=0x8f19340, [EMAIL PROTECTED]) at loadcanvas.cpp:1596 #6 synfig::CanvasParser::parse_layer (this=0xbfc235d4, element=0x8f184c0, [EMAIL PROTECTED]) at loadcanvas.cpp:1781 #7 synfig::CanvasParser::parse_canvas (this=0xbfc235d4, element=0x8ef5580, [EMAIL PROTECTED], inline_=false, [EMAIL PROTECTED]) at loadcanvas.cpp:2035 #8 synfig::CanvasParser::parse_from_file_as (this=0xbfc235d4, [EMAIL PROTECTED], [EMAIL PROTECTED]) at loadcanvas.cpp:2077 #9 synfig::open_canvas_as ([EMAIL PROTECTED], [EMAIL PROTECTED]) at loadcanvas.cpp:143 #10 studio::App::open_as ([EMAIL PROTECTED], [EMAIL PROTECTED]) at app.cpp:1992 #11 studio::App::open ([EMAIL PROTECTED]) at app.cpp:1973 ---------------------------------------------------------------------- >Comment By: dooglus (dooglus) Date: 2008-01-17 19:33 Message: Logged In: YES user_id=1546005 Originator: YES Fixed in svn r1248; improved in svn r1356. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1811250&group_id=144022 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Synfig-devl mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synfig-devl
