View Issue Details

IDProjectCategoryView StatusLast Update
0025461LazarusCustom Drawnpublic2020-02-17 13:38
ReporterBart Broersma Assigned ToFelipe Monteiro de Carvalho  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Platformi386OSWindow 
Product Version1.3 (SVN) 
Summary0025461: Crash with empty CustomDrawn form on Win32
DescriptionAn empty form build with CustomDrawn on win32 will crash under certain curcumstances.
Steps To ReproduceCreate new application.
Build for CustomDrawn WS.
Open console
Run program.
Notice: console looses focus, but program does not get focus.
(Do NOT click on the form)
Press any key -> crash

The same happens if you run the program from explorer.
Explorer looses focus, program does not get foucus, press key -> crash.

If you first click on the form, it does not crash anymore.
Additional InformationBacktrace:
Starting program: C:\Users\Bart\LazarusProjecten\bugs\CD/cdtest.exe
[New Thread 6968.0x1828]
[DeliverMessage] Target = nil

Program received signal SIGSEGV, Segmentation fault.
0x00521ee0 in DELIVERMESSAGE (TARGET=0x0, AMESSAGE=void)
    at lclmessageglue.pas:114
114 Target.Dispatch(TLMessage(AMessage));
(gdb) bt
# 0 0x00521ee0 in DELIVERMESSAGE (TARGET=0x0, AMESSAGE=void)
    at lclmessageglue.pas:114
# 1 0x005222cd in LCLSENDKEYDOWNEVENT (TARGET=0x0, CHARCODE=32, KEYDATA=0,
    BEFOREEVENT=true, ISSYSKEY=false) at lclmessageglue.pas:840
# 2 0x00561aca in CALLBACKKEYDOWN (AWINDOWHANDLE=0x222a90, AKEY=32)
    at ./customdrawn/customdrawnprivate.pas:232
# 3 0x004d62c7 in WINDOWPROC (WINDOW=656476, MSG=256, WPARAM=32,
    LPARAM=3735553) at ./customdrawn/wincallback.inc:597
# 4 0x753662fa in USER32!OffsetRect () from C:\Windows\syswow64\user32.dll
# 5 0x000a045c in ?? ()
# 6 0x75366d3a in USER32!IsWindow () from C:\Windows\syswow64\user32.dll
# 7 0x004d5e10 in CALLDEFAULTWINDOWPROC (WINDOW=0, MSG=736546941,
    WPARAM=1966908958, LPARAM=0) at ./customdrawn/wincallback.inc:64
# 8 0x753677c4 in USER32!AnyPopup () from C:\Windows\syswow64\user32.dll
# 9 0x00000000 in ?? ()
(gdb)
TagsNo tags attached.
Fixed in Revision
LazTarget-
Widgetset
Attached Files

Relationships

related to 0036460 closedJuha Manninen CustomDraw widgetset for Windows target, crash on start 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2013-12-27 17:41 Bart Broersma New Issue
2013-12-27 17:42 Bart Broersma Additional Information Updated View Revisions
2014-09-15 15:10 Felipe Monteiro de Carvalho Assigned To => Felipe Monteiro de Carvalho
2014-09-15 15:10 Felipe Monteiro de Carvalho Status new => assigned
2020-02-17 13:38 Juha Manninen Relationship added related to 0036460