Hi all,
My colleague wasn’t doing anything in particular, just moving components with the schematic and the PCBnew also open.
KiCad froze for a second or two and then closed completely.
2023-02-21T04:06:26.979002+01:00 debian plasmashell[51999]: terminate called after throwing an instance of 'std::bad_alloc'
2023-02-21T04:06:26.979382+01:00 debian plasmashell[51999]: what(): std::bad_alloc
2023-02-21T04:06:26.989646+01:00 debian systemd[1]: Created slice system-systemd\x2dcoredump.slice - Slice /system/systemd-coredump.
2023-02-21T04:06:26.994016+01:00 debian systemd[1]: Started systemd-coredump@0-138902-0.service - Process Core Dump (PID 138902/UID 0).
2023-02-21T04:06:29.830951+01:00 debian systemd-coredump[138903]: Process 51999 (kicad) of user 1000 dumped core.#012#012Module libsystemd.so.0 from deb systemd-252.5-2.amd64#012Stack trace of thread 51999:#012#0 0x00007f0be44a9ccc __pthread_kill_implementation (libc.so.6 + 0x8accc)#012#1 0x00007f0be445aef2 __GI_raise (libc.so.6 + 0x3bef2)#012#2 0x00007f0be4445472 __GI_abort (libc.so.6 + 0x26472)#012#3 0x00007f0be429d919 n/a (libstdc++.so.6 + 0x9d919)#012#4 0x00007f0be42a8e1a n/a (libstdc++.so.6 + 0xa8e1a)#012#5 0x00007f0be42a8e85 _ZSt9terminatev (libstdc++.so.6 + 0xa8e85)#012#6 0x00007f0be42a90d8 __cxa_throw (libstdc++.so.6 + 0xa90d8)#012#7 0x00007f0be429d524 n/a (libstdc++.so.6 + 0x9d524)#012#8 0x00007f0ba4b7fcf2 n/a (_eeschema.kiface + 0x77fcf2)#012#9 0x00007f0ba4b80596 n/a (_eeschema.kiface + 0x780596)#012#10 0x00007f0ba4d0dc34 n/a (_eeschema.kiface + 0x90dc34)#012#11 0x00007f0ba4fa76ac n/a (_eeschema.kiface + 0xba76ac)#012#12 0x00007f0bc5d9ab41 make_fcontext (_pcbnew.kiface + 0x139ab41)#012ELF object binary architecture: AMD x86-64
2023-02-21T04:06:29.941856+01:00 debian systemd[1]: systemd-coredump@0-138902-0.service: Deactivated successfully.
2023-02-21T04:06:29.947767+01:00 debian systemd[1]: systemd-coredump@0-138902-0.service: Consumed 2.908s CPU time.
2023-02-21T04:06:29.957615+01:00 debian systemd[1945]: app-org.kicad.kicad-ac7fbc437f944eec8f05fbcef669490f.scope: Consumed 19min 22.572s CPU time.
2023-02-21T04:06:29.985651+01:00 debian kwin_x11[2084]: kwin_core: Failed to focus 0x4613df2 (error 3)
2023-02-21T04:06:29.986335+01:00 debian kwin_x11[2084]: kwin_core: Failed to focus 0x4613df2 (error 3)
2023-02-21T04:06:29.986691+01:00 debian kwin_x11[2084]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 40447, resource id: 73400343, major code: 15 (QueryTree), minor code: 0
2023-02-21T04:06:29.987102+01:00 debian kwin_x11[2084]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 40496, resource id: 73531953, major code: 15 (QueryTree), minor code: 0
2023-02-21T04:06:29.987351+01:00 debian kwin_x11[2084]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 40542, resource id: 73484326, major code: 15 (QueryTree), minor code: 0
2023-02-21T04:06:29.987428+01:00 debian kwin_x11[2084]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 40573, resource id: 73481714, major code: 15 (QueryTree), minor code: 0
2023-02-21T04:06:29.987484+01:00 debian kwin_x11[2084]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 40595, resource id: 52428931, major code: 18 (ChangeProperty), minor code: 0
Here’s the KiCad info:
Application: KiCad
Version: 6.0.11+dfsg-1, release build
Libraries:
wxWidgets 3.2.2
libcurl/7.88.1 OpenSSL/3.0.8 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.3 libpsl/0.21.2 (+libidn2/2.3.3) libssh2/1.10.0 nghttp2/1.52.0 librtmp/2.3
Platform: Linux 6.2.0-1 x86_64, 64 bit, Little endian, wxGTK, KDE, x11
Build Info:
Date: Jan 26 2023 05:35:43
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.6.3
Curl: 7.87.0
ngspice: 38
Compiler: GCC 12.2.0 with C++ ABI 1017
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON
Any idea what might have happened? We have not been able to reproduce it.
It has never happened to me. I am currently using Mint 20.3 distribution without problems.
gaston