Bugs item #1823053, was opened at 2007-10-30 22:36
Message generated for change (Comment added) made by dooglus
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1823053&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Genete (genete)
Assigned to: Nobody/Anonymous (nobody)
Summary: Rename Valuenode from Child list crash

Initial Comment:
Using svn 1088 

Enter a name into the right click context menu at Valuenode child list produces 
a crash.

The crash only is produced if the valuenode have a parameter connected to it. 
If the valuenode is "free" (none parameter is connected to it) then it doesn't 
crash.

Also rename value node context menu from the paramter itself doesn't crash. In 
fact I've seen it crashing but now I cannot repeat it again. If I found it 
again I'll post the file sample.

To repeat the crash just export any parameter and try to rename the valuenode 
at child list.

Carlos

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

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

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

valgrind trace:

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==


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

Comment By: Genete (genete)
Date: 2007-10-31 20:25

Message:
Logged In: YES 
user_id=1874777
Originator: YES

If I follow exactly your recipe:

1) run studio
2) click 'new' button
3) click 'ok' button
4) click circle tool button
5) left-click on the main window canvas and drag the mouse and release
left button (the draw circle)
6) right-click circle's 'radius' parameter
7) click on export pop up menu
8) type 'x' on the keyboard
9) click on 'OK'
10) click on child dialog
11) click on valuebase nodes expanding triangle 
12) right-click on 'x' valuenode
13) click on Rename valuenode pop up menu
14) type 'x2'
15) click 'OK'

Then it crash BUT if follow those steps:

1) run studio
2) click 'new' button
3) click 'ok' button
4) click circle tool button
5) left-click on the main window canvas and drag the mouse and release
left button (the draw circle)
6) right-click circle's 'radius' parameter
7) click on export pop up menu
8) type 'x' on the keyboard
9) click on 'OK'
10) click on child dialog
11) click on valuebase nodes expanding triangle 
12) right-click on 'x' valuenode
13) click on Rename valuenode pop up menu
13.1) click on the main canvas window title.
13.2) clicl again on the Rename Valuenode window tect input
14) type 'x2'
15) click 'OK'

Then it doesn't crash. :)

Carlos

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

Comment By: dooglus (dooglus)
Date: 2007-10-31 10:40

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

Can you give an explicit recipe to reproduce this?  I just successfully
renamed exported parameters in the children dialog, doing the following:

1) run studio
2) click 'new'
3) click 'ok'
4) select circle tool
5) draw circle
6) right-click circle's 'radius' param
7) export
8) name it 'x'
9) open child dialog
10) open valuebase nodes
11) right-click 'x'
12) rename valuenode
13) 'x2'

Did I miss some essential step to make it crash?  Or does the above crash
for you?

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to