Inkscape crashes while using the color-picker multiple times in a row

Summary:

... When i use the Color-Picker multiple times in a row, inkscape crashes without any message. That can be after using the tool 10 times or 30 times. Sooner or late it crashes. Saving inbetween dosnt help to avoid the issue.

Steps to reproduce:

  1. open Inkscape
  2. Select an object (triangle in that example)
  3. Take Color-Picker (D)
  4. Select Color under the triangle as fill-color
  5. Hit Tab (or select another Triangle, works both)
  6. Repeat 2.-5. until inkscape crashes (maximum 20-30 times at mine)

What happened?

Inkscape crashes without any Errormessage. Running cmd gave me the following:

(.. unimportant font stuff removed..)

(org.inkscape.Inkscape:4980): CRITICAL : 22:57:54.792: void Inkscape::UI::Dialog::LayersPanel::_layersChanged(): assertion 'document != nullptr' failed

What should have happened?

Inkscape shouldn't have crashed? :D

Sample attachments:

error_report.svg

Version Info:

- Inkscape Version: 1.0 (a8ed21a, 2020-07-20)
- Operating System: Win 10 Pro 64 bit 
- Operating System version: 10.0.18362


<!--
    ❤️ Thank you for filling in a new bug report, we appreciate the help! ❤️
    Please be patient while we try to find the time to look into your issue.
    Remember that Inkscape is developed by volunteers in their spare time, we'll try our best to respond to all reports.
-->

<!--
    Please be careful when/after writing #  for example in logs, code, or versions of linux
    - use inline code span - single backticks (`) before and after it, like this - `#1618`
    - use multi-line code block - triple backticks (```) to fence/enclose console logs
    - attach long logs as a text file.
-->
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information