Terminal Bus error: 10 during xcrun notarytool submit

This afternoon notarization started throwing an error in terminal. I confirmed that the NOTARIZE_APP_LOG was created, but empty. I have been notarizing our apps on this machine (intel-12.7) with Xcode 13.4.1 for over a year without issue. Any suggestions would be greatly appreciated

9192 Bus error: 10 xcrun notarytool submit --apple-id "$ASC_USERNAME" --password "$ASC_PASSWORD" --team-id "$ASC_TEAM" "$ZIP_PATH" > "$NOTARIZE_APP_LOG" 2>&1


Translated Report (Full Report Below)

Process: notarytool [9192] Path: /Library/Developer/CommandLineTools/usr/bin/notarytool Identifier: notarytool Version: ??? Code Type: X86-64 (Native) Parent Process: bash [2167] Responsible: Terminal [2142] User ID: 501

Date/Time: 2024-07-02 16:29:33.5256 -0600 OS Version: macOS 12.7 (21G816) Report Version: 12 Bridge OS Version: 8.0 (21P365) Anonymous UUID: 9AFB52C6-5CA1-7AE0-C249-9D090ABDFD28

Time Awake Since Boot: 820 seconds

System Integrity Protection: enabled

Crashed Thread: 1 Dispatch queue: nio.nioTransportServices.connectionchannel

Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000700009d77ff0 Exception Codes: 0x0000000000000002, 0x0000700009d77ff0 Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace SIGNAL, Code 10 Bus error: 10 Terminating Process: exc handler [9192]

Answered by themutis in 793862022

Pretty sure it has to do with my upload speed (I am on vacation and not at home) and that the notarization is timing out.

I better message would help :)

Accepted Answer

Pretty sure it has to do with my upload speed (I am on vacation and not at home) and that the notarization is timing out.

I better message would help :)

notarytool shouldn’t crash regardless of the network conditions. I’d appreciate you filing a bug about this, making sure to include a sysdiagnose log, the crash report, and a copy of the zip archive that you tried to upload. Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I also get this error consistently on Xcode 15.4. It only happens if I add --wait. If I simply run notarize submit it successfully uploads the file.

I also see this randomly on Xcode 16.1.

I’m going to repeat my advice from earlier:

  • notarytool shouldn’t crash, ever.

  • If you see it crash, please file a bug about that.

  • And post the bug number here.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Terminal Bus error: 10 during xcrun notarytool submit
 
 
Q