Bugs item #1779592, was opened at 2007-08-22 19:53
Message generated for change (Comment added) made by genete
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1779592&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: None
Status: Open
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: dooglus (dooglus)
Assigned to: Nobody/Anonymous (nobody)
Summary: deleting a layer while drawing a bline crashes synfig

Initial Comment:
1. start studio
2. click the 'new...' icon to make a new canvas
3. click 'ok'
4. select the circle tool and draw a circle
5. select the bline tool and click in 2 different places in the canvas to start 
drawing a bline
6. without finishing the bline, delete the circle (either by pressing delete, 
or control-x, or right-clicking the circle's layer in the layer dialog, or by 
clicking the 'remove layer' icon in the layer dialog)
7. studio will show an alert saying "Unable to change mode", then another 
saying "Action Failed", and then will crash, displaying the following in the 
console:

synfigstudio: state_bline.cpp:579: bool studio::StateBLine_Context::run_(): 
Assertion `layer' failed.
Aborted (core dumped)

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

>Comment By: Genete (genete)
Date: 2009-07-27 23:37

Message:
Cannot reproduce in the latest development branch. It shows several pop up
messages: "Unable to change" mode and "Action failed" but at the end you
finish with the layer deleted and the bline not created.

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

Comment By: dooglus (dooglus)
Date: 2008-01-17 20:02

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

#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb69b9875 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb69bb201 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb69b2b6e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4  0x084a999e in studio::StateBLine_Context::run_ (this=0x91cf400)
    at state_bline.cpp:595
#5  0x084aec7e in studio::StateBLine_Context::run (this=0x91cf400)
    at state_bline.cpp:487
#6  0x084aee24 in ~StateBLine_Context (this=0x91cf400) at
state_bline.cpp:435
#7  0x084b9011 in etl::smach<studio::CanvasView, studio::EventKey,
etl::mutex_null>::state<studio::StateBLine_Context>::leave_state
(this=0x86c83c0, 
    x=0x91cf400) at
/home/chris/programs/synfig/git/ETL/trunk/ETL/_smach.h:244
#8  0x082d7d03 in etl::smach<studio::CanvasView, studio::EventKey,
etl::mutex_null>::egress (this=0x8a2932c)
    at /home/chris/programs/synfig/git/ETL/trunk/ETL/_smach.h:398
#9  0x082d7eb5 in etl::smach<studio::CanvasView, studio::EventKey,
etl::mutex_null>::process_event (this=0x8a2932c, i...@0xbfb5e3b4)
    at /home/chris/programs/synfig/git/ETL/trunk/ETL/_smach.h:584
#10 0x083b4de4 in etl::smach<studio::CanvasView, studio::EventKey,
etl::mutex_null>::process_event (this=0x8a2932c, i...@0xbfb5e3d4)
    at /home/chris/programs/synfig/git/ETL/trunk/ETL/_smach.h:554
#11 0x08380853 in studio::CanvasView::process_event_key (this=0x8a292e0, 
    x=studio::EVENT_LAYER_SELECTION_CHANGED) at canvasview.cpp:3328
#12 0x083a7ea2 in sigc::bound_mem_functor1<etl::smach<studio::CanvasView,
studio::EventKey, etl::mutex_null>::event_result, studio::CanvasView,
studio::EventKey>::operator() (this=0x918db7c, _a_...@0x918db8c)
    at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1851
#13 0x083a7ebf in
sigc::adaptor_functor<sigc::bound_mem_functor1<etl::smach<studio::CanvasView,
studio::EventKey, etl::mutex_null>::event_result, studio::CanvasView,
studio::EventKey> >::operator()<studio::EventKey&> (this=0x918db78, 
    _a_ar...@0x918db8c)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:84
#14 0x083a7ee8 in sigc::bind_functor<-1,
sigc::bound_mem_functor1<etl::smach<studio::CanvasView, studio::EventKey,
etl::mutex_null>::event_result, studio::CanvasView, studio::EventKey>,
studio::EventKey, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil,
sigc::nil>::operator() (this=0x918db74)
    at /usr/include/sigc++-2.0/sigc++/adaptors/bind.h:1110
#15 0x083a7efe in sigc::retype_return_functor<void, sigc::bind_functor<-1,
sigc::bound_mem_functor1<etl::smach<studio::CanvasView, studio::EventKey,
etl::mutex_null>::event_result, studio::CanvasView, studio::EventKey>,
studio::EventKey, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil,
sigc::nil> >::operator() (this=0x918db70)
    at /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h:265
#16 0x083a7f1a in
sigc::internal::slot_call0<sigc::retype_return_functor<void,
sigc::bind_functor<-1,
sigc::bound_mem_functor1<etl::smach<studio::CanvasView, studio::EventKey,
etl::mutex_null>::event_result, studio::CanvasView, studio::EventKey>,
studio::EventKey, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil,
sigc::nil> >, void>::call_it (rep=0x918db58)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#17 0xb701d49a in Glib::SignalProxyNormal::slot0_void_callback (
    self=0x9161400, data=0x918db40)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:440
#18 0xb6ce8c09 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#19 0xb6cdb772 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#20 0xb6cec611 in ?? () from /usr/lib/libgobject-2.0.so.0
#21 0x0918dbb0 in ?? ()
#22 0x00000000 in ?? ()

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

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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to