Synfig Project Forum

Forums for Synfig Project
It is currently Sat May 25, 2013 12:11 am

All times are UTC - 4 hours [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Thu Jan 26, 2012 3:50 am 
Offline
User avatar

Joined: Fri Jul 01, 2011 6:14 am
Posts: 276
Location: Hungary
I believe this is repeatable:

i) open a Synfig Studio file with an Advanced Outline Bline

ii) go into animation mode

iii) change some values for an Advanced BLine in the Params panel (I've found Tip Type at Start/End will always cause a crash)

iv) Close the Canvas window using the X icon at the top right corner of the window title bar

v) Click "No" in response to "Would you like to save your changes..."

This only seems to happen when you do not leave animation mode before you click on close.

Synfig Studio 0.63.03 (stable - RPM binary downloaded from http://www.synfig.org/cms/en/download/stable)
Fedora 16

Let me know if there is any more information I can provide.


Attachments:
File comment: Crash output generated
synfig-crash.txt [1.31 KiB]
Downloaded 33 times

_________________
http://kecskebak.blogspot.com
Top
 Profile  
 
PostPosted: Thu Jan 26, 2012 4:02 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4139
Location: Spain
I think it is not related to advanced outlines. I've been after this bug since long time. When run Synfigstudio under a debugger and the crash is wrapped, the crash doesn't happen on a part of the Synfig code but on something og the gtk (gtkmm) code.

Code:
(synfigstudio:2690): glibmm-WARNING **: Glib::wrap_create_new_wrapper: Attempted to create a 2nd C++ wrapper for a C instance whose C++ wrapper has been deleted.

(synfigstudio:2690): glibmm-WARNING **: Failed to wrap object of type 'gtkmm__GtkTreeView'. Hint: this error is commonly caused by failing to call a library init() function.


Try to reproduce the problem with one normal Outline and you'll see that it happens too.

Also on the recipe add this point:

iii.2) click on canvas to deselect all the layers.

And tell me if the crash is reproducible. I think the crash dissapear when there is not layer selected (and so the treeview is empty)
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
PostPosted: Thu Jan 26, 2012 4:07 am 
Offline
User avatar

Joined: Fri Jul 01, 2011 6:14 am
Posts: 276
Location: Hungary
Genete wrote:
Try to reproduce the problem with one normal Outline and you'll see that it happens too.

Yes, it does.
Genete wrote:
Also on the recipe add this point:

iii.2) click on canvas to deselect all the layers.

The crash does not happen if you do this.

_________________
http://kecskebak.blogspot.com


Top
 Profile  
 
PostPosted: Sat Jun 30, 2012 8:47 am 
Offline
Site Admin

Joined: Thu Jan 10, 2008 2:16 am
Posts: 677
Location: Russia
There is much easier way to trigger the same crash.

1. Select any layer with many parameters - ensure that they are not fit into Prams panel.
2. Scroll Params panel content to the bottom.
3. Close the Canvas window using the X icon at the top right corner of the window title bar
4. Click "No" in response to "Would you like to save your changes..."
---> Crash.

Tested on Fedora 17.

Same thing can be triggered with Keyframes panel (if you have many keyframes).
Though, for keyframes panel I have made a workaround in Morevna branch - just cleared the Keyframe tree when instance is closed. Any over ideas how to fix the bug?
The strange thing is that for layers panel this doesn't happen...

_________________
Morevna project:
Recently completed tasks: Demo released
Top priority tasks: Website reorganization


Top
 Profile  
 
PostPosted: Sat Jun 30, 2012 9:00 am 
Offline
Site Admin

Joined: Thu Jan 10, 2008 2:16 am
Posts: 677
Location: Russia
Yay! I have found much easier way to fix that! Just hide the tree view when instance closed. ^____^

_________________
Morevna project:
Recently completed tasks: Demo released
Top priority tasks: Website reorganization


Top
 Profile  
 
PostPosted: Sat Jun 30, 2012 11:19 am 
Offline
User avatar

Joined: Fri Jul 01, 2011 6:14 am
Posts: 276
Location: Hungary
That's fantastic news - until I worked out why it was happening this bug really annoyed me! 8)

_________________
http://kecskebak.blogspot.com


Top
 Profile  
 
PostPosted: Mon Jul 02, 2012 1:12 am 
Offline
Site Admin

Joined: Thu Jan 10, 2008 2:16 am
Posts: 677
Location: Russia
Hi, DaveJ! We have published packages fixing this issue - http://morevnaproject.org/2012/07/01/we ... ogress-10/
It should be better now.

_________________
Morevna project:
Recently completed tasks: Demo released
Top priority tasks: Website reorganization


Top
 Profile  
 
PostPosted: Mon Jul 02, 2012 6:22 am 
Offline
User avatar

Joined: Fri Jul 01, 2011 6:14 am
Posts: 276
Location: Hungary
Many, many thanks for all your hard work - I don't know how you find the time to fix Synfig Studio at the same time as creating the Morevna animation and do Baron Munchausen, blog, update your G+ and the thousand other things you do! You and Genete never seem to sleep!

Your new disabling keyframes feature is incredibly useful, as it means that in future I won't have to create as many exported canvases. When I had created a lot of keyframes I often found myself creating exported canvases so the existing keyframes wouldn't complicate new things I wanted to add to my animation.

_________________
http://kecskebak.blogspot.com


Top
 Profile  
 
PostPosted: Tue Jul 10, 2012 4:38 pm 
Offline
Site Admin

Joined: Thu Jan 10, 2008 2:16 am
Posts: 677
Location: Russia
Thank you, DaveJ!
Looks like our previous packages were a little buggy.
Please get updated ones: http://morevnaproject.org/packages/

_________________
Morevna project:
Recently completed tasks: Demo released
Top priority tasks: Website reorganization


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 4 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group