racket / racket/drracket

Invalid or prematurely-freed autorelease pool on 8.4 [cs] M1 mac.

Open
#548 1 comment 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

This is when using the racket-csfml foreign library (I'm the author). All the examples work perfectly fine from the terminal and just launching them with Racket; the crash only occurs in DrRacket and only after the code has been running for a second. The app will run, just quickly crashes.

Below is the crash report. I'm happy to help anyone with this if necessary as it's likely a pretty rare edge-case.

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

Process:               DrRacket [78935]
Path:                  /Applications/Racket v8.4/DrRacket.app/Contents/MacOS/DrRacket
Identifier:            org.racket-lang.DrRacket
Version:               8.4 (8.4)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2022-02-19 16:29:09.0701 -0600
OS Version:            macOS 12.1 (21C52)
Report Version:        12
Anonymous UUID:        742BEFFF-5931-138F-FD22-3F6DDB796A62

Sleep/Wake UUID:       BBA7498B-868A-4475-BEF7-22DD6A0F91C3

Time Awake Since Boot: 2300000 seconds
Time Since Wake:       29332 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

Termination Reason:    Namespace OBJC, Code 1 

Application Specific Information:
Invalid or prematurely-freed autorelease pool 0x14880c188.


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x1a2777eb8 __abort_with_payload + 8
1   libsystem_kernel.dylib        	       0x1a277a864 abort_with_payload_wrapper_internal + 104
2   libsystem_kernel.dylib        	       0x1a277a7fc abort_with_reason + 32
3   libobjc.A.dylib               	       0x1a2639d5c _objc_fatalv(unsigned long long, unsigned long long, char const*, char*) + 120
4   libobjc.A.dylib               	       0x1a2639ce4 _objc_fatal(char const*, ...) + 44
5   libobjc.A.dylib               	       0x1a263a8e8 AutoreleasePoolPage::badPop(void*) + 212
6   CoreFoundation                	       0x1a2811ff8 _CFAutoreleasePoolPop + 32
7   Foundation                    	       0x1a36f92ec -[NSAutoreleasePool drain] + 140
8   libsfml-window.2.5.1.dylib    	       0x174898e6c drainThreadPool() + 36
9   libsfml-window.2.5.1.dylib    	       0x17488c7c4 sf::priv::WindowImpl::popEvent(sf::Event&, bool) + 164
10  libsfml-window.2.5.1.dylib    	       0x17488c048 sf::Window::pollEvent(sf::Event&) + 36
11  libcsfml-graphics.dylib       	       0x1748587a0 sfRenderWindow_pollEvent + 28
12  ???                           	       0x173e74d60 ???
13  DrRacket                      	       0x10051efcc Scall2 + 120
14  DrRacket                      	       0x10048f298 racket_boot + 1512
15  DrRacket                      	       0x10048ebb4 main + 1788
16  dyld                          	       0x1036250f4 start + 520

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

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

Thread 3:: com.apple.CFSocket.private
0   libsystem_kernel.dylib        	       0x1a2757d38 __select + 8
1   CoreFoundation                	       0x1a287f334 __CFSocketManager + 648
2   libsystem_pthread.dylib       	       0x1a2789240 _pthread_start + 148
3   libsystem_pthread.dylib       	       0x1a2784024 thread_start + 8

Thread 4:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	       0x1a274d954 mach_msg_trap + 8
1   libsystem_kernel.dylib        	       0x1a274dd00 mach_msg + 76
2   CoreFoundation                	       0x1a2854ed8 __CFRunLoopServiceMachPort + 372
3   CoreFoundation                	       0x1a2853390 __CFRunLoopRun + 1212
4   CoreFoundation                	       0x1a2852734 CFRunLoopRunSpecific + 600
5   AppKit                        	       0x1a5515c90 _NSEventThread + 196
6   libsystem_pthread.dylib       	       0x1a2789240 _pthread_start + 148
7   libsystem_pthread.dylib       	       0x1a2784024 thread_start + 8

Thread 5:
0   libsystem_kernel.dylib        	       0x1a27510c0 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1a2789808 _pthread_cond_wait + 1228
2   DrRacket                      	       0x10054f544 do_background_sleep + 88
3   libsystem_pthread.dylib       	       0x1a2789240 _pthread_start + 148
4   libsystem_pthread.dylib       	       0x1a2784024 thread_start + 8

Thread 6:
0   libsystem_kernel.dylib        	       0x1a2757d38 __select + 8
1   DrRacket                      	       0x10054eb20 rktio_sleep + 1020
2   ???                           	       0x105d4bbec ???
3   DrRacket                      	       0x10051f044 Scall0 + 100
4   DrRacket                      	       0x100520438 start_thread + 60
5   libsystem_pthread.dylib       	       0x1a2789240 _pthread_start + 148
6   libsystem_pthread.dylib       	       0x1a2784024 thread_start + 8

Thread 7:
0   libsystem_kernel.dylib        	       0x1a27510c0 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1a2789808 _pthread_cond_wait + 1228
2   DrRacket                      	       0x1004c9eec start_sweeper + 100
3   libsystem_pthread.dylib       	       0x1a2789240 _pthread_start + 148
4   libsystem_pthread.dylib       	       0x1a2784024 thread_start + 8

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

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

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

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


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000008   x1: 0x0000000000000001   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x00006000012ae300   x5: 0x0000000000000080   x6: 0x0000000000000000   x7: 0x00006000012ac080
    x8: 0x0000000000000020   x9: 0x0000000000000103  x10: 0x0000000000000700  x11: 0x0000000000000000
   x12: 0x00000000a127101c  x13: 0x0000000021271000  x14: 0x0000000021200000  x15: 0x00000001fb8678d8
   x16: 0x0000000000000209  x17: 0x00000001fcf60f50  x18: 0x00000001581c3940  x19: 0x0000000000000080
   x20: 0x00006000012ae300  x21: 0x0000000000000000  x22: 0x0000000000000000  x23: 0x0000000000000001
   x24: 0x0000000000000008  x25: 0x0000000146fed08d  x26: 0x0000000295397b2d  x27: 0x0000000100558a4b
   x28: 0x0000000100558a46   fp: 0x000000016f973230   lr: 0x00000001a277a864
    sp: 0x000000016f9731f0   pc: 0x00000001a2777eb8 cpsr: 0x40001000
   far: 0x000000012557871c  esr: 0x56000080  Address size fault

Binary Images:
       0x1a274c000 -        0x1a2781fff libsystem_kernel.dylib (*) <c8b3081a-5081-3a99-bbe3-01413de444c6> /usr/lib/system/libsystem_kernel.dylib
       0x1a260e000 -        0x1a2649fff libobjc.A.dylib (*) <8a930227-747e-381f-bb29-2dfe267a84f7> /usr/lib/libobjc.A.dylib
       0x1a27d0000 -        0x1a2d13fff com.apple.CoreFoundation (6.9) <f5ea9592-4ef9-3d35-b23d-5c21283acc52> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x1a36c4000 -        0x1a3ab1fff com.apple.Foundation (6.9) <cd7cdf11-986e-3754-8011-e628c3be8380> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
       0x174880000 -        0x17489ffff libsfml-window.2.5.1.dylib (*) <49149762-fb73-3368-9862-9dae7ac8b204> /opt/homebrew/*/libsfml-window.2.5.1.dylib
       0x174850000 -        0x17485ffff libcsfml-graphics.dylib (*) <fc231275-70b7-33e1-8032-eeadcbc0d713> /Users/USER/Library/Racket/*/libcsfml-graphics.dylib
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x10048c000 -        0x100563fff org.racket-lang.DrRacket (8.4) <eba931ba-74ec-3ce2-9829-84b80cd5e1c9> /Applications/Racket v8.4/DrRacket.app/Contents/MacOS/DrRacket
       0x103620000 -        0x10367ffff dyld (*) <7e92b284-4b90-3b68-b31a-3ddc4c0e8d40> /usr/lib/dyld
       0x1a2782000 -        0x1a278efff libsystem_pthread.dylib (*) <ed328b18-eeef-3b15-8858-798b19b0c2cd> /usr/lib/system/libsystem_pthread.dylib
       0x1a5367000 -        0x1a621afff com.apple.AppKit (6.9) <a8bbc643-113d-310f-96b6-77a973bf2dba> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit

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=855.4M resident=0K(0%) swapped_out_or_unallocated=855.4M(100%)
Writable regions: Total=2.3G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.3G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               640K        5 
Activity Tracing                   256K        1 
CG backing stores                 1344K        4 
CG image                           336K       15 
ColorSync                          544K       26 
CoreAnimation                     13.2M       75 
CoreGraphics                        32K        2 
CoreUI image data                 1216K       18 
Foundation                          48K        2 
Kernel Alloc Once                   32K        1 
MALLOC                           281.3M       71 
MALLOC guard page                  192K       10 
MALLOC_MEDIUM (reserved)         832.0M        7         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
SQLite page cache                  384K        6 
STACK GUARD                       56.2M       12 
Stack                             13.8M       12 
VM_ALLOCATE                      805.0M      576 
__AUTH                            1957K      198 
__AUTH_CONST                      11.5M      359 
__DATA                            10.6M      386 
__DATA_CONST                      13.6M      401 
__DATA_DIRTY                      1008K      128 
__FONT_DATA                          4K        1 
__GLSLBUILTINS                    5176K        1 
__LINKEDIT                       579.5M       44 
__OBJC_CONST                      2045K      165 
__OBJC_RO                         82.0M        1 
__OBJC_RW                         3104K        1 
__PLTSCHEME                         32K        1 
__RKTBOOT                         44.1M        1 
__TEXT                           275.9M      417 
__UNICODE                          588K        1 
dyld private memory               1024K        1 
mapped file                      445.7M       32 
shared memory                      880K       16 
===========                     =======  ======= 
TOTAL                              3.8G     2998 
TOTAL, minus reserved VM space     2.6G     2998 



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

{"app_name":"DrRacket","timestamp":"2022-02-19 16:29:09.00 -0600","app_version":"8.4","slice_uuid":"eba931ba-74ec-3ce2-9829-84b80cd5e1c9","build_version":"8.4","platform":1,"bundleID":"org.racket-lang.DrRacket","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.1 (21C52)","incident_id":"ED045C4E-2981-4CEA-886C-D0C136649018","name":"DrRacket"}
{
  "uptime" : 2300000,
  "procLaunch" : "2022-02-19 16:28:00.8491 -0600",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro17,1",
  "procStartAbsTime" : 56992627615271,
  "coalitionID" : 237413,
  "osVersion" : {
    "train" : "macOS 12.1",
    "build" : "21C52",
    "releaseType" : "User"
  },
  "captureTime" : "2022-02-19 16:29:09.0701 -0600",
  "incident" : "ED045C4E-2981-4CEA-886C-D0C136649018",
  "bug_type" : "309",
  "pid" : 78935,
  "procExitAbsTime" : 56994264829471,
  "translated" : false,
  "cpuType" : "ARM-64",
  "procName" : "DrRacket",
  "procPath" : "\/Applications\/Racket v8.4\/DrRacket.app\/Contents\/MacOS\/DrRacket",
  "bundleInfo" : {"CFBundleShortVersionString":"8.4","CFBundleVersion":"8.4","CFBundleIdentifier":"org.racket-lang.DrRacket"},
  "storeInfo" : {"deviceIdentifierForVendor":"777C5BAD-C783-568D-BC54-0187A40C5AE4","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "org.racket-lang.DrRacket",
  "crashReporterKey" : "742BEFFF-5931-138F-FD22-3F6DDB796A62",
  "wakeTime" : 29332,
  "sleepWakeUUID" : "BBA7498B-868A-4475-BEF7-22DD6A0F91C3",
  "sip" : "enabled",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "termination" : {"namespace":"OBJC","flags":646,"code":1},
  "asi" : {"libobjc.A.dylib":["Invalid or prematurely-freed autorelease pool 0x14880c188."]},
  "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},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":21835641,"threadState":{"x":[{"value":8},{"value":1},{"value":0},{"value":0},{"value":105553135854336},{"value":128},{"value":0},{"value":105553135845504},{"value":32},{"value":259},{"value":1792},{"value":0},{"value":2703691804},{"value":556208128},{"value":555745280},{"value":8514861272,"symbolLocation":0,"symbol":"OBJC_CLASS_$_NSAutoreleasePool"},{"value":521},{"value":8538951504},{"value":5773211968},{"value":128},{"value":105553135854336},{"value":0},{"value":0},{"value":1},{"value":8},{"value":5486071949},{"value":11093506861},{"value":4300573259},{"value":4300573254}],"flavor":"ARM_THREAD_STATE64","lr":{"value":7020718180},"cpsr":{"value":1073745920},"fp":{"value":6167147056},"sp":{"value":6167146992},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7020707512,"matchesCrashFrame":1},"far":{"value":4921460508}},"queue":"com.apple.main-thread","frames":[{"imageOffset":179896,"symbol":"__abort_with_payload","symbolLocation":8,"imageIndex":0},{"imageOffset":190564,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":104,"imageIndex":0},{"imageOffset":190460,"symbol":"abort_with_reason","symbolLocation":32,"imageIndex":0},{"imageOffset":179548,"symbol":"_objc_fatalv(unsigned long long, unsigned long long, char const*, char*)","symbolLocation":120,"imageIndex":1},{"imageOffset":179428,"symbol":"_objc_fatal(char const*, ...)","symbolLocation":44,"imageIndex":1},{"imageOffset":182504,"symbol":"AutoreleasePoolPage::badPop(void*)","symbolLocation":212,"imageIndex":1},{"imageOffset":270328,"symbol":"_CFAutoreleasePoolPop","symbolLocation":32,"imageIndex":2},{"imageOffset":217836,"symbol":"-[NSAutoreleasePool drain]","symbolLocation":140,"imageIndex":3},{"imageOffset":101996,"symbol":"drainThreadPool()","symbolLocation":36,"imageIndex":4},{"imageOffset":51140,"symbol":"sf::priv::WindowImpl::popEvent(sf::Event&, bool)","symbolLocation":164,"imageIndex":4},{"imageOffset":49224,"symbol":"sf::Window::pollEvent(sf::Event&)","symbolLocation":36,"imageIndex":4},{"imageOffset":34720,"symbol":"sfRenderWindow_pollEvent","symbolLocation":28,"imageIndex":5},{"imageOffset":6239505760,"imageIndex":6},{"imageOffset":602060,"symbol":"Scall2","symbolLocation":120,"imageIndex":7},{"imageOffset":12952,"symbol":"racket_boot","symbolLocation":1512,"imageIndex":7},{"imageOffset":11188,"symbol":"main","symbolLocation":1788,"imageIndex":7},{"imageOffset":20724,"symbol":"start","symbolLocation":520,"imageIndex":8}]},{"id":21835659,"frames":[{"imageOffset":8208,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":9}]},{"id":21835665,"frames":[{"imageOffset":8208,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":9}]},{"id":21835675,"name":"com.apple.CFSocket.private","frames":[{"imageOffset":48440,"symbol":"__select","symbolLocation":8,"imageIndex":0},{"imageOffset":717620,"symbol":"__CFSocketManager","symbolLocation":648,"imageIndex":2},{"imageOffset":29248,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":9},{"imageOffset":8228,"symbol":"thread_start","symbolLocation":8,"imageIndex":9}]},{"id":21835684,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6484,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":7424,"symbol":"mach_msg","symbolLocation":76,"imageIndex":0},{"imageOffset":544472,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":372,"imageIndex":2},{"imageOffset":537488,"symbol":"__CFRunLoopRun","symbolLocation":1212,"imageIndex":2},{"imageOffset":534324,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":2},{"imageOffset":1764496,"symbol":"_NSEventThread","symbolLocation":196,"imageIndex":10},{"imageOffset":29248,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":9},{"imageOffset":8228,"symbol":"thread_start","symbolLocation":8,"imageIndex":9}]},{"id":21835694,"frames":[{"imageOffset":20672,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30728,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":9},{"imageOffset":800068,"symbol":"do_background_sleep","symbolLocation":88,"imageIndex":7},{"imageOffset":29248,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":9},{"imageOffset":8228,"symbol":"thread_start","symbolLocation":8,"imageIndex":9}]},{"id":21835696,"frames":[{"imageOffset":48440,"symbol":"__select","symbolLocation":8,"imageIndex":0},{"imageOffset":797472,"symbol":"rktio_sleep","symbolLocation":1020,"imageIndex":7},{"imageOffset":4392795116,"imageIndex":6},{"imageOffset":602180,"symbol":"Scall0","symbolLocation":100,"imageIndex":7},{"imageOffset":607288,"symbol":"start_thread","symbolLocation":60,"imageIndex":7},{"imageOffset":29248,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":9},{"imageOffset":8228,"symbol":"thread_start","symbolLocation":8,"imageIndex":9}]},{"id":21835697,"frames":[{"imageOffset":20672,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30728,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":9},{"imageOffset":253676,"symbol":"start_sweeper","symbolLocation":100,"imageIndex":7},{"imageOffset":29248,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":9},{"imageOffset":8228,"symbol":"thread_start","symbolLocation":8,"imageIndex":9}]},{"id":21835831,"frames":[{"imageOffset":8208,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":9}]},{"id":21836154,"frames":[{"imageOffset":8208,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":9}]},{"id":21836325,"frames":[{"imageOffset":8208,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":9}]},{"id":21836350,"frames":[{"imageOffset":8208,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":9}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7020527616,
    "size" : 221184,
    "uuid" : "c8b3081a-5081-3a99-bbe3-01413de444c6",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7019225088,
    "size" : 245760,
    "uuid" : "8a930227-747e-381f-bb29-2dfe267a84f7",
    "path" : "\/usr\/lib\/libobjc.A.dylib",
    "name" : "libobjc.A.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7021068288,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5521408,
    "uuid" : "f5ea9592-4ef9-3d35-b23d-5c21283acc52",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1856.105"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7036747776,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 4120576,
    "uuid" : "cd7cdf11-986e-3754-8011-e628c3be8380",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1856.105"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 6250037248,
    "size" : 131072,
    "uuid" : "49149762-fb73-3368-9862-9dae7ac8b204",
    "path" : "\/opt\/homebrew\/*\/libsfml-window.2.5.1.dylib",
    "name" : "libsfml-window.2.5.1.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 6249840640,
    "size" : 65536,
    "uuid" : "fc231275-70b7-33e1-8032-eeadcbc0d713",
    "path" : "\/Users\/USER\/Library\/Racket\/*\/libcsfml-graphics.dylib",
    "name" : "libcsfml-graphics.dylib"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4299735040,
    "CFBundleShortVersionString" : "8.4",
    "CFBundleIdentifier" : "org.racket-lang.DrRacket",
    "size" : 884736,
    "uuid" : "eba931ba-74ec-3ce2-9829-84b80cd5e1c9",
    "path" : "\/Applications\/Racket v8.4\/DrRacket.app\/Contents\/MacOS\/DrRacket",
    "name" : "DrRacket",
    "CFBundleVersion" : "8.4"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4351721472,
    "size" : 393216,
    "uuid" : "7e92b284-4b90-3b68-b31a-3ddc4c0e8d40",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7020748800,
    "size" : 53248,
    "uuid" : "ed328b18-eeef-3b15-8858-798b19b0c2cd",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7066775552,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 15417344,
    "uuid" : "a8bbc643-113d-310f-96b6-77a973bf2dba",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2113.20.111"
  }
],
  "sharedCache" : {
  "base" : 7017578496,
  "size" : 3089596416,
  "uuid" : "66c33c62-48a9-31e5-b8b5-7a71c9760d07"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=855.4M resident=0K(0%) swapped_out_or_unallocated=855.4M(100%)\nWritable regions: Total=2.3G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.3G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               640K        5 \nActivity Tracing                   256K        1 \nCG backing stores                 1344K        4 \nCG image                           336K       15 \nColorSync                          544K       26 \nCoreAnimation                     13.2M       75 \nCoreGraphics                        32K        2 \nCoreUI image data                 1216K       18 \nFoundation                          48K        2 \nKernel Alloc Once                   32K        1 \nMALLOC                           281.3M       71 \nMALLOC guard page                  192K       10 \nMALLOC_MEDIUM (reserved)         832.0M        7         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSQLite page cache                  384K        6 \nSTACK GUARD                       56.2M       12 \nStack                             13.8M       12 \nVM_ALLOCATE                      805.0M      576 \n__AUTH                            1957K      198 \n__AUTH_CONST                      11.5M      359 \n__DATA                            10.6M      386 \n__DATA_CONST                      13.6M      401 \n__DATA_DIRTY                      1008K      128 \n__FONT_DATA                          4K        1 \n__GLSLBUILTINS                    5176K        1 \n__LINKEDIT                       579.5M       44 \n__OBJC_CONST                      2045K      165 \n__OBJC_RO                         82.0M        1 \n__OBJC_RW                         3104K        1 \n__PLTSCHEME                         32K        1 \n__RKTBOOT                         44.1M        1 \n__TEXT                           275.9M      417 \n__UNICODE                          588K        1 \ndyld private memory               1024K        1 \nmapped file                      445.7M       32 \nshared memory                      880K       16 \n===========                     =======  ======= \nTOTAL                              3.8G     2998 \nTOTAL, minus reserved VM space     2.6G     2998 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "60da5e84ab0ca017dace9abf",
      "factorPackIds" : {

      },
      "deploymentId" : 240000008
    },
    {
      "rolloutId" : "607844aa04477260f58a8077",
      "factorPackIds" : {
        "SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
      },
      "deploymentId" : 240000066
    },
    {
      "rolloutId" : "602ad4dac86151000cf27e46",
      "factorPackIds" : {
        "SIRI_DICTATION_ASSETS" : "61fb0e87c773c43cde3bb80e"
      },
      "deploymentId" : 240000303
    },
    {
      "rolloutId" : "5fc94383418129005b4e9ae0",
      "factorPackIds" : {

      },
      "deploymentId" : 240000231
    },
    {
      "rolloutId" : "5ffde50ce2aacd000d47a95f",
      "factorPackIds" : {

      },
      "deploymentId" : 240000106
    },
    {
      "rolloutId" : "601d9415f79519000ccd4b69",
      "factorPackIds" : {
        "SIRI_TEXT_TO_SPEECH" : "620161c8295c182621eced1f"
      },
      "deploymentId" : 240000392
    }
  ],
  "experiments" : [

  ]
}
}

Model: MacBookPro17,1, BootROM 7429.61.2, proc 8:4:4 processors, 16 GB, SMC 
Graphics: Apple M1, Apple M1, Built-In
Display: Sceptre C35, 3440 x 1440 (UWQHD - Ultra-Wide Quad HD), Main, MirrorOff, Online
Memory Module: LPDDR4
AirPort: Wi-Fi, wl0: Oct 26 2021 16:10:41 version 18.20.310.15.7.8.120 FWID 01-5d6c3867
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB3.1 Hub
USB Device: 4-Port USB 3.0 Hub
USB Device: USB2.0 Hub
USB Device: 4-Port USB 2.0 Hub
USB Device: Microsoft® LifeCam Studio(TM)
USB Device: USB Receiver
USB Device: USB-C Digital AV Multiport Adapter
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

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

The payload names no repository files or tests; start by reproducing the crash in DrRacket on macOS with the racket-csfml examples and compare it with terminal execution. Trace the reported libsfml-window autorelease-pool failure to determine whether the issue belongs in DrRacket or the foreign library; done means identifying the responsible component and preventing the crash with a verified regression case.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.