View Issue Details

IDProjectCategoryView StatusLast Update
0038753LazarusIDEpublic2021-04-15 22:18
ReporterBi0T1N Assigned ToMichl  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Fixed in Version2.1 (SVN) 
Summary0038753: IDE with AnchorDockingDsgn crashes on "Show headers"
DescriptionThe IDE with AnchorDockingDsgn crashes if you do a right click on the bottom middle where "Messages", "Watches", "Assembler", etc is shown but also on the right at the "Code Explorer"/"Components". You just need to click on "Show headers".
You'll notice that something happens on the left side of the IDE (moves a bit to the right) but the IDE crashes after that.
TagsNo tags attached.
Fixed in Revision64994
LazTarget-
WidgetsetWin32/Win64
Attached Files

Activities

Michl

2021-04-14 08:07

developer   ~0130367

Your widgetset is Win32/Win64. What is your OS and your Lazarus/FPC setup? Please add the info. You can find it via MainMenu -> Help -> About Lazarus -> right click in window and click on "Copy version inforation to clipboard"

I tested different Windows and different FPCs and don't get it.
Windows 10: Lazarus 2.1.0 r64988 FPC 3.0.4 i386-win32-win32/win64
Windows 7: Lazarus 2.1.0 r64988 FPC 3.2.0 x86_64-win64-win32/win64
Windows 7: Lazarus 2.1.0 r64988 FPC 3.3.1 x86_64-win64-win32/win64

Bi0T1N

2021-04-14 13:18

reporter   ~0130373

Last edited: 2021-04-14 13:22

View 4 revisions

I've added my Lazarus revision to the bug report but it seems it's lost (at least its not visible for me).

Lazarus 2.1.0 r64950 FPC 3.3.1 x86_64-win64-win32/win64 on Windows 10

Backtrace from gdb:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
0000001  0x0000000100b27921 in DRAW (this=0x7a12cf0, HEADERSTYLE=...) at anchordocking.pas:6275
0000002  0x0000000100b280f4 in PAINT (this=0x7a12cf0) at anchordocking.pas:6363
0000003  0x00000001001b6ceb in PAINTWINDOW (this=0x7a12cf0, DC=771819884) at include/customcontrol.inc:123
0000004  0x00000001001a0c1c in PAINTHANDLER (this=0x7a12cf0, THEMESSAGE=...) at include/wincontrol.inc:4857
0000005  0x00000001001a49cd in WMPAINT (this=0x7a12cf0, MSG=...) at include/wincontrol.inc:6836
0000006  0x00000001001b6c06 in WMPAINT (this=0x7a12cf0, MESSAGE=...) at include/customcontrol.inc:103
0000007  0x0000000100010ac2 in DISPATCH (this=0x7a12cf0, MESSAGE=0) at ../inc/objpas.inc:688
0000008  0x00000001001ad919 in WNDPROC (this=0x7a12cf0, THEMESSAGE=...) at include/control.inc:2282
0000009  0x00000001001a1f3d in WNDPROC (this=0x7a12cf0, MESSAGE=...) at include/wincontrol.inc:5429
0000010 0x00000001002838c5 in DELIVERMESSAGE (TARGET=0x7a12cf0, AMESSAGE=0) at lclmessageglue.pas:112
0000011 0x000000010017ef4e in SENDPAINTMESSAGE (this=..., CONTROLDC=0) at win32/win32callback.inc:746
0000012 0x0000000100183481 in DOWINDOWPROC (this=...) at win32/win32callback.inc:2357
0000013 0x00000001001846a0 in WINDOWPROC (WINDOW=197776, MSG=15, WPARAM=0, LPARAM=0) at win32/win32callback.inc:2774
0000014 0x00007ff876cce858 in USER32!CascadeChildWindows () from C:\WINDOWS\System32\user32.dll
0000015 0x0000000000030490 in ?? ()
0000016 0x0000000000000001 in ?? ()
0000017 0x0000000000000000 in ?? ()

Michl

2021-04-14 18:40

developer   ~0130377

Fixed in Trunk, revision 64994. If you checkout this revision, you have to delete your environmentoptions.xml, or the error isn't gone. Please test and close if OK.

Issue History

Date Modified Username Field Change
2021-04-13 21:57 Bi0T1N New Issue
2021-04-13 22:03 Michl Assigned To => Michl
2021-04-13 22:03 Michl Status new => assigned
2021-04-14 08:07 Michl Status assigned => feedback
2021-04-14 08:07 Michl LazTarget => -
2021-04-14 08:07 Michl Note Added: 0130367
2021-04-14 13:18 Bi0T1N Note Added: 0130373
2021-04-14 13:18 Bi0T1N Status feedback => assigned
2021-04-14 13:21 Bi0T1N Note Edited: 0130373 View Revisions
2021-04-14 13:22 Bi0T1N Note Edited: 0130373 View Revisions
2021-04-14 13:22 Bi0T1N Note Edited: 0130373 View Revisions
2021-04-14 18:40 Michl Status assigned => resolved
2021-04-14 18:40 Michl Resolution open => fixed
2021-04-14 18:40 Michl Fixed in Version => 2.1 (SVN)
2021-04-14 18:40 Michl Fixed in Revision => 64994
2021-04-14 18:40 Michl Widgetset Win32/Win64 => Win32/Win64
2021-04-14 18:40 Michl Note Added: 0130377
2021-04-15 22:18 Bi0T1N Status resolved => closed