quicksilver / Quicksilver

Quicksilver Project Source
http://qsapp.com
Apache License 2.0
2.72k stars 283 forks source link

[Bug]: QS crashing and lost chars on key entry #2944

Open ifuchs opened 1 year ago

ifuchs commented 1 year ago

Before submitting your bug report, please confirm you have completed the following steps

Bug description

QS 2.4.0 is crashing. Also I am finding that the 1st few chars are sometimes lost during typing.

Steps to reproduce

1.The crash occurs when I am not using QS 2. 3.

Expected behavior

No crashes and no lost characters.

MacOS Version

macOS 10.14

Quicksilver Version

2.4.0

Relevant Plugins

Nothing has changed

Crash Logs or Spindump

Linking from #2942: QS-crash-log.txt

Screenshots

No response

Additional info

Keyboard maestro and streamdeck software has been installed.

n8henrie commented 1 year ago

Migrating from the other issue:

Installed Keyboard Maestro last night, have the process plugin enabled and background processed cataloged, no QS crashes yet.

I'm still a novice at looking through these crash logs. If @skurfer or @pjrobertson have time to chime in about my interpretation below I'd appreciate it!

Highlights:

https://github.com/quicksilver/Quicksilver/blob/59740560dc9353ffcb43157aadadb59e219246be/Quicksilver/Code-QuickStepCore/QSLibrarian.m#L267

Maybe a race condition somewhere here? Though I assume EXC_BAD_ACCESS is a use-after-free issue?

https://github.com/quicksilver/Quicksilver/blob/f90684fa5ee4622c96ebc2e7308e0a9b8ef0f834/Quicksilver/Code-QuickStepCore/QSCatalogEntry.m#L662

n8henrie commented 1 year ago

It looks like there are more reports of the stream deck being possibly problematic on the listserve.

I installed Keyboard Maestro and let it run for about a week with no apparent changes to QS stability or function. Could be that I need to install some plugins or configure it to provoke the behavior, but at least the default installation doesn't seem to interfere.

ifuchs commented 1 year ago

I had added both Keyboard Maestro and Streamdeck.app to my system before Qs became erratic (delayed key appearance and crashes). I decided to see if I could determine which (if either) could be causing the problem and I am finding that KM alone is not causing any problems I the past 24 hours. I will turn off KM and try SD next and see if the problems reappear.

n8henrie commented 10 months ago

I installed StreamDeck for a few weeks and was unable to reproduce any crashes in Quicksilver.

@ifuchs with the latest release are you still having this issue? If so, did you come up with any additional info regarding KM vs SD?