system ( com.Android google.com.gms ) share from gallery app suddenly stops working and crashes there is a prominent gallery app that I am using  -f-stop .
been using it for very long time and never had this issue .
gallery app itself seems to be working but when I select more than one picture and invoke system share so I can   share  those with other apps like WhatsApp... everything crashes.
it gives me an option to view the  app log  crash in an email attachment, that it prepared to send to Google for feedback unfortunately selfish as it may sound, I cannot send that attachment to my email   It just directly sends it without even keeping a sent copy in my Gmail. using some kind of a hack I pulled up all that log info and I am putting it in  pastebin_with_crash_log_info

The relevant error is: 

Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f08007a
at android.content.res.ResourcesImpl.getValueForDensity(ResourcesImpl.java:246)
at android.content.res.Resources.getDrawableForDensity(Resources.java:905)
at android.content.res.Resources.getDrawableForDensity(Resources.java:880)
at com.android.internal.app.ResolverActivity$TargetPresentationGetter.loadIconFromResource(ResolverActivity.java:669)


here are the more relevant details 

crashing system share app concerned is 

com.Android google.com.gms

Source file
ResourcesImpl.java
Source class
android.content.res.ResourcesImpl
Source method
getValueForDensity
Line number
246


os details 


magisk rooted Android q project treble ROM
Considering that the error seems to be that an icon can't be loaded I would assume the following:

The sharing menu shows a list of apps to share the selected content with. This list shows for each app it's app icon plus the app name.

It looks like one of the installed apps, that is shown in the sharing apps list, has a problem loading the app icon. Unfortunately the error log has no indicator which app icon fails to load. 

Unless you recently installed a system update the problem is caused by one specific app that has been installed or updated recently recently.

Note: The sharing list is AFAIK automatically generated by the content type to be shared. Each app contains in it's manifest rules and content types it can accept. Upon installation these information is AFAIR copied into a central system-wide XML file (don't remember the exact file name). Hence by modifying this file it would be possible to remove certain apps from the sharing menu, however this XML file is updated/modified if you install or update an app. Hence the manual changes may be overwritten frequently (I never tried this therefore I don't have any experience how long a modification can last in this XML file).