Page layout editor crashes deleting item
Description
Page layout editor crashed when deleting text object before it is placed.
Crash log:
Click to expand
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: pl_editor [55231]
Path: /Applications/KiCad/KiCad.app/Contents/Applications/pl_editor.app/Contents/MacOS/pl_editor
Identifier: org.kicad.pl_editor
Version: (6.0.8-1) ((6.0.8-1)-1)
Code Type: X86-64 (Native)
Parent Process: kicad [55230]
Responsible: kicad [55230]
User ID: 503
Date/Time: 2022-10-22 01:10:01.7275 -0400
OS Version: macOS 12.6 (21G115)
Report Version: 12
Bridge OS Version: 3.0 (14Y910)
Anonymous UUID: 39C8B228-8C95-D634-AFCC-0EEC5F8D5DA8
Sleep/Wake UUID: 3D33CC81-9AEB-47EF-B0EC-AA612AE1DECE
Time Awake Since Boot: 230000 seconds
Time Since Wake: 774 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: UNKNOWN_0xD at 0x0000000000000000
Exception Codes: 0x000000000000000d, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [55231]
VM Region Info: 0 is not in any region. Bytes before following region: 4436049920
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 10868c000-108828000 [ 1648K] r-x/r-x SM=COW ...cOS/pl_editor
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 _pl_editor.kiface 0x10f0b1e92 DS_DATA_ITEM::MoveStartPointToUi(wxPoint const&) + 82
1 _pl_editor.kiface 0x10ef81706 PL_DRAWING_TOOLS::PlaceItem(TOOL_EVENT const&) + 1286
2 _pl_editor.kiface 0x10f1eb7b1 COROUTINE<int, TOOL_EVENT const&>::callerStub(long) + 49
3 _pl_editor.kiface 0x10f29fe2a make_fcontext + 42
Thread 1:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x7ff81b5e597a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x7ff81b5e5ce8 mach_msg + 56
2 CoreFoundation 0x7ff81b6e936d __CFRunLoopServiceMachPort + 319
3 CoreFoundation 0x7ff81b6e79f8 __CFRunLoopRun + 1276
4 CoreFoundation 0x7ff81b6e6e3c CFRunLoopRunSpecific + 562
5 AppKit 0x7ff81e28e9ce _NSEventThread + 132
6 libsystem_pthread.dylib 0x7ff81b6224e1 _pthread_start + 125
7 libsystem_pthread.dylib 0x7ff81b61df6b thread_start + 15
Thread 2:
0 libsystem_pthread.dylib 0x7ff81b61df48 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x7ff81b61df48 start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x7ff81b61df48 start_wqthread + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x000000010f9b8c00 rbx: 0x00007fc4ecc76f08 rcx: 0x0000000000000000 rdx: 0x00000000ffec58c0
rdi: 0x76457478654e7465 rsi: 0x00007fc4ecc76f08 rbp: 0x00007fc4ecc76ea0 rsp: 0x00007fc4ecc76e80
r8: 0x00000000000017e0 r9: 0x0000000000000020 r10: 0x00000000000007fb r11: 0x00000000000001ff
r12: 0x0000600002e9f720 r13: 0x0003d86000000000 r14: 0x76457478654e7465 r15: 0x00007fc4fc94d3e8
rip: 0x000000010f0b1e92 rfl: 0x0000000000010246 cr2: 0x000000010353c000
Logical CPU: 2
Error Code: 0x00000000
Trap Number: 13
Thread 0 instruction stream:
ff ff ae ff ff ff c3 ff-ff ff d8 ff ff ff 55 48 ..............UH
89 e5 41 56 53 48 83 ec-10 48 89 f3 49 89 fe f2 ..AVSH...H..I...
0f 2a 06 f2 0f 11 45 e8-e8 51 35 00 00 f2 0f 10 .*....E..Q5.....
45 e8 f2 0f 5e 00 f2 0f-11 45 e8 0f 57 c0 f2 0f E...^....E..W...
2a 43 04 f2 0f 11 45 e0-e8 31 35 00 00 f2 0f 10 *C....E..15.....
45 e0 f2 0f 5e 00 f2 0f-11 45 e0 e8 1e 35 00 00 E...^....E...5..
[41]8b 4e 68 48 83 f9 03-77 30 48 8d 15 95 00 00 A.NhH...w0H..... <==
00 48 63 0c 8a 48 01 d1-ff e1 f2 0f 10 40 08 f2 .Hc..H.......@..
0f 10 48 10 f2 0f 5c 45-e8 f2 0f 5c 4d e0 66 48 ..H...\E...\M.fH
0f 7e c1 66 48 0f 7e c8-eb 5a 31 c0 31 c9 eb 54 .~.fH.~..Z1.1..T
f2 0f 10 40 08 f2 0f 5c-45 e8 66 48 0f 7e c1 f2 ...@...\E.fH.~..
0f 10 45 e0 f2 0f 5c 40-20 eb 34 f2 0f 10 45 e8 ..E...\@ .4...E.
Binary Images:
0x10ef54000 - 0x10f5f3fff _pl_editor.kiface (*) <54b16d47-b0ea-3403-92e9-05b1900de6c8> /Applications/KiCad/KiCad.app/Contents/PlugIns/_pl_editor.kiface
0x7ff81b5e4000 - 0x7ff81b61bfff libsystem_kernel.dylib (*) <8cc28466-fd2f-3c80-9834-9525b7beac19> /usr/lib/system/libsystem_kernel.dylib
0x7ff81b669000 - 0x7ff81bb6bfff com.apple.CoreFoundation (6.9) <93c48919-68af-367e-9a67-db4159bc962c> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7ff81e0e2000 - 0x7ff81ef71fff com.apple.AppKit (6.9) <06015263-62ac-3b08-a298-dc835c18452a> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7ff81b61c000 - 0x7ff81b627fff libsystem_pthread.dylib (*) <b5454e27-e8c7-3fdb-b77f-714f1e82e70b> /usr/lib/system/libsystem_pthread.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=1.2G resident=0K(0%) swapped_out_or_unallocated=1.2G(100%)
Writable regions: Total=950.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=950.4M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 1792K 14
Activity Tracing 256K 1
CG backing stores 2528K 4
CG image 3176K 374
CG raster data 192K 24
ColorSync 232K 28
CoreAnimation 152.2M 301
CoreGraphics 16K 3
CoreUI image data 5464K 43
Foundation 52K 2
Kernel Alloc Once 8K 1
MALLOC 745.2M 89
MALLOC guard page 32K 8
ObjC additional data 15K 1
OpenGL GLSL 256K 3
STACK GUARD 16K 4
Stack 10.0M 5
Stack Guard 56.0M 1
VM_ALLOCATE 35.5M 41
__CTF 756 1
__DATA 47.5M 526
__DATA_CONST 31.2M 341
__DATA_DIRTY 1560K 199
__FONT_DATA 4K 1
__GLSLBUILTINS 5176K 1
__LINKEDIT 653.4M 28
__TEXT 546.7M 536
__UNICODE 592K 1
dyld private memory 1024K 1
mapped file 207.1M 37
shared memory 772K 17
=========== ======= =======
TOTAL 2.4G 2636
-----------
Full Report
-----------
{"app_name":"pl_editor","timestamp":"2022-10-22 01:10:24.00 -0400","app_version":"(6.0.8-1)","slice_uuid":"bec05832-4482-3d73-a1ae-7082363c8656","build_version":"(6.0.8-1)-1","platform":1,"bundleID":"org.kicad.pl_editor","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.6 (21G115)","incident_id":"EC4685AC-F26E-4C56-80B5-19E2ED87B3C6","name":"pl_editor"}
{
"uptime" : 230000,
"procLaunch" : "2022-10-21 14:02:02.3237 -0400",
"procRole" : "Foreground",
"version" : 2,
"userID" : 503,
"deployVersion" : 210,
"modelCode" : "MacBookPro13,3",
"procStartAbsTime" : 229955161950145,
"coalitionID" : 11647,
"osVersion" : {
"train" : "macOS 12.6",
"build" : "21G115",
"releaseType" : "User"
},
"captureTime" : "2022-10-22 01:10:01.7275 -0400",
"incident" : "EC4685AC-F26E-4C56-80B5-19E2ED87B3C6",
"bug_type" : "309",
"pid" : 55231,
"procExitAbsTime" : 238485309858410,
"cpuType" : "X86-64",
"procName" : "pl_editor",
"procPath" : "\/Applications\/KiCad\/KiCad.app\/Contents\/Applications\/pl_editor.app\/Contents\/MacOS\/pl_editor",
"bundleInfo" : {"CFBundleShortVersionString":"(6.0.8-1)","CFBundleVersion":"(6.0.8-1)-1","CFBundleIdentifier":"org.kicad.pl_editor"},
"storeInfo" : {"deviceIdentifierForVendor":"3BCB8B21-9A42-5DCA-8666-45F23030BD82","thirdParty":true},
"parentProc" : "kicad",
"parentPid" : 55230,
"coalitionName" : "org.kicad.kicad",
"crashReporterKey" : "39C8B228-8C95-D634-AFCC-0EEC5F8D5DA8",
"responsiblePid" : 55230,
"responsibleProc" : "kicad",
"wakeTime" : 774,
"bridgeVersion" : {"build":"14Y910","train":"3.0"},
"sleepWakeUUID" : "3D33CC81-9AEB-47EF-B0EC-AA612AE1DECE",
"sip" : "enabled",
"vmRegionInfo" : "0 is not in any region. Bytes before following region: 4436049920\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 10868c000-108828000 [ 1648K] r-x\/r-x SM=COW ...cOS\/pl_editor",
"isCorpse" : 1,
"exception" : {"codes":"0x000000000000000d, 0x0000000000000000","rawCodes":[13,0],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"UNKNOWN_0xD at 0x0000000000000000"},
"termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":55231},
"vmregioninfo" : "0 is not in any region. Bytes before following region: 4436049920\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 10868c000-108828000 [ 1648K] r-x\/r-x SM=COW ...cOS\/pl_editor",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":2169425,"instructionState":{"instructionStream":{"bytes":[255,255,174,255,255,255,195,255,255,255,216,255,255,255,85,72,137,229,65,86,83,72,131,236,16,72,137,243,73,137,254,242,15,42,6,242,15,17,69,232,232,81,53,0,0,242,15,16,69,232,242,15,94,0,242,15,17,69,232,15,87,192,242,15,42,67,4,242,15,17,69,224,232,49,53,0,0,242,15,16,69,224,242,15,94,0,242,15,17,69,224,232,30,53,0,0,65,139,78,104,72,131,249,3,119,48,72,141,21,149,0,0,0,72,99,12,138,72,1,209,255,225,242,15,16,64,8,242,15,16,72,16,242,15,92,69,232,242,15,92,77,224,102,72,15,126,193,102,72,15,126,200,235,90,49,192,49,201,235,84,242,15,16,64,8,242,15,92,69,232,102,72,15,126,193,242,15,16,69,224,242,15,92,64,32,235,52,242,15,16,69,232],"offset":96}},"threadState":{"r13":{"value":1082331758592000},"rax":{"value":4556819456,"symbolLocation":0,"symbol":"wksTheInstance"},"rflags":{"value":66118},"cpu":{"value":2},"r14":{"value":8522345930313069669},"rsi":{"value":140483762810632},"r8":{"value":6112},"cr2":{"value":4350787584},"rdx":{"value":4293679296},"r10":{"value":2043},"r9":{"value":32},"r15":{"value":140484027929576},"rbx":{"value":140483762810632},"trap":{"value":13},"err":{"value":0},"r11":{"value":511},"rip":{"value":4547354258,"matchesCrashFrame":1},"rbp":{"value":140483762810528},"rsp":{"value":140483762810496},"r12":{"value":105553165154080},"rcx":{"value":0},"flavor":"x86_THREAD_STATE","rdi":{"value":8522345930313069669}},"queue":"com.apple.main-thread","frames":[{"imageOffset":1433234,"symbol":"DS_DATA_ITEM::MoveStartPointToUi(wxPoint const&)","symbolLocation":82,"imageIndex":0},{"imageOffset":186118,"symbol":"PL_DRAWING_TOOLS::PlaceItem(TOOL_EVENT const&)","symbolLocation":1286,"imageIndex":0},{"imageOffset":2717617,"symbol":"COROUTINE<int, TOOL_EVENT const&>::callerStub(long)","symbolLocation":49,"imageIndex":0},{"imageOffset":3456554,"symbol":"make_fcontext","symbolLocation":42,"imageIndex":0}]},{"id":2169454,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6522,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":1},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":1},{"imageOffset":525165,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":2},{"imageOffset":518648,"symbol":"__CFRunLoopRun","symbolLocation":1276,"imageIndex":2},{"imageOffset":515644,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":2},{"imageOffset":1755598,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":3},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":4},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":4}]},{"id":2290407,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":2290447,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":2290518,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "x86_64",
"base" : 4545921024,
"size" : 6946816,
"uuid" : "54b16d47-b0ea-3403-92e9-05b1900de6c8",
"path" : "\/Applications\/KiCad\/KiCad.app\/Contents\/PlugIns\/_pl_editor.kiface",
"name" : "_pl_editor.kiface"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703587778560,
"size" : 229376,
"uuid" : "8cc28466-fd2f-3c80-9834-9525b7beac19",
"path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "x86_64h",
"base" : 140703588323328,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.CoreFoundation",
"size" : 5255168,
"uuid" : "93c48919-68af-367e-9a67-db4159bc962c",
"path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
"name" : "CoreFoundation",
"CFBundleVersion" : "1866"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703632859136,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.AppKit",
"size" : 15269888,
"uuid" : "06015263-62ac-3b08-a298-dc835c18452a",
"path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
"name" : "AppKit",
"CFBundleVersion" : "2113.60.148"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703588007936,
"size" : 49152,
"uuid" : "b5454e27-e8c7-3fdb-b77f-714f1e82e70b",
"path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
}
],
"sharedCache" : {
"base" : 140703584751616,
"size" : 19331678208,
"uuid" : "73669942-bd8a-3e40-951f-7fbe07b51cb8"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=1.2G resident=0K(0%) swapped_out_or_unallocated=1.2G(100%)\nWritable regions: Total=950.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=950.4M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 1792K 14 \nActivity Tracing 256K 1 \nCG backing stores 2528K 4 \nCG image 3176K 374 \nCG raster data 192K 24 \nColorSync 232K 28 \nCoreAnimation 152.2M 301 \nCoreGraphics 16K 3 \nCoreUI image data 5464K 43 \nFoundation 52K 2 \nKernel Alloc Once 8K 1 \nMALLOC 745.2M 89 \nMALLOC guard page 32K 8 \nObjC additional data 15K 1 \nOpenGL GLSL 256K 3 \nSTACK GUARD 16K 4 \nStack 10.0M 5 \nStack Guard 56.0M 1 \nVM_ALLOCATE 35.5M 41 \n__CTF 756 1 \n__DATA 47.5M 526 \n__DATA_CONST 31.2M 341 \n__DATA_DIRTY 1560K 199 \n__FONT_DATA 4K 1 \n__GLSLBUILTINS 5176K 1 \n__LINKEDIT 653.4M 28 \n__TEXT 546.7M 536 \n__UNICODE 592K 1 \ndyld private memory 1024K 1 \nmapped file 207.1M 37 \nshared memory 772K 17 \n=========== ======= ======= \nTOTAL 2.4G 2636 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.apple.main-thread"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "6112dda2fc54bc3389840642",
"factorPackIds" : {
"SIRI_DICTATION_ASSETS" : "620aec83b02b354d3afd2f50"
},
"deploymentId" : 240000143
},
{
"rolloutId" : "61af99aeda72d16a4beb7756",
"factorPackIds" : {
"SIRI_DIALOG_ASSETS" : "629fe54ebc762c0b6f758b6b"
},
"deploymentId" : 240000396
}
],
"experiments" : [
]
}
}
Model: MacBookPro13,3, BootROM 451.140.1.0.0, 4 processors, Quad-Core Intel Core i7, 2.6 GHz, 16 GB, SMC 2.38f12
Graphics: Intel HD Graphics 530, Intel HD Graphics 530, Built-In
Graphics: Radeon Pro 450, AMD Radeon Pro 450, PCIe, 2 GB
Display: Color LCD, 2880 x 1800 Retina, Main, MirrorOff, Online
Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x15A), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.4)
AirPort:
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Network Service: USB 10/100/1000 LAN, Ethernet, en5
USB Device: USB30Bus
USB Device: Apple T1 Controller
USB Device: USB 2.0 Hub
USB Device: USB2.0 Hub
USB Device: USB2.0 Hub
USB Device: USB Gaming Mouse
USB Device: Usb Gaming Keyboard
USB Device: USB3.0 Hub
USB Device: USB3.0 Hub
USB Device: USB 10/100/1000 LAN
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.5
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.5
Steps to reproduce
- Click on the text tool and hover over the drawing sheet
- Press <backspace> (on macOS) or equivalent key for platform
- Application will immediately crash
KiCad Version
Application: KiCad Schematic Editor
Version: (6.0.8-1)-1, release build
Libraries:
wxWidgets 3.1.5
libcurl/7.79.1 SecureTransport (LibreSSL/3.3.6) zlib/1.2.11 nghttp2/1.45.1
Platform: macOS Version 12.6 (Build 21G115), 64 bit, Little endian, wxMac
Build Info:
Date: Sep 28 2022 15:09:52
wxWidgets: 3.1.5 (wchar_t,wx containers)
Boost: 1.79.0
OCC: 7.6.3
Curl: 7.64.1
ngspice: 37
Compiler: Clang 12.0.0 with C++ ABI 1002
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON