KERN_PROTECTION_FAILURE (GPU Carveout)

I have a crash in an app made in SwiftUI and using Core Bluetooth. I didn't have any UI, just the WindowGroup with an EmptyView, in this crash log. I was just sending some data in the EmptyView's .onAppear modifier to the peripheral and when I got the response and disconnect I get the following crash. I don't know what is going on. Can anyone help me please?

Incident Identifier: 0A33C23B-6EB3-4137-92BE-A76DFB446558
CrashReporter Key:   47afebdb13773bf8c6112096dc5c4bf106cc22a1
Hardware Model:      iPhone12,1
Process:             App Clavier [331]
Path:                /private/var/containers/Bundle/Application/F88A8F58-D219-4991-8356-337BD96CFAC8/App Clavier.app/App Clavier
Identifier:          com.winerim.giltza
Version:             1.0 (2)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.winerim.giltza [519]

Date/Time:           2022-06-02 10:12:07.1258 +0200
Launch Time:         2022-06-02 10:11:49.3838 +0200
OS Version:          iPhone OS 15.4.1 (19E258)
Release Type:        User
Baseband Version:    3.02.01
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x00000027fffff9a0
Exception Codes: 0x0000000000000002, 0x00000027fffff9a0
VM Region Info: 0x27fffff9a0 is in 0x1000000000-0x7000000000;  bytes after start: 103079213472  bytes before end: 309237646943
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      commpage (reserved)      fc0000000-1000000000 [  1.0G] ---/--- SM=NUL  ...(unallocated)
--->  GPU Carveout (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL  ...(unallocated)
      UNUSED SPACE AT END
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 10 Bus error: 10
Terminating Process: exc handler [331]

Triggered by Thread:  0

Kernel Triage:
VM - pmap_enter failed with resource shortage


Thread 0 name:   Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libswiftCore.dylib            	       0x19f027cb8 swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1> >::incrementSlow(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 60
1   libswiftCore.dylib            	       0x19efef0d0 swift_retain + 124
2   libswiftCore.dylib            	       0x19efef0d0 swift_retain + 124
3   SwiftUI                       	       0x1a1db2f54 ViewGraph.timeDidChange() + 88
4   SwiftUI                       	       0x1a1db3868 GraphHost.setTime(_:) + 168
5   SwiftUI                       	       0x1a1dcb1dc ViewGraph.beginNextUpdate(at:) + 28
6   SwiftUI                       	       0x1a1dc51c8 closure #1 in ViewRendererHost.render(interval:updateDisplayList:) + 2280
7   SwiftUI                       	       0x1a1e8cd5c ViewRendererHost.render(interval:updateDisplayList:) + 388
8   SwiftUI                       	       0x1a1dd816c _UIHostingView.layoutSubviews() + 256
9   SwiftUI                       	       0x1a1ddbfcc @objc _UIHostingView.layoutSubviews() + 28
10  UIKitCore                     	       0x19c794844 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2592
11  QuartzCore                    	       0x19df0a1c0 CA::Layer::layout_if_needed(CA::Transaction*) + 532
12  QuartzCore                    	       0x19defc5fc CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 136
13  QuartzCore                    	       0x19df10f70 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 452
14  QuartzCore                    	       0x19df19e78 CA::Transaction::commit() + 704
15  QuartzCore                    	       0x19defbd7c CA::Transaction::flush_as_runloop_observer(bool) + 88
16  CoreFoundation                	       0x19a1d9bb4 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
17  CoreFoundation                	       0x19a1a8b70 __CFRunLoopDoObservers + 592
18  CoreFoundation                	       0x19a1a3c2c __CFRunLoopRun + 1052
19  CoreFoundation                	       0x19a1b76b8 CFRunLoopRunSpecific + 600
20  GraphicsServices              	       0x1b6251374 GSEventRunModal + 164
21  UIKitCore                     	       0x19cb1ce88 -[UIApplication _run] + 1100
22  UIKitCore                     	       0x19c89e5ec UIApplicationMain + 364
23  SwiftUI                       	       0x1a1fee640 closure #1 in KitRendererCommon(_:) + 164
24  SwiftUI                       	       0x1a1f1c524 runApp<A>(_:) + 252
25  SwiftUI                       	       0x1a1efd810 static App.main() + 128
26  App Clavier                   	       0x10507b5f8 static App_ClavierApp.$main() + 40
27  App Clavier                   	       0x10507b774 main + 12
28  dyld                          	       0x1058a5ce4 start + 520

KERN_PROTECTION_FAILURE (GPU Carveout)
 
 
Q