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

Issue: Automatic Mouse Mover App not working with MacOS Sonoma #47

Open
sasanicolette opened this issue Sep 5, 2023 · 59 comments
Open
Labels
bug Something isn't working

Comments

@sasanicolette
Copy link

Problem Description:
The application, which is crucial for preventing system inactivity, has been acting up lately. It seems to randomly stop functioning, causing disruptions in our workflow and potentially leading to unwanted system lockouts.

Application version: V.1.2.0
Operating system: MAC OS 14.0 Beta (23A5328b)

Thanks for your attention to this matter!

@Resousse
Copy link
Contributor

Could you try to launch it via the terminal, instead of launching the app the usual way (it should normally log events on the terminal), and then copy the last lines after it crashes?

@prashantgupta24
Copy link
Owner

@sasanicolette sorry to hear that. Thanks @Resousse for the idea, that would be helpful.

More info on "randomly stops working" would be great - does the application crash or the mouse doesn't move?

@sasanicolette
Copy link
Author

Hi @prashantgupta24 @Resousse Thank you so much for responding!

I opened the terminal and this is what it says after crashing just now. Please let me know if you need any more informtion!

`

INFO[2023-09-13T11:52:20+02:00] activity detected in the last 60 seconds.
INFO[2023-09-13T11:52:20+02:00] Activity type:
INFO[2023-09-13T11:52:20+02:00] activityType : screen-change times: 1
INFO[2023-09-13T11:52:20+02:00] activityType : cursor-move times: 4
INFO[2023-09-13T11:52:20+02:00] activityType : mouse-click times: 2
INFO[2023-09-13T11:52:20+02:00]

SIGILL: illegal instruction
PC=0x7ff80fdc3f70 m=7 sigcode=1
instruction bytes: 0xf 0xb 0x48 0x8d 0x5 0xa4 0x3e 0x19 0x0 0x48 0x89 0x5 0xd8 0x4c 0x61 0x41

goroutine 0 [idle]:
runtime: unknown pc 0x7ff80fdc3f70
stack: frame={sp:0x700003f6d4e8, fp:0x0} stack=[0x700003eef338,0x700003f6ef38)
0x0000700003f6d3e8: 0x00007ff80f8ad524 0x0000000000000000
0x0000700003f6d3f8: 0x000060000058d9c0 0x00006000005d1600
0x0000700003f6d408: 0x000000000001166c 0x0000700003f6d470
0x0000700003f6d418: 0x0000700003f6d470 0x0000000004344a48
0x0000700003f6d428: 0x0000600001eac300 0x00006000005d1600
0x0000700003f6d438: 0x0000700003f6d490 0x0000700003f6d4f4
0x0000700003f6d448: 0x00007ff80fbf872c 0x000000000001166c
0x0000700003f6d458: 0x000000000001166c 0x0000000004344a48
0x0000700003f6d468: 0x0000600001eac300 0x000000000001166c
0x0000700003f6d478: 0x0000700003f6d4f4 0x0000700003f6d4b0
0x0000700003f6d488: 0x00007ff80f8ad2f0 0x0000000000000000
0x0000700003f6d498: 0x0000000000000000 0x000000000001166c
0x0000700003f6d4a8: 0x9789cbe6aeb70027 0x0000700003f6d510
0x0000700003f6d4b8: 0x00007ff815f9ac40 0x0000700003f6d510
0x0000700003f6d4c8: 0x00007ff815f89db7 0x000000000000001c
0x0000700003f6d4d8: 0x0000700003f6d550 0x0000700003f6d510
0x0000700003f6d4e8: <0x00007ff80fd379b4 0x0000700003f6d510
0x0000700003f6d4f8: 0x00007ff80fc119d6 0x0000000000000006
0x0000700003f6d508: 0x0000700003f6d5bf 0x0000700003f6d560
0x0000700003f6d518: 0x00007ff815f89db7 0x0000000000000000
0x0000700003f6d528: 0x0000700003f6d5a0 0x0000700003f6d5b8
0x0000700003f6d538: 0x0000700003f6ee28 0x00000000043449e8
0x0000700003f6d548: 0x000000c0001eadb8 0x0000700003f6d5bf
0x0000700003f6d558: 0x0000000000000006 0x0000700003f6ee00
0x0000700003f6d568: 0x00007ff815f9ad29 0x0000000000000000
0x0000700003f6d578: 0x000000000001166c 0x006f004600580041
0x0000700003f6d588: 0x0065007300750063 0x006e006900570064
0x0000700003f6d598: 0x00000077006f0064 0x636f636f000005dc
0x0000700003f6d5a8: 0x0000000000000008 0x0000000000000000
0x0000700003f6d5b8: 0x00007ff800000008 0x0000000000000000
0x0000700003f6d5c8: 0x00000000000021aa 0x006f005200580041
0x0000700003f6d5d8: 0x000000000065006c 0x0000000000000000
runtime: unknown pc 0x7ff80fdc3f70
stack: frame={sp:0x700003f6d4e8, fp:0x0} stack=[0x700003eef338,0x700003f6ef38)
0x0000700003f6d3e8: 0x00007ff80f8ad524 0x0000000000000000
0x0000700003f6d3f8: 0x000060000058d9c0 0x00006000005d1600
0x0000700003f6d408: 0x000000000001166c 0x0000700003f6d470
0x0000700003f6d418: 0x0000700003f6d470 0x0000000004344a48
0x0000700003f6d428: 0x0000600001eac300 0x00006000005d1600
0x0000700003f6d438: 0x0000700003f6d490 0x0000700003f6d4f4
0x0000700003f6d448: 0x00007ff80fbf872c 0x000000000001166c
0x0000700003f6d458: 0x000000000001166c 0x0000000004344a48
0x0000700003f6d468: 0x0000600001eac300 0x000000000001166c
0x0000700003f6d478: 0x0000700003f6d4f4 0x0000700003f6d4b0
0x0000700003f6d488: 0x00007ff80f8ad2f0 0x0000000000000000
0x0000700003f6d498: 0x0000000000000000 0x000000000001166c
0x0000700003f6d4a8: 0x9789cbe6aeb70027 0x0000700003f6d510
0x0000700003f6d4b8: 0x00007ff815f9ac40 0x0000700003f6d510
0x0000700003f6d4c8: 0x00007ff815f89db7 0x000000000000001c
0x0000700003f6d4d8: 0x0000700003f6d550 0x0000700003f6d510
0x0000700003f6d4e8: <0x00007ff80fd379b4 0x0000700003f6d510
0x0000700003f6d4f8: 0x00007ff80fc119d6 0x0000000000000006
0x0000700003f6d508: 0x0000700003f6d5bf 0x0000700003f6d560
0x0000700003f6d518: 0x00007ff815f89db7 0x0000000000000000
0x0000700003f6d528: 0x0000700003f6d5a0 0x0000700003f6d5b8
0x0000700003f6d538: 0x0000700003f6ee28 0x00000000043449e8
0x0000700003f6d548: 0x000000c0001eadb8 0x0000700003f6d5bf
0x0000700003f6d558: 0x0000000000000006 0x0000700003f6ee00
0x0000700003f6d568: 0x00007ff815f9ad29 0x0000000000000000
0x0000700003f6d578: 0x000000000001166c 0x006f004600580041
0x0000700003f6d588: 0x0065007300750063 0x006e006900570064
0x0000700003f6d598: 0x00000077006f0064 0x636f636f000005dc
0x0000700003f6d5a8: 0x0000000000000008 0x0000000000000000
0x0000700003f6d5b8: 0x00007ff800000008 0x0000000000000000
0x0000700003f6d5c8: 0x00000000000021aa 0x006f005200580041
0x0000700003f6d5d8: 0x000000000065006c 0x0000000000000000

goroutine 1852 [syscall]:
runtime.cgocall(0x418a540, 0xc0001eadb8)
/usr/local/go/src/runtime/cgocall.go:156 +0x5c fp=0xc0001ead90 sp=0xc0001ead58 pc=0x4005d9c
github.com/go-vgo/robotgo._Cfunc_get_main_title()
_cgo_gotypes.go:593 +0x49 fp=0xc0001eadb8 sp=0xc0001ead90 pc=0x41367e9
github.com/go-vgo/robotgo.GetTitle({0x0, 0xc0001eafa8, 0x417e654})
/Users/[email protected]/go/pkg/mod/github.com/go-vgo/[email protected]/robotgo.go:1565 +0x75 fp=0xc0001eadf0 sp=0xc0001eadb8 pc=0x4137275
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.checkScreenChange(0x417e3ee, 0x0, {0xc0006200c0, 0x1f})
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:92 +0x4f fp=0xc0001eafb0 sp=0xc0001eadf0 pc=0x417ee4f
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*ScreenChangeHandlerStruct).Start.func1·dwrap·4()
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:42 +0x32 fp=0xc0001eafe0 sp=0xc0001eafb0 pc=0x417ecf2
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0001eafe8 sp=0xc0001eafe0 pc=0x40647a1
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*ScreenChangeHandlerStruct).Start.func1
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:42 +0x148

goroutine 1 [syscall, locked to thread]:
github.com/getlantern/systray._Cfunc_nativeLoop()
_cgo_gotypes.go:106 +0x48
github.com/getlantern/systray.nativeLoop(...)
/Users/[email protected]/go/pkg/mod/github.com/getlantern/[email protected]/systray_nonwindows.go:19
github.com/getlantern/systray.Run(0x4213c90, 0x4213c80)
/Users/[email protected]/go/pkg/mod/github.com/getlantern/[email protected]/systray.go:81 +0x16b
main.main()
/Users/[email protected]/Documents/IBM/external/automatic-mouse-mover/cmd/main.go:13 +0x27

goroutine 34 [select]:
main.onReady.func1()
/Users/[email protected]/Documents/IBM/external/automatic-mouse-mover/cmd/main.go:33 +0x258
created by main.onReady
/Users/[email protected]/Documents/IBM/external/automatic-mouse-mover/cmd/main.go:17 +0x25

goroutine 5 [chan receive]:
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*MouseClickHandlerStruct).Start.func1()
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/mouseClickHandler.go:32 +0xce
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*MouseClickHandlerStruct).Start
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/mouseClickHandler.go:30 +0x1c6

goroutine 6 [chan receive]:
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*MouseCursorHandlerStruct).Start.func1()
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/mouseCursorHandler.go:38 +0x65
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*MouseCursorHandlerStruct).Start
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/mouseCursorHandler.go:36 +0x1af

goroutine 7 [select]:
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*ScreenChangeHandlerStruct).Start.func1()
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:43 +0x1bf
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*ScreenChangeHandlerStruct).Start
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:36 +0x1af

goroutine 8 [select]:
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*MachineSleepHanderStruct).Start.func1()
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/machineSleepHandler.go:31 +0xf9
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*MachineSleepHanderStruct).Start
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/machineSleepHandler.go:28 +0x1d1

goroutine 9 [select]:
github.com/prashantgupta24/activity-tracker/pkg/tracker.(*Instance).StartWithHandlers.func1(0x0, 0xc000104070)
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/pkg/tracker/tracker.go:55 +0x259
created by github.com/prashantgupta24/activity-tracker/pkg/tracker.(*Instance).StartWithHandlers
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/pkg/tracker/tracker.go:41 +0x39d

goroutine 10 [select]:
github.com/prashantgupta24/automatic-mouse-mover/pkg/mousemover.(*MouseMover).run.func1()
/Users/[email protected]/Documents/IBM/external/automatic-mouse-mover/pkg/mousemover/mouseMover.go:52 +0x150
created by github.com/prashantgupta24/automatic-mouse-mover/pkg/mousemover.(*MouseMover).run
/Users/[email protected]/Documents/IBM/external/automatic-mouse-mover/pkg/mousemover/mouseMover.go:42 +0x97

goroutine 20 [syscall]:
github.com/prashantgupta24/mac-sleep-notifier/notifier._Cfunc_registerNotifications()
_cgo_gotypes.go:44 +0x45
github.com/prashantgupta24/mac-sleep-notifier/notifier.StartNotifier()
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/notifier/notifierMain.go:12 +0x19
github.com/prashantgupta24/mac-sleep-notifier/notifier.(*Notifier).Start.func1()
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/notifier/notifier.go:20 +0x17
created by github.com/prashantgupta24/mac-sleep-notifier/notifier.(*Notifier).Start
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/notifier/notifier.go:20 +0x85

goroutine 21 [chan receive]:
github.com/prashantgupta24/mac-sleep-notifier/notifier.(*Notifier).Start.func2(0x0)
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/notifier/notifier.go:25 +0x1e
created by github.com/prashantgupta24/mac-sleep-notifier/notifier.(*Notifier).Start
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/notifier/notifier.go:22 +0xd2

goroutine 36 [chan send]:
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.checkScreenChange(0x0, 0x0, {0xc000212000, 0x20})
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:98 +0x207
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*ScreenChangeHandlerStruct).Start.func1
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:42 +0x148

goroutine 77 [chan send]:
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.checkScreenChange(0x417dbee, 0x0, {0xc000230030, 0x11})
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:98 +0x207
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*ScreenChangeHandlerStruct).Start.func1
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:42 +0x148

goroutine 52 [chan send]:
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.checkScreenChange(0x417dbee, 0x0, {0xc000230030, 0x11})
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:98 +0x207
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*ScreenChangeHandlerStruct).Start.func1
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:42 +0x148

goroutine 1436 [chan send]:
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.checkScreenChange(0x417e3ee, 0x0, {0xc000368320, 0x50})
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:98 +0x207
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*ScreenChangeHandlerStruct).Start.func1
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:42 +0x148

goroutine 1131 [chan send]:
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.checkScreenChange(0x0, 0x0, {0xc000274240, 0x5c})
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:104 +0x255
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*ScreenChangeHandlerStruct).Start.func1
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:42 +0x148

goroutine 1408 [chan send]:
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.checkScreenChange(0x417e3ee, 0x0, {0xc000368320, 0x50})
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:104 +0x255
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*ScreenChangeHandlerStruct).Start.func1
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:42 +0x148

goroutine 215 [chan send]:
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.checkScreenChange(0x417e3ee, 0x417f571, {0xc0000b67a0, 0xa})
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:104 +0x255
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*ScreenChangeHandlerStruct).Start.func1
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:42 +0x148

goroutine 181 [chan send]:
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.checkScreenChange(0x0, 0x0, {0xc000238420, 0x23})
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:104 +0x255
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*ScreenChangeHandlerStruct).Start.func1
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:42 +0x148

goroutine 1166 [chan send]:
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.checkScreenChange(0x417dbee, 0x0, {0xc00014e900, 0x58})
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:98 +0x207
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*ScreenChangeHandlerStruct).Start.func1
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:42 +0x148

goroutine 1000 [chan send]:
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.checkScreenChange(0x417dbee, 0x0, {0xc00013b920, 0x5a})
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:98 +0x207
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*ScreenChangeHandlerStruct).Start.func1
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:42 +0x148

goroutine 1429 [chan send]:
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.checkScreenChange(0x417e3ee, 0x0, {0xc000275f20, 0x5a})
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:104 +0x255
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*ScreenChangeHandlerStruct).Start.func1
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:42 +0x148

goroutine 1411 [chan send]:
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.checkScreenChange(0x417e3ee, 0x0, {0x0, 0x0})
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:98 +0x207
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*ScreenChangeHandlerStruct).Start.func1
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:42 +0x148

goroutine 1777 [chan send]:
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.checkScreenChange(0x417e3ee, 0x0, {0xc000610000, 0xd})
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:98 +0x207
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*ScreenChangeHandlerStruct).Start.func1
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/screenChangeHandler.go:42 +0x148

goroutine 1872 [syscall]:
github.com/robotn/gohook._Cfunc_add_event(0x6000012cd5a0)
_cgo_gotypes.go:67 +0x48
github.com/robotn/gohook.AddEvent({0x41ffc49, 0xd})
/Users/[email protected]/go/pkg/mod/github.com/robotn/[email protected]/hook.go:190 +0x5e
github.com/go-vgo/robotgo.AddEvent({0x41ffc49, 0x5})
/Users/[email protected]/go/pkg/mod/github.com/go-vgo/[email protected]/robotgo.go:1276 +0x1b7
github.com/prashantgupta24/activity-tracker/internal/pkg/handler.addMouseClickRegistration(0x0, 0xc0006200c0, 0x1f)
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/mouseClickHandler.go:86 +0x56
created by github.com/prashantgupta24/activity-tracker/internal/pkg/handler.(*MouseClickHandlerStruct).Start.func1
/Users/[email protected]/go/pkg/mod/github.com/prashantgupta24/[email protected]/internal/pkg/handler/mouseClickHandler.go:38 +0x1d3

rax 0x7ff80ff57d3e
rbx 0xc0001eadb8
rcx 0x0
rdx 0x700003f6d598
rdi 0x2ad
rsi 0xc0001eadb8
rbp 0x700003f6d4f0
rsp 0x700003f6d4e8
r8 0x700003f6d5a0
r9 0x0
r10 0x14a
r11 0xa
r12 0xffffffff
r13 0x700003f6d598
r14 0xc0001eadb8
r15 0x0
rip 0x7ff80fdc3f70
rflags 0x10202
cs 0x2b
fs 0x0
gs 0x0
sasanicolette@Sasas-MacBook-Pro ~ %
`

@rollingnet
Copy link

rollingnet commented Sep 25, 2023

I can confirm that the app is crashing randomly after a while with the final version of MacOS 14 Sonoma. Previously it was working almost flawlessly with the previous MacOS 13.x

@sasanicolette
Copy link
Author

sasanicolette commented Sep 25, 2023

I can confirm that the app is crashing randomly after a while with the final version of MacOS 14 Sonoma. Previously it was working almost flawlessly with the previous MacOS 13.x

It is still crashing for me too at random moments

@paoloestar
Copy link

confirmation from here as well. randomly crashes a few times per day

@aroxi
Copy link

aroxi commented Sep 27, 2023

I can confirm, it's a new problem with Sonoma

@SukoPSN
Copy link

SukoPSN commented Sep 27, 2023

Can also confirm this is a problem with Sonoma.
Never had any issues prior to the update.
Installed the update, and it's crashed about 4 times today.

@sam33r786
Copy link

sam33r786 commented Sep 28, 2023

@sasanicolette sorry to hear that. Thanks @Resousse for the idea, that would be helpful.

More info on "randomly stops working" would be great - does the application crash or the mouse doesn't move?

From my experience, I find that the app silently closes and disappears from the menu bar with no errors being displayed, which is followed by the laptop eventually going to sleep. I have to restart the app again from Finder before it eventually silently crashes again.

I can also confirm that the application is regularly crashing after updating to Sonoma. Did not have any issues prior to the OS upgrade.

@rollingnet
Copy link

rollingnet commented Sep 29, 2023

I suggest a possible temporary workaround that prevents or reduces the application's crashes:

disable the sleep or use applications that keep the Mac awake like Owly or Caffeine.

Please confirm that it's working for you.

@EpochBoy
Copy link

EpochBoy commented Oct 3, 2023

Confirming as well, ever since I upgraded to Sonoma the app is crashing and no longer works.

@CarpeBrawndo
Copy link

I have a simple python script that checks if amm is running every 30 seconds. If it is not open, it will launch the app & continue checking every 30 seconds.

In case it will help anyone:
https://github.com/CarpeBrawndo/amm_check

@prashantgupta24 prashantgupta24 added the bug Something isn't working label Oct 4, 2023
@prashantgupta24
Copy link
Owner

I haven't yet upgraded to Sonoma, will work on a fix once I do that. Thanks everyone for reporting the issue

@prashantgupta24 prashantgupta24 changed the title Issue: Automatic Mouse Mover App Randomly Stops Working Issue: Automatic Mouse Mover App not working with MacOS Sonoma Oct 4, 2023
@Resousse
Copy link
Contributor

@prashantgupta24 this a known issue with robotgo (solved in v1.0.0-RC2.1, go-vgo/robotgo#612), please consider merging my PR for activity-tracker : prashantgupta24/activity-tracker#28
Then I will update my Draft WIP PR (#45) with new activity-tracker version to get this fixed

@bytearchive
Copy link

can also confirm it is crashing on Sanoma

@prashantgupta24
Copy link
Owner

Alright, try out the new release ! https://github.com/prashantgupta24/automatic-mouse-mover/releases/tag/v1.3.0

@PragmaticBeaver
Copy link

Thank you for the Update. Sadly, the new release won't start for me. It keeps requesting access to System Accessibility features, and nothing I tried will keep it happy. Had to downgrade to the previous version.

@Resousse
Copy link
Contributor

@PragmaticBeaver , this is a known bug (#32 ) I didn't find the root cause, but what I found it so go in system accessibility, completely remove the "amm" line using the "-" button.
Let me know if it works

@longgiangp
Copy link

Had it also repeatedly requesting access to System Accessibility. But at some point, it stopped doing that and the app is able to launch. However it still uses Rosetta 2 on my M1.

@exodus1984
Copy link

@PragmaticBeaver , this is a known bug (#32 ) I didn't find the root cause, but what I found it so go in system accessibility, completely remove the "amm" line using the "-" button. Let me know if it works

this solution helped.

@PragmaticBeaver
Copy link

PragmaticBeaver commented Oct 18, 2023

@PragmaticBeaver , this is a known bug (#32 ) I didn't find the root cause, but what I found it so go in system accessibility, completely remove the "amm" line using the "-" button. Let me know if it works

Thank you very much for your fast reply.

I can confirm as well, this was the solution, but I had to remove "amm" manually and restart the app multiple times (first time I had to confirm the access to accessibility features, then I had to restart "amm" again, just to confirm again. After that, the app ran without any problems).

@sasanicolette
Copy link
Author

@PragmaticBeaver , this is a known bug (#32 ) I didn't find the root cause, but what I found it so go in system accessibility, completely remove the "amm" line using the "-" button. Let me know if it works

Thank you very much for your fast reply.

I can confirm as well, this was the solution, but I had to remove "amm" manually and restart the app multiple times (first time I had to confirm the access to accessibility features, then I had to restart "amm" again, just to confirm again. After that, the app ran without any problems).

This exact method worked for me as well! It has been working for a couple of days now without any issue :)

@SukoPSN
Copy link

SukoPSN commented Oct 25, 2023

The app is still randomly crashing (not as often, but it has occurred a couple times today).

@PragmaticBeaver
Copy link

The app is still randomly crashing (not as often, but it has occurred a couple times today).

I (sadly) have to confirm. I tested it on 2 different MacBook Pro's, M1 and M2 (both using the respective Pro Chip, 32GB RAM) using the most current version of MacOS.

@kamikazebowler
Copy link

Same here - app is still randomly crashing on all my Macs. :(

@Resousse
Copy link
Contributor

Could you try to launch it via the terminal/command line? to see the output

@kamikazebowler
Copy link

Thx - launching it via Terminal may have fixed the issue for me. So far it is running without crashing. Let's see...

@juancer
Copy link

juancer commented Nov 8, 2023

Hello, today with the new update (14.1.1) it's not happening... Are you guys still having the problem?

@kamikazebowler
Copy link

kamikazebowler commented Nov 8, 2023

Nope - random crashes still there.

@iwishiknewcoding
Copy link

iwishiknewcoding commented Nov 9, 2023

Anyone else noticed this weird scenario after upgrading to Sonoma, where if AMM is active, sometimes mouse clicks get held down instead of instantly letting it go? In other words, when I click something with the touchpad left click, it sometimes (often) gets dragged instead of it being just a regular click, so I need to left click again to let it go, and then left click again to do the actual click. It's weird and it does not happen when AMM is stopped.

PS. I'm on Sonoma 14.1 (23B74) and I have not experienced a single crash.

@EpochBoy
Copy link

EpochBoy commented Nov 9, 2023

@iwishiknewcoding I actually have yes, didn't realise it was AMM though, just thought it was me messing up my clicks or my mac acting odd...

@iwishiknewcoding
Copy link

@EpochBoy There you go, always good to hear you're not the only one experiencing the odd issue :D I'm wondering whether we should create a separate issue for it, or just keep it here under these comments.

@exprimere
Copy link

Unfortunately I have also still random crashes after updating to 14.1.1

@EpochBoy
Copy link

EpochBoy commented Nov 9, 2023

@EpochBoy There you go, always good to hear you're not the only one experiencing the odd issue :D I'm wondering whether we should create a separate issue for it, or just keep it here under these comments.

@iwishiknewcoding Probably needs to be a separate issue, but I'm not sure. Also I'm not sure if it's even fixable due to how AMM works. Mind you I'm the retard who didn't even realise it was AMM causing the hick-up, so take whatever I say with a grain of salt 😅

@elfacht
Copy link

elfacht commented Nov 16, 2023

Anyone else noticed this weird scenario after upgrading to Sonoma, where if AMM is active, sometimes mouse clicks get held down instead of instantly letting it go? In other words, when I click something with thetouchpad left click, it sometimes (often) gets dragged instead of it being just a regular click, so I need to left click again to let it go, and then left click again to do the actual click. It's weird and it does not happen when AMM is stopped.

I experience the same, actually.

PS. I'm on Sonoma 14.1 (23B74) and I have not experienced a single crash.

I still have random crashes on 14.1

@iwishiknewcoding
Copy link

iwishiknewcoding commented Nov 16, 2023

I experience the same, actually.

Since I'm not the only one, I created a new issue regarding the clicks being registered as if they were held down.

@prashantgupta24
Copy link
Owner

Thanks @iwishiknewcoding ! It's really hard to narrow down the sonoma bug with such inconsistent behavior across different users unfortunately

@Mustard-Oil
Copy link

Mustard-Oil commented Nov 20, 2023

If anyone is on Sonoma and trying to find a solution, here is a alternative i am using

edit: grammer

@lgm-one
Copy link

lgm-one commented Dec 4, 2023

Is there any hope of this ever getting fixed? It crashes a couple times a day for me as well.

@prashantgupta24
Copy link
Owner

prashantgupta24 commented Dec 4, 2023

@lgm-one the best bet for now is the script that checks if amm is running or not: #47 (comment)

For a lot of people it is working with sonoma (including myself) so it's really hard to figure out the issue

@TryTryAgain
Copy link

TryTryAgain commented Dec 14, 2023

I have a simple python script that checks if amm is running every 30 seconds. If it is not open, it will launch the app & continue checking every 30 seconds.

In case it will help anyone: https://github.com/CarpeBrawndo/amm_check

Thanks for this, good idea. I had to change a bit, added a PR CarpeBrawndo/amm_check#1 ... simply added the regex pgrep ^{app_name}$ instead of the original pgrep {app_name} so that it didn't "see" amm running due to other apps processes being returned by pgrep with the 'amm' string in their name; "Grammarly", for instance, caused the issue for me.

@fantaaaaaa
Copy link

Still crashing with 1.3.0 on sonoma.

@Resousse
Copy link
Contributor

Still crashing with 1.3.0 on sonoma.

@fantaaaaaa , can you give Mac model? processor type? version of amm ?

@fantaaaaaa
Copy link

fantaaaaaa commented Dec 19, 2023

Still crashing with 1.3.0 on sonoma.

@fantaaaaaa , can you give Mac model? processor type? version of amm ?

Apple Macbook Air M1 Chip, Sonoma 14.2 (just did the MacOS Update last night from 14.0 to 14.2).
AMM Version 1.3.0

@juancer
Copy link

juancer commented Dec 19, 2023

Right now, the only solution that I can found is opening the VS code and running the code... I've thinking about compile the code from my computer and see if something changes... But, using this, my process is not dying...

@Resousse
Copy link
Contributor

Can you try to stop the app, remove all amm permissions in the privacy/accessibility. Start again the app, and grant them required access. Is it better?

If the same code runs better in VSCode, it may be linked to this.

@fantaaaaaa
Copy link

Can you try to stop the app, remove all amm permissions in the privacy/accessibility. Start again the app, and grant them required access. Is it better?

have tried that now and will report back, thanks.

@fantaaaaaa
Copy link

Seems to be running now (for about 3 hours without a hiccup). Removing and readding for permissions seems to be the fix.

@TryTryAgain
Copy link

Seems to be running now (for about 3 hours without a hiccup). Removing and readding for permissions seems to be the fix.

Good luck, hope so for you, for me that did not fix it... I continued to come back to a screensaver :(

@juancer
Copy link

juancer commented Dec 20, 2023

For me is working, I delete the app in permission area and add it again... now is working... I have a new update waiting (14.2.1) and want to check if I have again the problem, if yes, we can close the ticket with the conclusion: "permission level"

@fantaaaaaa
Copy link

Just to update here.
Mac OS Sonoma 14.2. and AMM 1.3.0 are running smoothly. If there are crashes, this seems to resolve it:

stop the app, remove all amm permissions in the privacy/accessibility. Start again the app, and grant them required access.
Maybe this should be documented or something :)

@fantaaaaaa
Copy link

Unfortunately, AMM will still crash randomly. Sometimes only after a few minutes, sometimes it will run a few hours.
Any way to check any log files?

@Resousse
Copy link
Contributor

Resousse commented Jan 5, 2024

Sure @fantaaaaaa , you can launch AMM via terminal, and it will display crash report (as one of the comment above)

@sacrezm
Copy link

sacrezm commented Jan 22, 2024

also have the issue on mac OS 13.6

@iwishiknewcoding
Copy link

iwishiknewcoding commented May 13, 2024

I also have the same issue on Sonoma 14.1.1. Both crashing and dragging.

I have a simple python script that checks if amm is running every 30 seconds. If it is not open, it will launch the app & continue checking every 30 seconds.

In case it will help anyone: https://github.com/CarpeBrawndo/amm_check

@CarpeBrawndo Thanks, this is useful, I started to use it, but won't the log file take up a lot of disk space if left unattended for a long time?

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