[Lazarus] crash on startup

Marco van de Voort fpc at pascalprogramming.org
Fri Apr 1 12:43:00 CEST 2022


I rebuilt Lazarus today (FPC trunk 2 days old -lazarus trunk today), and 
I suddenly got  a GPF while starting.

I ran under GDB and the traceback is:


Thread 1 received signal SIGILL, Illegal instruction.
DOAUTOADJUSTLAYOUT (this=0x1cb26440, AMODE=LAPAUTOADJUSTFORDPI, 
AXPROPORTION=0.80000000000000004,
     AYPROPORTION=0.80000000000000004) at include/customlistview.inc:684
684           C.MaxWidth := Round(C.MaxWidth * AXProportion);
(gdb) bt
#0  DOAUTOADJUSTLAYOUT (this=0x1cb26440, AMODE=LAPAUTOADJUSTFORDPI, 
AXPROPORTION=0.80000000000000004,
     AYPROPORTION=0.80000000000000004) at include/customlistview.inc:684
#1  0x00579a1d in AUTOADJUSTLAYOUT (this=0x1cb26440, 
AMODE=LAPAUTOADJUSTFORDPI, AFROMPPI=120, ATOPPI=96,
     AOLDFORMWIDTH=569, ANEWFORMWIDTH=455) at include/control.inc:4212
#2  0x0056966e in AUTOADJUSTLAYOUT (this=0x1cb26440, 
AMODE=LAPAUTOADJUSTFORDPI, AFROMPPI=120, ATOPPI=96,
     AOLDFORMWIDTH=569, ANEWFORMWIDTH=455) at include/wincontrol.inc:3880
#3  0x00569652 in AUTOADJUSTLAYOUT (this=0x1cb260a0, 
AMODE=LAPAUTOADJUSTFORDPI, AFROMPPI=120, ATOPPI=96,
     AOLDFORMWIDTH=569, ANEWFORMWIDTH=455) at include/wincontrol.inc:3878
#4  0x00569652 in AUTOADJUSTLAYOUT (this=0x1cb25b50, 
AMODE=LAPAUTOADJUSTFORDPI, AFROMPPI=120, ATOPPI=96,
     AOLDFORMWIDTH=569, ANEWFORMWIDTH=455) at include/wincontrol.inc:3878
#5  0x00435dc5 in AUTOADJUSTLAYOUT (this=0x1cb25b50, 
AMODE=LAPAUTOADJUSTFORDPI, AFROMPPI=120, ATOPPI=96,
     AOLDFORMWIDTH=569, ANEWFORMWIDTH=455) at 
include/customdesigncontrol.inc:34
#6  0x00436a5d in AFTERCONSTRUCTION (this=0x1cb25b50) at 
include/customform.inc:84
#7  0x009e788b in CREATE (this=0x1cb25b50, vmt=0x1, THEOWNER=0x1639ac90) 
at editormacrolistviewer.pas:1614
#8  0x009e25ee in MACROLISTVIEWER () at editormacrolistviewer.pas:332
#9  0x009e2a7e in LOADGLOBALINFO () at editormacrolistviewer.pas:418
#10 0x0044f17d in CREATE (this=0x1ac3a020, vmt=0x1, THEOWNER=0x1639ac90) 
at main.pp:1608
#11 0x00403a51 in main () at lazarus.pp:141
(gdb)

I use anchordocking procedure. Is this a known issue?



More information about the lazarus mailing list