Implementing this could help in understanding and fixing #2862650.

Philipp