[Lazarus] Qt4 crash in CudaText
zeljko
zeljko at holobit.net
Sat Sep 28 09:12:03 CEST 2019
On 09/27/2019 07:40 PM, AlexeyT wrote:
> >> if (not EqualRect(LocalRect, sourceRect^) then
>
> Changed this; still crash. call stack is similar:
In that case it looks like a bug in Qt library (QPainter::drawImage is
called after our libQt4Pas inside Qt lib). What is your qt4 library
version ?
>
> #0 QTransform::type() const at :0
> #1 ?? at :0
> #2 QPainter::drawImage(QRectF const&, QImage const&, QRectF const&,
> QFlags<Qt::ImageConversionFlag>) at :0
> #3 QPainter_drawImage2 at :0
> #4 DRAWIMAGE(0x7fffdd6aad80, 0x7fffffffb2f4, 0x184edd0, 0x7fffffffb304,
> 0x0, 0x7fffffffb2e4, 0) at qt/qtobjects.pas:3612
> #5 STRETCHMASKBLT(0x7fffef808d30, 140736908144000, 0, 0, 438, 256,
> 140736908144384, 0, 0, 438, 256, 0, 0, 0, 13369376) at qt/qtwinapi.inc:6990
> #6 STRETCHBLT(0x7fffef808d30, 140736908144000, 0, 0, 438, 256,
> 140736908144384, 0, 0, 438, 256, 13369376) at qt/qtwinapi.inc:6787
> #7 STRETCHBLT(140736908144000, 0, 0, 438, 256, 140736908144384, 0, 0,
> 438, 256, 13369376) at include/winapi.inc:1025
> #8 COPYRECT(0x7fffd6997ae0, {LEFT = 0, TOP = 0, RIGHT = 438, BOTTOM =
> 256, TOPLEFT = {X = 0, Y = 0}, BOTTOMRIGHT = {X = 438, Y = 256}, VECTOR
> = {0, 0, 438, 256}}, 0x7fffd6997f00, {LEFT = 0, TOP = 0, RIGHT = 438,
> BOTTOM = 256, TOPLEFT = {X = 0, Y = 0}, BOTTOMRIGHT = {X = 438, Y =
> 256}, VECTOR = {0, 0, 438, 256}}) at include/canvas.inc:122
> #9 PAINT(0x7fffd6eae8f0) at atlistbox.pas:541
>
>
More information about the lazarus
mailing list