Segmentation fault (core dumped) while re-drawing traces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Critical
|
Maciej Suminski |
Bug Description
I am using
kicad 0.201603051447+
kicad-common 0.201511181331+
When trying to clean up traces by re-drawing I observed a “segmentation fault”. Actually, this happens from time to time (when tidying up layouts) but I am unable to determine the precise context. Meaning, I cannot reproduce the failure intentionally. But nevertheless, it happens from time to time.
All I have is a core dump and —from that— a backtrace:
-------------- snip -------
h@b4:~/
GNU gdb (Ubuntu 7.10-1ubuntu2) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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:
<http://
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/
[New LWP 15468]
[New LWP 15488]
[New LWP 15489]
[New LWP 15486]
[New LWP 15485]
[New LWP 15490]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
Core was generated by `kicad'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007ff903f49b98 in ?? () from /usr/bin/
[Current thread is 1 (Thread 0x7ff91684ca00 (LWP 15468))]
(gdb) where
#0 0x00007ff903f49b98 in ?? () from /usr/bin/
#1 0x00007ff90376ac8a in ?? () from /usr/bin/
#2 0x00007ff90376b2c6 in ?? () from /usr/bin/
#3 0x00007ff903754a4a in ROUTER_
#4 0x00007ff903755a56 in ROUTER_
#5 0x00007ff903755f4a in ROUTER_
#6 0x00007ff90388e471 in ?? () from /usr/bin/
#7 0x00007ff908cb8d61 in make_fcontext () at libs/context/
#8 0x0000000000000000 in ?? ()
(gdb) info proc all
⋮
0x7ff902e
0x7ff903d
0x7ff903f
0x7ff903f
⋮
-------
The output of “info proc all” should enable you to find out the names of the three functions at “#0”, “#1”, and “#2”.
I reckon that I will be observing the very same bug again (in a while).
OT: The new interactive router is a great tool which simplifies routing a lot. Thanks for that.
Changed in kicad: | |
assignee: | nobody → Maciej Sumiński (orsonmmz) |
status: | New → In Progress |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Hi Hermann,
Many thanks for your report. Would you be able to run a debug build of Kicad to check where exactly the problem occurs?
Also, could you send us (in private) the PCB that causes the crash?
Cheers,
Tom