Bugs item #1826376, was opened at 2007-11-05 22:16
Message generated for change (Settings changed) made by dooglus
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1826376&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: Crasher/nasty bug
Group: SVN version
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Genete (genete)
Assigned to: Nobody/Anonymous (nobody)
Summary: Re-import an exported canvas into another file crash

Initial Comment:
Using svn 1110

Steps to make it crash:

1) File->New->Accept default values
2) Caret Menu->File->Import. Select any file. I selected the eye.sifz provided 
with the examples
3) Select the Paste Canvas layer. 
4) Select the Canvas parameter. Right click and Export. Give it a name 
(eye1)->Accept.
5) Select the Paste Canvas layer (now called [eye1]) and delete it. No layer in 
the file exists.
6) File->New->Accept default values. Create a new file.
7) Repeat step 2. 
8) Surprisingly the Paste Canvas layer has the foloowing name [Synfig Animation 
1.sifz] (that is the recently created and not saved file) instead of 
[/home/carlos/synfig/synfig-core/examples/eye.sifz] what is the imported file. 
Canvas parameter have the "eye1" name already given what is the exported name I 
gave. 
9) Select the first created file. Close without saving it. Hehe the reference 
to the file is lost...
10) Click on the other file and it will crash.

Carlos

----------------------------------------------------------------------

Comment By: dooglus (dooglus)
Date: 2008-11-19 15:11

Message:
Fixed in SVN r2216.

----------------------------------------------------------------------

Comment By: dooglus (dooglus)
Date: 2007-11-06 01:35

Message:
Logged In: YES 
user_id=1546005
Originator: NO

that valgrind trace was for a different bug.  ignore it.

----------------------------------------------------------------------

Comment By: dooglus (dooglus)
Date: 2007-11-05 23:37

Message:
Logged In: YES 
user_id=1546005
Originator: NO

valgrind shows this when it crashes:

synfig(10943) [23:27:28] info: delete 6d95e08
synfig(10943) [23:27:29] info: really delete 6d95e08
synfig(10943) [23:27:35] warning: childrentreestore.cpp:241 DEBUGPOINT
synfig(10943) [23:27:35] info:
ChildrenTreeStore::execute_changed_value_nodes(): took 159,886003 msec
==11042== Conditional jump or move depends on uninitialised value(s)
==11042==    at 0x4540A38: (within /usr/lib/libz.so.1.2.3)
==11042==    by 0x454177F: (within /usr/lib/libz.so.1.2.3)
==11042==    by 0x4541F0F: deflate (in /usr/lib/libz.so.1.2.3)
==11042==    by 0x453EBBD: gzclose (in /usr/lib/libz.so.1.2.3)
==11042==    by 0x45B6CFC: (within /usr/lib/libxml2.so.2.6.26)
==11042==    by 0x45B5729: xmlOutputBufferClose (in
/usr/lib/libxml2.so.2.6.26)
==11042==    by 0x465C8D3: xmlSaveFormatFileEnc (in
/usr/lib/libxml2.so.2.6.26)
==11042==    by 0x455C5B9: xmlpp::Document::do_write_to_file(Glib::ustring
const&, Glib::ustring const&, bool) (in /usr/lib/libxml++-2.6.so.2.0.7)
==11042==    by 0x455C3B0:
xmlpp::Document::write_to_file_formatted(Glib::ustring const&,
Glib::ustring const&) (in /usr/lib/libxml++-2.6.so.2.0.7)
==11042==    by 0x43E3A5B: synfig::save_canvas(std::string const&,
etl::handle<synfig::Canvas const>) (savecanvas.cpp:767)
==11042==    by 0x840C977: studio::AutoRecover::auto_backup()
(autorecover.cpp:221)
==11042==    by 0x837ABEE: sigc::pointer_functor0<bool>::operator()()
const (ptr_fun.h:77)
==11042==

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1826376&group_id=144022

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to