racket / racket/drracket

DrRacket crashes w/mutation while enumeration

Open
#614 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
516
Forks
103
PR merge metrics
No merged PRs in 30d

Description

I'm still on 8.7 until the end of the semester. That is, I know, outdated, but I couldn't find an existing matching issue. I don't have a good repo example, but I triggered it roughly by opening DrRacket w/a bunch of CS1 assignments and interacting with the first couple. These submissions were generally using image and universe. Some were using the htdp hashlangs, others not.

In one of the only other issues I saw that had Scall in their crash repo, in the discussion someone else mentions their related issue occurring with multiple tabs open (though I'm unclear how related this is.) Don't know if this is helpful.

2023-05-15 15:55:15.732 DrRacket[27045:9438166] *** Terminating app due to uncaught exception 'NSGenericException', reason: '*** Collection <__NSArrayM: 0x600003833570> was mutated while being enumerated.'
*** First throw call stack:
(
	0   CoreFoundation                      0x00000001bde11148 __exceptionPreprocess + 240
	1   libobjc.A.dylib                     0x00000001bdb5be04 objc_exception_throw + 60
	2   CoreFoundation                      0x00000001bde9c9bc -[__NSSingleObjectEnumerator init] + 0
	3   AppKit                              0x00000001c09c5538 NSViewUpdateVibrancyForSubtree + 212
	4   AppKit                              0x00000001c09c5544 NSViewUpdateVibrancyForSubtree + 224
	5   AppKit                              0x00000001c09c5544 NSViewUpdateVibrancyForSubtree + 224
	6   AppKit                              0x00000001c09c5360 -[NSWindow displayIfNeeded] + 208
	7   ???                                 0x00000001341baa10 0x0 + 5169195536
	8   ???                                 0x000000010cf8b55c 0x0 + 4512593244
	9   CoreFoundation                      0x00000001bde29bb8 ___CFXRegistrationPost_block_invoke + 52
	10  CoreFoundation                      0x00000001bde29b24 _CFXRegistrationPost + 456
	11  CoreFoundation                      0x00000001bdd540f8 _CFXNotificationPost + 732
	12  Foundation                          0x00000001bec19c28 -[NSNotificationCenter postNotificationName:object:userInfo:] + 96
	13  AppKit                              0x00000001c0949208 -[NSWindow _setFrameCommon:display:fromServer:] + 3284
	14  AppKit                              0x00000001c0947eac -[NSThemeFrame setStyleMask:] + 632
	15  AppKit                              0x00000001c0947930 __25-[NSWindow setStyleMask:]_block_invoke + 1396
	16  AppKit                              0x00000001c0947360 NSPerformVisuallyAtomicChange + 140
	17  AppKit                              0x00000001c0947260 -[NSWindow setStyleMask:] + 200
	18  AppKit                              0x00000001c0bf0bc8 -[NSWindow(NSSheets) _setSheet:] + 148
	19  AppKit                              0x00000001c0ba7470 -[NSApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:] + 1096
	20  ???                                 0x000000029d8e260c 0x0 + 11233273356
	21  DrRacket                            0x000000010438c808 Scall2 + 120
	22  DrRacket                            0x00000001042fcbbc racket_boot + 1512
	23  DrRacket                            0x00000001042fc4d8 main + 1788
	24  dyld                                0x000000010734d08c start + 520
)
libc++abi: terminating with uncaught exception of type NSException
Abort trap: 6

Full report below

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               DrRacket [27045]
Path:                  /Applications/Racket v8.7/*/DrRacket.app/Contents/MacOS/DrRacket
Identifier:            org.racket-lang.DrRacket
Version:               8.7 (8.7)
Code Type:             ARM-64 (Native)
Parent Process:        bash [25604]
Responsible:           Emacs [29253]
User ID:               501

Date/Time:             2023-05-15 15:55:15.7666 -0400
OS Version:            macOS 12.6 (21G115)
Report Version:        12
Anonymous UUID:        D3C23952-0418-C538-6B42-5297EE8A94A1

Sleep/Wake UUID:       288F40DA-E17D-4AF9-AA08-5EB529AD5F2D

Time Awake Since Boot: 490000 seconds
Time Since Wake:       20403 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:
abort() called


Application Specific Backtrace 0:
0   CoreFoundation                      0x00000001bde11148 __exceptionPreprocess + 240
1   libobjc.A.dylib                     0x00000001bdb5be04 objc_exception_throw + 60
2   CoreFoundation                      0x00000001bde9c9bc -[__NSSingleObjectEnumerator init] + 0
3   AppKit                              0x00000001c09c5538 NSViewUpdateVibrancyForSubtree + 212
4   AppKit                              0x00000001c09c5544 NSViewUpdateVibrancyForSubtree + 224
5   AppKit                              0x00000001c09c5544 NSViewUpdateVibrancyForSubtree + 224
6   AppKit                              0x00000001c09c5360 -[NSWindow displayIfNeeded] + 208
7   ???                                 0x00000001341baa10 0x0 + 5169195536
8   ???                                 0x000000010cf8b55c 0x0 + 4512593244
9   CoreFoundation                      0x00000001bde29bb8 ___CFXRegistrationPost_block_invoke + 52
10  CoreFoundation                      0x00000001bde29b24 _CFXRegistrationPost + 456
11  CoreFoundation                      0x00000001bdd540f8 _CFXNotificationPost + 732
12  Foundation                          0x00000001bec19c28 -[NSNotificationCenter postNotificationName:object:userInfo:] + 96
13  AppKit                              0x00000001c0949208 -[NSWindow _setFrameCommon:display:fromServer:] + 3284
14  AppKit                              0x00000001c0947eac -[NSThemeFrame setStyleMask:] + 632
15  AppKit                              0x00000001c0947930 __25-[NSWindow setStyleMask:]_block_invoke + 1396
16  AppKit                              0x00000001c0947360 NSPerformVisuallyAtomicChange + 140
17  AppKit                              0x00000001c0947260 -[NSWindow setStyleMask:] + 200
18  AppKit                              0x00000001c0bf0bc8 -[NSWindow(NSSheets) _setSheet:] + 148
19  AppKit                              0x00000001c0ba7470 -[NSApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:] + 1096
20  ???                                 0x000000029d8e260c 0x0 + 11233273356
21  DrRacket                            0x000000010438c808 Scall2 + 120
22  DrRacket                            0x00000001042fcbbc racket_boot + 1512
23  DrRacket                            0x00000001042fc4d8 main + 1788
24  dyld                                0x000000010734d08c start + 520


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x1bdc8ed98 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x1bdcc3ee0 pthread_kill + 288
2   libsystem_c.dylib             	       0x1bdbfe340 abort + 168
3   libc++abi.dylib               	       0x1bdc7eb08 abort_message + 132
4   libc++abi.dylib               	       0x1bdc6e950 demangling_terminate_handler() + 336
5   libobjc.A.dylib               	       0x1bdb64320 _objc_terminate() + 144
6   libc++abi.dylib               	       0x1bdc7dea4 std::__terminate(void (*)()) + 20
7   libc++abi.dylib               	       0x1bdc80c1c __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) + 36
8   libc++abi.dylib               	       0x1bdc80bc8 __cxa_throw + 140
9   libobjc.A.dylib               	       0x1bdb5bf6c objc_exception_throw + 420
10  CoreFoundation                	       0x1bde9c9bc __NSFastEnumerationMutationHandler + 172
11  AppKit                        	       0x1c09c5538 NSViewUpdateVibrancyForSubtree + 212
12  AppKit                        	       0x1c09c5544 NSViewUpdateVibrancyForSubtree + 224
13  AppKit                        	       0x1c09c5544 NSViewUpdateVibrancyForSubtree + 224
14  AppKit                        	       0x1c09c5360 -[NSWindow displayIfNeeded] + 208
15  ???                           	       0x1341baa10 ???
16  ???                           	       0x10cf8b55c ???
17  CoreFoundation                	       0x1bde29bb8 ___CFXRegistrationPost_block_invoke + 52
18  CoreFoundation                	       0x1bde29b24 _CFXRegistrationPost + 456
19  CoreFoundation                	       0x1bdd540f8 _CFXNotificationPost + 732
20  Foundation                    	       0x1bec19c28 -[NSNotificationCenter postNotificationName:object:userInfo:] + 96
21  AppKit                        	       0x1c0949208 -[NSWindow _setFrameCommon:display:fromServer:] + 3284
22  AppKit                        	       0x1c0947eac -[NSThemeFrame setStyleMask:] + 632
23  AppKit                        	       0x1c0947930 __25-[NSWindow setStyleMask:]_block_invoke + 1396
24  AppKit                        	       0x1c0947360 NSPerformVisuallyAtomicChange + 140
25  AppKit                        	       0x1c0947260 -[NSWindow setStyleMask:] + 200
26  AppKit                        	       0x1c0bf0bc8 -[NSWindow(NSSheets) _setSheet:] + 148
27  AppKit                        	       0x1c0ba7470 -[NSApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:] + 1096
28  ???                           	       0x29d8e260c ???
29  DrRacket                      	       0x10438c808 Scall2 + 120
30  DrRacket                      	       0x1042fcbbc racket_boot + 1512
31  DrRacket                      	       0x1042fc4d8 main + 1788
32  dyld                          	       0x10734d08c start + 520

Thread 1:: com.apple.CFSocket.private
0   libsystem_kernel.dylib        	       0x1bdc91598 __select + 8
1   CoreFoundation                	       0x1bddbb808 __CFSocketManager + 644
2   libsystem_pthread.dylib       	       0x1bdcc426c _pthread_start + 148
3   libsystem_pthread.dylib       	       0x1bdcbf08c thread_start + 8

Thread 2:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	       0x1bdc868b0 mach_msg_trap + 8
1   libsystem_kernel.dylib        	       0x1bdc86d20 mach_msg + 76
2   CoreFoundation                	       0x1bdd91210 __CFRunLoopServiceMachPort + 372
3   CoreFoundation                	       0x1bdd8f6c0 __CFRunLoopRun + 1180
4   CoreFoundation                	       0x1bdd8ea84 CFRunLoopRunSpecific + 600
5   AppKit                        	       0x1c0a63100 _NSEventThread + 196
6   libsystem_pthread.dylib       	       0x1bdcc426c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x1bdcbf08c thread_start + 8

Thread 3:
0   libsystem_kernel.dylib        	       0x1bdc91f10 __sigwait + 8
1   libsystem_pthread.dylib       	       0x1bdcc4a48 sigwait + 40
2   DrRacket                      	       0x1043c3468 thread_signal_worker + 120
3   libsystem_pthread.dylib       	       0x1bdcc426c _pthread_start + 148
4   libsystem_pthread.dylib       	       0x1bdcbf08c thread_start + 8

Thread 4:
0   libsystem_kernel.dylib        	       0x1bdc8a270 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1bdcc483c _pthread_cond_wait + 1236
2   DrRacket                      	       0x1043c10f8 do_background_sleep + 88
3   libsystem_pthread.dylib       	       0x1bdcc426c _pthread_start + 148
4   libsystem_pthread.dylib       	       0x1bdcbf08c thread_start + 8

Thread 5:
0   libsystem_kernel.dylib        	       0x1bdc8a270 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1bdcc483c _pthread_cond_wait + 1236
2   DrRacket                      	       0x1043c2fa0 getaddrinfo_in_thread + 72
3   libsystem_pthread.dylib       	       0x1bdcc426c _pthread_start + 148
4   libsystem_pthread.dylib       	       0x1bdcbf08c thread_start + 8

Thread 6:
0   libsystem_kernel.dylib        	       0x1bdc91598 __select + 8
1   DrRacket                      	       0x1043c06d4 rktio_sleep + 1020
2   ???                           	       0x10994d61c ???
3   DrRacket                      	       0x10438c880 Scall0 + 100
4   DrRacket                      	       0x10438dc74 start_thread + 60
5   libsystem_pthread.dylib       	       0x1bdcc426c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x1bdcbf08c thread_start + 8

Thread 7:
0   libsystem_kernel.dylib        	       0x1bdc8a270 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1bdcc483c _pthread_cond_wait + 1236
2   DrRacket                      	       0x104337728 start_sweeper + 100
3   libsystem_pthread.dylib       	       0x1bdcc426c _pthread_start + 148
4   libsystem_pthread.dylib       	       0x1bdcbf08c thread_start + 8

Thread 8:
0   libsystem_pthread.dylib       	       0x1bdcbf078 start_wqthread + 0

Thread 9:
0   libsystem_pthread.dylib       	       0x1bdcbf078 start_wqthread + 0

Thread 10:
0   libsystem_pthread.dylib       	       0x1bdcbf078 start_wqthread + 0

Thread 11:
0   libsystem_pthread.dylib       	       0x1bdcbf078 start_wqthread + 0

Thread 12:
0   libsystem_pthread.dylib       	       0x1bdcbf078 start_wqthread + 0

Thread 13:
0   libsystem_pthread.dylib       	       0x1bdcbf078 start_wqthread + 0

Thread 14:
0   libsystem_pthread.dylib       	       0x1bdcbf078 start_wqthread + 0

Thread 15:
0   libsystem_pthread.dylib       	       0x1bdcbf078 start_wqthread + 0

Thread 16:
0   libsystem_pthread.dylib       	       0x1bdcbf078 start_wqthread + 0


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x00000001bdc820f5   x5: 0x000000016bb031a0   x6: 0x000000000000006e   x7: 0x0000000000000001
    x8: 0xadca3475d4eb2f55   x9: 0xadca3474d3d72ad5  x10: 0x0000000000000200  x11: 0x000000000000000b
   x12: 0x000000000000000b  x13: 0x00000001be1d22ed  x14: 0x00000001bdc8211b  x15: 0x0000000000000000
   x16: 0x0000000000000148  x17: 0x0000000217de7680  x18: 0x0000000000000000  x19: 0x0000000000000006
   x20: 0x00000001073c0580  x21: 0x0000000000000103  x22: 0x00000001073c0660  x23: 0x000000015680f560
   x24: 0x0000000109833dd0  x25: 0x00000002d54b7ce0  x26: 0x0000000135010dfd  x27: 0x0000000000001400
   x28: 0x0000000000000000   fp: 0x000000016bb03110   lr: 0x00000001bdcc3ee0
    sp: 0x000000016bb030f0   pc: 0x00000001bdc8ed98 cpsr: 0x40001000
   far: 0x00000001308cc000  esr: 0x56000080  Address size fault

Binary Images:
       0x1bdc85000 -        0x1bdcbcfff libsystem_kernel.dylib (*) <a9d87740-9c1d-3468-bf60-720a8d713cba> /usr/lib/system/libsystem_kernel.dylib
       0x1bdcbd000 -        0x1bdcc9fff libsystem_pthread.dylib (*) <63c4eef9-69a5-38b1-996e-8d31b66a051d> /usr/lib/system/libsystem_pthread.dylib
       0x1bdb84000 -        0x1bdc05fff libsystem_c.dylib (*) <b25d2080-bb9e-38d6-8236-9cef4b2f11a3> /usr/lib/system/libsystem_c.dylib
       0x1bdc6d000 -        0x1bdc84fff libc++abi.dylib (*) <4e8d8a11-4217-3d56-9d41-5426f7cf307c> /usr/lib/libc++abi.dylib
       0x1bdb43000 -        0x1bdb80fff libobjc.A.dylib (*) <ec96f0fa-6341-3e1d-be54-49b544e17f7d> /usr/lib/libobjc.A.dylib
       0x1bdd0c000 -        0x1be252fff com.apple.CoreFoundation (6.9) <fc3c193d-0cdb-3569-9f0e-bd2507ca1dbb> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x1c08b5000 -        0x1c176dfff com.apple.AppKit (6.9) <5e432f87-5b58-391a-a542-fa2d909dd210> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x1bec10000 -        0x1bf001fff com.apple.Foundation (6.9) <8bbf8f9b-0034-34f0-a2c5-13c31941632d> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
       0x1042f8000 -        0x1043d3fff org.racket-lang.DrRacket (8.7) <50c2fc4b-5173-33e8-8c52-a2b97e7eb644> /Applications/Racket v8.7/DrRacket.app/Contents/MacOS/DrRacket
       0x107348000 -        0x1073a7fff dyld (*) <38ee9fe9-b66d-3066-8c5c-6ddf0d6944c6> /usr/lib/dyld

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=853.0M resident=0K(0%) swapped_out_or_unallocated=853.0M(100%)
Writable regions: Total=3.5G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=3.5G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               640K        5 
Activity Tracing                   256K        1 
CG backing stores                 4032K        4 
CG image                           624K       22 
ColorSync                          624K       27 
CoreAnimation                    114.0M      181 
CoreGraphics                        32K        2 
CoreUI image data                 3296K       23 
Foundation                          64K        2 
Kernel Alloc Once                   32K        1 
MALLOC                           444.2M      124 
MALLOC guard page                  192K       10 
MALLOC_MEDIUM (reserved)           1.1G       10         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
SQLite page cache                  256K        4 
STACK GUARD                       54.7M       17 
Stack                             18.1M       17 
VM_ALLOCATE                        1.4G     1061 
__AUTH                            1942K      192 
__AUTH_CONST                      11.3M      349 
__CTF                               756        1 
__DATA                            10.2M      359 
__DATA_CONST                      13.0M      373 
__DATA_DIRTY                       976K      121 
__FONT_DATA                          4K        1 
__GLSLBUILTINS                    5176K        1 
__LINKEDIT                       580.2M       27 
__OBJC_CONST                      1985K      162 
__OBJC_RO                         83.0M        1 
__OBJC_RW                         3168K        1 
__TEXT                           272.8M      387 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
mapped file                      426.0M       36 
shared memory                     1376K       15 
===========                     =======  ======= 
TOTAL                              4.9G     3540 
TOTAL, minus reserved VM space     3.5G     3540 



-----------
Full Report
-----------

{"app_name":"DrRacket","timestamp":"2023-05-15 15:55:17.00 -0400","app_version":"8.7","slice_uuid":"50c2fc4b-5173-33e8-8c52-a2b97e7eb644","build_version":"8.7","platform":1,"bundleID":"org.racket-lang.DrRacket","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.6 (21G115)","incident_id":"40DA731B-4F2D-4B9A-8FC6-0BB9CE9BA015","name":"DrRacket"}
{
  "uptime" : 490000,
  "procLaunch" : "2023-05-15 14:14:32.5895 -0400",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,2",
  "procStartAbsTime" : 11850820872154,
  "coalitionID" : 137760,
  "osVersion" : {
    "train" : "macOS 12.6",
    "build" : "21G115",
    "releaseType" : "User"
  },
  "captureTime" : "2023-05-15 15:55:15.7666 -0400",
  "incident" : "40DA731B-4F2D-4B9A-8FC6-0BB9CE9BA015",
  "bug_type" : "309",
  "pid" : 27045,
  "procExitAbsTime" : 11995856586713,
  "translated" : false,
  "cpuType" : "ARM-64",
  "procName" : "DrRacket",
  "procPath" : "\/Applications\/Racket v8.7\/*\/DrRacket.app\/Contents\/MacOS\/DrRacket",
  "bundleInfo" : {"CFBundleShortVersionString":"8.7","CFBundleVersion":"8.7","CFBundleIdentifier":"org.racket-lang.DrRacket"},
  "storeInfo" : {"deviceIdentifierForVendor":"5366DCD1-A398-51ED-9D91-0060AF875883","thirdParty":true},
  "parentProc" : "bash",
  "parentPid" : 25604,
  "coalitionName" : "org.gnu.Emacs",
  "crashReporterKey" : "D3C23952-0418-C538-6B42-5297EE8A94A1",
  "responsiblePid" : 29253,
  "responsibleProc" : "Emacs",
  "wakeTime" : 20403,
  "sleepWakeUUID" : "288F40DA-E17D-4AF9-AA08-5EB529AD5F2D",
  "sip" : "enabled",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "asi" : {"libsystem_c.dylib":["abort() called"]},
  "asiBacktraces" : ["0   CoreFoundation                      0x00000001bde11148 __exceptionPreprocess + 240\n1   libobjc.A.dylib                     0x00000001bdb5be04 objc_exception_throw + 60\n2   CoreFoundation                      0x00000001bde9c9bc -[__NSSingleObjectEnumerator init] + 0\n3   AppKit                              0x00000001c09c5538 NSViewUpdateVibrancyForSubtree + 212\n4   AppKit                              0x00000001c09c5544 NSViewUpdateVibrancyForSubtree + 224\n5   AppKit                              0x00000001c09c5544 NSViewUpdateVibrancyForSubtree + 224\n6   AppKit                              0x00000001c09c5360 -[NSWindow displayIfNeeded] + 208\n7   ???                                 0x00000001341baa10 0x0 + 5169195536\n8   ???                                 0x000000010cf8b55c 0x0 + 4512593244\n9   CoreFoundation                      0x00000001bde29bb8 ___CFXRegistrationPost_block_invoke + 52\n10  CoreFoundation                      0x00000001bde29b24 _CFXRegistrationPost + 456\n11  CoreFoundation                      0x00000001bdd540f8 _CFXNotificationPost + 732\n12  Foundation                          0x00000001bec19c28 -[NSNotificationCenter postNotificationName:object:userInfo:] + 96\n13  AppKit                              0x00000001c0949208 -[NSWindow _setFrameCommon:display:fromServer:] + 3284\n14  AppKit                              0x00000001c0947eac -[NSThemeFrame setStyleMask:] + 632\n15  AppKit                              0x00000001c0947930 __25-[NSWindow setStyleMask:]_block_invoke + 1396\n16  AppKit                              0x00000001c0947360 NSPerformVisuallyAtomicChange + 140\n17  AppKit                              0x00000001c0947260 -[NSWindow setStyleMask:] + 200\n18  AppKit                              0x00000001c0bf0bc8 -[NSWindow(NSSheets) _setSheet:] + 148\n19  AppKit                              0x00000001c0ba7470 -[NSApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:] + 1096\n20  ???                                 0x000000029d8e260c 0x0 + 11233273356\n21  DrRacket                            0x000000010438c808 Scall2 + 120\n22  DrRacket                            0x00000001042fcbbc racket_boot + 1512\n23  DrRacket                            0x00000001042fc4d8 main + 1788\n24  dyld                                0x000000010734d08c start + 520"],
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "lastExceptionBacktrace" : [{"imageOffset":1069364,"symbol":"__exceptionPreprocess","symbolLocation":220,"imageIndex":5},{"imageOffset":101892,"symbol":"objc_exception_throw","symbolLocation":60,"imageIndex":4},{"imageOffset":1640892,"symbol":"-[__NSSingleObjectEnumerator init]","symbolLocation":0,"imageIndex":5},{"imageOffset":1115448,"symbol":"NSViewUpdateVibrancyForSubtree","symbolLocation":212,"imageIndex":6},{"imageOffset":1115460,"symbol":"NSViewUpdateVibrancyForSubtree","symbolLocation":224,"imageIndex":6},{"imageOffset":1115460,"symbol":"NSViewUpdateVibrancyForSubtree","symbolLocation":224,"imageIndex":6},{"imageOffset":1114976,"symbol":"-[NSWindow displayIfNeeded]","symbolLocation":208,"imageIndex":6},{"imageOffset":5169195536,"imageIndex":7},{"imageOffset":4512593244,"imageIndex":7},{"imageOffset":1170360,"symbol":"___CFXRegistrationPost_block_invoke","symbolLocation":52,"imageIndex":5},{"imageOffset":1170212,"symbol":"_CFXRegistrationPost","symbolLocation":456,"imageIndex":5},{"imageOffset":295160,"symbol":"_CFXNotificationPost","symbolLocation":732,"imageIndex":5},{"imageOffset":39976,"symbol":"-[NSNotificationCenter postNotificationName:object:userInfo:]","symbolLocation":96,"imageIndex":8},{"imageOffset":606728,"symbol":"-[NSWindow _setFrameCommon:display:fromServer:]","symbolLocation":3284,"imageIndex":6},{"imageOffset":601772,"symbol":"-[NSThemeFrame setStyleMask:]","symbolLocation":632,"imageIndex":6},{"imageOffset":600368,"symbol":"__25-[NSWindow setStyleMask:]_block_invoke","symbolLocation":1396,"imageIndex":6},{"imageOffset":598880,"symbol":"NSPerformVisuallyAtomicChange","symbolLocation":140,"imageIndex":6},{"imageOffset":598624,"symbol":"-[NSWindow setStyleMask:]","symbolLocation":200,"imageIndex":6},{"imageOffset":3390408,"symbol":"-[NSWindow(NSSheets) _setSheet:]","symbolLocation":148,"imageIndex":6},{"imageOffset":3089520,"symbol":"-[NSApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:]","symbolLocation":1096,"imageIndex":6},{"imageOffset":11233273356,"imageIndex":7},{"imageOffset":608264,"symbol":"Scall2","symbolLocation":120,"imageIndex":9},{"imageOffset":19388,"symbol":"racket_boot","symbolLocation":1512,"imageIndex":9},{"imageOffset":17624,"symbol":"main","symbolLocation":1788,"imageIndex":9},{"imageOffset":20620,"symbol":"start","symbolLocation":520,"imageIndex":10}],
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":9438166,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":7478976757},{"value":6101676448},{"value":110},{"value":1},{"value":12522879394545086293},{"value":12522879390232029909},{"value":512},{"value":11},{"value":11},{"value":7484547821},{"value":7478976795},{"value":0},{"value":328},{"value":8990389888},{"value":0},{"value":6},{"value":4416341376,"symbolLocation":0,"symbol":"_main_thread"},{"value":259},{"value":4416341600,"symbolLocation":224,"symbol":"_main_thread"},{"value":5746259296},{"value":4454563280},{"value":12168428768},{"value":5184228861},{"value":5120},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":7479246560},"cpsr":{"value":1073745920},"fp":{"value":6101676304},"sp":{"value":6101676272},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7479029144,"matchesCrashFrame":1},"far":{"value":5109497856}},"queue":"com.apple.main-thread","frames":[{"imageOffset":40344,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":0},{"imageOffset":28384,"symbol":"pthread_kill","symbolLocation":288,"imageIndex":1},{"imageOffset":500544,"symbol":"abort","symbolLocation":168,"imageIndex":2},{"imageOffset":72456,"symbol":"abort_message","symbolLocation":132,"imageIndex":3},{"imageOffset":6480,"symbol":"demangling_terminate_handler()","symbolLocation":336,"imageIndex":3},{"imageOffset":135968,"symbol":"_objc_terminate()","symbolLocation":144,"imageIndex":4},{"imageOffset":69284,"symbol":"std::__terminate(void (*)())","symbolLocation":20,"imageIndex":3},{"imageOffset":80924,"symbol":"__cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*)","symbolLocation":36,"imageIndex":3},{"imageOffset":80840,"symbol":"__cxa_throw","symbolLocation":140,"imageIndex":3},{"imageOffset":102252,"symbol":"objc_exception_throw","symbolLocation":420,"imageIndex":4},{"imageOffset":1640892,"symbol":"__NSFastEnumerationMutationHandler","symbolLocation":172,"imageIndex":5},{"imageOffset":1115448,"symbol":"NSViewUpdateVibrancyForSubtree","symbolLocation":212,"imageIndex":6},{"imageOffset":1115460,"symbol":"NSViewUpdateVibrancyForSubtree","symbolLocation":224,"imageIndex":6},{"imageOffset":1115460,"symbol":"NSViewUpdateVibrancyForSubtree","symbolLocation":224,"imageIndex":6},{"imageOffset":1114976,"symbol":"-[NSWindow displayIfNeeded]","symbolLocation":208,"imageIndex":6},{"imageOffset":5169195536,"imageIndex":7},{"imageOffset":4512593244,"imageIndex":7},{"imageOffset":1170360,"symbol":"___CFXRegistrationPost_block_invoke","symbolLocation":52,"imageIndex":5},{"imageOffset":1170212,"symbol":"_CFXRegistrationPost","symbolLocation":456,"imageIndex":5},{"imageOffset":295160,"symbol":"_CFXNotificationPost","symbolLocation":732,"imageIndex":5},{"imageOffset":39976,"symbol":"-[NSNotificationCenter postNotificationName:object:userInfo:]","symbolLocation":96,"imageIndex":8},{"imageOffset":606728,"symbol":"-[NSWindow _setFrameCommon:display:fromServer:]","symbolLocation":3284,"imageIndex":6},{"imageOffset":601772,"symbol":"-[NSThemeFrame setStyleMask:]","symbolLocation":632,"imageIndex":6},{"imageOffset":600368,"symbol":"__25-[NSWindow setStyleMask:]_block_invoke","symbolLocation":1396,"imageIndex":6},{"imageOffset":598880,"symbol":"NSPerformVisuallyAtomicChange","symbolLocation":140,"imageIndex":6},{"imageOffset":598624,"symbol":"-[NSWindow setStyleMask:]","symbolLocation":200,"imageIndex":6},{"imageOffset":3390408,"symbol":"-[NSWindow(NSSheets) _setSheet:]","symbolLocation":148,"imageIndex":6},{"imageOffset":3089520,"symbol":"-[NSApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:]","symbolLocation":1096,"imageIndex":6},{"imageOffset":11233273356,"imageIndex":7},{"imageOffset":608264,"symbol":"Scall2","symbolLocation":120,"imageIndex":9},{"imageOffset":19388,"symbol":"racket_boot","symbolLocation":1512,"imageIndex":9},{"imageOffset":17624,"symbol":"main","symbolLocation":1788,"imageIndex":9},{"imageOffset":20620,"symbol":"start","symbolLocation":520,"imageIndex":10}]},{"id":9438201,"name":"com.apple.CFSocket.private","frames":[{"imageOffset":50584,"symbol":"__select","symbolLocation":8,"imageIndex":0},{"imageOffset":718856,"symbol":"__CFSocketManager","symbolLocation":644,"imageIndex":5},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":9438208,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6320,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":7456,"symbol":"mach_msg","symbolLocation":76,"imageIndex":0},{"imageOffset":545296,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":372,"imageIndex":5},{"imageOffset":538304,"symbol":"__CFRunLoopRun","symbolLocation":1180,"imageIndex":5},{"imageOffset":535172,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":5},{"imageOffset":1761536,"symbol":"_NSEventThread","symbolLocation":196,"imageIndex":6},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":9438294,"frames":[{"imageOffset":53008,"symbol":"__sigwait","symbolLocation":8,"imageIndex":0},{"imageOffset":31304,"symbol":"sigwait","symbolLocation":40,"imageIndex":1},{"imageOffset":832616,"symbol":"thread_signal_worker","symbolLocation":120,"imageIndex":9},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":9438296,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":823544,"symbol":"do_background_sleep","symbolLocation":88,"imageIndex":9},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":9438310,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":831392,"symbol":"getaddrinfo_in_thread","symbolLocation":72,"imageIndex":9},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":9438564,"frames":[{"imageOffset":50584,"symbol":"__select","symbolLocation":8,"imageIndex":0},{"imageOffset":820948,"symbol":"rktio_sleep","symbolLocation":1020,"imageIndex":9},{"imageOffset":4455716380,"imageIndex":7},{"imageOffset":608384,"symbol":"Scall0","symbolLocation":100,"imageIndex":9},{"imageOffset":613492,"symbol":"start_thread","symbolLocation":60,"imageIndex":9},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":9438565,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":259880,"symbol":"start_sweeper","symbolLocation":100,"imageIndex":9},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":9538326,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":9538328,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":9538329,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":9538661,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":9538662,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":9538818,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":9538821,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":9538822,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":9538823,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7478988800,
    "size" : 229376,
    "uuid" : "a9d87740-9c1d-3468-bf60-720a8d713cba",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7479218176,
    "size" : 53248,
    "uuid" : "63c4eef9-69a5-38b1-996e-8d31b66a051d",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7477936128,
    "size" : 532480,
    "uuid" : "b25d2080-bb9e-38d6-8236-9cef4b2f11a3",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7478890496,
    "size" : 98304,
    "uuid" : "4e8d8a11-4217-3d56-9d41-5426f7cf307c",
    "path" : "\/usr\/lib\/libc++abi.dylib",
    "name" : "libc++abi.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7477669888,
    "size" : 253952,
    "uuid" : "ec96f0fa-6341-3e1d-be54-49b544e17f7d",
    "path" : "\/usr\/lib\/libobjc.A.dylib",
    "name" : "libobjc.A.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7479541760,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5533696,
    "uuid" : "fc3c193d-0cdb-3569-9f0e-bd2507ca1dbb",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1866"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7525322752,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 15437824,
    "uuid" : "5e432f87-5b58-391a-a542-fa2d909dd210",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2113.60.148"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7495286784,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 4136960,
    "uuid" : "8bbf8f9b-0034-34f0-a2c5-13c31941632d",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1866"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4365189120,
    "CFBundleShortVersionString" : "8.7",
    "CFBundleIdentifier" : "org.racket-lang.DrRacket",
    "size" : 901120,
    "uuid" : "50c2fc4b-5173-33e8-8c52-a2b97e7eb644",
    "path" : "\/Applications\/Racket v8.7\/DrRacket.app\/Contents\/MacOS\/DrRacket",
    "name" : "DrRacket",
    "CFBundleVersion" : "8.7"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4415848448,
    "size" : 393216,
    "uuid" : "38ee9fe9-b66d-3066-8c5c-6ddf0d6944c6",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  }
],
  "sharedCache" : {
  "base" : 7475920896,
  "size" : 3144744960,
  "uuid" : "049b583e-d4dc-3b2b-88da-e52d6e18313d"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=853.0M resident=0K(0%) swapped_out_or_unallocated=853.0M(100%)\nWritable regions: Total=3.5G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=3.5G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               640K        5 \nActivity Tracing                   256K        1 \nCG backing stores                 4032K        4 \nCG image                           624K       22 \nColorSync                          624K       27 \nCoreAnimation                    114.0M      181 \nCoreGraphics                        32K        2 \nCoreUI image data                 3296K       23 \nFoundation                          64K        2 \nKernel Alloc Once                   32K        1 \nMALLOC                           444.2M      124 \nMALLOC guard page                  192K       10 \nMALLOC_MEDIUM (reserved)           1.1G       10         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSQLite page cache                  256K        4 \nSTACK GUARD                       54.7M       17 \nStack                             18.1M       17 \nVM_ALLOCATE                        1.4G     1061 \n__AUTH                            1942K      192 \n__AUTH_CONST                      11.3M      349 \n__CTF                               756        1 \n__DATA                            10.2M      359 \n__DATA_CONST                      13.0M      373 \n__DATA_DIRTY                       976K      121 \n__FONT_DATA                          4K        1 \n__GLSLBUILTINS                    5176K        1 \n__LINKEDIT                       580.2M       27 \n__OBJC_CONST                      1985K      162 \n__OBJC_RO                         83.0M        1 \n__OBJC_RW                         3168K        1 \n__TEXT                           272.8M      387 \n__UNICODE                          592K        1 \ndyld private memory               1024K        1 \nmapped file                      426.0M       36 \nshared memory                     1376K       15 \n===========                     =======  ======= \nTOTAL                              4.9G     3540 \nTOTAL, minus reserved VM space     3.5G     3540 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "60da5e84ab0ca017dace9abf",
      "factorPackIds" : {

      },
      "deploymentId" : 240000008
    },
    {
      "rolloutId" : "6297d96be2c9387df974efa4",
      "factorPackIds" : {

      },
      "deploymentId" : 240000008
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "c28e4ee6-1b08-4f90-8e05-2809e78310a3",
      "experimentId" : "6317d2003d24842ff850182a",
      "deploymentId" : 400000012
    },
    {
      "treatmentId" : "6dd670af-0633-45e4-ae5f-122ae4df02be",
      "experimentId" : "64406ba83deb637ac8a04419",
      "deploymentId" : 900000005
    }
  ]
}
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash on macOS 12.6 with DrRacket 8.7, multiple assignment tabs, and the image/universe or htdp hashlang interactions described here. Compare the result with issue #550 and its multiple-tabs report; done means identifying a reproducible trigger and preventing the NSGenericException crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.