Synfig Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report #330  -  Preview Window case a Synfig Studio crash
Posted Jan 18, 2013 - updated Apr 09, 2014
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
     djay
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Yu Chen
  • Owned by
    Not owned by anyone
  • Time spent
    2 hours
  • Category
    Crash
  • Resolution
    RESOLVED
  • Priority
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • Tags
    icon_customdatatype.png Not determined
  • Difficulty
    icon_customdatatype.png Not determined
Issue description
The preview window opened from view menu can crash the whole application.
Steps to reproduce this issue
  1. 1) create a new empty sif file with default settings,
  2. 2) goto carte menu --> view --> Preview Window
  3. 3) click the play button on Preview Window toolbar,
  4. 4) Synfig Studio crashes immediately with the following message:
synfigstudio: /home/jcome/Apps/Synfig/include/ETL/_handle.h:280: T* etl::handle<T>::operator->() const T = studio::Preview; etl::handle<T>::pointer = studio::Preview*: Assertion `obj' failed. Aborted (core dumped)

#5
Comment posted by
 djay
Sep 23, 14:13
I have disabled Preview Window (sensitive = false) thrue the "dialog-flipbook" action (yes it's the call the preview window smileys/2.png until the Preview Option is called (and the preview window created.)

Then, the action is always enabled (the preview window is only hided on close_event, never closed)

Possible improvement, let Preview Window action always sensitive and call Preview Option the first time.

https://github.com/d-j-a-y/synfig/commit/041db982b8ad314c0f64997b5fe91de6a2260228