yaqwsx / KiKit

Automation tools for KiCAD
https://yaqwsx.github.io/KiKit
MIT License
1.54k stars 201 forks source link

Aborted (core dumped) #678

Open thisisgregm opened 6 months ago

thisisgregm commented 6 months ago

Prerequisites

KiKit version

1.5.1

KiCAD version

7.0.11

Operating system

Xubuntu 23.10

Description

I set settings in GUI, it generates a panel a couple of times (changed setting s a few time to make a panel correct), then hanging / shutting the whole KiCAD down. Same settings used from a terminal (see the command below) give me " Aborted (core dumped)" error message.

Steps to Reproduce

I use below command (generated by KiKit GUI). It gives me the "Aborted (core dumped)" error on a few PCBs I tried, even some very simple ones. Hopefully that will reproduce the issue to other people too:

kikit panelize
     --layout 'hspace: 0.5mm; vspace: 0.5mm; hbackbone: 2.5mm; vbackbone: 2.5mm; rows: 5; cols: 2'
     --tabs 'vwidth: 5mm; hwidth: 5mm; spacing: 20mm'
     --cuts 'type: vcuts; layer: 43'
     --framing 'type: frame; hspace: 0.5mm; vspace: 0.5mm; width: 7mm; mintotalheight: 70mm; mintotalwidth: 70mm'
     --fiducials 'type: 3fid; hoffset: 3.35mm; voffset: 3.35mm; opening: 2mm'
     --text 'type: simple; hoffset: 10mm; voffset: 3mm; hjustify: left; layer: 37; text: PCB-123 TITLE (YYWW: 2419); anchor: tl'
     '/path/to/project/test-pcb.kicad_pcb' panel.kicad_pcb
Aborted (core dumped)

Many thanks.

yaqwsx commented 6 months ago

I am afraid that without a stack trace, there is not much we can do. I have tried reproducing the issue without success so far.

thisisgregm commented 6 months ago

Thanks for responding. Is this helpful:

coredumpctl gdb -1
           PID: 57864 (kikit)
           UID: 1000 (myuser)
           GID: 1000 (myuser)
        Signal: 6 (ABRT)
     Timestamp: Tue 2024-04-30 11:04:35 BST (5s ago)
  Command Line: /usr/bin/python3 /home/myuser/.local/bin/kikit panelize --layout $'hspace: 0.5mm; vspace: 0.5mm; hbackbone: 2.5mm; vbackbone: 2.5mm; rows: 5; cols: 2' --tabs $'vwidth: 5mm; hwidth: 5mm; spacing: 20mm' --cuts $'type: vcuts; layer: 43' --framing $'type: frame; hspace: 0.5mm; vspace: 0.5mm; width: 7mm; mintotalheight: 70mm; mintotalwidth: 70mm' --fiducials $'type: 3fid; hoffset: 3.35mm; voffset: 3.35mm; opening: 2mm' --text $'type: simple; hoffset: 10mm; voffset: 3mm; hjustify: left; layer: 37; text: PCB-123 TITLE (YYWW: 2419); anchor: tl' /home/myuser/Documents/kicad/Projects/test/test.kicad_pcb panel.kicad_pcb
    Executable: /usr/bin/python3.11
 Control Group: /user.slice/user-1000.slice/session-c1.scope
          Unit: session-c1.scope
         Slice: user-1000.slice
       Session: c1
     Owner UID: 1000 (myuser)
       Boot ID: 1f187ef2998f4a8dbada8fb1c6f7c579
    Machine ID: 0b93f6a03a7e4a6a9b8626527b455e0f
      Hostname: myuser-Inspiron-7501
       Storage: /var/lib/systemd/coredump/core.kikit.1000.1f187ef2998f4a8dbada8fb1c6f7c579.57864.1714471475000000.zst (present)
  Size on Disk: 24.8M
       Message: Process 57864 (kikit) of user 1000 dumped core.

                Module /home/myuser/.local/lib/python3.11/site-packages/shapely.libs/libgeos-f99bd675.so.3.11.3 without build-id.
                Module /home/myuser/.local/lib/python3.11/site-packages/shapely.libs/libgeos-f99bd675.so.3.11.3
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy.libs/libquadmath-96973f99.so.0.0.0 without build-id.
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy.libs/libquadmath-96973f99.so.0.0.0
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy.libs/libgfortran-040039e1.so.5.0.0 without build-id.
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy.libs/libgfortran-040039e1.so.5.0.0
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy/random/_generator.cpython-311-x86_64-linux-gnu.so from deb systemd-253.5-1ubuntu6.1.amd64
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so without build-id.
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
                Module /home/myuser/.local/lib/python3.11/site-packages/shapely.libs/libgeos_c-da48124d.so.1.17.3 without build-id.
                Module /home/myuser/.local/lib/python3.11/site-packages/shapely.libs/libgeos_c-da48124d.so.1.17.3
                Module /home/myuser/.local/lib/python3.11/site-packages/shapely/lib.cpython-311-x86_64-linux-gnu.so without build-id.
                Module /home/myuser/.local/lib/python3.11/site-packages/shapely/lib.cpython-311-x86_64-linux-gnu.so
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy/random/_sfc64.cpython-311-x86_64-linux-gnu.so from deb systemd-253.5-1ubuntu6.1.amd64
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy/random/_pcg64.cpython-311-x86_64-linux-gnu.so from deb systemd-253.5-1ubuntu6.1.amd64
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy/random/_philox.cpython-311-x86_64-linux-gnu.so from deb systemd-253.5-1ubuntu6.1.amd64
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy/random/_mt19937.cpython-311-x86_64-linux-gnu.so from deb systemd-253.5-1ubuntu6.1.amd64
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy/random/_bounded_integers.cpython-311-x86_64-linux-gnu.so from deb systemd-253.5-1ubuntu6.1.amd64
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy/random/_common.cpython-311-x86_64-linux-gnu.so from deb systemd-253.5-1ubuntu6.1.amd64
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so without build-id.
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy/random/bit_generator.cpython-311-x86_64-linux-gnu.so from deb systemd-253.5-1ubuntu6.1.amd64
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy/random/mtrand.cpython-311-x86_64-linux-gnu.so from deb systemd-253.5-1ubuntu6.1.amd64
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy/fft/_pocketfft_internal.cpython-311-x86_64-linux-gnu.so from deb systemd-253.5-1ubuntu6.1.amd64
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy/linalg/_umath_linalg.cpython-311-x86_64-linux-gnu.so without build-id.
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy/linalg/_umath_linalg.cpython-311-x86_64-linux-gnu.so
                Module /home/myuser/.local/lib/python3.11/site-packages/numpy/core/_multiarray_tests.cpython-311-x86_64-linux-gnu.so from deb systemd-253.5-1ubuntu6.1.amd64
                Module /home/myuser/.local/lib/python3.11/site-packages/shapely/_geos.cpython-311-x86_64-linux-gnu.so without build-id.
                Module /home/myuser/.local/lib/python3.11/site-packages/shapely/_geos.cpython-311-x86_64-linux-gnu.so
                Module /home/myuser/.local/lib/python3.11/site-packages/shapely/_geometry_helpers.cpython-311-x86_64-linux-gnu.so without build-id.
                Module /home/myuser/.local/lib/python3.11/site-packages/shapely/_geometry_helpers.cpython-311-x86_64-linux-gnu.so
                Module libsystemd.so.0 from deb systemd-253.5-1ubuntu6.1.amd64
                Stack trace of thread 57864:
                #0  0x00007cdc4e899a1b __pthread_kill_implementation (libc.so.6 + 0x99a1b)
                #1  0x00007cdc4e8428e6 __GI_raise (libc.so.6 + 0x428e6)
                #2  0x00007cdc4e8268b7 __GI_abort (libc.so.6 + 0x268b7)
                #3  0x00007cdc4e827750 __libc_message (libc.so.6 + 0x27750)
                #4  0x00007cdc4e8a3ce7 malloc_printerr (libc.so.6 + 0xa3ce7)
                #5  0x00007cdc4e8a6109 _int_free (libc.so.6 + 0xa6109)
                #6  0x00007cdc4e8a8873 __GI___libc_free (libc.so.6 + 0xa8873)
                #7  0x00007cdc4b76e8f6 n/a (_pcbnew.so + 0xb6e8f6)
                #8  0x00007cdc4b70b1ab n/a (_pcbnew.so + 0xb0b1ab)
                #9  0x000000000055678b n/a (python3.11 + 0x15678b)
                #10 0x000000000050aae7 n/a (python3.11 + 0x10aae7)
                #11 0x00000000004f5cd9 _PyEval_EvalFrameDefault (python3.11 + 0xf5cd9)
                #12 0x0000000000525ed5 _PyFunction_Vectorcall (python3.11 + 0x125ed5)
                #13 0x0000000000533918 PyObject_Call (python3.11 + 0x133918)
                #14 0x00000000004fa184 _PyEval_EvalFrameDefault (python3.11 + 0xfa184)
                #15 0x000000000054e402 n/a (python3.11 + 0x14e402)
                #16 0x000000000054db74 n/a (python3.11 + 0x14db74)
                #17 0x0000000000533918 PyObject_Call (python3.11 + 0x133918)
                #18 0x00000000004fa184 _PyEval_EvalFrameDefault (python3.11 + 0xfa184)
                #19 0x000000000054e402 n/a (python3.11 + 0x14e402)
                #20 0x000000000054db48 n/a (python3.11 + 0x14db48)
                #21 0x00000000004fa184 _PyEval_EvalFrameDefault (python3.11 + 0xfa184)
                #22 0x00000000004e8ef7 _PyObject_FastCallDictTstate (python3.11 + 0xe8ef7)
                #23 0x000000000052f3b1 _PyObject_Call_Prepend (python3.11 + 0x12f3b1)
                #24 0x0000000000632f36 n/a (python3.11 + 0x232f36)
                #25 0x00000000004e0bab _PyObject_MakeTpCall (python3.11 + 0xe0bab)
                #26 0x00000000004f627a _PyEval_EvalFrameDefault (python3.11 + 0xf627a)
                #27 0x00000000005d99bf PyEval_EvalCode (python3.11 + 0x1d99bf)
                #28 0x00000000005f7fc7 n/a (python3.11 + 0x1f7fc7)
                #29 0x00000000005f49c3 n/a (python3.11 + 0x1f49c3)
                #30 0x0000000000608896 n/a (python3.11 + 0x208896)
                #31 0x00000000006085e1 _PyRun_SimpleFileObject (python3.11 + 0x2085e1)
                #32 0x00000000006083b4 _PyRun_AnyFileObject (python3.11 + 0x2083b4)
                #33 0x000000000060690f Py_RunMain (python3.11 + 0x20690f)
                #34 0x00000000005cb9db Py_BytesMain (python3.11 + 0x1cb9db)
                #35 0x00007cdc4e828150 __libc_start_call_main (libc.so.6 + 0x28150)
                #36 0x00007cdc4e828209 __libc_start_main_impl (libc.so.6 + 0x28209)
                #37 0x00000000005cb875 _start (python3.11 + 0x1cb875)

                Stack trace of thread 57867:
                #0  0x00007cdc4e8940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007cdc4e896a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007cdc409506fb n/a (/home/myuser/.local/lib/python3.11/site-packages/numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so + 0x3506fb)
                #3  0x0000000000000002 n/a (n/a + 0x0)
                ELF object binary architecture: AMD x86-64
thisisgregm commented 6 months ago

Tried it today in Virtualbox on Xubuntu 24.04, Python 3.12 and KiCAD 8.0.2 - the same issue even on the simplest PCB (small rectangular with 2 header connectors and 2 SMT resistors).

thisisgregm commented 6 months ago

I tried GUI version and also Aborted / core dumped (this time generated by pcbnew):

           PID: 181010 (pcbnew)
           UID: 1000 (myuser)
           GID: 1000 (myuser)
        Signal: 6 (ABRT)
     Timestamp: Sat 2024-05-04 18:56:53 BST (1min 50s ago)
  Command Line: pcbnew
    Executable: /usr/bin/pcbnew
 Control Group: /user.slice/user-1000.slice/session-c1.scope
          Unit: session-c1.scope
         Slice: user-1000.slice
       Session: c1
     Owner UID: 1000 (myuser)
       Boot ID: 79b5ff1aec0c4325a985c88d708d731d
    Machine ID: 0b93f6a03a7e4a6a9b8626527b455e0f
      Hostname: myuser-Inspiron-7501
       Storage: /var/lib/systemd/coredump/core.pcbnew.1000.79b5ff1aec0c4325a985c88d708d731d.181010.1714845413000000.zst (present)
  Size on Disk: 40.7M
       Message: Process 181010 (pcbnew) of user 1000 dumped core.

                Module /home/myuser/.local/lib/python3.11/site-packages/shapely.libs/libgeos-f99bd675.so.3.11.3 without build-id.
                Module /home/myuser/.local/lib/python3.11/site-packages/shapely.libs/libgeos-f99bd675.so.3.11.3
                Module /home/myuser/.local/lib/python3.11/site-packages/shapely/_geometry_helpers.cpython-311-x86_64-linux-gnu.so without build-id.
                Module /home/myuser/.local/lib/python3.11/site-packages/shapely/_geometry_helpers.cpython-311-x86_64-linux-gnu.so
                Module /home/myuser/.local/lib/python3.11/site-packages/shapely.libs/libgeos_c-da48124d.so.1.17.3 without build-id.
                Module /home/myuser/.local/lib/python3.11/site-packages/shapely.libs/libgeos_c-da48124d.so.1.17.3
                Module /home/myuser/.local/lib/python3.11/site-packages/shapely/_geos.cpython-311-x86_64-linux-gnu.so without build-id.
                Module /home/myuser/.local/lib/python3.11/site-packages/shapely/_geos.cpython-311-x86_64-linux-gnu.so
                Module /home/myuser/.local/lib/python3.11/site-packages/shapely/lib.cpython-311-x86_64-linux-gnu.so without build-id.
                Module /home/myuser/.local/lib/python3.11/site-packages/shapely/lib.cpython-311-x86_64-linux-gnu.so
                Module libsystemd.so.0 from deb systemd-253.5-1ubuntu6.1.amd64
                Stack trace of thread 181288:
                #0  0x00007ec96f099a1b __pthread_kill_implementation (libc.so.6 + 0x99a1b)
                #1  0x00007ec96f0428e6 __GI_raise (libc.so.6 + 0x428e6)
                #2  0x00007ec96f0268b7 __GI_abort (libc.so.6 + 0x268b7)
                #3  0x00007ec96f027750 __libc_message (libc.so.6 + 0x27750)
                #4  0x00007ec96f0a3ce7 malloc_printerr (libc.so.6 + 0xa3ce7)
                #5  0x00007ec96f0a6109 _int_free (libc.so.6 + 0xa6109)
                #6  0x00007ec96f0a8873 __GI___libc_free (libc.so.6 + 0xa8873)
                #7  0x00007ec969cb68a6 n/a (_pcbnew.kiface + 0xab68a6)
                #8  0x00007ec969c5c8eb n/a (_pcbnew.kiface + 0xa5c8eb)
                #9  0x00007ec96f9e0a21 n/a (libpython3.11.so.1.0 + 0x1e0a21)
                #10 0x00007ec96fa86a28 n/a (libpython3.11.so.1.0 + 0x286a28)
                #11 0x00007ec96f90ef28 _PyEval_EvalFrameDefault (libpython3.11.so.1.0 + 0x10ef28)
                #12 0x00007ec96fa67452 n/a (libpython3.11.so.1.0 + 0x267452)
                #13 0x00007ec96f90b41e _PyEval_EvalFrameDefault (libpython3.11.so.1.0 + 0x10b41e)
                #14 0x00007ec96fa67452 n/a (libpython3.11.so.1.0 + 0x267452)
                #15 0x00007ec96f97bd6c n/a (libpython3.11.so.1.0 + 0x17bd6c)
                #16 0x00007ec96fb9eb72 n/a (libpython3.11.so.1.0 + 0x39eb72)
                #17 0x00007ec96fac036b n/a (libpython3.11.so.1.0 + 0x2c036b)
                #18 0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #19 0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181010:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f09f076 __new_sem_wait_slow64 (libc.so.6 + 0x9f076)
                #2  0x00007ec96fac865d PyThread_acquire_lock_timed (libpython3.11.so.1.0 + 0x2c865d)
                #3  0x00007ec96fb9da53 n/a (libpython3.11.so.1.0 + 0x39da53)
                #4  0x00007ec96fb9db9b n/a (libpython3.11.so.1.0 + 0x39db9b)
                #5  0x00007ec96f9851ae n/a (libpython3.11.so.1.0 + 0x1851ae)
                #6  0x00007ec96f979cb7 PyObject_Vectorcall (libpython3.11.so.1.0 + 0x179cb7)
                #7  0x00007ec96f90acdf _PyEval_EvalFrameDefault (libpython3.11.so.1.0 + 0x10acdf)
                #8  0x00007ec96fa67452 n/a (libpython3.11.so.1.0 + 0x267452)
                #9  0x00007ec96f97bc48 n/a (libpython3.11.so.1.0 + 0x17bc48)
                #10 0x00007ec9496b3a88 _ZN12wxPyCallback12EventThunkerER7wxEvent (_core.cpython-311-x86_64-linux-gnu.so + 0x4b3a88)
                #11 0x00007ec9715a76e2 _ZN12wxEvtHandler23ProcessEventIfMatchesIdERK21wxEventTableEntryBasePS_R7wxEvent (libwx_baseu-3.2.so.0 + 0x1a76e2)
                #12 0x00007ec9715a9d9e _ZN12wxEvtHandler23SearchDynamicEventTableER7wxEvent (libwx_baseu-3.2.so.0 + 0x1a9d9e)
                #13 0x00007ec9715aa104 _ZN12wxEvtHandler11TryHereOnlyER7wxEvent (libwx_baseu-3.2.so.0 + 0x1aa104)
                #14 0x00007ec9715aa1ae _ZN12wxEvtHandler19ProcessEventLocallyER7wxEvent (libwx_baseu-3.2.so.0 + 0x1aa1ae)
                #15 0x00007ec9715aa2c9 _ZN12wxEvtHandler12ProcessEventER7wxEvent (libwx_baseu-3.2.so.0 + 0x1aa2c9)
                #16 0x00007ec94968a42b _ZN11sipwxDialog12ProcessEventER7wxEvent (_core.cpython-311-x86_64-linux-gnu.so + 0x48a42b)
                #17 0x00007ec971d3411f _ZN12wxWindowBase8TryAfterER7wxEvent (libwx_gtk3u_core-3.2.so.0 + 0x53411f)
                #18 0x00007ec9495d73ab _ZN11sipwxButton8TryAfterER7wxEvent (_core.cpython-311-x86_64-linux-gnu.so + 0x3d73ab)
                #19 0x00007ec9495d724b _ZN11sipwxButton12ProcessEventER7wxEvent (_core.cpython-311-x86_64-linux-gnu.so + 0x3d724b)
                #20 0x00007ec9715a9cbb _ZN12wxEvtHandler18SafelyProcessEventER7wxEvent (libwx_baseu-3.2.so.0 + 0x1a9cbb)
                #21 0x00007ec971bbb9e6 n/a (libwx_gtk3u_core-3.2.so.0 + 0x3bb9e6)
                #22 0x00007ec96efd2add n/a (libgobject-2.0.so.0 + 0x33add)
                #23 0x00007ec96efd2bd6 g_signal_emit_valist (libgobject-2.0.so.0 + 0x33bd6)
                #24 0x00007ec96efd2c93 g_signal_emit (libgobject-2.0.so.0 + 0x33c93)
                #25 0x00007ec9704d7fb0 n/a (libgtk-3.so.0 + 0xd7fb0)
                #26 0x00007ec96efd2add n/a (libgobject-2.0.so.0 + 0x33add)
                #27 0x00007ec96efd2bd6 g_signal_emit_valist (libgobject-2.0.so.0 + 0x33bd6)
                #28 0x00007ec96efd2c93 g_signal_emit (libgobject-2.0.so.0 + 0x33c93)
                #29 0x00007ec9704d7d84 n/a (libgtk-3.so.0 + 0xd7d84)
                #30 0x00007ec9704999b5 n/a (libgtk-3.so.0 + 0x999b5)
                #31 0x00007ec96efd2add n/a (libgobject-2.0.so.0 + 0x33add)
                #32 0x00007ec96efd2bd6 g_signal_emit_valist (libgobject-2.0.so.0 + 0x33bd6)
                #33 0x00007ec96efd2c93 g_signal_emit (libgobject-2.0.so.0 + 0x33c93)
                #34 0x00007ec9705aeb0e n/a (libgtk-3.so.0 + 0x1aeb0e)
                #35 0x00007ec96efb7df6 g_cclosure_marshal_VOID__BOXEDv (libgobject-2.0.so.0 + 0x18df6)
                #36 0x00007ec96efd2add n/a (libgobject-2.0.so.0 + 0x33add)
                #37 0x00007ec96efd2bd6 g_signal_emit_valist (libgobject-2.0.so.0 + 0x33bd6)
                #38 0x00007ec96efd2c93 g_signal_emit (libgobject-2.0.so.0 + 0x33c93)
                #39 0x00007ec9705a7bc7 n/a (libgtk-3.so.0 + 0x1a7bc7)
                #40 0x00007ec9705b022b n/a (libgtk-3.so.0 + 0x1b022b)
                #41 0x00007ec9705b0b92 n/a (libgtk-3.so.0 + 0x1b0b92)
                #42 0x00007ec97056d041 gtk_event_controller_handle_event (libgtk-3.so.0 + 0x16d041)
                #43 0x00007ec970746ec5 n/a (libgtk-3.so.0 + 0x346ec5)
                #44 0x00007ec97049ce9c n/a (libgtk-3.so.0 + 0x9ce9c)
                #45 0x00007ec96efb4130 g_closure_invoke (libgobject-2.0.so.0 + 0x15130)
                #46 0x00007ec96efe1b38 n/a (libgobject-2.0.so.0 + 0x42b38)
                #47 0x00007ec96efd2312 n/a (libgobject-2.0.so.0 + 0x33312)
                #48 0x00007ec96efd2bd6 g_signal_emit_valist (libgobject-2.0.so.0 + 0x33bd6)
                #49 0x00007ec96efd2c93 g_signal_emit (libgobject-2.0.so.0 + 0x33c93)
                #50 0x00007ec97074f154 n/a (libgtk-3.so.0 + 0x34f154)
                #51 0x00007ec9705f7b1e n/a (libgtk-3.so.0 + 0x1f7b1e)
                #52 0x00007ec9705f85f6 gtk_main_do_event (libgtk-3.so.0 + 0x1f85f6)
                #53 0x00007ec96ffeb8b7 n/a (libgdk-3.so.0 + 0x398b7)
                #54 0x00007ec970041b16 n/a (libgdk-3.so.0 + 0x8fb16)
                #55 0x00007ec970313b2c n/a (libglib-2.0.so.0 + 0x5ab2c)
                #56 0x00007ec97036f46f n/a (libglib-2.0.so.0 + 0xb646f)
                #57 0x00007ec97031446f g_main_loop_run (libglib-2.0.so.0 + 0x5b46f)
                #58 0x00007ec9705f61ed gtk_main (libgtk-3.so.0 + 0x1f61ed)
                #59 0x00007ec971b59fc5 _ZN14wxGUIEventLoop5DoRunEv (libwx_gtk3u_core-3.2.so.0 + 0x359fc5)
                #60 0x00007ec9714be8e1 _ZN15wxEventLoopBase3RunEv (libwx_baseu-3.2.so.0 + 0xbe8e1)
                #61 0x00007ec971bc9a12 _ZN8wxDialog9ShowModalEv (libwx_gtk3u_core-3.2.so.0 + 0x3c9a12)
                #62 0x00007ec94968ee5e n/a (_core.cpython-311-x86_64-linux-gnu.so + 0x48ee5e)
                #63 0x00007ec96f9c7835 n/a (libpython3.11.so.1.0 + 0x1c7835)

                Stack trace of thread 181013:
                #0  0x00007ec96f11a20f __GI___poll (libc.so.6 + 0x11a20f)
                #1  0x00007ec97036f3cf n/a (libglib-2.0.so.0 + 0xb63cf)
                #2  0x00007ec97031446f g_main_loop_run (libglib-2.0.so.0 + 0x5b46f)
                #3  0x00007ec96f33e59a n/a (libgio-2.0.so.0 + 0x11259a)
                #4  0x00007ec970344331 n/a (libglib-2.0.so.0 + 0x8b331)
                #5  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #6  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181120:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec9356a0083 n/a (libopenblas.so.0 + 0x378083)
                #3  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #4  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181011:
                #0  0x00007ec96f125cfd syscall (libc.so.6 + 0x125cfd)
                #1  0x00007ec97036a7e4 g_cond_wait (libglib-2.0.so.0 + 0xb17e4)
                #2  0x00007ec9702dfcab n/a (libglib-2.0.so.0 + 0x26cab)
                #3  0x00007ec970345e0a n/a (libglib-2.0.so.0 + 0x8ce0a)
                #4  0x00007ec970344331 n/a (libglib-2.0.so.0 + 0x8b331)
                #5  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #6  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181012:
                #0  0x00007ec96f11a20f __GI___poll (libc.so.6 + 0x11a20f)
                #1  0x00007ec97036f3cf n/a (libglib-2.0.so.0 + 0xb63cf)
                #2  0x00007ec970311d20 g_main_context_iteration (libglib-2.0.so.0 + 0x58d20)
                #3  0x00007ec970311d71 n/a (libglib-2.0.so.0 + 0x58d71)
                #4  0x00007ec970344331 n/a (libglib-2.0.so.0 + 0x8b331)
                #5  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #6  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181125:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec9356a0083 n/a (libopenblas.so.0 + 0x378083)
                #3  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #4  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181127:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec8f6d1ed2d n/a (iris_dri.so + 0x11ed2d)
                #3  0x00007ec8f6ccf1bb n/a (iris_dri.so + 0xcf1bb)
                #4  0x00007ec8f6d1ec5b n/a (iris_dri.so + 0x11ec5b)
                #5  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #6  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181290:
                #0  0x00007ec96f125cfd syscall (libc.so.6 + 0x125cfd)
                #1  0x00007ec97036b140 g_cond_wait_until (libglib-2.0.so.0 + 0xb2140)
                #2  0x00007ec9702dfc83 n/a (libglib-2.0.so.0 + 0x26c83)
                #3  0x00007ec970346a8a n/a (libglib-2.0.so.0 + 0x8da8a)
                #4  0x00007ec970344331 n/a (libglib-2.0.so.0 + 0x8b331)
                #5  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #6  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181123:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec9356a0083 n/a (libopenblas.so.0 + 0x378083)
                #3  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #4  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181126:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec9356a0083 n/a (libopenblas.so.0 + 0x378083)
                #3  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #4  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181164:
                #0  0x00007ec96f11a20f __GI___poll (libc.so.6 + 0x11a20f)
                #1  0x00007ec97036f3cf n/a (libglib-2.0.so.0 + 0xb63cf)
                #2  0x00007ec970311d20 g_main_context_iteration (libglib-2.0.so.0 + 0x58d20)
                #3  0x00007ec8f8d1a20d n/a (libdconfsettings.so + 0x720d)
                #4  0x00007ec970344331 n/a (libglib-2.0.so.0 + 0x8b331)
                #5  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #6  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181133:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec8f6d1ed2d n/a (iris_dri.so + 0x11ed2d)
                #3  0x00007ec8f6ccf1bb n/a (iris_dri.so + 0xcf1bb)
                #4  0x00007ec8f6d1ec5b n/a (iris_dri.so + 0x11ec5b)
                #5  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #6  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181025:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec96a3aad50 n/a (_pcbnew.kiface + 0x11aad50)
                #3  0x00007ec96f4e6333 n/a (libstdc++.so.6 + 0xe6333)
                #4  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #5  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181028:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec96a3aad50 n/a (_pcbnew.kiface + 0x11aad50)
                #3  0x00007ec96f4e6333 n/a (libstdc++.so.6 + 0xe6333)
                #4  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #5  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181029:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec96a3aad50 n/a (_pcbnew.kiface + 0x11aad50)
                #3  0x00007ec96f4e6333 n/a (libstdc++.so.6 + 0xe6333)
                #4  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #5  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181141:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec8f6d1ed2d n/a (iris_dri.so + 0x11ed2d)
                #3  0x00007ec8f6ccf1bb n/a (iris_dri.so + 0xcf1bb)
                #4  0x00007ec8f6d1ec5b n/a (iris_dri.so + 0x11ec5b)
                #5  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #6  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181122:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec9356a0083 n/a (libopenblas.so.0 + 0x378083)
                #3  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #4  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181027:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec96a3aad50 n/a (_pcbnew.kiface + 0x11aad50)
                #3  0x00007ec96f4e6333 n/a (libstdc++.so.6 + 0xe6333)
                #4  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #5  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181128:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec8f6d1ed2d n/a (iris_dri.so + 0x11ed2d)
                #3  0x00007ec8f6ccf1bb n/a (iris_dri.so + 0xcf1bb)
                #4  0x00007ec8f6d1ec5b n/a (iris_dri.so + 0x11ec5b)
                #5  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #6  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181023:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec96a3aad50 n/a (_pcbnew.kiface + 0x11aad50)
                #3  0x00007ec96f4e6333 n/a (libstdc++.so.6 + 0xe6333)
                #4  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #5  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181026:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec96a3aad50 n/a (_pcbnew.kiface + 0x11aad50)
                #3  0x00007ec96f4e6333 n/a (libstdc++.so.6 + 0xe6333)
                #4  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #5  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181130:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec8f6d1ed2d n/a (iris_dri.so + 0x11ed2d)
                #3  0x00007ec8f6ccf1bb n/a (iris_dri.so + 0xcf1bb)
                #4  0x00007ec8f6d1ec5b n/a (iris_dri.so + 0x11ec5b)
                #5  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #6  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181030:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec96a3aad50 n/a (_pcbnew.kiface + 0x11aad50)
                #3  0x00007ec96f4e6333 n/a (libstdc++.so.6 + 0xe6333)
                #4  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #5  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181121:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec9356a0083 n/a (libopenblas.so.0 + 0x378083)
                #3  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #4  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181131:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec8f6d1ed2d n/a (iris_dri.so + 0x11ed2d)
                #3  0x00007ec8f6ccf1bb n/a (iris_dri.so + 0xcf1bb)
                #4  0x00007ec8f6d1ec5b n/a (iris_dri.so + 0x11ec5b)
                #5  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #6  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181129:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec8f6d1ed2d n/a (iris_dri.so + 0x11ed2d)
                #3  0x00007ec8f6ccf1bb n/a (iris_dri.so + 0xcf1bb)
                #4  0x00007ec8f6d1ec5b n/a (iris_dri.so + 0x11ec5b)
                #5  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #6  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181132:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec8f6d1ed2d n/a (iris_dri.so + 0x11ed2d)
                #3  0x00007ec8f6ccf1bb n/a (iris_dri.so + 0xcf1bb)
                #4  0x00007ec8f6d1ec5b n/a (iris_dri.so + 0x11ec5b)
                #5  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #6  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181289:
                #0  0x00007ec96f125cfd syscall (libc.so.6 + 0x125cfd)
                #1  0x00007ec97036b140 g_cond_wait_until (libglib-2.0.so.0 + 0xb2140)
                #2  0x00007ec9702dfc83 n/a (libglib-2.0.so.0 + 0x26c83)
                #3  0x00007ec970346a8a n/a (libglib-2.0.so.0 + 0x8da8a)
                #4  0x00007ec970344331 n/a (libglib-2.0.so.0 + 0x8b331)
                #5  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #6  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181024:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec96a3aad50 n/a (_pcbnew.kiface + 0x11aad50)
                #3  0x00007ec96f4e6333 n/a (libstdc++.so.6 + 0xe6333)
                #4  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #5  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181124:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec9356a0083 n/a (libopenblas.so.0 + 0x378083)
                #3  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #4  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)

                Stack trace of thread 181140:
                #0  0x00007ec96f0940f6 __futex_abstimed_wait_common64 (libc.so.6 + 0x940f6)
                #1  0x00007ec96f096a7e __pthread_cond_wait_common (libc.so.6 + 0x96a7e)
                #2  0x00007ec8f6d1ed2d n/a (iris_dri.so + 0x11ed2d)
                #3  0x00007ec8f6ccf1bb n/a (iris_dri.so + 0xcf1bb)
                #4  0x00007ec8f6d1ec5b n/a (iris_dri.so + 0x11ec5b)
                #5  0x00007ec96f097b5a start_thread (libc.so.6 + 0x97b5a)
                #6  0x00007ec96f1285fc __clone3 (libc.so.6 + 0x1285fc)
                ELF object binary architecture: AMD x86-64

GNU gdb (Ubuntu 14.0.50.20230907-0ubuntu1) 14.0.50.20230907-git
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/pcbnew...

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.ubuntu.com>
[?2004hEnable debuginfod for this session? (y or [n]) 
[?2004l
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
(No debugging symbols found in /usr/bin/pcbnew)
[New LWP 181288]
[New LWP 181010]
[New LWP 181013]
[New LWP 181120]
[New LWP 181011]
[New LWP 181012]
[New LWP 181125]
[New LWP 181127]
[New LWP 181290]
[New LWP 181123]
[New LWP 181126]
[New LWP 181164]
[New LWP 181133]
[New LWP 181025]
[New LWP 181028]
[New LWP 181029]
[New LWP 181141]
[New LWP 181122]
[New LWP 181027]
[New LWP 181128]
[New LWP 181023]
[New LWP 181026]
[New LWP 181130]
[New LWP 181030]
[New LWP 181121]
[New LWP 181131]
[New LWP 181129]
[New LWP 181132]
[New LWP 181289]
[New LWP 181024]
[New LWP 181124]
[New LWP 181140]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `pcbnew'.
Program terminated with signal SIGABRT, Aborted.
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimised out>)
    at ./nptl/pthread_kill.c:44
[Current thread is 1 (Thread 0x7ec94b70b6c0 (LWP 181288))]
yaqwsx commented 6 months ago

Could you install package kicad-dbg? All the relevant parts of the stack trace are N/A.

thisisgregm commented 6 months ago

OK, will do and try again. Where is it available to download? I use the repo from Launchpad and it's not there: https://launchpad.net/~kicad/+archive/ubuntu/kicad-8.0-releases

I've done some testing.

All is good until I use text with anchor tl. Then changed the anchor back to mt, then also tried tr and bl. And all is fine. Seems like it only crashes when I use anchor tl.

Could you please confirm from your side ifthis is also happening to you in the same way?