Amethyst icon indicating copy to clipboard operation
Amethyst copied to clipboard

Amethyst Crash

Open thomasdziedzic-pd opened this issue 4 years ago • 16 comments

Describe the bug Amethyst crashes while running in the background.

Applications: I had firefox, slack, and spotify running.

To Reproduce Run amethyst and eventually it will crash with the above applications.

Expected behavior To not crash.

Screenshots Not applicable.

Versions:

  • macOS: 10.14.6 (18G4032)
  • Amethyst: 0.15.3 (88)

Debug Info

$ /Applications/Amethyst.app/Contents/MacOS/Amethyst --debug-info
Version: 0.15.3 (88)

OS version: Version 10.14.6 (Build 18G4032)

Has permissions: true

Screens:
	(0.0, 0.0, 1440.0, 900.0) [(0.0, 0.0, 1440.0, 900.0)]
	(-3008.0, 288.0, 3008.0, 1692.0) [(-3008.0, -1080.0, 3008.0, 1692.0)]

Manageable applications:
	talagent (com.apple.talagent)
	ViewBridgeAuxiliary (com.apple.ViewBridgeAuxiliary)
	Finder (com.apple.finder)
	ViewBridgeAuxiliary (com.apple.ViewBridgeAuxiliary)
	1Password 7 (com.agilebits.onepassword7)
	storeuid (com.apple.storeuid)
	Firefox (org.mozilla.firefox)
	Slack (com.tinyspeck.slackmacgap)
	Preview (com.apple.Preview)
	DocumentPopoverViewService (Preview) (com.apple.appkit.xpc.documentPopoverViewService)
	com.apple.appkit.xpc.openAndSavePanelService (Preview) (com.apple.appkit.xpc.openAndSavePanelService)
	Spotify (com.spotify.client)
	com.apple.appkit.xpc.openAndSavePanelService (Slack) (com.apple.appkit.xpc.openAndSavePanelService)
	Console (com.apple.Console)
	Simulator (com.apple.CoreSimulator.SimulatorTrampoline)
	com.apple.CoreSimulator.CoreSimulatorService (com.apple.CoreSimulator.CoreSimulatorService)
	iTerm2 (com.googlecode.iterm2)

Configuration:
restore-layouts-on-launch: 1
window-minimum-width: 0
screen-padding-top: 0
layouts: (
    tall,
    wide,
    fullscreen,
    column
)
window-margin-size: 5
floating: (
)
mod1: (
    option,
    shift
)
new-windows-to-main: 0
window-minimum-height: 0
screen-padding-bottom: 0
debug-layout-info: 0
window-resize-step: 5
screen-padding-right: 0
screen-padding-left: 0
window-margins: 0
use-canary-build: 0
follow-space-thrown-windows: 1
ignore-menu-bar: 0
mouse-follows-focus: 0
mod2: (
    option,
    shift,
    control
)
floating-is-blacklist: 1
enables-layout-hud-on-space-change: 1
enables-layout-hud: 1
float-small-windows: 0
focus-follows-mouse: 0

Additional context Attached the crash log: Amethyst_2020-05-08-145221_Thomas-Dziedzics-MacBook-Pro.txt

thomasdziedzic-pd avatar May 08 '20 20:05 thomasdziedzic-pd

I have the same problem and the crashes are very frequent. Seems linked to #1014 too.

Here is my debug info:

Version: 0.15.3 (88)

OS version: Version 10.14.6 (Build 18G3020)

Has permissions: true

Screens:
	(0.0, 0.0, 1440.0, 900.0) [(0.0, 0.0, 1440.0, 900.0)]

Manageable applications:
	Firefox (org.mozilla.firefox)
	talagent (com.apple.talagent)
	Finder (com.apple.finder)
	ViewBridgeAuxiliary (com.apple.ViewBridgeAuxiliary)
	CalNCService (com.apple.CalendarNotification.CalNCService)
	SiriNCService (com.apple.SiriNCService)
	Notes QuickLook Extension (Spotlight) (com.apple.Notes.QuickLookExtension)
	Parallels Desktop (com.parallels.desktop.console)
	QuickLookUIService (Spotlight) (com.apple.quicklook.QuickLookUIService)
	Typora (abnerworks.Typora)
	QuickLookUIService (Finder) (com.apple.quicklook.QuickLookUIService)
	Spotify (com.spotify.client)
	Atom (com.github.atom)
	Rappels (com.apple.reminders)
	BTTRelaunch (com.hegenberg.BTTRelaunch)
	Legacy Color Picker Extensions (BetterTouchTool) (com.apple.appkit.xpc.LegacyExternalColorPickerService)
	storeuid (com.apple.storeuid)
	Simulator (com.apple.CoreSimulator.SimulatorTrampoline)
	com.apple.CoreSimulator.CoreSimulatorService (com.apple.CoreSimulator.CoreSimulatorService)
	ViewBridgeAuxiliary (com.apple.ViewBridgeAuxiliary)
	iTerm2 (com.googlecode.iterm2)

Configuration:
mouse-swaps-windows: 1
window-margin-size: 15
follow-space-thrown-windows: 1
restore-layouts-on-launch: 1
debug-layout-info: 0
floating-is-blacklist: 1
mouse-resizes-windows: 1
mod1: (
    option,
    shift
)
mod2: (
    option,
    shift,
    control
)
screen-padding-right: 0
screen-padding-top: 0
screen-padding-left: 0
float-small-windows: 1
window-margins: 1
window-resize-step: 5
mouse-follows-focus: 1
ignore-menu-bar: 0
enables-layout-hud: 1
window-minimum-width: 0
floating: (
        {
        id = "com.apple.systempreferences";
        "window-titles" =         (
        );
    },
        {
        id = "com.apple.iCal";
        "window-titles" =         (
        );
    },
        {
        id = "org.m0k.transmission";
        "window-titles" =         (
        );
    }
)
enables-layout-hud-on-space-change: 0
focus-follows-mouse: 0
layouts: (
    tall,
    wide,
    fullscreen,
    column,
    bsp,
    floating
)
screen-padding-bottom: 0
window-minimum-height: 0
new-windows-to-main: 0
use-canary-build: 0

And the crash log: Amethyst_2020-04-21-101333.txt

yvgny avatar May 16 '20 13:05 yvgny

Can confirm frequent crashes. Is it possible to add an opt-in feature to create a crash log?

Version: 0.15.3 (88)

OS version: Version 10.15.5 (Build 19F101)

Has permissions: false

Screens:
	(0.0, 0.0, 1920.0, 1080.0) [(0.0, 0.0, 1920.0, 1080.0)]
	(1920.0, 0.0, 1920.0, 1080.0) [(1920.0, 0.0, 1920.0, 1080.0)]
	(-1920.0, 0.0, 1920.0, 1080.0) [(-1920.0, 0.0, 1920.0, 1080.0)]

Manageable applications:
	ViewBridgeAuxiliary (com.apple.ViewBridgeAuxiliary)
	Firefox (org.mozilla.firefox)
	Sublime Text (com.sublimetext.3)
	Control Strip (com.apple.controlstrip)
	talagent (com.apple.talagent)
	ViewBridgeAuxiliary (com.apple.ViewBridgeAuxiliary)
	Google Chrome (com.google.Chrome)
	iTerm2 (com.googlecode.iterm2)
	AppSSOAgent (com.apple.AppSSOAgent)
	Sourcetree (com.torusknot.SourceTreeNotMAS)
	Productive Time (com.electron.productive-time)
	QuickLookUIService (Finder) (com.apple.quicklook.QuickLookUIService)
	Finder (com.apple.finder)
	DisplayLinkManager (com.displaylink.DisplayLinkManager)
	Boom2Daemon (com.globaldelight.Boom2Daemon)
	storeuid (com.apple.storeuid)
	EmojiFunctionRowIM (com.apple.inputmethod.EmojiFunctionRowItem)
	PhpStorm (com.jetbrains.PhpStorm)
	coreautha (com.apple.LocalAuthentication.UIAgent)
	com.apple.appkit.xpc.openAndSavePanelService (Firefox) (com.apple.appkit.xpc.openAndSavePanelService)
	QuickLookUIService (com.apple.appkit.xpc.openAndSavePanelService (Firefox)) (com.apple.quicklook.QuickLookUIService)
	studentd (com.apple.studentd)
	com.apple.appkit.xpc.openAndSavePanelService (Sublime Text) (com.apple.appkit.xpc.openAndSavePanelService)
	QuickLookUIService (com.apple.appkit.xpc.openAndSavePanelService (Sublime Text)) (com.apple.quicklook.QuickLookUIService)
	photolibraryd (com.apple.photolibraryd)
	com.apple.CoreSimulator.CoreSimulatorService (com.apple.CoreSimulator.CoreSimulatorService)
	Simulator (com.apple.CoreSimulator.SimulatorTrampoline)
	com.apple.appkit.xpc.openAndSavePanelService (PhpStorm) (com.apple.appkit.xpc.openAndSavePanelService)
	QuickLookUIService (com.apple.appkit.xpc.openAndSavePanelService (PhpStorm)) (com.apple.quicklook.QuickLookUIService)
	Sequel Ace (com.sequel-ace.sequel-ace)
	BTTRelaunch (com.hegenberg.BTTRelaunch)

Configuration:
mouse-follows-focus: 0
mod1: (
    option,
    shift
)
mouse-resizes-windows: 1
restore-layouts-on-launch: 1
ignore-menu-bar: 0
screen-padding-top: 0
floating: (
)
screen-padding-left: 0
screen-padding-bottom: 0
follow-space-thrown-windows: 1
screen-padding-right: 0
debug-layout-info: 0
window-margins: 0
floating-is-blacklist: 1
use-canary-build: 0
enables-layout-hud: 1
mouse-swaps-windows: 1
focus-follows-mouse: 0
window-margin-size: 0
layouts: (
    tall,
    column,
    "tall-right",
    bsp,
    floating
)
enables-layout-hud-on-space-change: 1
window-minimum-height: 0
mod2: (
    option,
    shift,
    control
)
new-windows-to-main: 0
window-minimum-width: 0
float-small-windows: 1
window-resize-step: 5

shanecp avatar Jul 08 '20 12:07 shanecp

@shanecp You should be able to find the crashes in ~/Library/Logs/DiagnosticReports

schickm avatar Aug 20 '20 16:08 schickm

Amethyst for me crashes about 1-2 time per day, and like others here I'm not really sure what the pattern is.

Here's my debug info and a sampling of recent crashes:

Amethyst_debug_info.txt Amethyst_2020-08-20-095413_MattS2018-MAC.txt Amethyst_2020-08-20-085740_MattS2018-MAC.txt Amethyst_2020-08-19-093728_MattS2018-MAC.txt Amethyst_2020-08-17-110116_MattS2018-MAC.txt Amethyst_2020-08-17-082830_MattS2018-MAC.txt

schickm avatar Aug 20 '20 17:08 schickm

Same problem. Seems like Silica related bug.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libswiftCore.dylib            	0x00007fff67d212bc swift_projectBox + 12
1   com.amethyst.Amethyst         	0x0000000109a7b234 0x109a08000 + 471604
2   com.amethyst.Amethyst         	0x0000000109a67e7c 0x109a08000 + 392828
3   org.cocoapods.Silica          	0x0000000109fdcce1 observerCallback + 68
4   com.apple.HIServices          	0x00007fff2c667f7e _XXMIGPostNotification + 717
5   com.apple.HIServices          	0x00007fff2c68db13 _XPostNotification + 340
6   com.apple.HIServices          	0x00007fff2c64af64 mshMIGPerform + 174
7   com.apple.CoreFoundation      	0x00007fff2e398304 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
8   com.apple.CoreFoundation      	0x00007fff2e398250 __CFRunLoopDoSource1 + 541
9   com.apple.CoreFoundation      	0x00007fff2e396d79 __CFRunLoopRun + 2270
10  com.apple.CoreFoundation      	0x00007fff2e395e3e CFRunLoopRunSpecific + 462
11  com.apple.HIToolbox           	0x00007fff2cfc2abd RunCurrentEventLoopInMode + 292
12  com.apple.HIToolbox           	0x00007fff2cfc27d5 ReceiveNextEventCommon + 584
13  com.apple.HIToolbox           	0x00007fff2cfc2579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
14  com.apple.AppKit              	0x00007fff2b608039 _DPSNextEvent + 883
15  com.apple.AppKit              	0x00007fff2b606880 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
16  com.apple.AppKit              	0x00007fff2b5f858e -[NSApplication run] + 658
17  com.apple.AppKit              	0x00007fff2b5ca396 NSApplicationMain + 777
18  com.amethyst.Amethyst         	0x0000000109a0a33a 0x109a08000 + 9018
19  libdyld.dylib                 	0x00007fff68404cc9 start + 1

bazhenov avatar Oct 15 '20 02:10 bazhenov

Amethyst will crash about 5-10sec after ABBYY FineReader loads.

/Applications/Amethyst.app/Contents/MacOS/Amethyst --debug-info Version: 0.15.4 (91)

OS version: Version 10.14.6 (Build 18G7016)

Has permissions: true

Screens: (0.0, 0.0, 2560.0, 1600.0) [(0.0, 0.0, 2560.0, 1600.0)]

Manageable applications: talagent (com.apple.talagent) Finder (com.apple.finder) storeuid (com.apple.storeuid) 1Password 7 (com.agilebits.onepassword7) Bitwarden (com.bitwarden.desktop) Terminal (com.apple.Terminal) FineReader (com.abbyy.FineReaderPro) Firefox (org.mozilla.firefox)

Configuration: screen-padding-left: 0 mouse-swaps-windows: 0 floating: ( { id = "com.apple.finder"; "window-titles" = ( "Connect to Server", "Archive Utility" ); }, { id = "com.apple.systempreferences"; "window-titles" = ( ); }, { id = "org.mozilla.firefox"; "window-titles" = ( "Opening document.pdf" ); }, { id = "com.adobe.Acrobat.Pro"; "window-titles" = ( "", "Combine Files" ); }, { id = "com.iroad.viewer"; "window-titles" = ( ); }, { id = "com.panic.Transmit"; "window-titles" = ( Advanced, General, Sync, Files, Transfers, Keys, Rules, Cloud ); } ) new-windows-to-main: 0 follow-space-thrown-windows: 1 ignore-menu-bar: 0 window-minimum-height: 0 debug-layout-info: 0 enables-layout-hud: 1 focus-follows-mouse: 0 window-resize-step: 5 screen-padding-right: 0 window-margins: 0 window-margin-size: 0 window-minimum-width: 0 mod1: ( option, shift ) float-small-windows: 1 floating-is-blacklist: 1 screen-padding-top: 0 layouts: ( tall, fullscreen, bsp ) use-canary-build: 0 enables-layout-hud-on-space-change: 1 restore-layouts-on-launch: 1 screen-padding-bottom: 0 mouse-follows-focus: 0 mod2: ( option, shift, control )

crash:

[Amethyst_2021-03-22-101610_Aubade.txt] (https://github.com/ianyh/Amethyst/files/6179074/Amethyst_2021-03-22-101610_Aubade.txt)

kennyluk avatar Mar 22 '21 02:03 kennyluk

I've been experiencing crashing randomly on me. I haven't quite tracked down a correlation to a specific action, app launch, or other event, yet. I have the details of my crash log attached, and will post if I figure out if a specific event or action seems to trigger a crash.

Amethyst-2023-05-24-140121.ips.txt

PS - I'm a new Amethyst user and am loving it so far. Nice work :)

jamesharr avatar May 24 '23 19:05 jamesharr

@jamesharr could you try 0.20.0b3?

ianyh avatar Jun 06 '23 23:06 ianyh

@jamesharr could you try 0.20.0b3?

Installed and running. I'll report back at the end of today since I almost always trigger a crash once a day. After today, I'll be away from a computer until later in June.

Is it valuable to you if I run the debug build?

jamesharr avatar Jun 07 '23 11:06 jamesharr

(June 12th) So far so good. I've thrown all my normal stuff at it (suspend, multi-monitor, changing monitors, moving windows by mouse), and it's been running since I first started it.

(June 19th) Still looks good. Amethyst has been running for a solid week and has survived suspend, monitor changes, etc.

jamesharr avatar Jun 12 '23 15:06 jamesharr

July 14th; still running strong on 0.20.0b3

jamesharr avatar Jul 14 '23 16:07 jamesharr

I still get these random crashes with 0.20.0b3. Here is a recent crash report.

Amethyst-2023-07-13-151524.txt

FelixLisczyk avatar Jul 14 '23 19:07 FelixLisczyk

FWIW, Amethyst has been running strong for me since 0.20.0b3. I've recently upgraded to 0.21.0b (109) and it's still running stable.

jamesharr avatar Apr 16 '24 12:04 jamesharr

I still get occasional segmentation fault crashes with the latest beta. But they occur less frequently than before.

Amethyst-2024-04-11-080023.txt

FelixLisczyk avatar Apr 16 '24 13:04 FelixLisczyk

I still get occasional segmentation fault crashes with the latest beta. But they occur less frequently than before.

Amethyst-2024-04-11-080023.txt

Could you open a new issue for this?

ianyh avatar Apr 28 '24 11:04 ianyh

I still get occasional segmentation fault crashes with the latest beta. But they occur less frequently than before. Amethyst-2024-04-11-080023.txt

Could you open a new issue for this?

I will attempt to reproduce the issue and, if successful, open a new issue. I haven’t experienced any new crashes in the past week.

FelixLisczyk avatar Apr 29 '24 14:04 FelixLisczyk