Recent

Author Topic: [SOLVED] Various IDE crashes (macOS)  (Read 273 times)

trev

  • Hero Member
  • *****
  • Posts: 718
  • Former Delphi 1-7 and 10.2 User
[SOLVED] Various IDE crashes (macOS)
« on: March 02, 2020, 07:37:24 am »
Code: [Select]
Process:               lazarus [44224]
Path:                  /Users/USER/*/startlazarus.app/Contents/MacOS/lazarus
Identifier:            com.company.startlazarus
Version:               0.1 (1)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           lazarus [44224]
User ID:               501

Date/Time:             2020-03-03 09:40:33.538 +1100
OS Version:            Mac OS X 10.14.6 (18G3020)
Report Version:        12
Bridge OS Version:     4.2 (17P3050)
Anonymous UUID:        68427B02-5BF2-98D7-E302-842C914CCE6D


Time Awake Since Boot: 490000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: index >= 0'
abort() called
terminating with uncaught exception of type NSException

Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff427f9acd __exceptionPreprocess + 256
1   libobjc.A.dylib                     0x00007fff6cefba17 objc_exception_throw + 48
2   CoreFoundation                      0x00007fff428147e6 +[NSException raise:format:arguments:] + 98
3   Foundation                          0x00007fff44ab5791 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
4   AppKit                              0x00007fff3fd5387c -[NSMenu insertItem:atIndex:] + 845
5   lazarus                             0x0000000108016adc COCOAWSMENUS$_$TCOCOAWSMENUITEM_$__$$_ATTACHMENU$TMENUITEM + 716
6   lazarus                             0x00000001080690d6 MENUS$_$TMENUITEM_$__$$_CREATEHANDLE + 182
7   lazarus                             0x000000010806a9d0 MENUS$_$TMENUITEM_$__$$_HANDLENEEDED + 48
8   lazarus                             0x000000010806c9f2 MENUS$_$TMENUITEM_$__$$_SETVISIBLE$BOOLEAN + 178
9   lazarus                             0x00000001082ea54c MENUINTF$_$TIDEMENUSECTION_$_UPDATECONTAINER_$$_UPDATESECTION$TIDEMENUSECTION + 348
10  lazarus                             0x00000001082ea4b6 MENUINTF$_$TIDEMENUSECTION_$_UPDATECONTAINER_$$_UPDATESECTION$TIDEMENUSECTION + 198
11  lazarus                             0x00000001082ea3e6 MENUINTF$_$TIDEMENUSECTION_$__$$_UPDATECONTAINER + 118
12  lazarus                             0x00000001082ea7f3 MENUINTF$_$TIDEMENUSECTION_$__$$_UPDATEVISIBLECOMMANDCOUNT$LONGINT + 259
13  lazarus                             0x00000001082e8d94 MENUINTF$_$TIDEMENUITEM_$__$$_SETVISIBLE$BOOLEAN + 180
14  lazarus                             0x00000001082ec2fd MENUINTF$_$TIDEMENUSECTION_$__$$_SETVISIBLE$BOOLEAN + 45
15  lazarus                             0x0000000107ea1859 MAINBASE$_$TMAINIDEBASE_$__$$_UPDATEWINDOWMENU + 2473
16  lazarus                             0x0000000107e9be8d MAINBASE$_$TMAINIDEBASE_$__$$_DOMNUWINDOWCLICKED$TOBJECT + 29
17  lazarus                             0x00000001082e839f MENUINTF$_$TIDEMENUITEM_$__$$_MENUITEMCLICK$TOBJECT + 47
18  lazarus                             0x00000001082ec22a MENUINTF$_$TIDEMENUSECTION_$__$$_MENUITEMCLICK$TOBJECT + 26
19  lazarus                             0x0000000108068cb4 MENUS$_$TMENUITEM_$__$$_CLICK + 324
20  lazarus                             0x00000001080696ca MENUS$_$TMENUITEM_$__$$_DOCLICKED$formal + 58
21  lazarus                             0x0000000107de7979 SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal + 185
22  lazarus                             0x0000000108015860 COCOAWSMENUS$_$TLCLMENUITEMCALLBACK_$__$$_ITEMSELECTED + 64
23  lazarus                             0x00000001080165cd -[TCocoaMenuItem menuNeedsUpdate:] + 93
24  AppKit                              0x00007fff40055f1a -[NSMenu _populateFromDelegateWithEventRef:] + 340
25  AppKit                              0x00007fff3ff3b4a5 -[NSMenu _populateWithEventRef:] + 81
26  AppKit                              0x00007fff4005516e -[NSCarbonMenuImpl _carbonPopulateEvent:handlerCallRef:] + 466
27  AppKit                              0x00007fff40054ee2 NSSLMMenuEventHandler + 1193
28  HIToolbox                           0x00007fff4199f22e _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1422
29  HIToolbox                           0x00007fff4199e5df _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 371
30  HIToolbox                           0x00007fff4199e465 SendEventToEventTargetWithOptions + 45
31  HIToolbox                           0x00007fff419f7fef _Z16SendMenuPopulateP8MenuDataP20OpaqueEventTargetRefjdjP14OpaqueEventRefhPh + 318
32  HIToolbox                           0x00007fff419f7d89 _ZL12PopulateMenuP8MenuDataP20OpaqueEventTargetRefP13CheckMenuDatajd + 100
33  HIToolbox                           0x00007fff419f7529 _ZL21Check1MenuForKeyEventP8MenuDataP13CheckMenuData + 245
34  HIToolbox                           0x00007fff419f6a3f _ZL21CheckMenusForKeyEventP8MenuDataP13CheckMenuData + 705
35  HIToolbox                           0x00007fff419f670d _Z15_IsMenuKeyEventP8MenuDataP14OpaqueEventRefjPS0_Pt + 455
36  HIToolbox                           0x00007fff419f64ff IsMenuKeyEvent + 111
37  AppKit                              0x00007fff40262c45 +[NSCarbonMenuImpl _menuItemWithKeyEquivalentMatchingEventRef:inMenu:includingDisabledItems:] + 213
38  AppKit                              0x00007fff40054881 _NSFindMenuItemMatchingCommandKeyEvent + 163
39  AppKit                              0x00007fff40085372 -[NSMenu performKeyEquivalent:] + 143
40  AppKit                              0x00007fff4050ad5f routeKeyEquivalent + 860
41  AppKit                              0x00007fff3fd43128 -[NSApplication(NSEvent) sendEvent:] + 1064
42  lazarus                             0x0000000107ff49bb -[TCocoaApplication sendEvent:] + 795
43  lazarus                             0x0000000107ff512d COCOAINT$_$TCOCOAWIDGETSET_$__$$_APPRUNMESSAGES$BOOLEAN$NSDATE + 157
44  lazarus                             0x0000000107ff51e2 COCOAINT$_$TCOCOAWIDGETSET_$__$$_APPWAITMESSAGE + 50
45  lazarus                             0x0000000107e45cc6 FORMS$_$TAPPLICATION_$__$$_IDLE$BOOLEAN + 214
46  lazarus                             0x0000000107e48208 FORMS$_$TAPPLICATION_$__$$_HANDLEMESSAGE + 72
47  lazarus                             0x0000000107e48801 FORMS$_$TAPPLICATION_$__$$_RUNLOOP + 81
48  lazarus                             0x0000000107ff4269 -[TCocoaApplication run] + 121
49  lazarus                             0x0000000107ff5085 COCOAINT$_$TCOCOAWIDGETSET_$__$$_APPRUN$TAPPLICATIONMAINLOOP + 85
50  lazarus                             0x0000000107e487a4 FORMS$_$TAPPLICATION_$__$$_RUN + 100
51  lazarus                             0x0000000107dd5759 PASCALMAIN + 729
52  lazarus                             0x0000000107df885c FPC_SysEntry + 12
53  libdyld.dylib                       0x00007fff6e6ca3d5 start + 1

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        0x00007fff6e8052c2 __pthread_kill + 10
1   libsystem_pthread.dylib        0x00007fff6e8c0bf1 pthread_kill + 284
2   libsystem_c.dylib              0x00007fff6e76f6a6 abort + 127
3   libc++abi.dylib                0x00007fff6b94a641 abort_message + 231
4   libc++abi.dylib                0x00007fff6b94a7df default_terminate_handler() + 267
5   libobjc.A.dylib                0x00007fff6cefdee3 _objc_terminate() + 97
6   libc++abi.dylib                0x00007fff6b95619e std::__terminate(void (*)()) + 8
7   libc++abi.dylib                0x00007fff6b955f86 __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) + 27
8   libc++abi.dylib                0x00007fff6b948f99 __cxa_throw + 113
9   libobjc.A.dylib                0x00007fff6cefbb51 objc_exception_throw + 362
10  com.apple.CoreFoundation      0x00007fff428147e6 +[NSException raise:format:arguments:] + 98
11  com.apple.Foundation          0x00007fff44ab5791 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
12  com.apple.AppKit              0x00007fff3fd5387c -[NSMenu insertItem:atIndex:] + 845
13  lazarus                        0x0000000108016adc COCOAWSMENUS$_$TCOCOAWSMENUITEM_$__$$_ATTACHMENU$TMENUITEM + 716
14  lazarus                        0x00000001080690d6 MENUS$_$TMENUITEM_$__$$_CREATEHANDLE + 182
15  lazarus                        0x000000010806a9d0 MENUS$_$TMENUITEM_$__$$_HANDLENEEDED + 48
16  lazarus                        0x000000010806c9f2 MENUS$_$TMENUITEM_$__$$_SETVISIBLE$BOOLEAN + 178
17  lazarus                        0x00000001082ea54c MENUINTF$_$TIDEMENUSECTION_$_UPDATECONTAINER_$$_UPDATESECTION$TIDEMENUSECTION + 348
18  lazarus                        0x00000001082ea4b6 MENUINTF$_$TIDEMENUSECTION_$_UPDATECONTAINER_$$_UPDATESECTION$TIDEMENUSECTION + 198
19  lazarus                        0x00000001082ea3e6 MENUINTF$_$TIDEMENUSECTION_$__$$_UPDATECONTAINER + 118
20  lazarus                        0x00000001082ea7f3 MENUINTF$_$TIDEMENUSECTION_$__$$_UPDATEVISIBLECOMMANDCOUNT$LONGINT + 259
21  lazarus                        0x00000001082e8d94 MENUINTF$_$TIDEMENUITEM_$__$$_SETVISIBLE$BOOLEAN + 180
22  lazarus                        0x00000001082ec2fd MENUINTF$_$TIDEMENUSECTION_$__$$_SETVISIBLE$BOOLEAN + 45
23  lazarus                        0x0000000107ea1859 MAINBASE$_$TMAINIDEBASE_$__$$_UPDATEWINDOWMENU + 2473
24  lazarus                        0x0000000107e9be8d MAINBASE$_$TMAINIDEBASE_$__$$_DOMNUWINDOWCLICKED$TOBJECT + 29
25  lazarus                        0x00000001082e839f MENUINTF$_$TIDEMENUITEM_$__$$_MENUITEMCLICK$TOBJECT + 47
26  lazarus                        0x00000001082ec22a MENUINTF$_$TIDEMENUSECTION_$__$$_MENUITEMCLICK$TOBJECT + 26
27  lazarus                        0x0000000108068cb4 MENUS$_$TMENUITEM_$__$$_CLICK + 324
28  lazarus                        0x00000001080696ca MENUS$_$TMENUITEM_$__$$_DOCLICKED$formal + 58
29  lazarus                        0x0000000107de7979 SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal + 185
30  lazarus                        0x000000010802f9f5 LCLMESSAGEGLUE_$$_DELIVERMESSAGE$TOBJECT$formal$$INT64 + 293
31  lazarus                        0x0000000108015860 COCOAWSMENUS$_$TLCLMENUITEMCALLBACK_$__$$_ITEMSELECTED + 64
32  lazarus                        0x00000001080165cd -[TCocoaMenuItem menuNeedsUpdate:] + 93
33  com.apple.AppKit              0x00007fff40055f1a -[NSMenu _populateFromDelegateWithEventRef:] + 340
34  com.apple.AppKit              0x00007fff3ff3b4a5 -[NSMenu _populateWithEventRef:] + 81
35  com.apple.AppKit              0x00007fff4005516e -[NSCarbonMenuImpl _carbonPopulateEvent:handlerCallRef:] + 466
36  com.apple.AppKit              0x00007fff40054ee2 NSSLMMenuEventHandler + 1193
37  com.apple.HIToolbox            0x00007fff4199f22e DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1422
38  com.apple.HIToolbox            0x00007fff4199e5df SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 371
39  com.apple.HIToolbox            0x00007fff4199e465 SendEventToEventTargetWithOptions + 45
40  com.apple.HIToolbox            0x00007fff419f7fef SendMenuPopulate(MenuData*, OpaqueEventTargetRef*, unsigned int, double, unsigned int, OpaqueEventRef*, unsigned char, unsigned char*) + 318
41  com.apple.HIToolbox            0x00007fff419f7d89 PopulateMenu(MenuData*, OpaqueEventTargetRef*, CheckMenuData*, unsigned int, double) + 100
42  com.apple.HIToolbox            0x00007fff419f7529 Check1MenuForKeyEvent(MenuData*, CheckMenuData*) + 245
43  com.apple.HIToolbox            0x00007fff419f6a3f CheckMenusForKeyEvent(MenuData*, CheckMenuData*) + 705
44  com.apple.HIToolbox            0x00007fff419f670d _IsMenuKeyEvent(MenuData*, OpaqueEventRef*, unsigned int, MenuData**, unsigned short*) + 455
45  com.apple.HIToolbox            0x00007fff419f64ff IsMenuKeyEvent + 111
46  com.apple.AppKit              0x00007fff40262c45 +[NSCarbonMenuImpl _menuItemWithKeyEquivalentMatchingEventRef:inMenu:includingDisabledItems:] + 213
47  com.apple.AppKit              0x00007fff40054881 _NSFindMenuItemMatchingCommandKeyEvent + 163
48  com.apple.AppKit              0x00007fff40085372 -[NSMenu performKeyEquivalent:] + 143
49  com.apple.AppKit              0x00007fff4050ad5f routeKeyEquivalent + 860
50  com.apple.AppKit              0x00007fff3fd43128 -[NSApplication(NSEvent) sendEvent:] + 1064
51  lazarus                        0x0000000107ff49bb -[TCocoaApplication sendEvent:] + 795
52  lazarus                        0x0000000107ff512d COCOAINT$_$TCOCOAWIDGETSET_$__$$_APPRUNMESSAGES$BOOLEAN$NSDATE + 157
53  lazarus                        0x0000000107ff51e2 COCOAINT$_$TCOCOAWIDGETSET_$__$$_APPWAITMESSAGE + 50
54  lazarus                        0x0000000107e45cc6 FORMS$_$TAPPLICATION_$__$$_IDLE$BOOLEAN + 214
55  lazarus                        0x0000000107e48208 FORMS$_$TAPPLICATION_$__$$_HANDLEMESSAGE + 72
56  lazarus                        0x0000000107e48801 FORMS$_$TAPPLICATION_$__$$_RUNLOOP + 81
57  lazarus                        0x0000000107ff4269 -[TCocoaApplication run] + 121
58  lazarus                        0x0000000107ff5085 COCOAINT$_$TCOCOAWIDGETSET_$__$$_APPRUN$TAPPLICATIONMAINLOOP + 85
59  lazarus                        0x0000000107e487a4 FORMS$_$TAPPLICATION_$__$$_RUN + 100
60  lazarus                        0x0000000107dd5759 PASCALMAIN + 729
61  lazarus                        0x0000000107df885c FPC_SysEntry + 12
62  lazarus                        0x0000000107dd5426 FPC_SYSTEMMAIN + 70
63  lazarus                        0x0000000107dd5477 main + 39
64  libdyld.dylib                  0x00007fff6e6ca3d5 start + 1

Thread 1:: com.apple.NSEventThread
0   libsystem_kernel.dylib        0x00007fff6e7ff21a mach_msg_trap + 10
1   libsystem_kernel.dylib        0x00007fff6e7ff768 mach_msg + 60
2   com.apple.CoreFoundation      0x00007fff4274399e __CFRunLoopServiceMachPort + 328
3   com.apple.CoreFoundation      0x00007fff42742f0c __CFRunLoopRun + 1612
4   com.apple.CoreFoundation      0x00007fff4274266e CFRunLoopRunSpecific + 455
5   com.apple.AppKit              0x00007fff3fd404a2 _NSEventThread + 175
6   libsystem_pthread.dylib        0x00007fff6e8be2eb _pthread_body + 126
7   libsystem_pthread.dylib        0x00007fff6e8c1249 _pthread_start + 66
8   libsystem_pthread.dylib        0x00007fff6e8bd40d thread_start + 13

Thread 2:
0   libsystem_pthread.dylib        0x00007fff6e8bd3f0 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib        0x00007fff6e8bd3f0 start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib        0x00007fff6e8bd3f0 start_wqthread + 0

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00000001188e65c0  rcx: 0x00007ffee7e288a8  rdx: 0x0000000000000000
  rdi: 0x0000000000000307  rsi: 0x0000000000000006  rbp: 0x00007ffee7e288e0  rsp: 0x00007ffee7e288a8
   r8: 0x00007ffee7e28770   r9: 0x00007ffee7e28940  r10: 0x0000000000000000  r11: 0x0000000000000206
  r12: 0x0000000000000307  r13: 0x0000003000000008  r14: 0x0000000000000006  r15: 0x000000000000002d
  rip: 0x00007fff6e8052c2  rfl: 0x0000000000000206  cr2: 0x00007fffa4e41188
 
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133

Various crashes, all very similar to the above, occur.

Causes (intermittent):

1) Typing ALT-D in the Source Code Editor
2) Changing the Interval property for a TTimer component

[EDIT]

Resolved with a later trunk revision.
« Last Edit: May 11, 2020, 02:02:23 pm by trev »
o Lazarus v2.1.0 r63272, FPC v3.3.1 r45525, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (Parallels VM)
o FPC 3.0.4, FreeBSD 12-STABLE r361007 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

 

TinyPortal © 2005-2018