Fluent-Search icon indicating copy to clipboard operation
Fluent-Search copied to clipboard

Some applications randomly crashes when Fluent Search is running.

Open SpringsTS opened this issue 3 years ago • 6 comments

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 :

  • Windows 11 Version 21H2
  • Fluent Search Version 0.9.91.9994

  Thank you in advance for any answer.

SpringsTS avatar Jul 26 '22 08:07 SpringsTS

@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?

adirh3 avatar Jul 27 '22 13:07 adirh3

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...)

SpringsTS avatar Jul 27 '22 13:07 SpringsTS

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 avatar Jul 27 '22 14:07 adirh3

@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.

adirh3 avatar Jul 30 '22 17:07 adirh3

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 avatar Aug 02 '22 06:08 SpringsTS

Fingers crossed, for now nothing crashed.

Thank you!

SpringsTS avatar Aug 10 '22 16:08 SpringsTS