adirh3 / Fluent-Search

Official repository for Fluent Search, use to report issues or ask for a new feature
1.41k stars 32 forks source link

Some applications randomly crashes when Fluent Search is running. #638

Open SpringsTS opened 2 years ago

SpringsTS commented 2 years ago

Describe the bug When Fluent Search is running in background, some programs randomly crash (either after a while, either when inactive, or after some key presses when typing text). Those crash do not occur when I close Fluent Search.

In the Windows Event viewer, the crash reports always mention common data: Faulty module name: uiautomationcore.dll Exception code: 0xc0000005

  To Reproduce There is no real way to reproduce as it's random.

  Expected behavior No interference between Fluent Search and other applications

Screenshots Here is an exemple of crash report: image

  Desktop :

  Thank you in advance for any answer.

adirh3 commented 2 years ago

@SpringsTS can you please try to disable in-app content search in Settings -> Processes, and see if it helps?

FYI Fluent Search uses Windows Accessibility to search in apps, which is the "UIAutomation" you're seeing in the log, and for some reason that seems to crash for you. Did you disable any Windows accessibility feature somehow?

SpringsTS commented 2 years ago

Okay, so with your indications and after some tries, I may have found the problematic option: in the "In-app" section, if I disable the "Enable instant search" toggle, my application doesn't crash. Crashes come back when I check Instant search.

That's curious because only File Explorer is in the list of processes.

Anyway, for now I can use my apps with Fluent search. Thank you!

To answer to your question, in Windows accessibility settings, I only disabled the "5-times-shift" shortcut. But the computer is on an enterprise domain, maybe the IT disabled some services in the group policy...

(Last time I reply by mail...)

adirh3 commented 2 years ago

Okay, so with your indications and after some tries, I may have found the problematic option: in the "In-app" section, if I disable the "Enable instant search" toggle, my application doesn't crash. Crashes come back when I check Instant search. That's curious because only File Explorer is in the list of processes. Anyway, for now I can use my apps with Fluent search. Thank you! To answer to your question, in Windows accessibility settings, I only disabled the "5-times-shift" shortcut. But the computer is on an enterprise domain, maybe the IT disabled some services in the group policy... Le mercredi 27 juillet 2022 15:00:46 (+02:00), Lighto a écrit : @SpringsTS can you please try to disable in-app content search in Settings -> Processes, and see if it helps? FYI Fluent Search uses Windows Accessibility to search in apps, which is the "UIAutomation" you're seeing in the log, and for some reason that seems to crash for you. Did you disable any Windows accessibility feature somehow? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned. -- Cordialement, Quentin

Oh interesting, thanks for letting me know. I will check if I can somehow automatically detect when win accessibility is not responding for w.e reason and disable it automatically.

adirh3 commented 2 years ago

@SpringsTS made a fix for it in nightly build, if you're using Instant Search you can try checking it out. It will be available in the stable release soon.

SpringsTS commented 2 years ago

Thank you.

I noticed I still have crashes, but in different conditions: They are quite rare Application is always in the background (never crashed when active)

I will try the nightly build and keep you updated.

SpringsTS commented 2 years ago

Fingers crossed, for now nothing crashed.

Thank you!