[It seems I forgot to send this to the list. Here it is again....
Bennett]
On Nov 27, 2006, at 11:04 AM, Peter Kümmel wrote:
Bennett Helm wrote:
However, I get a crash when closing the last document
-- a problem that's been around for a while. See my e-mail message
here:
<http://www.mail-archive.com/[email protected]/msg105812.html>
Does this patch help?
Doesn't look like it. I'm getting pretty much the same 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
0x001ceda5 in QFont::QFont () at QLImage.C:173
173 }
(gdb) bt
#0 0x001ceda5 in QFont::QFont () at QLImage.C:173
#1 0x0032a0f7 in QPainter::setFont () at GraphicsCacheItem.C:196
#2 0x00303279 in lyx::frontend::GuiWorkArea::doGreyOut
(this=0xe3692c0, [EMAIL PROTECTED]) at GuiWorkArea.C:507
#3 0x00303511 in lyx::frontend::GuiWorkArea::expose (this=0xe3692c0,
x=1, y=1, w=1, h=1) at GuiWorkArea.C:532
#4 0x001b1423 in lyx::frontend::WorkArea::redraw (this=0xe3692d4) at
WorkArea.C:139
#5 0x001b1320 in lyx::frontend::WorkArea::resizeBufferView
(this=0xe3692d4) at WorkArea.C:227
#6 0x00302464 in lyx::frontend::GuiWorkArea::resizeEvent
(this=0xe3692c0, ev=0xbfffd5a4) at GuiWorkArea.C:456
#7 0x001e9751 in QWidget::event () at QLImage.C:173
#8 0x0023e6b4 in QFrame::event () at Dialogs.C:320
#9 0x0022364f in QAbstractScrollArea::viewportEvent () at Dialogs.C:320
#10 0x006eb702 in QAbstractScrollAreaPrivate::viewportEvent ()
at ../../../boost/boost/detail/sp_counted_impl.hpp:55
#11 0x006eb732 in QAbstractScrollAreaFilter::eventFilter ()
at ../../../boost/boost/detail/sp_counted_impl.hpp:55
#12 0x00168ee8 in QApplicationPrivate::notify_helper () at
mailinset.C:38
#13 0x0016efbf in QApplication::notify () at mailinset.C:38
#14 0x0028a793 in QWidgetPrivate::setGeometry_sys () at Dialogs.C:320
#15 0x001e8dc6 in QWidget::setGeometry () at QLImage.C:173
#16 0x00224ece in QAbstractScrollAreaPrivate::layoutChildren () at
Dialogs.C:320
#17 0x00302da0 in lyx::frontend::GuiWorkArea::doGreyOut
(this=0xe3692c0, [EMAIL PROTECTED]) at GuiWorkArea.C:469
#18 0x00303511 in lyx::frontend::GuiWorkArea::expose (this=0xe3692c0,
x=1, y=1, w=1, h=1) at GuiWorkArea.C:532
#19 0x001b1423 in lyx::frontend::WorkArea::redraw (this=0xe3692d4) at
WorkArea.C:139
#20 0x006b3413 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=0x1a291c00)
at ../../boost/boost/bind/bind_template.hpp:20
#21 0x0063fc27 in boost::function0<void, std::allocator<void>
>::operator() (this=0x1a291be4) at ../boost/boost/function/
function_template.hpp:692
#22 0x0063fc48 in
boost::signals::detail::call_bound0<void>::caller<boost::function<void (
)(), std::allocator<void> > >::operator()
<boost::signals::detail::connection_slot_pair> (this=0xbfffdc54,
[EMAIL PROTECTED]) at ../boost/boost/signals/signal_template.hpp:119
#23 0x00640f91 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=0xbfffdc34) at ../boost/boost/signals/detail/
slot_call_iterator.hpp:61
#24 0x00646126 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 0x00646244 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=0x1a297b84, [EMAIL PROTECTED], [EMAIL PROTECTED]) at ../boost/
boost/last_value.hpp:43
#26 0x0064ad65 in boost::signal0<void, boost::last_value<void>, int,
std::less<int>, boost::function<void ()(), std::allocator<void> >
>::operator() (this=0x1a275a2c) at ../boost/boost/signals/
signal_template.hpp:354
#27 0x00028cd8 in lyx::Buffer::~Buffer (this=0x1a2759a0) at buffer.C:231
#28 0x0003726b in lyx::BufferList::release (this=0xe3192f8,
buf=0x1a2759a0) at bufferlist.C:178
#29 0x00038591 in lyx::BufferList::close (this=0xe3192f8,
buf=0x1a2759a0, ask=1) at bufferlist.C:207
#30 0x000717c2 in lyx::LyXFunc::closeBuffer (this=0xe3192d0) at
lyxfunc.C:2005
#31 0x0007769e in lyx::LyXFunc::dispatch (this=0xe3192d0,
[EMAIL PROTECTED]) at lyxfunc.C:832
#32 0x0007ee99 in lyx::LyXFunc::processKeySym (this=0xe3192d0,
[EMAIL PROTECTED], state=ctrl) at lyxfunc.C:342
#33 0x001b1a93 in lyx::frontend::WorkArea::processKeySym
(this=0xe3692d4, [EMAIL PROTECTED], state=ctrl) at WorkArea.C:179
#34 0x003039e3 in lyx::frontend::GuiWorkArea::keyPressEvent
(this=0xe3692c0, e=0xbfffed0c) at GuiWorkArea.C:430
#35 0x001e9852 in QWidget::event () at QLImage.C:173
#36 0x0023e6b4 in QFrame::event () at Dialogs.C:320
#37 0x0022625b in QAbstractScrollArea::event () at Dialogs.C:320
#38 0x00168f34 in QApplicationPrivate::notify_helper () at
mailinset.C:38
#39 0x0016f132 in QApplication::notify () at mailinset.C:38
#40 0x001c1638 in qt_sendSpontaneousEvent () at /usr/include/c++/
4.0.0/iostream:76
#41 0x002cd942 in QKeyMapper::sendKeyEvent () at InsetMathString.C:33
#42 0x002cee2a in QKeyMapperPrivate::translateKeyEvent () at
InsetMathString.C:33
#43 0x001c409a in QApplicationPrivate::globalEventProcessor () at /
usr/include/c++/4.0.0/iostream:76
#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 0x001bc864 in qt_mac_send_event () at /usr/include/c++/4.0.0/
iostream:76
#52 0x002d6690 in QEventDispatcherMac::processEvents () at
InsetMathString.C:33
#53 0x002f1546 in QEventLoop::processEvents () at InsetMathString.C:33
#54 0x002f1724 in QEventLoop::exec () at InsetMathString.C:33
#55 0x001c951f in QCoreApplication::exec () at /usr/include/c++/4.0.0/
iostream:76
#56 0x0006be57 in lyx::LyX::exec (this=0xbffff960, [EMAIL PROTECTED],
argv=0xbffff9ec) at lyx_main.C:395
#57 0x00003257 in main (argc=1, argv=0xbffff9ec) at main.C:48
Bennett