Recent

Author Topic: IDE crashing when resizing my form (Cocoa IDE error happening at design time)  (Read 386 times)

MISV

  • Hero Member
  • *****
  • Posts: 618
My form is quite big - seems to trip a recursive resize error:

Quote
Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff2f3f1e45 __exceptionPreprocess + 256
1   libobjc.A.dylib                     0x00007fff5a0243c6 objc_exception_throw + 48
2   CoreFoundation                      0x00007fff2f3f1c77 +[NSException raise:format:] + 193
3   AppKit                              0x00007fff2d290b89 _NSRunModal + 156
4   AppKit                              0x00007fff2cd5a2cf -[NSAlert runModal] + 225
5   lazarus                             0x000000010804e9db COCOAINT_$$_COCOAPROMPTUSER$crcF62BAB40 + 1123
6   lazarus                             0x000000010804eb7b COCOAINT$_$TCOCOAWIDGETSET_$__$$_PROMPTUSER$crc484A2DB2 + 83
7   lazarus                             0x0000000107fdc0ed LCLINTF_$$_PROMPTUSER$crc484A2DB2 + 93
8   lazarus                             0x0000000107fdc9de LCLINTF_$$_PROMPTUSER$crcB76EAC20 + 182
9   lazarus                             0x0000000107ebb2f8 FORMS$_$TAPPLICATION_$__$$_SHOWEXCEPTION$EXCEPTION + 768
10  lazarus                             0x0000000108281f31 LCLEXCEPTIONSTACKTRACE$_$TEVENTCONTAINER_$__$$_HANDLEAPPLICATIONEXCEPTION$TOBJECT$EXCEPTION + 465
11  lazarus                             0x0000000107eba314 FORMS$_$TAPPLICATION_$__$$_HANDLEEXCEPTION$TOBJECT + 436
12  lazarus                             0x00000001080789c7 LCLMESSAGEGLUE_$$_DELIVERMESSAGE$TOBJECT$formal$$INT64 + 343
13  lazarus                             0x0000000108078c85 LCLMESSAGEGLUE_$$_LCLSENDMOVEMSG$TCONTROL$SMALLINT$SMALLINT$INT64$BOOLEAN$$INT64 + 117
14  lazarus                             0x000000010807691a COCOAWSCOMMON$_$TLCLCOMMONCALLBACK_$__$$_BOUNDSDIDCHANGE$ID + 674
15  lazarus                             0x0000000108076671 COCOAWSCOMMON$_$TLCLCOMMONCALLBACK_$__$$_FRAMEDIDCHANGE$ID + 41
16  lazarus                             0x0000000108050bcd -[TCocoaCustomControl setFrame:] + 253
17  lazarus                             0x000000010817c065 -[TCocoaTabPageView setFrame:] + 205
18  AppKit                              0x00007fff2cc6d257 -[NSTabView _resizeSelectedTabViewItem] + 186
19  AppKit                              0x00007fff2cc6fa6b -[NSTabView setFrameSize:] + 203
20  AppKit                              0x00007fff2ca381a1 -[NSView setFrame:] + 478
21  lazarus                             0x000000010817c33c -[TCocoaTabControl setFrame:] + 76
22  lazarus                             0x0000000108051fb5 -[NSView(LCLViewExtension) lclSetFrame:] + 269
23  lazarus                             0x0000000108077a0f COCOAWSCOMMON$_$TCOCOAWSWINCONTROL_$__$$_SETBOUNDS$TWINCONTROL$LONGINT$LONGINT$LONGINT$LONGINT + 111
24  lazarus                             0x0000000108092e9e CONTROLS$_$TWINCONTROL_$__$$_DOSENDBOUNDSTOINTERFACE + 270
25  lazarus                             0x0000000108092fd1 CONTROLS$_$TWINCONTROL_$__$$_REALIZEBOUNDS + 217
26  lazarus                             0x0000000108093306 CONTROLS$_$TWINCONTROL_$__$$_REALIZEBOUNDSRECURSIVE + 230
27  lazarus                             0x00000001080932f0 CONTROLS$_$TWINCONTROL_$__$$_REALIZEBOUNDSRECURSIVE + 208
28  lazarus                             0x00000001080932f0 CONTROLS$_$TWINCONTROL_$__$$_REALIZEBOUNDSRECURSIVE + 208
29  lazarus                             0x00000001080932f0 CONTROLS$_$TWINCONTROL_$__$$_REALIZEBOUNDSRECURSIVE + 208
30  lazarus                             0x00000001080932f0 CONTROLS$_$TWINCONTROL_$__$$_REALIZEBOUNDSRECURSIVE + 208
31  lazarus                             0x00000001080932f0 CONTROLS$_$TWINCONTROL_$__$$_REALIZEBOUNDSRECURSIVE + 208
32  lazarus                             0x00000001080932f0 CONTROLS$_$TWINCONTROL_$__$$_REALIZEBOUNDSRECURSIVE + 208
33  lazarus                             0x00000001080932f0 CONTROLS$_$TWINCONTROL_$__$$_REALIZEBOUNDSRECURSIVE + 208
34  lazarus                             0x00000001080885ab CONTROLS$_$TWINCONTROL_$__$$_DOALLAUTOSIZE + 275
35  lazarus                             0x00000001080a2009 CONTROLS$_$TCONTROL_$__$$_ENABLEAUTOSIZING + 233
36  lazarus                             0x00000001080a1ff6 CONTROLS$_$TCONTROL_$__$$_ENABLEAUTOSIZING + 214
37  lazarus                             0x00000001080a1ff6 CONTROLS$_$TCONTROL_$__$$_ENABLEAUTOSIZING + 214
38  lazarus                             0x000000010809ecca CONTROLS$_$TCONTROL_$__$$_SETVISIBLE$BOOLEAN + 418
39  lazarus                             0x00000001080e1db8 COMCTRLS$_$TCUSTOMTABCONTROL_$__$$_SHOWCURRENTPAGE + 120
40  lazarus                             0x00000001080e1ad1 COMCTRLS$_$TCUSTOMTABCONTROL_$__$$_CHANGE + 25
41  lazarus                             0x00000001080e1cf5 COMCTRLS$_$TCUSTOMTABCONTROL_$__$$_CNNOTIFY$TLMNOTIFY + 245
42  lazarus                             0x0000000107e69993 SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal + 203
43  lazarus                             0x000000010808c696 CONTROLS$_$TWINCONTROL_$__$$_WNDPROC$TLMESSAGE + 806
44  lazarus                             0x000000010807ae5f CONTROLS_$$_DOCONTROLMSG$HWND$formal$$BOOLEAN + 79
45  lazarus                             0x000000010809038d CONTROLS$_$TWINCONTROL_$__$$_WMNOTIFY$TLMNOTIFY + 37
46  lazarus                             0x0000000107e69993 SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal + 203
47  lazarus                             0x000000010808c696 CONTROLS$_$TWINCONTROL_$__$$_WNDPROC$TLMESSAGE + 806
48  lazarus                             0x0000000108078950 LCLMESSAGEGLUE_$$_DELIVERMESSAGE$TOBJECT$formal$$INT64 + 224
49  lazarus                             0x000000010816dcde COCOAWSCOMCTRLS$_$TLCLTABCONTROLCALLBACK_$__$$_DIDSELECTTABVIEWITEM$LONGINT + 158
50  lazarus                             0x000000010817c89a -[TCocoaTabControl tabView:didSelectTabViewItem:] + 106
51  AppKit                              0x00007fff2cc6efec -[NSTabView selectTabViewItem:] + 1153
52  AppKit                              0x00007fff2cc7107c -[NSTabView _addedTab:atIndex:] + 150
53  lazarus                             0x000000010817b895 COCOATABCONTROLS_$$_ATTACHALLTABS$TCOCOATABCONTROL + 141
54  lazarus                             0x000000010817b9a2 COCOATABCONTROLS_$$_REVISETABS$TCOCOATABCONTROL$BOOLEAN$BOOLEAN + 258
55  lazarus                             0x000000010817beb1 COCOATABCONTROLS_$$_UPDATETABANDARROWVISIBILITY$TCOCOATABCONTROL + 33
56  lazarus                             0x000000010817c363 -[TCocoaTabControl setFrame:] + 115
57  AppKit                              0x00007fff2ca3f3ef -[NSView resizeWithOldSuperviewSize:] + 769
58  AppKit                              0x00007fff2ca3ef7d -[NSView resizeSubviewsWithOldSize:] + 515
59  AppKit                              0x00007fff2ca38e70 -[NSView setFrameSize:] + 1803
60  AppKit                              0x00007fff2ca5268a -[NSControl setFrameSize:] + 90
61  AppKit                              0x00007fff2ca381a1 -[NSView setFrame:] + 478
62  lazarus                             0x0000000108050b8a -[TCocoaCustomControl setFrame:] + 186
63  AppKit                              0x00007fff2ca3f3ef -[NSView resizeWithOldSuperviewSize:] + 769
64  AppKit                              0x00007fff2ca3ef7d -[NSView resizeSubviewsWithOldSize:] + 515
65  AppKit                              0x00007fff2ca38e70 -[NSView setFrameSize:] + 1803
66  AppKit                              0x00007fff2caaaef1 -[NSClipView setFrameSize:] + 425
67  AppKit                              0x00007fff2ca381a1 -[NSView setFrame:] + 478
68  AppKit                              0x00007fff2ca7e273 -[NSScrollView _setContentViewFrame:] + 322
69  AppKit                              0x00007fff2ca7db3f -[NSScrollView _applyContentAreaLayout:] + 1054
70  AppKit                              0x00007fff2ca7a939 -[NSScrollView tile] + 815
71  AppKit                              0x00007fff2ca7a560 -[NSScrollView _tileWithoutRecursing] + 47
72  AppKit                              0x00007fff2caaaba5 -[NSScrollView _update] + 27
73  AppKit                              0x00007fff2ca38e70 -[NSView setFrameSize:] + 1803
74  AppKit                              0x00007fff2caaa6e2 -[NSScrollView setFrameSize:] + 865
75  AppKit                              0x00007fff2ca92884 -[NSWindow _oldPlaceWindow:] + 985
76  AppKit                              0x00007fff2ca91c77 -[NSWindow _setFrameCommon:display:stashSize:] + 2814
77  AppKit                              0x00007fff2ca91166 -[NSWindow _setFrame:display:allowImplicitAnimation:stashSize:] + 192
78  AppKit                              0x00007fff2ca9109f -[NSWindow setFrame:display:] + 51
79  AppKit                              0x00007fff2d475335 -[NSWindow(NSWindowResizing) _resizeSetFrame:withEvent:] + 107
80  AppKit                              0x00007fff2cdb95a0 -[NSWindow(NSWindowResizing) _resizeWithEvent:] + 2736
81  AppKit                              0x00007fff2d249db1 -[NSTitledFrame attemptResizeWithEvent:] + 177
82  AppKit                              0x00007fff2cd08a79 -[NSThemeFrame handleMouseDown:] + 297
83  AppKit                              0x00007fff2cd08c6b -[NSThemeFrame mouseDown:] + 30
84  AppKit                              0x00007fff2cbe916f -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 5724
85  AppKit                              0x00007fff2cb1f9de -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2295
86  AppKit                              0x00007fff2cb1ee9f -[NSWindow(NSEventRouting) sendEvent:] + 478
87  lazarus                             0x0000000108068516 -[TCocoaWindow sendEvent:] + 502
88  AppKit                              0x00007fff2c9be6c3 -[NSApplication(NSEvent) sendEvent:] + 331
89  lazarus                             0x000000010804497a -[TCocoaApplication sendEvent:] + 610
90  lazarus                             0x0000000108044fdf COCOAINT$_$TCOCOAWIDGETSET_$__$$_APPRUNMESSAGES$BOOLEAN$NSDATE + 151
91  lazarus                             0x000000010804504d COCOAINT$_$TCOCOAWIDGETSET_$__$$_APPPROCESSMESSAGES + 37
92  lazarus                             0x0000000107eba46d FORMS$_$TAPPLICATION_$__$$_HANDLEMESSAGE + 45
93  lazarus                             0x0000000107eba98c FORMS$_$TAPPLICATION_$__$$_RUNLOOP + 76
94  lazarus                             0x0000000108044b40 -[TCocoaApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 136
95  AppKit                              0x00007fff2c9aceb0 -[NSApplication run] + 699
96  lazarus                             0x0000000108044f43 COCOAINT$_$TCOCOAWIDGETSET_$__$$_APPRUN$TAPPLICATIONMAINLOOP + 83
97  lazarus                             0x0000000107eba938 FORMS$_$TAPPLICATION_$__$$_RUN + 96
98  lazarus                             0x0000000107e58cf2 PASCALMAIN + 706
99  lazarus                             0x0000000107e78789 FPC_SYSTEMMAIN + 41
100 ???                                 0x0000000000000005 0x0 + 5

MISV

  • Hero Member
  • *****
  • Posts: 618
Quote
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib           0x00007fff5b9842c6 __pthread_kill + 10
1   libsystem_pthread.dylib          0x00007fff5ba39bf1 pthread_kill + 284
2   libsystem_c.dylib                0x00007fff5b8ee6a6 abort + 127
3   libc++abi.dylib                  0x00007fff588b0641 abort_message + 231
4   libc++abi.dylib                  0x00007fff588b07df default_terminate_handler() + 267
5   libobjc.A.dylib                  0x00007fff5a02677b _objc_terminate() + 97
6   libc++abi.dylib                  0x00007fff588bc19e std::__terminate(void (*)()) + 8
7   libc++abi.dylib                  0x00007fff588afc7e __cxa_rethrow + 99
8   libobjc.A.dylib                  0x00007fff5a0247fb objc_exception_rethrow + 40
9   com.apple.AppKit                 0x00007fff2d290d7e _NSRunModal + 657
10  com.apple.AppKit                 0x00007fff2cd5a2cf -[NSAlert runModal] + 225
11  lazarus.freepascal.ide           0x000000010804e9db COCOAINT_$$_COCOAPROMPTUSER$crcF62BAB40 + 1123
12  lazarus.freepascal.ide           0x000000010804eb7b COCOAINT$_$TCOCOAWIDGETSET_$__$$_PROMPTUSER$crc484A2DB2 + 83
13  lazarus.freepascal.ide           0x0000000107fdc0ed LCLINTF_$$_PROMPTUSER$crc484A2DB2 + 93
14  lazarus.freepascal.ide           0x0000000107fdc9de LCLINTF_$$_PROMPTUSER$crcB76EAC20 + 182
15  lazarus.freepascal.ide           0x0000000107ebb2f8 FORMS$_$TAPPLICATION_$__$$_SHOWEXCEPTION$EXCEPTION + 768
16  lazarus.freepascal.ide           0x0000000108281f31 LCLEXCEPTIONSTACKTRACE$_$TEVENTCONTAINER_$__$$_HANDLEAPPLICATIONEXCEPTION$TOBJECT$EXCEPTION + 465
17  lazarus.freepascal.ide           0x0000000107eba314 FORMS$_$TAPPLICATION_$__$$_HANDLEEXCEPTION$TOBJECT + 436
18  lazarus.freepascal.ide           0x00000001080789c7 LCLMESSAGEGLUE_$$_DELIVERMESSAGE$TOBJECT$formal$$INT64 + 343
19  lazarus.freepascal.ide           0x0000000108078c85 LCLMESSAGEGLUE_$$_LCLSENDMOVEMSG$TCONTROL$SMALLINT$SMALLINT$INT64$BOOLEAN$$INT64 + 117
20  lazarus.freepascal.ide           0x000000010807691a COCOAWSCOMMON$_$TLCLCOMMONCALLBACK_$__$$_BOUNDSDIDCHANGE$ID + 674
21  lazarus.freepascal.ide           0x0000000108076671 COCOAWSCOMMON$_$TLCLCOMMONCALLBACK_$__$$_FRAMEDIDCHANGE$ID + 41
22  lazarus.freepascal.ide           0x0000000108050bcd -[TCocoaCustomControl setFrame:] + 253
23  lazarus.freepascal.ide           0x000000010817c065 -[TCocoaTabPageView setFrame:] + 205
24  com.apple.AppKit                 0x00007fff2cc6d257 -[NSTabView _resizeSelectedTabViewItem] + 186
25  com.apple.AppKit                 0x00007fff2cc6fa6b -[NSTabView setFrameSize:] + 203
26  com.apple.AppKit                 0x00007fff2ca381a1 -[NSView setFrame:] + 478
27  lazarus.freepascal.ide           0x000000010817c33c -[TCocoaTabControl setFrame:] + 76
28  lazarus.freepascal.ide           0x0000000108051fb5 -[NSView(LCLViewExtension) lclSetFrame:] + 269
29  lazarus.freepascal.ide           0x0000000108077a0f COCOAWSCOMMON$_$TCOCOAWSWINCONTROL_$__$$_SETBOUNDS$TWINCONTROL$LONGINT$LONGINT$LONGINT$LONGINT + 111
30  lazarus.freepascal.ide           0x0000000108092e9e CONTROLS$_$TWINCONTROL_$__$$_DOSENDBOUNDSTOINTERFACE + 270
31  lazarus.freepascal.ide           0x0000000108092fd1 CONTROLS$_$TWINCONTROL_$__$$_REALIZEBOUNDS + 217
32  lazarus.freepascal.ide           0x0000000108093306 CONTROLS$_$TWINCONTROL_$__$$_REALIZEBOUNDSRECURSIVE + 230
33  lazarus.freepascal.ide           0x00000001080932f0 CONTROLS$_$TWINCONTROL_$__$$_REALIZEBOUNDSRECURSIVE + 208
34  lazarus.freepascal.ide           0x00000001080932f0 CONTROLS$_$TWINCONTROL_$__$$_REALIZEBOUNDSRECURSIVE + 208
35  lazarus.freepascal.ide           0x00000001080932f0 CONTROLS$_$TWINCONTROL_$__$$_REALIZEBOUNDSRECURSIVE + 208
36  lazarus.freepascal.ide           0x00000001080932f0 CONTROLS$_$TWINCONTROL_$__$$_REALIZEBOUNDSRECURSIVE + 208
37  lazarus.freepascal.ide           0x00000001080932f0 CONTROLS$_$TWINCONTROL_$__$$_REALIZEBOUNDSRECURSIVE + 208
38  lazarus.freepascal.ide           0x00000001080932f0 CONTROLS$_$TWINCONTROL_$__$$_REALIZEBOUNDSRECURSIVE + 208
39  lazarus.freepascal.ide           0x00000001080932f0 CONTROLS$_$TWINCONTROL_$__$$_REALIZEBOUNDSRECURSIVE + 208
40  lazarus.freepascal.ide           0x00000001080885ab CONTROLS$_$TWINCONTROL_$__$$_DOALLAUTOSIZE + 275
41  lazarus.freepascal.ide           0x00000001080a2009 CONTROLS$_$TCONTROL_$__$$_ENABLEAUTOSIZING + 233
42  lazarus.freepascal.ide           0x00000001080a1ff6 CONTROLS$_$TCONTROL_$__$$_ENABLEAUTOSIZING + 214
43  lazarus.freepascal.ide           0x00000001080a1ff6 CONTROLS$_$TCONTROL_$__$$_ENABLEAUTOSIZING + 214
44  lazarus.freepascal.ide           0x000000010809ecca CONTROLS$_$TCONTROL_$__$$_SETVISIBLE$BOOLEAN + 418
45  lazarus.freepascal.ide           0x00000001080e1db8 COMCTRLS$_$TCUSTOMTABCONTROL_$__$$_SHOWCURRENTPAGE + 120
46  lazarus.freepascal.ide           0x00000001080e1ad1 COMCTRLS$_$TCUSTOMTABCONTROL_$__$$_CHANGE + 25
47  lazarus.freepascal.ide           0x00000001080e1cf5 COMCTRLS$_$TCUSTOMTABCONTROL_$__$$_CNNOTIFY$TLMNOTIFY + 245
48  lazarus.freepascal.ide           0x0000000107e69993 SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal + 203
49  lazarus.freepascal.ide           0x000000010808c696 CONTROLS$_$TWINCONTROL_$__$$_WNDPROC$TLMESSAGE + 806
50  lazarus.freepascal.ide           0x000000010807ae5f CONTROLS_$$_DOCONTROLMSG$HWND$formal$$BOOLEAN + 79
51  lazarus.freepascal.ide           0x000000010809038d CONTROLS$_$TWINCONTROL_$__$$_WMNOTIFY$TLMNOTIFY + 37
52  lazarus.freepascal.ide           0x0000000107e69993 SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal + 203
53  lazarus.freepascal.ide           0x000000010808c696 CONTROLS$_$TWINCONTROL_$__$$_WNDPROC$TLMESSAGE + 806
54  lazarus.freepascal.ide           0x0000000108078950 LCLMESSAGEGLUE_$$_DELIVERMESSAGE$TOBJECT$formal$$INT64 + 224
55  lazarus.freepascal.ide           0x000000010816dcde COCOAWSCOMCTRLS$_$TLCLTABCONTROLCALLBACK_$__$$_DIDSELECTTABVIEWITEM$LONGINT + 158
56  lazarus.freepascal.ide           0x000000010817c89a -[TCocoaTabControl tabView:didSelectTabViewItem:] + 106
57  com.apple.AppKit                 0x00007fff2cc6efec -[NSTabView selectTabViewItem:] + 1153
58  com.apple.AppKit                 0x00007fff2cc7107c -[NSTabView _addedTab:atIndex:] + 150
59  lazarus.freepascal.ide           0x000000010817b895 COCOATABCONTROLS_$$_ATTACHALLTABS$TCOCOATABCONTROL + 141
60  lazarus.freepascal.ide           0x000000010817b9a2 COCOATABCONTROLS_$$_REVISETABS$TCOCOATABCONTROL$BOOLEAN$BOOLEAN + 258
61  lazarus.freepascal.ide           0x000000010817beb1 COCOATABCONTROLS_$$_UPDATETABANDARROWVISIBILITY$TCOCOATABCONTROL + 33
62  lazarus.freepascal.ide           0x000000010817c363 -[TCocoaTabControl setFrame:] + 115
63  com.apple.AppKit                 0x00007fff2ca3f3ef -[NSView resizeWithOldSuperviewSize:] + 769
64  com.apple.AppKit                 0x00007fff2ca3ef7d -[NSView resizeSubviewsWithOldSize:] + 515
65  com.apple.AppKit                 0x00007fff2ca38e70 -[NSView setFrameSize:] + 1803
66  com.apple.AppKit                 0x00007fff2ca5268a -[NSControl setFrameSize:] + 90
67  com.apple.AppKit                 0x00007fff2ca381a1 -[NSView setFrame:] + 478
68  lazarus.freepascal.ide           0x0000000108050b8a -[TCocoaCustomControl setFrame:] + 186
69  com.apple.AppKit                 0x00007fff2ca3f3ef -[NSView resizeWithOldSuperviewSize:] + 769
70  com.apple.AppKit                 0x00007fff2ca3ef7d -[NSView resizeSubviewsWithOldSize:] + 515
71  com.apple.AppKit                 0x00007fff2ca38e70 -[NSView setFrameSize:] + 1803
72  com.apple.AppKit                 0x00007fff2caaaef1 -[NSClipView setFrameSize:] + 425
73  com.apple.AppKit                 0x00007fff2ca381a1 -[NSView setFrame:] + 478
74  com.apple.AppKit                 0x00007fff2ca7e273 -[NSScrollView _setContentViewFrame:] + 322
75  com.apple.AppKit                 0x00007fff2ca7db3f -[NSScrollView _applyContentAreaLayout:] + 1054
76  com.apple.AppKit                 0x00007fff2ca7a939 -[NSScrollView tile] + 815
77  com.apple.AppKit                 0x00007fff2ca7a560 -[NSScrollView _tileWithoutRecursing] + 47
78  com.apple.AppKit                 0x00007fff2caaaba5 -[NSScrollView _update] + 27
79  com.apple.AppKit                 0x00007fff2ca38e70 -[NSView setFrameSize:] + 1803
80  com.apple.AppKit                 0x00007fff2caaa6e2 -[NSScrollView setFrameSize:] + 865
81  com.apple.AppKit                 0x00007fff2ca92884 -[NSWindow _oldPlaceWindow:] + 985
82  com.apple.AppKit                 0x00007fff2ca91c77 -[NSWindow _setFrameCommon:display:stashSize:] + 2814
83  com.apple.AppKit                 0x00007fff2ca91166 -[NSWindow _setFrame:display:allowImplicitAnimation:stashSize:] + 192
84  com.apple.AppKit                 0x00007fff2ca9109f -[NSWindow setFrame:display:] + 51
85  com.apple.AppKit                 0x00007fff2d475335 -[NSWindow(NSWindowResizing) _resizeSetFrame:withEvent:] + 107
86  com.apple.AppKit                 0x00007fff2cdb95a0 -[NSWindow(NSWindowResizing) _resizeWithEvent:] + 2736
87  com.apple.AppKit                 0x00007fff2d249db1 -[NSTitledFrame attemptResizeWithEvent:] + 177
88  com.apple.AppKit                 0x00007fff2cd08a79 -[NSThemeFrame handleMouseDown:] + 297
89  com.apple.AppKit                 0x00007fff2cd08c6b -[NSThemeFrame mouseDown:] + 30
90  com.apple.AppKit                 0x00007fff2cbe916f -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 5724
91  com.apple.AppKit                 0x00007fff2cb1f9de -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2295
92  com.apple.AppKit                 0x00007fff2cb1ee9f -[NSWindow(NSEventRouting) sendEvent:] + 478
93  lazarus.freepascal.ide           0x0000000108068516 -[TCocoaWindow sendEvent:] + 502
94  com.apple.AppKit                 0x00007fff2c9be6c3 -[NSApplication(NSEvent) sendEvent:] + 331
95  lazarus.freepascal.ide           0x000000010804497a -[TCocoaApplication sendEvent:] + 610
96  lazarus.freepascal.ide           0x0000000108044fdf COCOAINT$_$TCOCOAWIDGETSET_$__$$_APPRUNMESSAGES$BOOLEAN$NSDATE + 151
97  lazarus.freepascal.ide           0x000000010804504d COCOAINT$_$TCOCOAWIDGETSET_$__$$_APPPROCESSMESSAGES + 37
98  lazarus.freepascal.ide           0x0000000107eba46d FORMS$_$TAPPLICATION_$__$$_HANDLEMESSAGE + 45
99  lazarus.freepascal.ide           0x0000000107eba98c FORMS$_$TAPPLICATION_$__$$_RUNLOOP + 76
100 lazarus.freepascal.ide           0x0000000108044b40 -[TCocoaApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 136
101 com.apple.AppKit                 0x00007fff2c9aceb0 -[NSApplication run] + 699
102 lazarus.freepascal.ide           0x0000000108044f43 COCOAINT$_$TCOCOAWIDGETSET_$__$$_APPRUN$TAPPLICATIONMAINLOOP + 83
103 lazarus.freepascal.ide           0x0000000107eba938 FORMS$_$TAPPLICATION_$__$$_RUN + 96
104 lazarus.freepascal.ide           0x0000000107e58cf2 PASCALMAIN + 706
105 lazarus.freepascal.ide           0x0000000107e78789 FPC_SYSTEMMAIN + 41

Thread 1:
0   libsystem_pthread.dylib          0x00007fff5ba363f0 start_wqthread + 0

Thread 2:: com.apple.NSEventThread
0   libsystem_kernel.dylib           0x00007fff5b97e22a mach_msg_trap + 10
1   libsystem_kernel.dylib           0x00007fff5b97e76c mach_msg + 60
2   com.apple.CoreFoundation         0x00007fff2f33c3bd __CFRunLoopServiceMachPort + 327
3   com.apple.CoreFoundation         0x00007fff2f33b92a __CFRunLoopRun + 1619
4   com.apple.CoreFoundation         0x00007fff2f33b085 CFRunLoopRunSpecific + 459
5   com.apple.AppKit                 0x00007fff2c9bbd1a _NSEventThread + 175
6   libsystem_pthread.dylib          0x00007fff5ba372eb _pthread_body + 126
7   libsystem_pthread.dylib          0x00007fff5ba3a249 _pthread_start + 66
8   libsystem_pthread.dylib          0x00007fff5ba3640d thread_start + 13

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2264
    • havefunsoft.com
what is the error message?
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

VTwin

  • Hero Member
  • *****
  • Posts: 762
  • Former Turbo Pascal 3 user
This happens to me fairly often, but I've not yet found a pattern. Luckily it does not seem to happen in compiled applications.
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.11.6: Lazarus 2.0 fixes svn 61897 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.4 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.4 (64 bit on VBox)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2264
    • havefunsoft.com
i can see two issues happening here.
the first one, is related to resizing (...sigh... )

the other one, is an exception when trying to show a modal window.
This happens during an animation phase for macOS 10.14 (and higher)
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

MISV

  • Hero Member
  • *****
  • Posts: 618
I will write if I find a good way to reproduce...

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2264
    • havefunsoft.com
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz