Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing on macOS 12.7.5 #25

Open
pdxwebdev opened this issue Aug 20, 2024 · 0 comments
Open

Crashing on macOS 12.7.5 #25

pdxwebdev opened this issue Aug 20, 2024 · 0 comments

Comments

@pdxwebdev
Copy link

When I run python tests/test.py

I see this:
Screen Shot 2024-08-20 at 1 38 41 PM

Crash report:

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

Process:               Python [11209]
Path:                  /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python
Identifier:            com.apple.python3
Version:               3.9.6 (3.9.6)
Build Info:            python3-124000000000000~2119
Code Type:             X86-64 (Native)
Parent Process:        bash [8887]
Responsible:           Terminal [8885]
User ID:               501

Date/Time:             2024-08-20 13:39:22.9761 -0700
OS Version:            macOS 12.7.5 (21H1222)
Report Version:        12
Bridge OS Version:     3.0 (14Y910)
Anonymous UUID:        6DE6BFE5-34FA-521C-64E7-71AF9A98502B

Sleep/Wake UUID:       EF3BF36F-3329-42B3-894F-5893170A60B3

Time Awake Since Boot: 5300 seconds
Time Since Wake:       3576 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_GUARD (SIGKILL)
Exception Codes:       GUARD_TYPE_VIRT_MEMORY
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace GUARD, Code 11529215050363437056 

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	    0x7ff8153d556e __munmap + 10
1   pyrx.cpython-39-darwin.so     	       0x106854d79 randomx::VmBase<randomx::LargePageAllocator, false>::~VmBase() + 41
2   pyrx.cpython-39-darwin.so     	       0x10684e7bb 0x106843000 + 47035
3   pyrx.cpython-39-darwin.so     	       0x10684d988 randomx_create_vm + 3096
4   pyrx.cpython-39-darwin.so     	       0x106867edb rx_slow_hash + 1179
5   pyrx.cpython-39-darwin.so     	       0x10685c93d 0x106843000 + 104765
6   pyrx.cpython-39-darwin.so     	       0x106866169 0x106843000 + 143721
7   pyrx.cpython-39-darwin.so     	       0x1068634bd 0x106843000 + 132285
8   Python3                       	       0x106b7dc65 0x106af1000 + 576613
9   Python3                       	       0x106b3a5aa _PyObject_MakeTpCall + 378
10  Python3                       	       0x106b3d160 0x106af1000 + 311648
11  Python3                       	       0x106c2c20d 0x106af1000 + 1290765
12  Python3                       	       0x106c28ea5 _PyEval_EvalFrameDefault + 27557
13  Python3                       	       0x106c2d16e 0x106af1000 + 1294702
14  Python3                       	       0x106c22201 PyEval_EvalCode + 81
15  Python3                       	       0x106c733c3 0x106af1000 + 1582019
16  Python3                       	       0x106c715b3 PyRun_SimpleFileExFlags + 979
17  Python3                       	       0x106c90e46 Py_RunMain + 1910
18  Python3                       	       0x106c91313 0x106af1000 + 1704723
19  Python3                       	       0x106c9136b Py_BytesMain + 43
20  dyld                          	       0x10af1f52e start + 462


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007fdcf0854e00  rcx: 0x00007ff7b9af0728  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000200000  rbp: 0x00007ff7b9af0740  rsp: 0x00007ff7b9af0728
   r8: 0x0000f541b00d8140   r9: 0x0000000000003d09  r10: 0x00007ff8153d556e  r11: 0x0000000000000246
  r12: 0x00007fdcf02410e0  r13: 0x0000000000000000  r14: 0x0000000000000001  r15: 0x00007fdcf0854e00
  rip: 0x00007ff8153d556e  rfl: 0x0000000000000246  cr2: 0x0000000000000000
  
Logical CPU:     0
Error Code:      0x02000049 
Trap Number:     133


Binary Images:
    0x7ff8153d1000 -     0x7ff815408fff libsystem_kernel.dylib (*) <4c15b367-00c6-38ab-80d0-19ce510c640d> /usr/lib/system/libsystem_kernel.dylib
       0x106843000 -        0x10686efff pyrx.cpython-39-darwin.so (*) <579dc4b3-a201-31f3-9d9e-1ad11e325a79> /Users/USER/*/pyrx.cpython-39-darwin.so
       0x106af1000 -        0x106d7cfff com.apple.python3 (3.9.6) <8c0dd12f-aa40-38c6-9ad8-c3276ba59c20> /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Python3
       0x10af1a000 -        0x10af85fff dyld (*) <10c8ed27-59df-36b5-ab45-7a381b384783> /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=149.4M resident=0K(0%) swapped_out_or_unallocated=149.4M(100%)
Writable regions: Total=823.7M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=823.7M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        1 
MALLOC                           420.7M       23 
MALLOC guard page                   16K        4 
MALLOC_LARGE (reserved)            256K        2         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                          4K        1 
Stack                             16.0M        1 
VM_ALLOCATE                       2704K       14 
__DATA                             689K       46 
__DATA_CONST                      3046K       39 
__DATA_DIRTY                        79K       24 
__LINKEDIT                       134.3M        9 
__OBJC_RO                         82.9M        1 
__OBJC_RW                         3200K        2 
__TEXT                            15.2M       52 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
shared memory                       12K        2 
===========                     =======  ======= 
TOTAL                              1.0G      224 
TOTAL, minus reserved VM space   680.1M      224 



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

{"app_name":"Python","timestamp":"2024-08-20 13:39:23.00 -0700","app_version":"3.9.6","slice_uuid":"77dd29d6-7ccb-3d6d-8961-0406c21f7330","build_version":"3.9.6","platform":1,"bundleID":"com.apple.python3","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.7.5 (21H1222)","incident_id":"84C3A9B5-8C2F-4C32-91AC-B9E035F1E4A1","name":"Python"}
{
  "uptime" : 5300,
  "procLaunch" : "2024-08-20 13:39:21.1058 -0700",
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro13,3",
  "procStartAbsTime" : 5383781283464,
  "coalitionID" : 1351,
  "osVersion" : {
    "train" : "macOS 12.7.5",
    "build" : "21H1222",
    "releaseType" : "User"
  },
  "captureTime" : "2024-08-20 13:39:22.9761 -0700",
  "incident" : "84C3A9B5-8C2F-4C32-91AC-B9E035F1E4A1",
  "bug_type" : "309",
  "pid" : 11209,
  "procExitAbsTime" : 5385651077181,
  "cpuType" : "X86-64",
  "procName" : "Python",
  "procPath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Library\/Frameworks\/Python3.framework\/Versions\/3.9\/Resources\/Python.app\/Contents\/MacOS\/Python",
  "bundleInfo" : {"CFBundleShortVersionString":"3.9.6","CFBundleVersion":"3.9.6","CFBundleIdentifier":"com.apple.python3"},
  "buildInfo" : {"ProjectName":"python3","SourceVersion":"124000000000000","BuildVersion":"2119"},
  "storeInfo" : {"deviceIdentifierForVendor":"9820EA44-9760-5116-B11C-F37EA8FA920D","thirdParty":true},
  "parentProc" : "bash",
  "parentPid" : 8887,
  "coalitionName" : "com.apple.Terminal",
  "crashReporterKey" : "6DE6BFE5-34FA-521C-64E7-71AF9A98502B",
  "responsiblePid" : 8885,
  "responsibleProc" : "Terminal",
  "wakeTime" : 3576,
  "bridgeVersion" : {"build":"14Y910","train":"3.0"},
  "sleepWakeUUID" : "EF3BF36F-3329-42B3-894F-5893170A60B3",
  "sip" : "enabled",
  "isCorpse" : 1,
  "exception" : {"flavors":["DEALLOC_GAP"],"offset":0,"signal":"SIGKILL","codes":"0x0000000000000000, 0x0000000000000000","message":"offset=0x0000000000000000, flavor=0x00000001 (DEALLOC_GAP)","subtype":"GUARD_TYPE_VIRT_MEMORY","type":"EXC_GUARD","rawCodes":[0,0]},
  "termination" : {"namespace":"GUARD","flags":2,"code":11529215050363437056},
  "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":70873,"threadState":{"r13":{"value":0},"rax":{"value":0},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":2097152},"r8":{"value":269662475354432},"cr2":{"value":0},"rdx":{"value":0},"r10":{"value":140703484958062,"symbolLocation":10,"symbol":"__munmap"},"r9":{"value":15625},"r15":{"value":140586904800768},"rbx":{"value":140586904800768},"trap":{"value":133},"err":{"value":33554505},"r11":{"value":582},"rip":{"value":140703484958062,"matchesCrashFrame":1},"rbp":{"value":140701948905280},"rsp":{"value":140701948905256},"r12":{"value":140586898428128},"rcx":{"value":140701948905256},"flavor":"x86_THREAD_STATE","rdi":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":17774,"symbol":"__munmap","symbolLocation":10,"imageIndex":0},{"imageOffset":73081,"symbol":"randomx::VmBase<randomx::LargePageAllocator, false>::~VmBase()","symbolLocation":41,"imageIndex":1},{"imageOffset":47035,"imageIndex":1},{"imageOffset":43400,"symbol":"randomx_create_vm","symbolLocation":3096,"imageIndex":1},{"imageOffset":151259,"symbol":"rx_slow_hash","symbolLocation":1179,"imageIndex":1},{"imageOffset":104765,"imageIndex":1},{"imageOffset":143721,"imageIndex":1},{"imageOffset":132285,"imageIndex":1},{"imageOffset":576613,"imageIndex":2},{"imageOffset":300458,"symbol":"_PyObject_MakeTpCall","symbolLocation":378,"imageIndex":2},{"imageOffset":311648,"imageIndex":2},{"imageOffset":1290765,"imageIndex":2},{"imageOffset":1277605,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":27557,"imageIndex":2},{"imageOffset":1294702,"imageIndex":2},{"imageOffset":1249793,"symbol":"PyEval_EvalCode","symbolLocation":81,"imageIndex":2},{"imageOffset":1582019,"imageIndex":2},{"imageOffset":1574323,"symbol":"PyRun_SimpleFileExFlags","symbolLocation":979,"imageIndex":2},{"imageOffset":1703494,"symbol":"Py_RunMain","symbolLocation":1910,"imageIndex":2},{"imageOffset":1704723,"imageIndex":2},{"imageOffset":1704811,"symbol":"Py_BytesMain","symbolLocation":43,"imageIndex":2},{"imageOffset":21806,"symbol":"start","symbolLocation":462,"imageIndex":3}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703484940288,
    "size" : 229376,
    "uuid" : "4c15b367-00c6-38ab-80d0-19ce510c640d",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4404293632,
    "size" : 180224,
    "uuid" : "579dc4b3-a201-31f3-9d9e-1ad11e325a79",
    "path" : "\/Users\/USER\/*\/pyrx.cpython-39-darwin.so",
    "name" : "pyrx.cpython-39-darwin.so"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4407103488,
    "CFBundleShortVersionString" : "3.9.6",
    "CFBundleIdentifier" : "com.apple.python3",
    "size" : 2670592,
    "uuid" : "8c0dd12f-aa40-38c6-9ad8-c3276ba59c20",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Library\/Frameworks\/Python3.framework\/Versions\/3.9\/Python3",
    "name" : "Python3",
    "CFBundleVersion" : "3.9.6"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4478574592,
    "size" : 442368,
    "uuid" : "10c8ed27-59df-36b5-ab45-7a381b384783",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  }
],
  "sharedCache" : {
  "base" : 140703481909248,
  "size" : 19331678208,
  "uuid" : "043273c9-5ced-349f-b3a2-fc754c2888b3"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=149.4M resident=0K(0%) swapped_out_or_unallocated=149.4M(100%)\nWritable regions: Total=823.7M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=823.7M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nKernel Alloc Once                    8K        1 \nMALLOC                           420.7M       23 \nMALLOC guard page                   16K        4 \nMALLOC_LARGE (reserved)            256K        2         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                          4K        1 \nStack                             16.0M        1 \nVM_ALLOCATE                       2704K       14 \n__DATA                             689K       46 \n__DATA_CONST                      3046K       39 \n__DATA_DIRTY                        79K       24 \n__LINKEDIT                       134.3M        9 \n__OBJC_RO                         82.9M        1 \n__OBJC_RW                         3200K        2 \n__TEXT                            15.2M       52 \n__UNICODE                          592K        1 \ndyld private memory               1024K        1 \nshared memory                       12K        2 \n===========                     =======  ======= \nTOTAL                              1.0G      224 \nTOTAL, minus reserved VM space   680.1M      224 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "5ffde50ce2aacd000d47a95f",
      "factorPackIds" : {

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

      },
      "deploymentId" : 240000025
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "c47ab4cc-c9c3-4b5d-a87c-e2433ce02597",
      "experimentId" : "6639bc6ba73d460582162323",
      "deploymentId" : 400000006
    }
  ]
}
}

Model: MacBookPro13,3, BootROM 526.0.0.0.0, 4 processors, Quad-Core Intel Core i7, 2.7 GHz, 16 GB, SMC 2.38f12
Graphics: Intel HD Graphics 530, Intel HD Graphics 530, Built-In
Display: Color LCD, 2880 x 1800 Retina, Main, MirrorOff, Online
Graphics: Radeon Pro 455, AMD Radeon Pro 455, PCIe, 2 GB
Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x15A), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.4)
AirPort: 
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB30Bus
USB Device: Apple T1 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.5
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant