Synfig Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report #482  -  Copy Group with Random Properties
Posted Sep 08, 2013 - updated Jan 05, 2019
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Fixed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Fixed
  • Assigned to
     Konstantin Dmitriev
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     eisverticker
  • Owned by
    Not owned by anyone
  • Time spent
    5 hours
  • Category
    Not determined
  • Resolution
    RESOLVED
  • Priority
    Not determined
  • Targetted for
    icon_milestones.png 0.64.1
  • Tags
    icon_customdatatype.png Not determined
  • Difficulty
    icon_customdatatype.png Not determined
Issue description
Synfig crashes if you copy a group which contains a form with a property converted to random. (Current Developer Version for Ubuntu amd64) I think it was some sort of memory error. Maybe it also crashes if you don't create a group, but i didn't tried that out.
Steps to reproduce this issue
For example: 1) Create a Circle 2) Convert the radius property to random 3) Add this Circle to a group 4) try to duplicate the group 5) now it crashes

#3
Comment posted by
 Konstantin Dmitriev
Sep 10, 09:13
I can confirm the issue on Fedora 64bit. Thanks for reporting.
#5
Comment posted by
 blackwarthog
Sep 16, 16:15
Fixed. We should to avoid using managed and unmanaged pointers together - it's root of evil.

https://github.com/blackwarthog/synfig/tree/fix-bug-with-random-modifier
#7
Comment posted by
 Konstantin Dmitriev
Sep 26, 09:32
The proper fix is committed into the master branch. Thanks to Ivan (blackwarthog) for pointing at the root of the problem.

The issue was updated with the following change(s):
  • This issue has been closed
  • The status has been updated, from Being worked on to Fixed.
  • This issue's progression has been updated to 100 percent completed.
  • The resolution has been updated, from Not determined to RESOLVED.
  • Time spent on this issue, from No time spent to 5 hours.
  • Information about the user working on this issue has been changed, from Konstantin Dmitriev to Not being worked on.