Fixed. When SPDesktop is destroyed, it was not removed from SPNamedview. very bad indeed! this is fixed now.
However, another bug still lives with similar trigger:
1. Start Inkscape
2. Duplicate window
3. draw a rectangle in the duplicate window
4. close Duplicate window
5. enable grid (#) in original window
> Inkscape crashes, with emergency crash
Fixed. When SPDesktop is destroyed, it was not removed from SPNamedview. very bad indeed! this is fixed now.
However, another bug still lives with similar trigger:
1. Start Inkscape
2. Duplicate window
3. draw a rectangle in the duplicate window
4. close Duplicate window
5. enable grid (#) in original window
> Inkscape crashes, with emergency crash