sametsazak / mergen

Mergen is an open-source, native macOS application for auditing and checking the security of your MacOS.
MIT License
157 stars 10 forks source link

Mergen Crashes #7

Open badummtss opened 1 year ago

badummtss commented 1 year ago

Hello, by scan all the application crashes.

Here's the log:

Checking ---- : Check Gatekeeper Status Checking ---- : Check FileVault Status Checking ---- : Check System Integrity Protection (SIP) Status Checking ---- : Check Firewall Status Checking ---- : Check Certificate Trust Settings Output: errorData: 64 bytes errorOutput: SecTrustSettingsCopyCertificates: No Trust Settings were found. Checking ---- : Check If SSH Is Enabled Checking ---- : iCloud Drive Status Check Checking ---- : Guest Login Status Check Checking ---- : Check Siri Status Checking ---- : Check Secure Kernel Extension Loading Checking ---- : Check Sending Diagnostic and Usage Data to Apple Status Checking ---- : Check Java 6 Default Runtime Status Checking ---- : Check EFI Version is Valid and Regularly Checked Checking ---- : Check Bonjour Advertising Service Status 2023-04-29 06:22:44.745 defaults[3296:29109] The domain/default pair of (/Library/Preferences/com.apple.mDNSResponder.plist, NoMulticastAdvertisements) does not exist Checking ---- : Check HTTP Server Status AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 10.0.0.20. Set the 'ServerName' directive globally to suppress this message Syntax OK Checking ---- : Check NFS Server Status Checking ---- : Check 'Show Password Hints' Status 2023-04-29 06:22:44.833 defaults[3301:29121] The domain/default pair of (/Library/Preferences/com.apple.loginwindow.plist, RetriesUntilHint) does not exist Checking ---- : Check 'Allow guests to connect to shared folders' Status 2023-04-29 06:22:44.841 defaults[3302:29123] The domain/default pair of (/Library/Preferences/com.apple.AppleFileServer, guestAccess) does not exist Checking ---- : Check Automatic Run of Safe Files in Safari 2023-04-29 06:22:44.911 defaults[3303:29125] The domain/default pair of (/Users/0zzy/Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari, AutoOpenSafeDownloads) does not exist Checking ---- : Check Safari Disable Internet Plugins for Global Use 2023-04-29 06:22:44.981 defaults[3304:29129] The domain/default pair of (/Users/0zzy/Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari, PlugInFirstVisitPolicy) does not exist Checking ---- : Check Fast User Switching Status Checking ---- : Check Filename Extension Status Checking ---- : Check All Apple-Provided Software Is Updated In Last 30 Days Checking ---- : Check Auto Update Is Enabled Checking ---- : Check 'Install Application Updates from the App Store' Is Enabled Checking ---- : Check Install Security Responses and System Files Is Enabled Checking ---- : Check 'Install system data files and security updates' Is Enabled Checking ---- : Check Firewall Stealth Mode Is Enabled Checking ---- : Check AirDrop Is Disabled 2023-04-29 06:22:45.112 defaults[3313:29151] The domain/default pair of (com.apple.NetworkBrowser, DisableAirDrop) does not exist Checking ---- : Check 'Set Time and Date Automatically' Is Enabled Checking ---- : Check Time Is Set Within Appropriate Limits Checking ---- : Check DVD or CD Sharing Is Disabled Could not find service "com.apple.ODSAgent" in domain for port Checking ---- : Check Screen Sharing Is Disabled Could not find service "com.apple.screensharing" in domain for port Checking ---- : Check File Sharing Is Disabled Checking ---- : Check Printer Sharing Is Disabled Checking ---- : Check Remote Login Is Disabled Checking ---- : Check Remote Management(ARDagent) Is Disabled grep: grep: No such file or directory Checking ---- : Check Remote Apple Events Is Disabled Checking ---- : Check Internet Sharing Is Disabled Checking ---- : Check Content Caching Is Disabled Checking ---- : Check Media Sharing Is Disabled Checking ---- : Check Bluetooth Sharing Is Disabled 2023-04-29 06:22:45.308 defaults[3328:29180] The domain/default pair of (com.apple.Bluetooth, PrefKeyServicesEnabled) does not exist Checking ---- : Check that Time Machine is Enabled Checking ---- : Check Time Machine Volumes Are Encrypted If Time Machine Is Enabled 1 2023-04-29 06:22:45.331 mergen[3274:29182] Terminating app due to uncaught exception 'NSFileHandleOperationException', reason: ' -[NSConcreteFileHandle readDataOfLength:]: Bad file descriptor' *** First throw call stack: ( 0 CoreFoundation 0x00007ff8137961ba __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007ff8132bc42b objc_exception_throw + 48 2 Foundation 0x00007ff814a72143 -[NSConcreteFileHandle readDataUpToLength:error:] + 0 3 Foundation 0x00007ff814596ce5 -[NSConcreteFileHandle readDataOfLength:] + 605 4 mergen 0x0000000106e54a76 mergen + 96886 5 mergen 0x0000000106e6222f mergen + 152111 6 mergen 0x0000000106e614d9 mergen + 148697 7 libdispatch.dylib 0x00007ff8134a0d91 _dispatch_call_block_and_release + 12 8 libdispatch.dylib 0x00007ff8134a2033 _dispatch_client_callout + 8 9 libdispatch.dylib 0x00007ff8134a8200 _dispatch_lane_serial_drain + 769 10 libdispatch.dylib 0x00007ff8134a8d39 _dispatch_lane_invoke + 366 11 libdispatch.dylib 0x00007ff8134b33fc _dispatch_workloop_worker_thread + 765 12 libsystem_pthread.dylib 0x00007ff81363fc55 _pthread_wqthread + 327 13 libsystem_pthread.dylib 0x00007ff81363ebbf start_wqthread + 15 ) libc++abi: terminating due to uncaught exception of type NSException [1] 3274 abort ./mergen

sametsazak commented 1 year ago

Based on the log, it seems that Mergen crashed due to an uncaught exception of type NSFileHandleOperationException.

The reason might be:

I'll check the module itself. thank you for sharing it. @badummtss