View Issue Details

IDProjectCategoryView StatusLast Update
0014400LazarusLCLpublic2009-08-21 18:48
ReporterBernd Assigned ToPaul Ishenin  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformWindowsOSWin98 
Product Version0.9.27 (SVN) 
Target Version0.9.28Fixed in Version0.9.29 (SVN) 
Summary0014400: Spritedemo fails on Windows 98
DescriptionSee the attached screenshot. The spritedemo shows garbage on Windows 98. I am still on Lazarus 0.9.24, but I would like to use the upcoming 0.9.28. So I "played" a bit with the latest snapshot.

The spritedemo worked with Lazarus 0.9.24 and 0.9.26. So this looks like a regression. The breaking Lazarus revision is 19285.
TagsNo tags attached.
Fixed in Revision21384
LazTarget0.9.28
WidgetsetWin32/Win64
Attached Files

Activities

2009-08-21 12:35

 

sprite.gif (97,783 bytes)   
sprite.gif (97,783 bytes)   

Vincent Snijders

2009-08-21 13:33

manager   ~0030051

r19285 http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&revision=19285 is a change in the code tools, I cannot see how this would effect the sprite demo.

Bernd

2009-08-21 14:18

reporter   ~0030054

my fault, sorry. r19284 is the breaking revision.

Bernd

2009-08-21 14:52

reporter   ~0030056

running the exe from the command line produces a SIGSEGV. I created a backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x025a8dda in TransparentBlt () from C:\WINDOWS\SYSTEM\MSIMG32.DLL
(gdb) bt
#0 0x025a8dda in TransparentBlt () from C:\WINDOWS\SYSTEM\MSIMG32.DLL
0000001 0x025a1a4d in MSIMG32!GradientFill () from C:\WINDOWS\SYSTEM\MSIMG32.DLL
0000002 0x025a1b32 in MSIMG32!DllInitialize () from C:\WINDOWS\SYSTEM\MSIMG32.DLL
0000003 0x004ecb01 in TWIN32WIDGETSET__STRETCHMASKBLT (DESTDC=1946, X=201, Y=225,
    WIDTH=48, HEIGHT=48, SRCDC=4894, XSRC=0, YSRC=0, SRCWIDTH=48,
    SRCHEIGHT=48, MASK=0, XMASK=0, YMASK=0, ROP=13369376, this=0xf880a4)
    at win32winapi.inc:3497
0000004 0x0044e35f in STRETCHMASKBLT (DESTDC=1946, X=201, Y=225, WIDTH=48,
    HEIGHT=48, SRCDC=4894, XSRC=0, YSRC=0, SRCWIDTH=48, SRCHEIGHT=48, MASK=0,
    XMASK=0, YMASK=0, ROP=13369376) at lclintf.inc:487
0000005 0x00452372 in TRASTERIMAGE__DRAW (DESTCANVAS=0xf902b8, DESTRECT=
        {LEFT = 201, TOP = 225, RIGHT = 249, BOTTOM = 273, TOPLEFT = {X = 201, Y
 = 225}, BOTTOMRIGHT = {X = 249, Y = 273}}, this=0xf583fc)
    at rasterimage.inc:250
0000006 0x004587fe in TCANVAS__STRETCHDRAW (DESTRECT=
        {LEFT = 201, TOP = 225, RIGHT = 249, BOTTOM = 273, TOPLEFT = {X = 201, Y
 = 225}, BOTTOMRIGHT = {X = 249, Y = 273}}, SRCGRAPHIC=0xf583fc,
    this=0xf902b8) at canvas.inc:54
0000007 0x0045874f in TCANVAS__DRAW (X=201, Y=225, SRCGRAPHIC=0xf583fc,
    this=0xf902b8) at canvas.inc:32
0000008 0x0041f87b in TPLAYGROUNDFORM__UPDATEIMAGE () at playground.pas:115
0000009 0x0041f60a in TPLAYGROUNDFORM__PLAYGROUNDFORMCREATE (SENDER=0x1050a98)
    at playground.pas:71
0000010 0x00415a93 in TCUSTOMFORM__DOCREATE (this=0xfa1ab0) at customform.inc:662
0000011 0x00417652 in TCUSTOMFORM__CREATE (AOWNER=0xf980ac, vmt=0x0,
    this=0xfa1ab0) at customform.inc:1469
0000012 0x00419096 in TFORM__CREATE (THEOWNER=0xf980ac, vmt=0x1, this=0xfa1ab0)
    at customform.inc:2338
0000013 0x0041e4a8 in TAPPLICATION__CREATEFORM (INSTANCECLASS=<incomplete type>,
    REFERENCE=void, this=0xf980ac) at application.inc:1875
0000014 0x00402886 in main () at spriteexample.lpr:12
(gdb)

Paul Ishenin

2009-08-21 16:34

manager   ~0030059

Interesting for me now. In r19284 I had removed some unused units from the uses sections of another units. I can't believe this can cause any bugs.

Paul Ishenin

2009-08-21 17:21

manager   ~0030063

Please test and close if ok.

Bernd

2009-08-21 18:48

reporter   ~0030067

yes thanks, the error is gone. I hope there is no hidden problem somewhere, if you just added the unused units again.

Issue History

Date Modified Username Field Change
2009-08-21 12:35 Bernd New Issue
2009-08-21 12:35 Bernd File Added: sprite.gif
2009-08-21 12:35 Bernd Widgetset => Win32/Win64
2009-08-21 13:33 Vincent Snijders LazTarget => 0.9.28
2009-08-21 13:33 Vincent Snijders Note Added: 0030051
2009-08-21 13:33 Vincent Snijders Status new => acknowledged
2009-08-21 13:33 Vincent Snijders Target Version => 0.9.28
2009-08-21 14:18 Bernd Note Added: 0030054
2009-08-21 14:52 Bernd Note Added: 0030056
2009-08-21 16:34 Paul Ishenin Note Added: 0030059
2009-08-21 17:21 Paul Ishenin Fixed in Revision => 21384
2009-08-21 17:21 Paul Ishenin Status acknowledged => resolved
2009-08-21 17:21 Paul Ishenin Fixed in Version => 0.9.29 (SVN)
2009-08-21 17:21 Paul Ishenin Resolution open => fixed
2009-08-21 17:21 Paul Ishenin Assigned To => Paul Ishenin
2009-08-21 17:21 Paul Ishenin Note Added: 0030063
2009-08-21 18:48 Bernd Note Added: 0030067
2009-08-21 18:48 Bernd Status resolved => closed