Search results for

LLDB crash

29,559 results found

Post

Replies

Boosts

Views

Activity

HomeKit ADK Remote.OpenSSL fails with No setup info found in key-value store during pairing (HAPPlatformAccessorySetup.c:93)
Hello Apple Developers, I'm currently working on building a custom HomeKit Accessory using the HomeKit ADK v6.3 and running the Remote.OpenSSL sample on a Raspberry Pi 4 (64-bit Ubuntu / Linux Kernel 6.1.21-v8+). I'm trying to pair the accessory via the MFi HomeKit ADK pairing process. I've successfully compiled the ADK using: The application (Remote.OpenSSL) launches correctly, and the accessory server starts as expected, broadcasting via mDNS. However, when I attempt to initiate pairing via iOS (or simulate pairing), the following error occurs: Fault fatal error - HAPPlatformAccessorySetupLoadSetupInfo @ PAL/Linux/HAPPlatformAccessorySetup.c:93 This causes the application to crash.
1
0
37
Jul ’25
Reply to JavascriptCore crashes with pas_reallocation_did_fail
So, I spent some time debugging and gathering more information and I realized that after the app becomes active we are calling a JS function stored as a JSValue in our native side. I guessed the JSValue may had been deallocating and thus the crash. So, I reviewed the documentation and decided to use and store a JSManagedValue instead. It seems that the crash is not happening anymore, but the JSManagedValue::value is deallocated even more often than before, making value to be nil and forcing us to skip the call. I'm not trying to understand why the JSValue is not retained properly: We are calling addManagedReference:withOwner: to retain the object manually. As owner, we are providing a native object that has visibility in the JS environment and it's in fact stored in window.something after it's created. At no point we call removeManagedReference:withOwner: to release the object It's always happening after the app becomes active again, so I guess something gets deallocated while the app is the
Topic: Safari & Web SubTopic: General Tags:
Jul ’25
JavascriptCore crashes with pas_reallocation_did_fail
Hi, My app is using JavascriptCore to run the business logic in a javascript environment. We are randomly seeing crashes when users move the app back to the foreground. These crashes are reported by Firebase (I am attaching an example). I also tried to find them in Organizer, but the stacktraces don't match and I am not sure if they are pointing to the same error (I attach one just in case). I was trying to investigate a little bit about this, but I could find any explanation about what pas_reallocation_did_fail would mean. Here is our implementation: -(void) enqueueCallback:(JSValue *)callback withArguments:(NSArray *)args exclusive:(BOOL)exclusive { [self enqueueBlock:^{ @autoreleasepool { [callback callWithArguments:args]; } } exclusive:exclusive]; } Basically, every JS block is enqueued and then run by a dedicated thread specific to our JSContext. Can I get some help? Thanks in advance! Crashlytics.txt 2024-08-30_10-00-01.2572_-0400-f757f8306eda9679ec1b2ff90fbc66c4eb1fbee7.crash
3
0
474
Jul ’25
Reply to Index out of range crash: internal framework
Hello, re: calls to setParameter to dynamically update the material on very rapid frequency. The mesh is locked (no more updates) before the calls to setParameter. this seems like it could be race condition or other update issue (drawable starvation?) related to the very rapid update frequency. Try reducing the update frequency to see if that resolves the issue. Also, send us a bug report with a sample project that causes the crash so we can investigate further.
Jul ’25
Index out of range crash: internal framework
Hi there, I'm developing a visionOS app that is using the anchor points and mesh from SceneReconstructionProvider anchor updates. I load an ImmersiveSpace using a RealityView and apply a ShaderGraphMaterial (from a Shader Graph in Reality Composer Pro) to the mesh and use calls to setParameter to dynamically update the material on very rapid frequency. The mesh is locked (no more updates) before the calls to setParameter. This process works for a few minutes but then eventually I get the following error in the console: assertion failure: Index out of range (operator[]:line 789) index = 13662, max = 1 With the following stack trace: Thread 1 Queue : com.apple.main-thread (serial) #0 0x00000002880f90d0 in __abort_with_payload () #1 0x000000028812a6dc in abort_with_payload_wrapper_internal () #2 0x000000028812a710 in abort_with_payload () #3 0x0000000288003f40 in _os_crash_msg () #4 0x00000001dc9ff624 in re::ecs2::ComponentBucketsBase::addComponent () #5 0x00000001dc9ffadc in re::ecs2::ComponentBucketsBase::move
1
0
243
Jul ’25
Inference Provider crashed with 2:5
I am trying to create a slightly different version of the content tagging code in the documentation: https://developer.apple.com/documentation/foundationmodels/systemlanguagemodel/usecase/contenttagging In the playground I am getting an Inference Provider crashed with 2:5 error. I have no idea what that means or how to address the error. Any assistance would be appreciated.
1
0
515
Jul ’25
Reply to Crashes on iOS 18.x
Unfortunately, we have never seen these crashes ourselves, so all we have is crash reports from the App Store in Xcode. What surprises me a bit is Role: Non UI in all but one crash instance though the app does not use any background modes. We do use NSURLSessionWebSocketTask, though.
Topic: App & System Services SubTopic: General Tags:
Jul ’25
CFNetwork crash in CFURLRequestSetMainDocumentURL
I have received two strange crash reports from an iPad11,7 running iPadOS 15.1 and an iPad11,2 running iPadOS 15.2. On both occasions, the crashed thread calls CFURLRequestSetMainDocumentURL, which in turn calls _dispatch_source_set_runloop_timer_4CF in libdispatch, after which the application crashes with SIGSEGV and SEGV_MAPERR. The crashed thread's call stack is displayed below. Full crash logs are attached as well. What could this be? Exception Type: SIGSEGV Exception Codes: SEGV_MAPERR at 0x21d Crashed Thread: 20 Thread 20 Crashed: 0 libdispatch.dylib 0x00000001829e1784 _dispatch_source_set_runloop_timer_4CF + 36 1 CFNetwork 0x00000001834fc824 CFURLRequestSetMainDocumentURL + 2240 2 CFNetwork 0x00000001836b89a8 _CFNetworkErrorGetLocalizedDescription + 693652 3 CFNetwork 0x00000001834fdb1c CFURLRequestSetMainDocumentURL + 7096 4 CFNetwork 0x00000001834f3c34 CFURLRequestSetURL + 9668 5 libdispatch.dylib 0x00000001829ca914 _dispatch_call_block_a
11
0
5.2k
Nov ’24
Reply to There's wrong with speech detector ios26
SpeechAnalysisModule doesn't exist, SpeechAnalyzer init parameter is called SpeechModule. Doing let modules: [any SpeechModule] = [detector, transcriber] also doesn't work, since it's obviously Cannot convert value of type 'SpeechDetector' to expected element type 'any SpeechModule'. This compiles and runs: let detector = SpeechDetector(detectionOptions: SpeechDetector.DetectionOptions(sensitivityLevel: .medium), reportResults: true) let modules: [any SpeechModule] = [detector as! (any SpeechModule), transcriber] let analyzer = SpeechAnalyzer(modules: modules, options: SpeechAnalyzer.Options(priority: .high, modelRetention: .processLifetime)) but honestly, I see no difference with or without the detector. Actually testing the results via: let detector = SpeechDetector(detectionOptions: SpeechDetector.DetectionOptions(sensitivityLevel: .medium), reportResults: true) let modules: [any SpeechModule] = [detector as! (any SpeechModule), transcriber] Task { for try await result in detector.results { print(result: (
Topic: Media Technologies SubTopic: Audio Tags:
Jul ’25
Reply to Crashes on iOS 18.x
Thanks for those. I can’t see anything obviously broken there. Any chance you can dig up a JSON format (.ips) crash report? I may be able to learn more from that. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Jul ’25
Reply to Execution breakpoint when trying to play a music library file with AVAudioEngine
Please find attached my crash log. I believe this is the right one. So, here is where the crash log shows you're crashing: Thread 3 Crashed: ... 6 libswift_Concurrency.dylib 0x19a4e043c _swift_task_checkIsolatedSwift + 48 7 libswift_Concurrency.dylib 0x19a53fc50 swift_task_isCurrentExecutorWithFlagsImpl(swift::SerialExecutorRef, swift::swift_task_is_current_executor_flag) + 356 8 VisualMan.debug.dylib 0x10285f8a4 closure #1 in AudioEngineManager.setupAudioEngine() 9 VisualMan.debug.dylib 0x10285f9c0 thunk for @escaping @callee_guaranteed (@guaranteed AVAudioPCMBuffer, @guaranteed AVAudioTime) -> () 10 AVFAudio 0x1ab981bf8 AVAudioNodeTap::CheckEmitBuffer() + 1304 [inlined] ... 14 AVFAudio 0x1ab980b0c invocation function for block in CADeprecated::RealtimeMessenger::RealtimeMessenger(applesauce::dispatch::v1::queue) + 108 15 libclang_rt.asan_ios_dynamic.dylib 0x102dc7398 __wrap_dispatch_source_set_event_handler_block_invoke + 196 16 libdispatch.dylib 0x1966b77cc _dispatch_
Topic: Media Technologies SubTopic: Audio Tags:
Jul ’25
LLDB error after update xcode 26 beta 3
self = : MiBanco.NumericPadButtonView _amount = : Binding _maxDigitsReached = : Binding button = : MiBanco.NumericPadButton After update xcode beta 26 custom numeric pad that use bindings variable get stuck my app when binigns variable change, and the console shows those messages self = : MiBanco.NumericPadButtonView _amount = : Binding _maxDigitsReached = : Binding button = : MiBanco.NumericPadButton
1
0
82
Jul ’25
Recommended / Canonical way to host remote (separate process) SwiftUI views.
I am building a tool that enables the user to write, auto-compile and interact with SwiftUI code (think something like a mini Xcode Canvas). Which so far works really well. The app is not sandboxed since it uses tools like swiftc and sourcekit-lsp. The obvious problem here is that since the 'Preview' part of the app is driven by arbitrary code a crash/hang there would lead to a termination of the whole app. I understand that there are some private apis like NSRemoteView or CALayerHost but I would like to avoid them if I can. From what I see reading other similar solutions IOSurface sharing + event forwarding might be the best solution. So my question is: Is there a proper or recommended way to achieve this? Meaning having a fully interactive SwiftUI view presented in my host app but running on a separate process? Any pointers to the right direction or examples or whatever could help me with this would be greatly appreciated.
4
0
173
Jul ’25