Synfig Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
OPEN  Bug report #578  -  Crash when paint (II)
Posted Feb 07, 2014 - updated Jan 05, 2019
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
Issue details
  • Type of issue
    Bug report
  • Status
     
    Confirmed
  • Assigned to
    Not assigned to anyone
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Carlos López
  • Owned by
    Not owned by anyone
  • Category
    Crash
  • Resolution
    Not determined
  • Priority
    Must fix before next release
  • Targetted for
    icon_milestones.png 1.0
  • Tags
    icon_customdatatype.png brush crash
  • Difficulty
    icon_customdatatype.png Not determined
Issue description
Using commit ID:

Debug build. Windows 32 bits

Crash when painting
  1. Import image >Group switch created
  2. Select Brush tool
  3. Paint anywhere
  4. Undo the paint
  5. Paint anywhere > Crash


Console output:

Program: C:\cygwin\usr\i686-w64-mingw32\sys-root\mingw\bin\synfigstudio.exe
File: actions/layerpaint.cpp, Line 124
Expression: prevSameLayer == NULL || prevSameLayer->applied
Steps to reproduce this issue
Nothing entered.

#3
Comment posted by
 djay
Mar 17, 20:56


  1. 5 0xb7dea6cb in synfigapp::Action::LayerPaint::PaintStroke::add_point_and_apply (this=0x96a6270, point=...) at actions/layerpaint.cpp:159


 159] assert(prevSameLayer == NULL || prevSameLayer->applied);
 prevSameLayer != NULL && prevSameLayer->applied == false


  1. 6 0x08602b03 in studio::StateBrush_Context::draw_to (this=0x96b4d78, pos=..., pressure=0) at states/state_brush.cpp:837
  2. 7 0x086022ef in studio::StateBrush_Context::event_mouse_down_handler (this=0x96b4d78, x=...) at states/state_brush.cpp:779
  3. 8 0x0860a29d in etl::smach<studio::CanvasView, studio::EventKey, etl::mutex_null>::state<studio::StateBrush_Context>::process_event (this=0x89cb520, x=0x96b4d78, id=...) at /home/haricot/Sources/Synfig/synfig/install/include/ETL/_smach.h:275
  4. 9 0x0855b589 in etl::smach<studio::CanvasView, studio::EventKey, etl::mutex_null>::process_event (this=0x90ee504, id=...) at /home/haricot/Sources/Synfig/synfig/install/include/ETL/_smach.h:578
  5. 10 0x087c6310 in studio::WorkArea::on_drawing_area_event (this=0x92a1f80, event=0x9362cf8) at workarea.cpp:1912


#4
Comment posted by
 Carlos López
Mar 17, 09:35
Not fixed on 1.0-RC2