One thing that I can implement quickly is: if the crash happened and is reported in one session, attach XSessionErrors as usual, otherwise don't attach it.
The bigger solution to that problem is to introduce a concept of hooks which run at crash time as opposed to reporting time. These should be very cheap and fast, but capturing .xsession-errors is. Can you please file another bug "attach xsession-errors at crash time"?
One thing that I can implement quickly is: if the crash happened and is reported in one session, attach XSessionErrors as usual, otherwise don't attach it.
The bigger solution to that problem is to introduce a concept of hooks which run at crash time as opposed to reporting time. These should be very cheap and fast, but capturing .xsession-errors is. Can you please file another bug "attach xsession-errors at crash time"?