In recent 1.5svn: start LyX, open a file, close it. 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
0x001cfa7f in QFont::QFont () at QLImage.C:173
173 }
(gdb) bt
#0 0x001cfa7f in QFont::QFont () at QLImage.C:173
#1 0x003127ff in QPainter::setFont () at GraphicsCacheItem.C:195
#2 0x002ee4c6 in lyx::frontend::GuiWorkArea::doGreyOut
(this=0xde71070, [EMAIL PROTECTED]) at GuiWorkArea.C:488
#3 0x002ee5f7 in lyx::frontend::GuiWorkArea::expose (this=0xde71070,
x=1, y=1, w=1, h=1) at GuiWorkArea.C:515
#4 0x001b8933 in lyx::frontend::WorkArea::redraw (this=0xde71084) at
WorkArea.C:137
#5 0x001b8830 in lyx::frontend::WorkArea::resizeBufferView
(this=0xde71084) at WorkArea.C:230
#6 0x002eda3e in lyx::frontend::GuiWorkArea::resizeEvent
(this=0xde71070, ev=0xbfffd4d4) at GuiWorkArea.C:437
#7 0x001e7d5c in QWidget::event () at QLImage.C:173
#8 0x00236ffc in QFrame::event () at Dialogs.C:320
#9 0x0021e16f in QAbstractScrollArea::viewportEvent () at Dialogs.C:320
#10 0x006aa032 in QAbstractScrollAreaPrivate::viewportEvent ()
at ../../../boost/boost/detail/sp_counted_impl.hpp:55
#11 0x006aa062 in QAbstractScrollAreaFilter::eventFilter ()
at ../../../boost/boost/detail/sp_counted_impl.hpp:55
#12 0x0016c34e in QApplicationPrivate::notify_helper () at
mailinset.C:38
#13 0x001718b3 in QApplication::notify () at mailinset.C:38
#14 0x0027e403 in QWidgetPrivate::setGeometry_sys () at Dialogs.C:320
#15 0x001e7442 in QWidget::setGeometry () at QLImage.C:173
#16 0x0021f996 in QAbstractScrollAreaPrivate::layoutChildren () at
Dialogs.C:320
#17 0x002ee024 in lyx::frontend::GuiWorkArea::doGreyOut
(this=0xde71070, [EMAIL PROTECTED]) at GuiWorkArea.C:450
#18 0x002ee5f7 in lyx::frontend::GuiWorkArea::expose (this=0xde71070,
x=1, y=1, w=1, h=1) at GuiWorkArea.C:515
#19 0x001b8933 in lyx::frontend::WorkArea::redraw (this=0xde71084) at
WorkArea.C:137
#20 0x006733bf 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=0x1a778e80)
at ../../boost/boost/bind/bind_template.hpp:20
#21 0x005d400f in boost::function0<void, std::allocator<void>
>::operator() (this=0x1a778e64) at ../boost/boost/function/
function_template.hpp:692
#22 0x005d4030 in
boost::signals::detail::call_bound0<void>::caller<boost::function<void (
)(), std::allocator<void> > >::operator()
<boost::signals::detail::connection_slot_pair> (this=0xbfffdb84,
[EMAIL PROTECTED]) at ../boost/boost/signals/signal_template.hpp:119
#23 0x005d54c9 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=0xbfffdb64) at ../boost/boost/signals/detail/
slot_call_iterator.hpp:61
#24 0x005d8c6a 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 0x005d8d88 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=0x1a77a174, [EMAIL PROTECTED], [EMAIL PROTECTED]) at ../boost/
boost/last_value.hpp:43
#26 0x005d8fed in boost::signal0<void, boost::last_value<void>, int,
std::less<int>, boost::function<void ()(), std::allocator<void> >
>::operator() (this=0x1a751b5c) at ../boost/boost/signals/
signal_template.hpp:354
#27 0x0002d7b1 in lyx::Buffer::~Buffer (this=0x1a751ad0) at buffer.C:228
#28 0x00038147 in lyx::BufferList::release (this=0xde19568,
buf=0x1a751ad0) at bufferlist.C:178
#29 0x00039671 in lyx::BufferList::close (this=0xde19568,
buf=0x1a751ad0, ask=1) at bufferlist.C:207
#30 0x00073b80 in lyx::LyXFunc::closeBuffer (this=0xde19540) at
lyxfunc.C:2001
#31 0x00079d80 in lyx::LyXFunc::dispatch (this=0xde19540,
[EMAIL PROTECTED]) at lyxfunc.C:833
#32 0x00081954 in lyx::LyXFunc::processKeySym (this=0xde19540,
[EMAIL PROTECTED], state=ctrl) at lyxfunc.C:343
#33 0x001b8fa1 in lyx::frontend::WorkArea::processKeySym
(this=0xde71084, [EMAIL PROTECTED], state=ctrl) at WorkArea.C:177
#34 0x002eeac9 in lyx::frontend::GuiWorkArea::keyPressEvent
(this=0xde71070, e=0xbfffed20) at GuiWorkArea.C:411
#35 0x001e7e46 in QWidget::event () at QLImage.C:173
#36 0x00236ffc in QFrame::event () at Dialogs.C:320
#37 0x00220bcf in QAbstractScrollArea::event () at Dialogs.C:320
#38 0x0016c39a in QApplicationPrivate::notify_helper () at
mailinset.C:38
#39 0x001719d5 in QApplication::notify () at mailinset.C:38
#40 0x001c3340 in qt_sendSpontaneousEvent () at /usr/include/c++/
4.0.0/iostream:76
#41 0x002bdacb in QKeyMapper::sendKeyEvent () at InsetMathString.C:33
#42 0x002beb78 in QKeyMapperPrivate::translateKeyEvent () at
InsetMathString.C:33
#43 0x001c5ae4 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 0x001bf100 in qt_mac_send_event () at /usr/include/c++/4.0.0/
iostream:76
#52 0x002c5e33 in QEventDispatcherMac::processEvents () at
InsetMathString.C:33
#53 0x002de052 in QEventLoop::processEvents () at InsetMathString.C:33
#54 0x002de187 in QEventLoop::exec () at InsetMathString.C:33
#55 0x001ca401 in QCoreApplication::exec () at /usr/include/c++/4.0.0/
iostream:76
#56 0x0006e551 in lyx::LyX::exec (this=0xbffff994, [EMAIL PROTECTED],
argv=0xbffffa24) at lyx_main.C:401
#57 0x00002d93 in main (argc=1, argv=0xbffffa24) at main.C:48
Bennett