1.5.0-alpha crashes on closing a buffer on Intel Mac.

Recipe: Start LyX. File > New; File > Close. Here's the backtrace:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x001d0505 in QFont::QFont () at QLImage.C:172
172     }
(gdb) bt
#0  0x001d0505 in QFont::QFont () at QLImage.C:172
#1  0x0032b3cf in QPainter::setFont () at GraphicsCacheItem.C:194
#2 0x0030419a in lyx::frontend::GuiWorkArea::doGreyOut (this=0xe364df0, [EMAIL PROTECTED]) at GuiWorkArea.C:561 #3 0x00304448 in lyx::frontend::GuiWorkArea::expose (this=0xe364df0, x=1, y=1, w=1, h=1) at GuiWorkArea.C:586 #4 0x001b2499 in lyx::frontend::WorkArea::redraw (this=0xe364e04, singlePar=0) at WorkArea.C:139 #5 0x001b23c2 in lyx::frontend::WorkArea::resizeBufferView (this=0xe364e04) at WorkArea.C:223 #6 0x0030371a in lyx::frontend::GuiWorkArea::resizeEvent (this=0xe364df0, ev=0xbfffd5c4) at GuiWorkArea.C:510
#7  0x001ea651 in QWidget::event () at QLImage.C:172
#8  0x0023f6a4 in QFrame::event () at Dialogs.C:320
#9  0x0022463f in QAbstractScrollArea::viewportEvent () at Dialogs.C:320
#10 0x006ed036 in QAbstractScrollAreaPrivate::viewportEvent () at fileiter.cpp:214 #11 0x006ed066 in QAbstractScrollAreaFilter::eventFilter () at fileiter.cpp:214 #12 0x00168bfc in QApplicationPrivate::notify_helper () at insetspecialchar.C:65
#13 0x0016ecd3 in QApplication::notify () at insetspecialchar.C:65
#14 0x0028b783 in QWidgetPrivate::setGeometry_sys () at Dialogs.C:320
#15 0x001e9cc6 in QWidget::setGeometry () at QLImage.C:172
#16 0x00225ebe in QAbstractScrollAreaPrivate::layoutChildren () at Dialogs.C:320 #17 0x00303d56 in lyx::frontend::GuiWorkArea::doGreyOut (this=0xe364df0, [EMAIL PROTECTED]) at GuiWorkArea.C:523 #18 0x00304448 in lyx::frontend::GuiWorkArea::expose (this=0xe364df0, x=1, y=1, w=1, h=1) at GuiWorkArea.C:586 #19 0x001b2499 in lyx::frontend::WorkArea::redraw (this=0xe364e04, singlePar=0) at WorkArea.C:139 #20 0x006b4de7 in boost::_bi::bind_t<void, boost::_mfi::mf1<void, lyx::LyXView, lyx::Buffer*>, boost::_bi::list2<boost::_bi::value<lyx::LyXView*>, boost::_bi::value<lyx::Buffer*> > >::operator() (this=0x1a2885c0) at ../../boost/boost/bind/bind_template.hpp:20 #21 0x00641aab in boost::function0<void, std::allocator<void> >::operator() (this=0x1a2885a4) at ../boost/boost/function/ function_template.hpp:692 #22 0x00641acc in boost::signals::detail::call_bound0<void>::caller<boost::function<void ( )(), std::allocator<void> > >::operator() <boost::signals::detail::connection_slot_pair> (this=0xbfffdc64, [EMAIL PROTECTED]) at ../boost/boost/signals/signal_template.hpp:119 #23 0x00642e09 in boost::signals::detail::slot_call_iterator<boost::signals::detail::call_ bound0<void>::caller<boost::function<void ()(), std::allocator<void> > >, boost::signals::detail::named_slot_map_iterator>::dereference (this=0xbfffdc44) at ../boost/boost/signals/detail/ slot_call_iterator.hpp:61 #24 0x00647faa in boost::operator+ +<boost::signals::detail::slot_call_iterator<boost::signals::detail::cal l_bound0<void>::caller<boost::function<void ()(), std::allocator<void> > >, boost::signals::detail::named_slot_map_iterator>, boost::signals::detail::unusable, boost::single_pass_traversal_tag, boost::signals::detail::unusable const&, int> ([EMAIL PROTECTED]) at ../ boost/boost/iterator/iterator_facade.hpp:144 #25 0x006480c8 in boost::last_value<void>::operator() <boost::signals::detail::slot_call_iterator<boost::signals::detail::call _bound0<void>::caller<boost::function<void ()(), std::allocator<void> > >, boost::signals::detail::named_slot_map_iterator> > (this=0x1a25f8e4, [EMAIL PROTECTED], [EMAIL PROTECTED]) at ../boost/ boost/last_value.hpp:43 #26 0x0064cbe9 in boost::signal0<void, boost::last_value<void>, int, std::less<int>, boost::function<void ()(), std::allocator<void> > >::operator() (this=0x1a2612dc) at ../boost/boost/signals/ signal_template.hpp:354
#27 0x00027a60 in lyx::Buffer::~Buffer (this=0x1a261250) at buffer.C:230
#28 0x0003566f in lyx::BufferList::release (this=0xe317888, buf=0x1a261250) at bufferlist.C:154 #29 0x000369f7 in lyx::BufferList::close (this=0xe317888, buf=0x1a261250, ask=1) at bufferlist.C:183 #30 0x0006f416 in lyx::LyXFunc::closeBuffer (this=0xe317860) at lyxfunc.C:2005 #31 0x00075258 in lyx::LyXFunc::dispatch (this=0xe317860, [EMAIL PROTECTED]) at lyxfunc.C:833 #32 0x0007ca35 in lyx::LyXFunc::processKeySym (this=0xe317860, [EMAIL PROTECTED], state=ctrl) at lyxfunc.C:341 #33 0x001b2b8b in lyx::frontend::WorkArea::processKeySym (this=0xe364e04, [EMAIL PROTECTED], state=ctrl) at WorkArea.C:175 #34 0x0030537f in lyx::frontend::GuiWorkArea::keyPressEvent (this=0xe364df0, e=0xbfffecfc) at GuiWorkArea.C:446
#35 0x001ea752 in QWidget::event () at QLImage.C:172
#36 0x0023f6a4 in QFrame::event () at Dialogs.C:320
#37 0x0022724b in QAbstractScrollArea::event () at Dialogs.C:320
#38 0x00168c48 in QApplicationPrivate::notify_helper () at insetspecialchar.C:65
#39 0x0016ee46 in QApplication::notify () at insetspecialchar.C:65
#40 0x001c27d4 in qt_sendSpontaneousEvent () at forkedcontr.C:223
#41 0x002ceb02 in QKeyMapper::sendKeyEvent () at InsetMathString.C:33
#42 0x002cffea in QKeyMapperPrivate::translateKeyEvent () at InsetMathString.C:33 #43 0x001c5236 in QApplicationPrivate::globalEventProcessor () at forkedcontr.C:223
#44 0x92dc686b in DispatchEventToHandlers ()
#45 0x92dc5f10 in SendEventToEventTargetInternal ()
#46 0x92dc5dd5 in SendEventToEventTargetWithOptions ()
#47 0x92dcd858 in ToolboxEventDispatcherHandler ()
#48 0x92dc6c22 in DispatchEventToHandlers ()
#49 0x92dc5f10 in SendEventToEventTargetInternal ()
#50 0x92dcd1f0 in SendEventToEventTarget ()
#51 0x001bda00 in qt_mac_send_event () at forkedcontr.C:223
#52 0x002d7850 in QEventDispatcherMac::processEvents () at InsetMathString.C:33
#53 0x002f2706 in QEventLoop::processEvents () at InsetMathString.C:33
#54 0x002f28e4 in QEventLoop::exec () at InsetMathString.C:33
#55 0x001ca6bb in QCoreApplication::exec () at forkedcontr.C:223
#56 0x00069595 in lyx::LyX::priv_exec (this=0xe317850, [EMAIL PROTECTED], argv=0xbffffa04) at lyx_main.C:350 #57 0x000696f2 in lyx::LyX::exec ([EMAIL PROTECTED], argv=0xbffffa04) at lyx_main.C:171
#58 0x00001fbd in main (argc=1, argv=0xbffffa04) at main.C:46
(gdb)


Bennett


Reply via email to