Crash when deleting a page with clones
I was working on a diagram, when I came upon a very easily reproducible crash. To reproduce it, simply open up the file provided, select the 'page' tool, select the page that is in the portrait orientation, and attempt to delete it with the 'DEL' key. Inkscape should crash immediately.
In addition, there is some funkiness in how Inkscape is handling the page in the first place. Attempting to switch the front page to landscape orientation seems to create a second 'front page' that cannot be interacted with behind the original front page that is in portrait orientation. Seems like some things are getting desyncronized, to me, though I'm sure you will have a better idea than I as to that.
open one of files included delete page one
crash witout a crash dialog
no crash
file 1
file2
--- INKSCAPE VERSION ---
Inkscape 1.4 (86a8ad7, 2024-10-11)
Compile (Run)
GLib version: 2.82.1
GTK version: 3.24.43 (3.24.43)
glibmm version: 2.66.7
gtkmm version: 3.24.9
libxml2 version: 2.12.9
libxslt version: 1.1.42
Cairo version: 1.18.2 (1.18.2)
Pango version: 1.54.0 (1.54.0)
HarfBuzz version: 10.0.1 (10.0.1)
OS version: Windows 11 24H2
--- SYSTEM INFO ---
Host Name: HOSTNAME
OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.26100 N/A Build 26100
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
Registered Owner: N/A
Registered Organization: N/A
Product ID: 00330-50000-00000-AAOEM
Original Install Date: 12/22/2024, 9:30:14 PM
System Boot Time: 4/5/2025, 9:49:41 AM
System Manufacturer: Microsoft Corporation
System Model: Surface Laptop 4
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: AMD64 Family 23 Model 96 Stepping 1 AuthenticAMD ~2000 Mhz
BIOS Version: Microsoft Corporation 4.310.140, 8/27/2024
Windows Directory: C:\WINDOWS
System Directory: C:\WINDOWS\system32
Boot Device: \Device\HarddiskVolume1
System Locale: en-us;English (United States)
Input Locale: en-us;English (United States)
Time Zone: (UTC-08:00) Pacific Time (US & Canada)
Total Physical Memory: 15,823 MB
Available Physical Memory: 4,771 MB
Virtual Memory: Max Size: 36,303 MB
Virtual Memory: Available: 19,280 MB
Virtual Memory: In Use: 17,023 MB
Page File Location(s): C:\pagefile.sys
Domain: WORKGROUP
Logon Server: \\HOSTNAME
Hotfix(s): 3 Hotfix(s) Installed.
[01]: KB5049622
[02]: KB5053598
[03]: KB5052915
Network Card(s): 6 NIC(s) Installed.
[01]: Wintun Userspace Tunnel
Connection Name: OpenVPN Wintun
Status: Media disconnected
[02]: TAP-Windows Adapter V9
Connection Name: Local Area Connection
Status: Media disconnected
[03]: Intel(R) Wi-Fi 6 AX200 160MHz
Connection Name: Wi-Fi
Status: Media disconnected
[04]: OpenVPN Data Channel Offload
Connection Name: OpenVPN Data Channel Offload
Status: Media disconnected
[05]: Bluetooth Device (Personal Area Network)
Connection Name: Bluetooth Network Connection
Status: Media disconnected
[06]: Realtek USB GbE Family Controller
Connection Name: Ethernet 2
DHCP Enabled: Yes
DHCP Server: 192.168.0.200
IP address(es)
[01]: 192.168.0.43
[02]: fe80::e68:4635:7812:5cf0
Virtualization-based security: Status: Running
Required Security Properties:
Base Virtualization Support
Available Security Properties:
Base Virtualization Support
Secure Boot
DMA Protection
UEFI Code Readonly
SMM Security Mitigations 1.0
Mode Based Execution Control
Services Configured:
Hypervisor enforced Code Integrity
Secure Launch
SMM Firmware Measurement
Services Running:
Hypervisor enforced Code Integrity
Secure Launch
SMM Firmware Measurement
App Control for Business policy: Enforced
App Control for Business user mode policy: Off
Security Features Enabled:
SMM Isolation Level: 10
Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.
--- BACKTRACE ---
[New Thread 12156.0x7c90]
[New Thread 12156.0x7e7c]
[New Thread 12156.0x8e08]
[New Thread 12156.0x8f74]
[New Thread 12156.0x233c]
[New Thread 12156.0x5158]
[New Thread 12156.0x958]
[New Thread 12156.0x85c0]
[New Thread 12156.0x8f14]
[New Thread 12156.0x8c7c]
[New Thread 12156.0x84f4]
[New Thread 12156.0x88cc]
[New Thread 12156.0x7590]
[New Thread 12156.0x89c4]
[Thread 12156.0x7590 exited with code 0]
[New Thread 12156.0x863c]
[Thread 12156.0x89c4 exited with code 0]
[New Thread 12156.0x8ae4]
[Thread 12156.0x863c exited with code 0]
[New Thread 12156.0x7278]
[New Thread 12156.0x8c04]
[New Thread 12156.0x9324]
[New Thread 12156.0x861c]
[New Thread 12156.0x5d4c]
[New Thread 12156.0x50b8]
[New Thread 12156.0x2af8]
[New Thread 12156.0x8360]
[New Thread 12156.0x4a4c]
[New Thread 12156.0x8c50]
[New Thread 12156.0x86f0]
[New Thread 12156.0x617c]
[New Thread 12156.0x8cec]
[New Thread 12156.0x4530]
[New Thread 12156.0x7e24]
[New Thread 12156.0x89c0]
[Thread 12156.0x861c exited with code 0]
[Thread 12156.0x88cc exited with code 0]
[New Thread 12156.0x84e8]
[New Thread 12156.0x1fc]
[Thread 12156.0x84e8 exited with code 0]
[New Thread 12156.0x8b14]
[New Thread 12156.0x92f4]
[New Thread 12156.0x8724]
[New Thread 12156.0x86b0]
[New Thread 12156.0xce0]
[New Thread 12156.0x503c]
[New Thread 12156.0x62d0]
[New Thread 12156.0x6e00]
[New Thread 12156.0x8f44]
[New Thread 12156.0x7570]
[New Thread 12156.0x91ac]
Thread 1 received signal SIGSEGV, Segmentation fault.
0x00007fff4f0cf46a in SPObject::deleteObject(bool, bool) () from C:\Program Files\Inkscape\bin\libinkscape_base.dll
#0 0x00007fff4f0cf46a in SPObject::deleteObject(bool, bool) () from C:\Program Files\Inkscape\bin\libinkscape_base.dll
#1 0x00007fff4f88c8f3 in Inkscape::PageManager::deletePage(SPPage*, bool) () from C:\Program Files\Inkscape\bin\libinkscape_base.dll
#2 0x00007fff4f9911a9 in page_delete(SPDocument*) () from C:\Program Files\Inkscape\bin\libinkscape_base.dll
#3 0x00007fff50894fe4 in ?? () from C:\Program Files\Inkscape\bin\libgiomm-2.4-1.dll
#4 0x00007fff4eac8554 in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#5 0x00007fff4eadc2b5 in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#6 0x00007fff4eadd54a in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#7 0x00007fff4eae3139 in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#8 0x00007fff4ebd21a5 in ?? () from C:\Program Files\Inkscape\bin\libgio-2.0-0.dll
#9 0x00007fff4d815679 in ?? () from C:\Program Files\Inkscape\bin\libgtk-3-0.dll
#10 0x00007fff4d80f344 in ?? () from C:\Program Files\Inkscape\bin\libgtk-3-0.dll
#11 0x00007fff4eac8554 in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#12 0x00007fff4eadbf88 in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#13 0x00007fff4eadd54a in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#14 0x00007fff4eae3139 in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#15 0x00007fff4d6cdeb1 in ?? () from C:\Program Files\Inkscape\bin\libgtk-3-0.dll
#16 0x00007fff4eac8764 in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#17 0x00007fff4eadd5ff in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#18 0x00007fff4eae3139 in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#19 0x00007fff4d6cc025 in ?? () from C:\Program Files\Inkscape\bin\libgtk-3-0.dll
#20 0x00007fff4eac8764 in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#21 0x00007fff4eadd5ff in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#22 0x00007fff4eae3139 in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#23 0x00007fff4d7acd4e in ?? () from C:\Program Files\Inkscape\bin\libgtk-3-0.dll
#24 0x00007fff4eacb18d in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#25 0x00007fff4eac8764 in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#26 0x00007fff4eadd5ff in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#27 0x00007fff4eae3139 in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#28 0x00007fff4d7a9b69 in ?? () from C:\Program Files\Inkscape\bin\libgtk-3-0.dll
#29 0x00007fff4d7ab1e3 in ?? () from C:\Program Files\Inkscape\bin\libgtk-3-0.dll
#30 0x00007fff4d7ae715 in ?? () from C:\Program Files\Inkscape\bin\libgtk-3-0.dll
#31 0x00007fff4d76f9f8 in ?? () from C:\Program Files\Inkscape\bin\libgtk-3-0.dll
#32 0x00007fff4d9581bb in ?? () from C:\Program Files\Inkscape\bin\libgtk-3-0.dll
#33 0x00007fff4d683484 in ?? () from C:\Program Files\Inkscape\bin\libgtk-3-0.dll
#34 0x00007fff4eac8764 in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#35 0x00007fff4eadcba2 in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#36 0x00007fff4eae3139 in ?? () from C:\Program Files\Inkscape\bin\libgobject-2.0-0.dll
#37 0x00007fff4d959cf2 in ?? () from C:\Program Files\Inkscape\bin\libgtk-3-0.dll
#38 0x00007fff4d7faa81 in ?? () from C:\Program Files\Inkscape\bin\libgtk-3-0.dll
#39 0x00007fff4d7fcac7 in ?? () from C:\Program Files\Inkscape\bin\libgtk-3-0.dll
#40 0x00007fff4e25f769 in ?? () from C:\Program Files\Inkscape\bin\libgdk-3-0.dll
#41 0x00007fff4e29bd33 in ?? () from C:\Program Files\Inkscape\bin\libgdk-3-0.dll
#42 0x00007fff50671009 in ?? () from C:\Program Files\Inkscape\bin\libglib-2.0-0.dll
#43 0x00007fff50673f7f in ?? () from C:\Program Files\Inkscape\bin\libglib-2.0-0.dll
#44 0x00007fff506746dd in ?? () from C:\Program Files\Inkscape\bin\libglib-2.0-0.dll
#45 0x00007fff4ebc8b13 in ?? () from C:\Program Files\Inkscape\bin\libgio-2.0-0.dll
#46 0x00007ff6f7464122 in main ()