John Levon wrote: > On Mon, Mar 03, 2003 at 02:36:18AM +0900, Rob Lahaye wrote: > > >>The attached patch prettifies the Xforms Changes dialog. >>I think it also fixes the dis/enable-buttons, when nothing is in the >>changed list. > > > > I got a crash from this I didn't get in my other tree. Maybe not the > patches fault, but I'm going to drop it off the radar for now anyway.
John, I got the (same?) crash here with both plain-CVS and CVS with my patch applied. So let's assume it's not my patch that causes the crash :): start lyx File->New document type something (with Change toggled on) Close the document, don't save File->New document type something, then switch on Change toggle type something before and after existing text put the cursor at the start of the line BANG! With most recent CVS, the backtrace is: #0 0x288577b4 in kill () from /usr/lib/libc.so.4 #1 0x28897b26 in abort () from /usr/lib/libc.so.4 #2 0x844de6f in lyx::abort () at abort.C:9 #3 0x809e135 in AuthorList::get (this=0x883a194, id=0) at support/LAssert.h:24 #4 0x80cdad0 in currentState (bv=0x8693f90) at bufferview_funcs.C:163 #5 0x812fb2e in LyXFunc::view_status_message (this=0x862a980) at lyxfunc.C:1935 #6 0x83512be in XFormsView::show_view_state (this=0xbfbff794) at XFormsView.C:196 #7 0x8520e5c in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, XFormsView> , boost::_bi::list1<boost::_bi::value<XFormsView *> > >, void>::invoke ( function_obj_ptr={obj_ptr = 0x86af290, const_obj_ptr = 0x86af290, func_ptr = 0x86af290, data = "\220"}) at ../../../boost/boost/bind/mem_fn_template.hpp:46 #8 0x848001e in boost::signal0<void, boost::last_value<void>, int, less<int>, boost::function0<void, allocator<boost::function_ base> > >::operator() (this=0xbfbff7b8) at ../../boost/boost/function/function_template.hpp:319 #9 0x81a2980 in LyXText::dispatch (this=0x883dc00, [EMAIL PROTECTED]) at text3.C:1489 #10 0x8060663 in BufferView::Pimpl::dispatch (this=0x86a9400, [EMAIL PROTECTED]) at BufferView_pimpl.C:1280 #11 0x8481faa in boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<bool, boost::_mfi::mf1<bool, BufferView: :Pimpl, FuncRequest const &>, boost::_bi::list2<boost::_bi::value<BufferView::Pimpl *>, boost::arg<1> > >, void, FuncRequest>::i nvoke ( function_obj_ptr={obj_ptr = 0x86af200, const_obj_ptr = 0x86af200, func_ptr = 0x86af200, data = ""}, a0=0xbfbfece4) at ../boost/boost/bind.hpp:176 #12 0x852605d in boost::signal1<void, FuncRequest, boost::last_value<void>, int, less<int>, boost::function1<void, FuncRequest, allocator<boost::function_base> > >::operator() (this=0xbfbff2a0, a1=0xbfbff2a0) at ../../../boost/boost/function/function_template.hpp:319 #13 0x8356c56 in XWorkArea::work_area_handler (ob=0x86ac800, event=3, key=1, xev=0x286cc520) at XWorkArea.C:300 #14 0x8355e82 in C_work_area_handler (ob=0x86ac800, event=3, key=1, xev=0x286cc520) at XWorkArea.C:84 #15 0x28696ada in fl_handle_it () from /usr/X11R6/lib/libforms.so.1 #16 0x28696b9c in fl_handle_object () from /usr/X11R6/lib/libforms.so.1 #17 0x28686eb9 in fl_handle_form () from /usr/X11R6/lib/libforms.so.1 #18 0x28687d65 in do_interaction_step () from /usr/X11R6/lib/libforms.so.1 #19 0x2868804d in fl_treat_interaction_events () from /usr/X11R6/lib/libforms.so.1 #20 0x28688095 in fl_check_forms () from /usr/X11R6/lib/libforms.so.1 #21 0x835c71d in lyx_gui::start ([EMAIL PROTECTED], [EMAIL PROTECTED]) at lyx_gui.C:301 #22 0x8105dc7 in LyX::LyX (this=0xbfbffac0, [EMAIL PROTECTED], argv=0xbfbffb3c) at ../src/lyx_main.C:163 #23 0x8156e52 in main (argc=1, argv=0xbfbffb3c) at ../src/main.C:31 #24 0x8050b35 in _start () Does this help? Rob.