munkiadmin icon indicating copy to clipboard operation
munkiadmin copied to clipboard

Instant crash in manifest search view if included manifest is removed while searching for that included manifest

Open tcj opened this issue 5 years ago • 1 comments

Hi,

On Mojave. Haven't tested elsewhere.

Steps to reproduce:

  1. Manifest view -> Search -> any included manifest -> contains -> [manifest-name]
  2. Open properties for one of the manifests that includes [manifest-name]
  3. Navigate to Included Manifests in properties view
  4. remove the included manifest called [manifest-name]
  5. MunkiAdmin closes unexpectedly :)

Process: MunkiAdmin [48094] Path: /Applications/MunkiAdmin.app/Contents/MacOS/MunkiAdmin Identifier: com.hjuutilainen.MunkiAdmin Version: 1.7.1 (1.7.1) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: MunkiAdmin [48094] User ID: 502

Date/Time: 2020-10-01 15:51:43.854 -0700 OS Version: Mac OS X 10.14.6 (18G6020) Report Version: 12 Bridge OS Version: 4.6 (17P6065) Anonymous UUID: B67ABFC0-5F72-66FC-CBB5-F8B8BE073C38

Sleep/Wake UUID: 7714EC1B-7148-45D4-AA7D-9C3A7D66BDC0

Time Awake Since Boot: 960000 seconds Time Since Wake: 5200 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00005d2784eb2208 Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [48094]

VM Regions Near 0x5d2784eb2208: CoreAnimation 0000000122c74000-0000000122c8e000 [ 104K] rw-/rwx SM=PRV
--> MALLOC_NANO 0000600000000000-0000600008000000 [128.0M] rw-/rwx SM=PRV

Application Specific Information: objc_msgSend() selector name: setArray: Performing @selector(removeIncludedManifestAction:) from sender NSButton 0x60000100fe90

tcj avatar Oct 01 '20 22:10 tcj

Thanks for reporting. I can confirm that this is happening on Catalina too.

hjuutilainen avatar Oct 02 '20 06:10 hjuutilainen