jamf / JamfMigrator

A tool to migrate data granularly between Jamf Pro servers
MIT License
140 stars 10 forks source link

App hangs when trying to open log folder #39

Closed monodata closed 4 years ago

monodata commented 4 years ago

When I press ⌘-L to view the logs, the application hangs and has to be forced quit to be able to do anything.

This is the first section of the error stack but I'll put the rest as a Gist

Date/Time:       2019-09-26 09:43:32 +0100
End time:        2019-09-26 09:43:33 +0100
OS Version:      Mac OS X 10.14.6 (Build 18G95)
Architecture:    x86_64h
Report Version:  28

Data Source:     Stackshots
Shared Cache:    0x1875b000 51AC4CA6-F180-3ACA-A3AD-01AFCD6C7C8F

Command:         jamf-migrator
Path:            /Applications/jamf-migrator.app/Contents/MacOS/jamf-migrator
Identifier:      com.jamf.jamf-migrator
Version:         4.0.1 (1)
Parent:          launchd [1]
PID:             22566

Event:           hang
Duration:        1.10s (process was unresponsive for 12 seconds before sampling)
Steps:           11 (100ms sampling interval)

Hardware model:  MacBookPro14,3
Active cpus:     8

Time Awake Since Boot: 46000s
Time Since Wake: 730s

Fan speed:       2312 rpm

--------------------------------------------------
Timeline format: stacks are sorted chronologically
Use -i and -heavy to re-report with count sorting
--------------------------------------------------

Heaviest stack for the main thread of the target process:
  11  start + 1 (libdyld.dylib + 91093) [0x7fff700663d5]
  11  ??? (jamf-migrator + 9113) [0x107141399]
  11  NSApplicationMain + 777 (AppKit + 10984) [0x7fff416ecae8]
  11  -[NSApplication run] + 755 (AppKit + 79328) [0x7fff416fd5e0]
  11  -[NSApplication(NSEvent) sendEvent:] + 1064 (AppKit + 151880) [0x7fff4170f148]
  11  routeKeyEquivalent + 860 (AppKit + 8310111) [0x7fff41ed6d5f]
  11  -[NSMenu performKeyEquivalent:] + 363 (AppKit + 3568718) [0x7fff41a5144e]
  11  -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 114 (AppKit + 3573212) [0x7fff41a525dc]
  11  -[NSMenuItem _corePerformAction] + 323 (AppKit + 3573867) [0x7fff41a5286b]
  11  -[NSApplication(NSResponder) sendAction:to:from:] + 312 (AppKit + 3196484) [0x7fff419f6644]
  11  ??? (jamf-migrator + 328348) [0x10718f29c]
  11  ??? (jamf-migrator + 37213) [0x10714815d]
  11  -[NSWorkspace openFile:withApplication:andDeactivate:] + 31 (AppKit + 9523626) [0x7fff41fff1aa]
  11  -[NSWorkspace _openFile:withApplication:asService:andWait:andDeactivate:] + 515 (AppKit + 9523267) [0x7fff41fff043]
  11  LSOpenFromURLSpec + 302 (LaunchServices + 320067) [0x7fff4571e243]
  11  _LSOpenURLsWithRole_CommonLegacy(__CFArray const*, unsigned int, AEKeyDesc const*, LSApplicationParameters_V1 const*, _LSOpen2Options const*, ProcessSerialNumber*, long, __CFURL const**, unsigned char*) + 90 (LaunchServices + 943267) [0x7fff457b64a3]
  11  _LSOpenURLsWithRole_Common + 56 (LaunchServices + 942503) [0x7fff457b61a7]
  11  _LSOpenStuff + 380 (LaunchServices + 320509) [0x7fff4571e3fd]
  11  -[_LSRemoteOpenCall invokeWithError:] + 231 (LaunchServices + 1390575) [0x7fff458237ef]
  11  xpc_connection_send_message_with_reply_sync + 178 (libxpc.dylib + 42567) [0x7fff70298647]
  11  dispatch_mach_send_with_result_and_wait_for_reply + 50 (libdispatch.dylib + 96386) [0x7fff7002d882]
  11  _dispatch_mach_send_and_wait_for_reply + 609 (libdispatch.dylib + 95207) [0x7fff7002d3e7]
  11  mach_msg_trap + 10 (libsystem_kernel.dylib + 4650) [0x7fff7019b22a]
 *11  ipc_mqueue_receive_continue + 0 (kernel + 1651872) [0xffffff80003934a0]
BIG-RAT commented 4 years ago

Any issues browsing to it in the finder? Utilizing any sort of folder redirection related to the log location (~/Library/Containers/com.jamf.jamf-migrator/Data/Library/Logs)?

BIG-RAT commented 4 years ago

@monodata - still an issue? If so what is the path to your home directory?

BIG-RAT commented 4 years ago

Inactive