Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[In-app feedback] #813

Closed
alt-tab-macos-bot opened this issue Feb 10, 2021 · 4 comments
Closed

[In-app feedback] #813

alt-tab-macos-bot opened this issue Feb 10, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@alt-tab-macos-bot
Copy link

This issue was opened by a bot after a user submitted feedback through the in-app form.

Message:

Live2D Cubism Editor does not start.
The rainbow cursor remains and does not start forever

You can download the trial version, so please try it.
https://www.live2d.com/download/cubism/

Debug profile

  • App version: 6.15.0
  • App preferences:
    • MSAppCenter310AppCenterUserDefaultsMigratedKey: 1
    • MSAppCenter310CrashesUserDefaultsMigratedKey: 1
    • MSAppCenterInstallId: 78BFB46D-4E28-43B3-A113-E6EFA16B2AAA
    • MSAppCenterPastDevices: {length = 1122, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 00000370 }
    • MSAppCenterSessionIdHistory: {length = 452, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 0000014e }
    • MSAppCenterUserIdHistory: {length = 447, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 00000149 }
    • NSWindow Frame SUUpdateAlert: 970 768 620 392 0 0 2560 1417
    • SUHasLaunchedBefore: 1
    • SULastCheckTime: 2021-02-10 02:52:39 +0000
    • SUUpdateGroupIdentifier: 1604590770
    • SUUpdateRelaunchingMarker: 0
    • alignThumbnails: 1
    • crashPolicy: 1
    • disableShortcutsBlacklist: com.realvnc.vncviewer
      com.microsoft.rdc.macos
      com.teamviewer.TeamViewer
      org.virtualbox.app.VirtualBoxVM
      com.parallels.
      com.citrix.XenAppViewer
      com.live2d.cubism.CECubismEditorApp
    • dontShowBlacklist: com.McAfee.McAfeeSafariHost
      com.apple.Stickies
      com.eset.ecs.6
      com.live2d.cubism.CECubismEditorApp
    • hideThumbnails: false
    • hideWindowlessApps: true
    • holdShortcut: ⌘
    • menubarIcon: 2
    • nextWindowShortcut: ⇥
    • preferencesVersion: 6.15.0
    • showHiddenWindows: 0
    • showOnScreen: 2
    • showTabsAsWindows: true
    • spacesToShow: 0
    • startAtLogin: false
    • theme: 0
    • titleTruncation: 0
    • updatePolicy: 1
    • windowMaxWidthInRow: 30
  • Applications: 66
  • Windows: 22
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 1, spaceIndex: 0}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 7, spaceIndex: 2}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 7, spaceIndex: 2}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 7, spaceIndex: 2}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 7, spaceIndex: 2}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 7, spaceIndex: 2}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 7, spaceIndex: 2}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 7, spaceIndex: 2}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 7, spaceIndex: 2}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 7, spaceIndex: 2}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 7, spaceIndex: 2}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 7, spaceIndex: 2}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 1, spaceIndex: 0}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 7, spaceIndex: 2}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 968, spaceIndex: 3}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 1, spaceIndex: 0}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 969, spaceIndex: 4}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 1, spaceIndex: 0}
    • {isFullscreen: false, isMinimized: true, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 1, spaceIndex: 0}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 969, spaceIndex: 4}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 1, spaceIndex: 0}
    • {isFullscreen: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, spaceId: 1, spaceIndex: 0}
  • OS version: バージョン10.15.7(ビルド19H512)
  • OS architecture: x86_64
  • Locale: ja_JP (current)
  • Spaces: 5
  • Dark mode: Light
  • "Displays have separate Spaces": checked
  • Hardware model: iMac15,1
  • Screens: 4
    • {x: 0.0, y: 0.0, width: 2560.0, height: 1440.0}
    • {x: -1920.0, y: 146.0, width: 1920.0, height: 1080.0}
    • {x: 2560.0, y: 240.0, width: 1920.0, height: 1200.0}
    • {x: 585.0, y: -768.0, width: 1024.0, height: 768.0}
  • CPU model: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
  • Memory size: 34.36 GB
  • Active CPU count: 8
  • Current CPU frequency: 4.0 Ghz
  • Resource utilization:
    • CPU: 0.0%
    • Memory: 69M
    • Threads count: 17

@lwouis lwouis added the bug Something isn't working label Feb 10, 2021
@lwouis
Copy link
Owner

lwouis commented Feb 10, 2021

I downloaded this app, and indeed, if AltTab is open before the app is started, it stays on the splash window and never finishes starting up. Even if AltTab is quit at this point, the app is frozen on the splash screen forever.

This reminds me of the issue from #314 #562, except with a more severe symptom

@lwouis
Copy link
Owner

lwouis commented Feb 10, 2021

Indeed, it was the same exact root cause. I think it's a bug in the macOS API. I added a workaround so it works for users of that app in the here and now, but it's an issue on Apple side longer-term.

The fix will ship in the next release

@Sl4uGh7eR
Copy link

Hello there, I'm working in motionVFX company as customer support.
I think that we're experiencing similar (along with host app crash) issue with our mTracker3D (Final Cut Pro plugin).
When AltTab is launched, Final Cut Pro becomes unresponsive after using "Paste Track" function within the plugin (after 1 minute of rainbow spindump wheel, the crash occurs) - it's a simple "paste" of parameters stored in the PasteBoard to the host app.

Crashlog attached.

It's something related to XPC Connection that newer versions of FCP are using to communicate with plugins.

Final Cut Pro_2021-02-12-115044_MVFX-Robert-Bizon-Mac-Mini.crash.txt

If it's Apple-side related problem, we would like to know the source, so we can report bug to them.

@lwouis
Copy link
Owner

lwouis commented Feb 13, 2021

Hey @Sl4uGh7eR! Thanks for sharing this issue.

You're saying that AltTab being running in the background is the cause of the crash you described? Like without AltTab there is no crash?

What we can try is that you give me the Bundle Identifiers of both FCP and your plugin. I can then hardcode the same fix i did for other apps with similar issue and share with you a test build here. You can then see if that fixes the issue for you.

Regarding going to Apple, yes you should definitely do it. AltTab is using macOS Accessibility API to gather info on apps and their windows. This API should never affect performance of other apps. Yet in some rare cases like this, it does. It's a specific function call that's creating the issue as well. You can see the code here:

if app.bundleIdentifier == "edu.stanford.protege" || app.bundleIdentifier?.range(of: "^com\\.jetbrains\\..+?EAP$", options: .regularExpression) != nil {

in short AltTab calls an API (AXObserverAddNotification) to get notification when the app is having a different UI element being focused (kAXFocusedUIElementChangedNotification). Somehow, observing that event can interfere with some apps. It has only been observed for 2 or 3 apps so far.

Let me know if I can help you further 👍

@lwouis lwouis closed this as completed in ee5c44f Feb 16, 2021
lwouis pushed a commit that referenced this issue Feb 16, 2021
## [6.15.1](v6.15.0...v6.15.1) (2021-02-16)

### Bug Fixes

* didn't show skim app windows (closes [#772](#772)) ([fed2eb6](fed2eb6))
* issues with the app mediathekview (closes [#822](#822)) ([0181547](0181547))
* live2d cubism editor stuck on startup (closes [#813](#813)) ([ee5c44f](ee5c44f))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants