Start LyX. Create a new document, and type a few random characters. Then close the window. Whether you opt to discard or to save, LyX crashes. Here's the backtrace:

QPixmap::operator=: Cannot assign to pixmap during painting
QCoreGraphicsPaintEngine::begin: Painter already active
QPainter::begin(): Returned false

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x001cea63 in QFont::QFont () at QLImage.C:173
173     }
(gdb) bt
#0  0x001cea63 in QFont::QFont () at QLImage.C:173
#1  0x003117f3 in QPainter::setFont () at GraphicsCacheItem.C:195
#2 0x002ed43a in lyx::frontend::GuiWorkArea::doGreyOut (this=0xe16fbf0, [EMAIL PROTECTED]) at GuiWorkArea.C:508 #3 0x002ed6cb in lyx::frontend::GuiWorkArea::expose (this=0xe16fbf0, x=1, y=1, w=1, h=1) at GuiWorkArea.C:533 #4 0x001b7917 in lyx::frontend::WorkArea::redraw (this=0xe16fc04) at WorkArea.C:137 #5 0x001b7814 in lyx::frontend::WorkArea::resizeBufferView (this=0xe16fc04) at WorkArea.C:230 #6 0x002ec796 in lyx::frontend::GuiWorkArea::resizeEvent (this=0xe16fbf0, ev=0xbfffd4b4) at GuiWorkArea.C:457
#7  0x001e6d40 in QWidget::event () at QLImage.C:173
#8  0x00235fb0 in QFrame::event () at Dialogs.C:320
#9  0x0021d123 in QAbstractScrollArea::viewportEvent () at Dialogs.C:320
#10 0x006a6cbe in QAbstractScrollAreaPrivate::viewportEvent () at ../../../boost/boost/detail/sp_counted_impl.hpp:55 #11 0x006a6cee in QAbstractScrollAreaFilter::eventFilter () at ../../../boost/boost/detail/sp_counted_impl.hpp:55 #12 0x0016b332 in QApplicationPrivate::notify_helper () at mailinset.C:38
#13 0x00170897 in QApplication::notify () at mailinset.C:38
#14 0x0027d3b7 in QWidgetPrivate::setGeometry_sys () at Dialogs.C:320
#15 0x001e6426 in QWidget::setGeometry () at QLImage.C:173
#16 0x0021e94a in QAbstractScrollAreaPrivate::layoutChildren () at Dialogs.C:320 #17 0x002ecf98 in lyx::frontend::GuiWorkArea::doGreyOut (this=0xe16fbf0, [EMAIL PROTECTED]) at GuiWorkArea.C:470 #18 0x002ed6cb in lyx::frontend::GuiWorkArea::expose (this=0xe16fbf0, x=1, y=1, w=1, h=1) at GuiWorkArea.C:533 #19 0x001b7917 in lyx::frontend::WorkArea::redraw (this=0xe16fc04) at WorkArea.C:137 #20 0x0066ffbf 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=0x1a2790b0) at ../../boost/boost/bind/bind_template.hpp:20 #21 0x005faccf in boost::function0<void, std::allocator<void> >::operator() (this=0x1a279094) at ../boost/boost/function/ function_template.hpp:692 #22 0x005facf0 in boost::signals::detail::call_bound0<void>::caller<boost::function<void ( )(), std::allocator<void> > >::operator() <boost::signals::detail::connection_slot_pair> (this=0xbfffdb64, [EMAIL PROTECTED]) at ../boost/boost/signals/signal_template.hpp:119 #23 0x005fc045 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=0xbfffdb44) at ../boost/boost/signals/detail/ slot_call_iterator.hpp:61 #24 0x00601306 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 0x00601424 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=0x1a245ed4, [EMAIL PROTECTED], [EMAIL PROTECTED]) at ../boost/ boost/last_value.hpp:43 #26 0x00605f45 in boost::signal0<void, boost::last_value<void>, int, std::less<int>, boost::function<void ()(), std::allocator<void> > >::operator() (this=0x1a24558c) at ../boost/boost/signals/ signal_template.hpp:354
#27 0x0002cf99 in lyx::Buffer::~Buffer (this=0x1a245500) at buffer.C:229
#28 0x00037985 in lyx::BufferList::release (this=0xe119078, buf=0x1a245500) at bufferlist.C:179 #29 0x000394b9 in lyx::BufferList::close (this=0xe119078, buf=0x1a245500, ask=1) at bufferlist.C:240 #30 0x00073304 in lyx::LyXFunc::closeBuffer (this=0xe119050) at lyxfunc.C:2000 #31 0x00079500 in lyx::LyXFunc::dispatch (this=0xe119050, [EMAIL PROTECTED]) at lyxfunc.C:832 #32 0x0008104a in lyx::LyXFunc::processKeySym (this=0xe119050, [EMAIL PROTECTED], state=ctrl) at lyxfunc.C:342 #33 0x001b7f85 in lyx::frontend::WorkArea::processKeySym (this=0xe16fc04, [EMAIL PROTECTED], state=ctrl) at WorkArea.C:177 #34 0x002edb9d in lyx::frontend::GuiWorkArea::keyPressEvent (this=0xe16fbf0, e=0xbfffece0) at GuiWorkArea.C:431
#35 0x001e6e2a in QWidget::event () at QLImage.C:173
#36 0x00235fb0 in QFrame::event () at Dialogs.C:320
#37 0x0021fb83 in QAbstractScrollArea::event () at Dialogs.C:320
#38 0x0016b37e in QApplicationPrivate::notify_helper () at mailinset.C:38
#39 0x001709b9 in QApplication::notify () at mailinset.C:38
#40 0x001c2324 in qt_sendSpontaneousEvent () at /usr/include/c++/ 4.0.0/iostream:76
#41 0x002bca7f in QKeyMapper::sendKeyEvent () at InsetMathString.C:33
#42 0x002bdb2c in QKeyMapperPrivate::translateKeyEvent () at InsetMathString.C:33 #43 0x001c4ac8 in QApplicationPrivate::globalEventProcessor () at / usr/include/c++/4.0.0/iostream:76
#44 0x92dc886b in DispatchEventToHandlers ()
#45 0x92dc7f10 in SendEventToEventTargetInternal ()
#46 0x92dc7dd5 in SendEventToEventTargetWithOptions ()
#47 0x92dcf858 in ToolboxEventDispatcherHandler ()
#48 0x92dc8c22 in DispatchEventToHandlers ()
#49 0x92dc7f10 in SendEventToEventTargetInternal ()
#50 0x92dcf1f0 in SendEventToEventTarget ()
#51 0x001be0e4 in qt_mac_send_event () at /usr/include/c++/4.0.0/ iostream:76 #52 0x002c4de7 in QEventDispatcherMac::processEvents () at InsetMathString.C:33
#53 0x002dd006 in QEventLoop::processEvents () at InsetMathString.C:33
#54 0x002dd13b in QEventLoop::exec () at InsetMathString.C:33
#55 0x001c93e5 in QCoreApplication::exec () at /usr/include/c++/4.0.0/ iostream:76 #56 0x0006dcc7 in lyx::LyX::exec (this=0xbffff954, [EMAIL PROTECTED], argv=0xbffff9e4) at lyx_main.C:401
#57 0x000025f3 in main (argc=1, argv=0xbffff9e4) at main.C:48

Reply via email to