Search results for

LLDB crash

29,559 results found

Post

Replies

Boosts

Views

Activity

Reply to Call Blocking (CallKit) not working on iOS 26 Public Beta
Did you make any changes to CXCallDirectoryProvider or CallKit that may prevent call blocking? No, nothing specific to CXCallDirectory changed. However... (or maybe with the new changes that were introduced with call filtering etc in iOS 26) ...there were lots of changes in this area as part of the introduction of Live Caller ID. I've tried lots of call blocking apps (6 apps) and none of them was able to block a call anymore, so this indicates that this should be an issue on the iOS side. Yes, that sounds reasonably likely. However, I need to jump back and expand on what I said here: There's a crash in callservicesd that might cause what you're describing; however, neither of your bugs has enough diagnostic information to confirm that's the case or whether it's a different issue. Broadly speaking, most developer bugs I look at fall along this spectrum, depending on the level of detail they contain: User bug -> This doesn't work. Developer User bug -> This API/part of my app doesn't work. Minima
Topic: App & System Services SubTopic: General Tags:
Jul ’25
lldb-dap closes connection
If I build an x64 binary on my M4 Mini, when I try to debug it using Visual Studio remote debugging the connection is closed, which means I cannot debug my code in x64 mode. I need to be able to do this as I have architecture specific code. I have Rosetta installed. FWIW I have the same issue with lldb-mi :( David
3
0
86
Jul ’25
Reply to Crash in WKScriptMessageHandler — CFRelease / CoreFoundation on iOS with WKWebView
This backtrace is a classic symptom of an over-release bug. Someone has added an object to the autorelease pool and then someone — possible the same code, possibly not — has over released it. When the pool pops, it releases it again, which crashes. I talk about this in depth in Objective-C Memory Management for Swift Programmers. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Safari & Web SubTopic: General Tags:
Jul ’25
Crash in WKScriptMessageHandler — CFRelease / CoreFoundation on iOS with WKWebView
We are building a hybrid iOS app using Angular (web) rendered inside a WKWebView, hosted by a native Swift app. Communication between the Angular UI and native Swift code is done using WKScriptMessageHandler. The app mostly works without issues, but in rare edge cases, we’re seeing crashes on the main thread, and the crash is reported in Firebase Crashlytics. The root cause appears related to CFRelease and WKScriptMessageHandler. Here’s the relevant crash stack: Crashed: com.apple.main-thread 0 CoreFoundation 0xbfac CFRelease + 44 1 CoreFoundation 0xa734 __CFURLDeallocate + 128 2 CoreFoundation 0x730c _CFRelease + 292 3 libobjc.A.dylib 0x4e28 AutoreleasePoolPage::releaseUntil(objc_object**) + 204 4 libobjc.A.dylib 0x4cbc objc_autoreleasePoolPop + 260 5 WebKit 0x99f194 WebKit::WebUserContentControllerProxy::didPostMessage(***::ObjectIdentifierGeneric, unsigned long long>, WebKit::FrameInfoData&&, ***::ObjectIdentifierGeneric, unsigned long long>, std::__1::span
1
0
227
Jul ’25
Reply to TCP socket disconnection with EBROKENPIPE during file copy of signed app bundle
I’d like to clarify your setup. Specifically, I’d like to get a better understanding of the actors involved. You mentioned: Your “client server application” “a file server on the same machine” Copying “using using Finder or terminal using cp” So, is your client/server app one app? Or two? And is the server running locally as well? Or just the client? Is the client/server app related to the file server? Or are you using some standard file server protocol, like SMB? And if it’s a standard file server protocol, are you using the built-in client and server implementations? Or something custom? Also, what version of macOS is this? And do you see any crash reports generated at the time you see this error? Oh, and some random notes… I’m not sure where you got EBROKENPIPE from. The error I’d expect to see when you write to a disconnected socket [1] is EPIPE (32). [quote='794958021, bilbo42, /thread/794958, /profile/bilbo42'] necp_socket_find_policy_match: Marking socket in state 258 as defunct [/quote] NECP
Jul ’25
Reply to Call Blocking (CallKit) not working on iOS 26 Public Beta
We got several user complaints about our app that is not working on iOS 26 Public Beta. ... We've filed 2 bug reports with Feedback Assistant: FB19140680 FB19140594 What API are you blocking calls with? Have you looked into what's actually failing (crashing/hanging/etc)? There's a crash in callservicesd that might cause what you're describing, however, neither of your bugs has enough diagnostic to confirm that's the case or whether it's a different issues. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: App & System Services SubTopic: General Tags:
Jul ’25
iOS 14, App crash when call presentLimitedLibraryPickerFromViewControlle
iPhone7 : iOS 14.0 Beta 5 Xcode-beta Mac OS : 10.15.5 (19F101) crash info : ** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[PHPhotoLibrary presentLimitedLibraryPickerFromViewController:]: unrecognized selector sent to instance xxxxxx' terminating with uncaught exception of type NSException my code: (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; if (@available(iOS 14, *)) { [[PHPhotoLibrary sharedPhotoLibrary] presentLimitedLibraryPickerFromViewController:self]; } }
7
0
4.1k
Sep ’21
Reply to Crashes on iOS 18.x
I’m glad to hear that Network framework is working for you. Closing the loop on this: I thought [the organiser] had a way to get a JSON crash report, but I don’t have the details. I’m researching that. Apparently there isn’t a way to get JSON crash reports from the organiser (r. 157288005)-: Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Aug ’25
Crashes on iOS 18.x
Starting with iOS 18.3, we are getting infrequent crash reports somehow related to web sockets. Are there any new caveats we should be aware of or is it just a CFNetwork bug? Incident Identifier: 0D4343CE-3089-4514-841D-80CEC353B6B8 Distributor ID: com.apple.AppStore Hardware Model: iPhone16,2 AppStoreTools: 16C7015 AppVariant: 1:iPhone16,2:18 Code Type: ARM-64 (Native) Role: Non UI Parent Process: launchd [1] Date/Time: 2025-03-18 15:42:14.1732 -0400 Launch Time: 2025-03-15 20:38:20.7015 -0400 OS Version: iPhone OS 18.3.1 (22D72) Release Type: User Baseband Version: 2.40.05 Report Version: 104 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Codes: 0x0000000000000001, 0x0000000000000000 VM Region Info: 0 is not in any region. Bytes before following region: 4373233664 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 104aa4000-104aa8000 [ 16K] r-x/r-x SM=COW /var/containers/Bundle/Applicat
7
0
114
Aug ’25
Gatekeeper rejects notarized app ("Unnotarized Developer ID") when using necessary entitlements
Hello everyone, I'm hoping to get some guidance on a frustrating codesigning issue. I have a macOS application that successfully completes the entire notarization and stapling process, but it is still rejected by Gatekeeper during the final verification step. The rejection only happens when I apply the entitlements that I believe are necessary for my app's functionality. The application is built with PyInstaller and has the following components: A main executable written in Python. A bundled Tcl/Tk instance for the GUI. Embedded Playwright components, which include the Node.js runtime and a full Chromium browser instance. These are located deep inside the .app bundle. The Problem The core of my application relies on Playwright to perform some automated tasks, and its bundled Chromium browser requires specific entitlements to function under the Hardened Runtime. Specifically, it needs com.apple.security.cs.allow-jit and com.apple.security.cs.allow-unsigned-executable-memory. My signing process is as follows: P
9
0
467
Jul ’25
Reply to Signing a daemon with the Endpoint Security entitlement
[quote='851050022, Darrilla, /thread/791996?answerId=851050022#851050022, /profile/Darrilla'] Yes, please see my latest responses. [/quote] You mean this post? If so, I see a launchctl load in there but no launchctl start. Those are very different things. Anyway, if you attempted to start the daemon and got no logging, one of two things happened: The daemon failed to start at all. The daemon failed before you got to your log point. I recommend that you rule out the second by creating a ‘first light’ log point, one that runs before any code that could possibly fail. The next step then depends on whether you see that log entry or not. If you do, it’s likely that the daemon crashed and you can look for a crash report. And, failing that, you can march your log point forward until things stop working. If you don’t see the first light log point, I recommend that you look for a crash report. That’s a very common culprit for this. If there’s no crash report, you can deploy launchct
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’25
dispatch_main and main thread local variables
Hello, We're seeing some strange crashes and noticed the following. It's unclear if related or not. The contract for xpc_main, which internally calls dispatch_main, is This function never returns. and they are appropriately peppered with __attribute__((__noreturn__)). Documentation states: This function “parks” the main thread and waits for blocks to be submitted to the main queue. However, internally, dispatch_main calls pthread_exit. pthread_exit's documentation states that: After a thread has terminated, the result of access to local (auto) variables of the thread is undefined. Thus, references to local variables of the exiting thread should not be used for the pthread_exit() value_ptr parameter value. I'd say the two contracts of This function never returns. and thread exiting with its storage released are diametrically opposed and can create nuanced issues. Consider the following code: struct asd { int a; }; struct asd* ptr; void fff(void* ctx) { while(true) { printf(%dn, ptr->a); ptr->a =
1
0
94
Jul ’25