On Wed, Aug 22, 2007 at 09:25:12AM +0200, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > > > > Here is another one for you. This happens with Qt 4.1. When loading > > a second document, lyx crashes as follows: > > Is this on windows?
Yes. > Does this happen on any document? When trying to load any _second_ document. Only happens with Qt 4.1, though. > Could you please > try to disable the pixmap cache in QLPainter.cpp? Doesn't change anything. Here is the backtrace (part of it, as it's exceptionally long): #0 0x610fa78f in done () from /usr/bin/cygwin1.dll #1 0x01f1a250 in ?? () #2 0x00c4b2c0 in QRasterPaintEnginePrivate::updateClip_helper () #3 0x00c4bd2b in QRasterPaintEngine::updateClipPath () #4 0x00c4c39d in QRasterPaintEngine::begin () #5 0x00be936d in QPainter::begin () #6 0x00bea2bb in QPainter::QPainter () #7 0x00cb2ed0 in QScrollBar::paintEvent () #8 0x00aed46d in QWidget::event () #9 0x00cb2e8c in QScrollBar::event () #10 0x00ad1bf9 in QApplicationPrivate::notify_helper () #11 0x00ad1d48 in QApplication::notify () #12 0x00882398 in lyx::frontend::GuiApplication::notify () #13 0x00bcc715 in qt_sendSpontaneousEvent () #14 0x00b08d3b in QWidgetPrivate::drawWidget () #15 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #16 0x00b093bc in QWidgetBackingStore::paintSiblingsRecursive () #17 0x00b08f59 in QWidgetPrivate::drawWidget () #18 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #19 0x00b08f59 in QWidgetPrivate::drawWidget () #20 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #21 0x00b08f59 in QWidgetPrivate::drawWidget () #22 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () ---Type <return> to continue, or q <return> to quit--- #23 0x00b08f59 in QWidgetPrivate::drawWidget () #24 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #25 0x00b093bc in QWidgetBackingStore::paintSiblingsRecursive () #26 0x00b08f59 in QWidgetPrivate::drawWidget () #27 0x00b09826 in QWidgetBackingStore::cleanRegion () #28 0x00b099b7 in QWidget::repaint () #29 0x00ae5d65 in QWidget::repaint () #30 0x00ae5ec0 in QWidget::repaint () #31 0x00985248 in lyx::frontend::GuiView::update_view_state_qt () #32 0x0087ef89 in lyx::frontend::WorkArea::resizeBufferView () #33 0x0099bd92 in lyx::frontend::GuiWorkArea::paintEvent () #34 0x00aed46d in QWidget::event () #35 0x00b92d48 in QFrame::event () #36 0x00b81a9c in QAbstractScrollArea::viewportEvent () #37 0x00b82021 in QAbstractScrollAreaViewport::event () #38 0x00ad1bf9 in QApplicationPrivate::notify_helper () #39 0x00ad1d48 in QApplication::notify () #40 0x00882398 in lyx::frontend::GuiApplication::notify () #41 0x00bcc715 in qt_sendSpontaneousEvent () #42 0x00b08d3b in QWidgetPrivate::drawWidget () #43 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #44 0x00b08f59 in QWidgetPrivate::drawWidget () #45 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () ---Type <return> to continue, or q <return> to quit--- #46 0x00b08f59 in QWidgetPrivate::drawWidget () #47 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #48 0x00b08f59 in QWidgetPrivate::drawWidget () #49 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #50 0x00b08f59 in QWidgetPrivate::drawWidget () #51 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #52 0x00b093bc in QWidgetBackingStore::paintSiblingsRecursive () #53 0x00b08f59 in QWidgetPrivate::drawWidget () #54 0x00b09826 in QWidgetBackingStore::cleanRegion () #55 0x00b099b7 in QWidget::repaint () #56 0x00ae5d65 in QWidget::repaint () #57 0x00ae5ec0 in QWidget::repaint () #58 0x0097ec51 in lyx::frontend::GuiView::message () #59 0x0087eeb3 in lyx::frontend::WorkArea::resizeBufferView () #60 0x0099bd92 in lyx::frontend::GuiWorkArea::paintEvent () #61 0x00aed46d in QWidget::event () #62 0x00b92d48 in QFrame::event () #63 0x00b81a9c in QAbstractScrollArea::viewportEvent () #64 0x00b82021 in QAbstractScrollAreaViewport::event () #65 0x00ad1bf9 in QApplicationPrivate::notify_helper () #66 0x00ad1d48 in QApplication::notify () #67 0x00882398 in lyx::frontend::GuiApplication::notify () #68 0x00bcc715 in qt_sendSpontaneousEvent () ---Type <return> to continue, or q <return> to quit--- #69 0x00b08d3b in QWidgetPrivate::drawWidget () #70 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #71 0x00b08f59 in QWidgetPrivate::drawWidget () #72 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #73 0x00b08f59 in QWidgetPrivate::drawWidget () #74 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #75 0x00b08f59 in QWidgetPrivate::drawWidget () #76 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #77 0x00b08f59 in QWidgetPrivate::drawWidget () #78 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #79 0x00b093bc in QWidgetBackingStore::paintSiblingsRecursive () #80 0x00b08f59 in QWidgetPrivate::drawWidget () #81 0x00b09826 in QWidgetBackingStore::cleanRegion () #82 0x00b099b7 in QWidget::repaint () #83 0x00ae5d65 in QWidget::repaint () #84 0x00ae5ec0 in QWidget::repaint () #85 0x00985248 in lyx::frontend::GuiView::update_view_state_qt () #86 0x0087ef89 in lyx::frontend::WorkArea::resizeBufferView () #87 0x0099bd92 in lyx::frontend::GuiWorkArea::paintEvent () #88 0x00aed46d in QWidget::event () #89 0x00b92d48 in QFrame::event () #90 0x00b81a9c in QAbstractScrollArea::viewportEvent () #91 0x00b82021 in QAbstractScrollAreaViewport::event () ---Type <return> to continue, or q <return> to quit--- #92 0x00ad1bf9 in QApplicationPrivate::notify_helper () #93 0x00ad1d48 in QApplication::notify () #94 0x00882398 in lyx::frontend::GuiApplication::notify () #95 0x00bcc715 in qt_sendSpontaneousEvent () #96 0x00b08d3b in QWidgetPrivate::drawWidget () #97 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #98 0x00b08f59 in QWidgetPrivate::drawWidget () #99 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #100 0x00b08f59 in QWidgetPrivate::drawWidget () #101 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #102 0x00b08f59 in QWidgetPrivate::drawWidget () #103 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #104 0x00b08f59 in QWidgetPrivate::drawWidget () #105 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #106 0x00b093bc in QWidgetBackingStore::paintSiblingsRecursive () #107 0x00b08f59 in QWidgetPrivate::drawWidget () #108 0x00b09826 in QWidgetBackingStore::cleanRegion () #109 0x00b099b7 in QWidget::repaint () #110 0x00ae5d65 in QWidget::repaint () #111 0x00ae5ec0 in QWidget::repaint () #112 0x0097ec51 in lyx::frontend::GuiView::message () #113 0x0087eeb3 in lyx::frontend::WorkArea::resizeBufferView () #114 0x0099bd92 in lyx::frontend::GuiWorkArea::paintEvent () ---Type <return> to continue, or q <return> to quit--- #115 0x00aed46d in QWidget::event () #116 0x00b92d48 in QFrame::event () #117 0x00b81a9c in QAbstractScrollArea::viewportEvent () #118 0x00b82021 in QAbstractScrollAreaViewport::event () #119 0x00ad1bf9 in QApplicationPrivate::notify_helper () #120 0x00ad1d48 in QApplication::notify () #121 0x00882398 in lyx::frontend::GuiApplication::notify () #122 0x00bcc715 in qt_sendSpontaneousEvent () #123 0x00b08d3b in QWidgetPrivate::drawWidget () #124 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #125 0x00b08f59 in QWidgetPrivate::drawWidget () #126 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #127 0x00b08f59 in QWidgetPrivate::drawWidget () #128 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #129 0x00b08f59 in QWidgetPrivate::drawWidget () #130 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #131 0x00b08f59 in QWidgetPrivate::drawWidget () #132 0x00b09527 in QWidgetBackingStore::paintSiblingsRecursive () #133 0x00b093bc in QWidgetBackingStore::paintSiblingsRecursive () #134 0x00b08f59 in QWidgetPrivate::drawWidget () #135 0x00b09826 in QWidgetBackingStore::cleanRegion () #136 0x00b099b7 in QWidget::repaint () #137 0x00ae5d65 in QWidget::repaint () ---Type <return> to continue, or q <return> to quit--- -- Enrico