Crash: KiCad 9.0.3

Running KiCad 9.0.3. In the past month, KiCad has totally crashed on me 2 or 3 times. It crashed yesterday … as I recall, I was using the PCB Editor at that moment. I will remind myself to make some detailed notes if I experience a crash again. I just want to post a note here that KiCad 9.0.3 sometimes crashes hard. Over the past month, I’ve been running KiCad 9.0.3 but I must admit that I don’t remember the date when I upgraded to KiCad 9.0.2, so it’s possible that earlier crashes happened when I was running 9.0.2.

Do you have Data Collection enabled ? it helps the Developers track down crashes.

I do now. Thanks for that reminder.

1 Like

If it crashes again, please file a bug report on GitLab and tell us what you were doing at the time, and what your data collection ID is.

I had the same issue. I tried 9.03, 9.04, they all have this bug.

9e26f02d-4836-410d-a460-20db954acdc6

  1. Can you update your Intel Graphics driver? (there was one crash two days ago)
  2. Another crash was likely fixed for 9.0.4
  3. I see no crashes from 9.0.4-rc1 for this id.
  1. my laptop has two Graphics cards. I will try to update them.
    Intel UHD Graphics
    NVIDIA RTX A1000
    2.The screenshot was caputrued from 9.04 when it crashed. after the Kicad crashed . it will closed by itself. I don’t know why it didn’t reporte the crashed information .

Thank you!

Don’t simply rely on Windows update (assuming you are Windows), you should get the driver from the manufacturer.

Thanks!
My laptop is Dell 7770, I can updata them by Dell service app.

1 Like

Using this, you can get Microsoft’s Windows 11 or 10 crash dump analysis tool and identify the function that is throwing the OS exception.
Install only WinDbg

The source code is as follows:

At a minimum, please include the name of the function in which the crashed implementation failed and what operation was being performed just before the crash, and also include whether or not the problem can be reproduced.

If you were moving parts of schematic when it crashed, it’s most likely

which is fixed in latest 9.0 testing builds.

1 Like

I have the same issues as you reported, but it still happens in 9.03 and 9.04. I installed WinDbg, but it doesn’t work. Are there ways I could send the crash dump files to you?

.........
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr
(5e08.1324): Access violation - code c0000005 (first/second chance not available)
For analysis of this file, run !analyze -v
_eeschema!FOOTPRINT_PREVIEW_PANEL_BASE::Create+0xb48f:
00007fff`d7d86e8f 488b01          mov     rax,qword ptr [rcx] ds:00000000`00000000=????????????????
0:000> !analyze -v
.

Press ctrl-c (cdb, kd, ntsd) or ctrl-break (windbg) to abort symbol loads that take too long.
Run !sym noisy before .reload to track down problems loading symbols.

...............................................................
................................................................
.........................
Loading unloaded module list
.........

************* Symbol Loading Error Summary **************
Module name            Error
_eeschema              The system cannot find the file specified

You can troubleshoot most symbol related issues by turning on symbol loading diagnostics (!sym noisy) and repeating the command that caused symbols to be loaded.
You should also verify that your symbol search path (.sympath) is correct.
*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************


KEY_VALUES_STRING: 1

    Key  : AV.Dereference
    Value: NullPtr

    Key  : AV.Type
    Value: Read

    Key  : Analysis.CPU.mSec
    Value: 312

    Key  : Analysis.Elapsed.mSec
    Value: 3715

    Key  : Analysis.IO.Other.Mb
    Value: 0

    Key  : Analysis.IO.Read.Mb
    Value: 1

    Key  : Analysis.IO.Write.Mb
    Value: 0

    Key  : Analysis.Init.CPU.mSec
    Value: 515

    Key  : Analysis.Init.Elapsed.mSec
    Value: 105731

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 100

    Key  : Analysis.Version.DbgEng
    Value: 10.0.27871.1001

    Key  : Analysis.Version.Description
    Value: 10.2505.01.02 amd64fre

    Key  : Analysis.Version.Ext
    Value: 1.2505.1.2

    Key  : Failure.Bucket
    Value: INVALID_POINTER_READ_c0000005__eeschema.dll!Unknown

    Key  : Failure.Exception.Code
    Value: 0xc0000005

    Key  : Failure.Exception.IP.Address
    Value: 0x7fffd7d86e8f

    Key  : Failure.Exception.IP.Module
    Value: _eeschema

    Key  : Failure.Exception.IP.Offset
    Value: 0x8f6e8f

    Key  : Failure.Hash
    Value: {70264a04-c3e7-fca1-b52c-a5e5294d7c51}

    Key  : Failure.ProblemClass.Primary
    Value: INVALID_POINTER_READ

    Key  : Timeline.OS.Boot.DeltaSec
    Value: 755

    Key  : Timeline.Process.Start.DeltaSec
    Value: 18

    Key  : WER.OS.Branch
    Value: vb_release

    Key  : WER.OS.Version
    Value: 10.0.19041.1

    Key  : WER.Process.Version
    Value: 9.0.4.43184


FILE_IN_CAB:  kicad.exe.24072.dmp

NTGLOBALFLAG:  0

APPLICATION_VERIFIER_FLAGS:  0

CONTEXT:  (.ecxr)
rax=0000000000000005 rbx=000001950f7aac98 rcx=0000000000000000
rdx=000001952bc934e0 rsi=000001950bf19fc0 rdi=000001950f7aac88
rip=00007fffd7d86e8f rsp=000001950efaf210 rbp=000001950efaf340
 r8=000001950bb7f301  r9=000001950bb7f310 r10=000001950bb7f310
r11=000001950efaf100 r12=000001950f7ab118 r13=000000000011a274
r14=000001952bc97d70 r15=000001952bc934e0
iopl=0         nv up ei pl nz na pe nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010200
_eeschema!FOOTPRINT_PREVIEW_PANEL_BASE::Create+0xb48f:
00007fff`d7d86e8f 488b01          mov     rax,qword ptr [rcx] ds:00000000`00000000=????????????????
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007fffd7d86e8f (_eeschema!FOOTPRINT_PREVIEW_PANEL_BASE::Create+0x000000000000b48f)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000000
   Parameter[1]: 0000000000000000
Attempt to read from address 0000000000000000

PROCESS_NAME:  kicad.exe

READ_ADDRESS:  0000000000000000 

ERROR_CODE: (NTSTATUS) 0xc0000005 - 0x%p            0x%p                    %s

EXCEPTION_CODE_STR:  c0000005

EXCEPTION_PARAMETER1:  0000000000000000

EXCEPTION_PARAMETER2:  0000000000000000

STACK_TEXT:  
00000195`0efaf210 00007fff`d7b2c840     : 00000195`0f7aac98 00000195`0bf19fc0 00000195`2bc934e0 00000195`0f7aab01 : _eeschema!FOOTPRINT_PREVIEW_PANEL_BASE::Create+0xb48f
00000195`0efaf240 00007fff`d7bfce09     : 00000195`18e9a7b0 00000195`73060000 00000195`2bbf4ad0 00000195`760a2300 : _eeschema!SCH_IO_MGR::FindPlugin+0x4fbff0
00000195`0efaf840 00007fff`d7bf98b4     : 00000195`78f8f100 00000195`0efafa00 00000195`78f8f100 00000195`0efafa00 : _eeschema!SCH_IO_MGR::FindPlugin+0x5cc5b9
00000195`0efaf900 00007fff`d7bf6bbd     : 00000195`7884c080 00000195`7884c080 00000195`761f1468 00000195`7884c080 : _eeschema!SCH_IO_MGR::FindPlugin+0x5c9064
00000195`0efb0dc0 00007fff`d7c5e5c1     : 00000000`00000000 00000000`00000000 00000195`18e46fc0 00000000`00000000 : _eeschema!SCH_IO_MGR::FindPlugin+0x5c636d
00000195`0efb0fa0 00007fff`d7e8e09a     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : _eeschema!KIFACE_1+0x27dd1
00000195`0efb0fd0 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : _eeschema!make_fcontext+0x5a


STACK_COMMAND: ~0s; .ecxr ; kb

SYMBOL_NAME:  _eeschema+b48f

MODULE_NAME: _eeschema

IMAGE_NAME:  _eeschema.dll

FAILURE_BUCKET_ID:  INVALID_POINTER_READ_c0000005__eeschema.dll!Unknown

OS_VERSION:  10.0.19041.1

BUILDLAB_STR:  vb_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  9.0.4.43184

FAILURE_ID_HASH:  {70264a04-c3e7-fca1-b52c-a5e5294d7c51}

Followup:     MachineOwner
---------

I was wondering is there Data Collection option on arch linux build?
build source kicad 9.0.3-1 Arch Package

img for reference:

Note: didnt experience any crashes and seems to work fine.

No, there’s not. ~~~~

1 Like