I am getting crashes with Qt4 while scrolling a document (no matter if
using the mouse wheel, or PageDown, or the scrollbar).

Everything seems fine, but after scrolling a while the crash invariably
occurs. I attach here two backtraces obtained with two different documents.
The Qt3 frontend does not show this problem.

-- 
Enrico
Program received signal SIGSEGV, Segmentation fault.
0x00b61a38 in comp_func_solid_Source ()
(gdb) bt
#0  0x00b61a38 in comp_func_solid_Source ()
#1  0x00b2d29e in blend_color_generic ()
#2  0x00a43c74 in drawLine_midpoint_i ()
#3  0x00a4c2ed in QRasterPaintEngine::drawPolygon ()
#4  0x009c361d in QPainter::drawPolyline ()
#5  0x008d162d in lyx::frontend::QLPainter::lines ()
#6  0x00629f15 in mathed_draw_deco ()
#7  0x006a344e in InsetMathDecoration::draw ()
#8  0x0062ef8a in MathArray::draw ()
#9  0x006aedea in InsetMathGrid::drawWithMargin ()
#10 0x006af052 in InsetMathGrid::draw ()
#11 0x006541a5 in InsetMathHull::draw ()
#12 0x005bde8c in (anonymous namespace)::RowPainter::paintInset ()
#13 0x005be579 in (anonymous namespace)::RowPainter::paintFromPos ()
#14 0x005bf084 in (anonymous namespace)::RowPainter::paintText ()
#15 0x005bfcae in (anonymous namespace)::paintPar ()
#16 0x005c010f in paintText ()
#17 0x007c439b in lyx::frontend::WorkArea::redraw ()
#18 0x007c28b4 in lyx::frontend::WorkArea::scrollBufferView ()
#19 0x0091c6b0 in QWidget::event ()
#20 0x009b8f18 in QFrame::event ()
#21 0x009b7b01 in QAbstractScrollArea::viewportEvent ()
#22 0x009b80c1 in QAbstractScrollAreaViewport::event ()
#23 0x008ff509 in QApplicationPrivate::notify_helper ()
#24 0x009002a6 in QApplication::notify ()
#25 0x009ca83b in QETWidget::translateWheelEvent ()
#26 0x009ce31a in [EMAIL PROTECTED] ()
#27 0x77e4158f in USER32!GetTopWindow () from /c/WINNT/system32/USER32.DLL
#28 0x00060138 in ?? ()
#29 0x0000020a in ?? ()
#30 0xff880000 in ?? ()
#31 0x010e022b in uc_decomposition_map ()
#32 0x0022aff8 in ?? ()
#33 0xdcbaabcd in ?? ()
#34 0x0022af2c in ?? ()
#35 0x77e41dc9 in USER32!GetWindowLongW () from /c/WINNT/system32/USER32.DLL
#36 0x009cdba0 in QETWidget::translateTabletEvent ()

Program received signal SIGSEGV, Segmentation fault.
0x00b61a10 in comp_func_solid_Source ()
(gdb) bt
#0  0x00b61a10 in comp_func_solid_Source ()
#1  0x00b2d29e in blend_color_generic ()
#2  0x00a43c74 in drawLine_midpoint_i ()
#3  0x00a4bc2f in QRasterPaintEngine::drawLines ()
#4  0x009c3995 in QPainter::drawLines ()
#5  0x008d074a in lyx::frontend::QLPainter::line ()
#6  0x006fbf81 in InsetVSpace::draw ()
#7  0x005bde8c in (anonymous namespace)::RowPainter::paintInset ()
#8  0x005be579 in (anonymous namespace)::RowPainter::paintFromPos ()
#9  0x005bf084 in (anonymous namespace)::RowPainter::paintText ()
#10 0x005bfcae in (anonymous namespace)::paintPar ()
#11 0x005c010f in paintText ()
#12 0x007c439b in lyx::frontend::WorkArea::redraw ()
#13 0x007c28b4 in lyx::frontend::WorkArea::scrollBufferView ()
#14 0x0091c6b0 in QWidget::event ()
#15 0x009b8f18 in QFrame::event ()
#16 0x009b7b01 in QAbstractScrollArea::viewportEvent ()
#17 0x009b80c1 in QAbstractScrollAreaViewport::event ()
#18 0x008ff509 in QApplicationPrivate::notify_helper ()
#19 0x009002a6 in QApplication::notify ()
#20 0x009ca83b in QETWidget::translateWheelEvent ()
#21 0x009ce31a in [EMAIL PROTECTED] ()
#22 0x77e4158f in USER32!GetTopWindow () from /c/WINNT/system32/USER32.DLL
#23 0x00350142 in ?? ()
#24 0x0000020a in ?? ()
#25 0xff880000 in ?? ()
#26 0x013b0268 in ?? ()
#27 0x0022aff8 in ?? ()
#28 0xdcbaabcd in ?? ()
#29 0x0022af2c in ?? ()
#30 0x77e41dc9 in USER32!GetWindowLongW () from /c/WINNT/system32/USER32.DLL
#31 0x009cdba0 in QETWidget::translateTabletEvent ()

Reply via email to