[Pkg-electronics-devel] Bug#905221: kicad: pcbnew immediately crashes after invocation without showing a GUI (failed assertion)

trollo at franken-online.de trollo at franken-online.de
Mon Aug 6 15:01:23 BST 2018


Hello Carsten,

Thank you very much for your efforts.
As far as I understand the situation, this is not a segfault, but an intended
abort caused by a failed assertion.

Here is the GDB log:
------------------------------------------------------------------------------------
$ gdb pcbnew
GNU gdb (Debian 8.1-4) 8.1
Copyright (C) 2018 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 "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 pcbnew...Reading symbols from
/usr/lib/debug/.build-id/31/c7678192d0f76abd6cdb8bfcd0d8513bfb6572.debug...done.
done.
(gdb) run
Starting program: /usr/bin/pcbnew 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
14:05:44: Debug: Checking template path '/usr/share/kicad/template' exists
14:05:53: Debug: wxColour::Set - couldn't set to colour string 'NONE'
      67 dupes of this message deleted ....
14:05:53: Debug: wxColour::Set - couldn't set to colour string 'NONE'
pcbnew: /build/kicad-0u70G2/kicad-5.0.0+dfsg1/include/geometry/rtree.h:1643:
void RTree<DATATYPE, ELEMTYPE, NUMDIMS, ELEMTYPEREAL, TMAXNODES,
TMINNODES>::Classify(int, int, RTree<DATATYPE, ELEMTYPE, NUMDIMS, ELEMTYPEREAL,
TMAXNODES, TMINNODES>::PartitionVars*) [with DATATYPE = KIGFX::VIEW_ITEM*;
ELEMTYPE = int; int NUMDIMS = 2; ELEMTYPEREAL = float; int TMAXNODES = 8; int
TMINNODES = 4]: Zusicherung »!a_parVars->m_taken[a_index]« nicht erfüllt.

Program received signal SIGABRT, Aborted.
0xb7fd6bb5 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fd6bb5 in __kernel_vsyscall ()
#1  0xb6653112 in raise () from /lib/i386-linux-gnu/libc.so.6
#2  0xb6654531 in abort () from /lib/i386-linux-gnu/libc.so.6
#3  0xb664b1fb in ?? () from /lib/i386-linux-gnu/libc.so.6
#4  0xb664b259 in __assert_fail () from /lib/i386-linux-gnu/libc.so.6
#5  0xb3e8b701 in RTree<KIGFX::VIEW_ITEM*, int, 2, float, 8, 4>::Classify
(this=0x325e980, a_index=0, a_group=1, a_parVars=0xbfffdab0) at
./include/geometry/rtree.h:1422
#6  0xb3e8b8c1 in RTree<KIGFX::VIEW_ITEM*, int, 2, float, 8, 4>::PickSeeds
(this=0x325e980, a_parVars=0xbfffdab0) at ./include/geometry/rtree.h:1422
#7  0xb3e8b972 in RTree<KIGFX::VIEW_ITEM*, int, 2, float, 8,
4>::ChoosePartition (this=0x325e980, a_parVars=0xbfffdab0, a_minFill=4) at
./include/geometry/rtree.h:1585
#8  0xb3e8bdb3 in RTree<KIGFX::VIEW_ITEM*, int, 2, float, 8, 4>::SplitNode
(this=0x325e980, a_node=0x325e990, a_branch=0xbfffdc98, a_newNode=0xbfffdd14)
at ./include/geometry/rtree.h:1087
#9  0xb3e8bf7f in RTree<KIGFX::VIEW_ITEM*, int, 2, float, 8, 4>::AddBranch
(this=0x325e980, a_branch=0xbfffdc98, a_node=0x325e990, a_newNode=0xbfffdd14)
at ./include/geometry/rtree.h:1237
#10 0xb3e8c0e9 in RTree<KIGFX::VIEW_ITEM*, int, 2, float, 8, 4>::InsertRectRec
(this=0x325e980, a_rect=0xbfffddbc, a_id=@0xbfffdda8: 0x3557e50,
a_node=0x325e990, a_newNode=0xbfffdd14, a_level=0)
    at ./include/geometry/rtree.h:1113
#11 0xb3e8c408 in RTree<KIGFX::VIEW_ITEM*, int, 2, float, 8, 4>::InsertRect
(this=0x325e980, a_rect=0xbfffddbc, a_id=@0xbfffdda8: 0x3557e50,
a_root=0x325e984, a_level=0) at ./include/geometry/rtree.h:1170
#12 0xb3e860a0 in RTree<KIGFX::VIEW_ITEM*, int, 2, float, 8, 4>::Insert
(a_dataId=@0xbfffdda8: 0x3557e50, a_max=<synthetic pointer>, a_min=<synthetic
pointer>, this=0x325e980) at ./include/geometry/rtree.h:644
#13 KIGFX::VIEW_RTREE::Insert (aItem=<optimized out>, this=0x325e980) at
./include/view/view_rtree.h:55
#14 KIGFX::VIEW::Add (this=0x1dc8ac0, aItem=<optimized out>,
aDrawPriority=<optimized out>) at ./common/view/view.cpp:355
#15 0xb3cb8f2f in KIGFX::PCB_VIEW::Add(KIGFX::VIEW_ITEM*, int) () at
./pcbnew/pcb_view.cpp:60
#16 0xb38f4f8a in GRID_HELPER::GRID_HELPER(PCB_BASE_FRAME*) () at
./pcbnew/tools/grid_helper.cpp:61
#17 0xb3cf088f in PNS::TOOL_BASE::Reset(TOOL_BASE::RESET_REASON) () at
./include/tool/tool_base.h:188
#18 0xb3cffaae in LENGTH_TUNER_TOOL::Reset (this=0x3543730,
aReason=TOOL_BASE::RUN) at ./pcbnew/router/length_tuner_tool.cpp:125
#19 0xb3ea208f in TOOL_MANAGER::ResetTools (this=0x32eb380,
aReason=TOOL_BASE::RUN) at ./common/tool/tool_manager.cpp:431
#20 0xb3ea2723 in TOOL_MANAGER::InitTools() () at
./common/tool/tool_manager.cpp:465
#21 0xb386478b in PCB_EDIT_FRAME::setupTools() () at
./pcbnew/pcb_edit_frame.cpp:616
#22 0xb38660c7 in PCB_EDIT_FRAME::PCB_EDIT_FRAME(KIWAY*, wxWindow*) () at
./pcbnew/pcb_edit_frame.cpp:457
#23 0xb3516e5b in PCB::IFACE::CreateWindow (this=0xb47f7520 <PCB::kiface>,
aParent=0x0, aClassId=5, aKiway=0x4b5060 <Kiway>, aCtlBits=1) at
./pcbnew/pcbnew.cpp:113
#24 0x00436257 in KIWAY::Player(FRAME_T, bool, wxTopLevelWindow*) () at
./common/kiway.cpp:329
#25 0x00429882 in PGM_SINGLE_TOP::OnPgmInit() () at ./common/single_top.cpp:322
#26 0x0042cb1e in APP_SINGLE_TOP::OnInit (this=0x4b9430) at
./common/single_top.cpp:128
#27 0xb7513186 in wxEntry(int&, wchar_t**) () from
/usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0
#28 0xb7513f93 in wxEntry(int&, char**) () from
/usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0
#29 0x00426be6 in main (argc=<optimized out>, argv=0xbffff584) at
./common/single_top.cpp:239
(gdb)  thread apply all bt full

Thread 1 (Thread 0xb4a41040 (LWP 19462)):
#0  0xb7fd6bb5 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb6653112 in raise () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0xb6654531 in abort () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#3  0xb664b1fb in ?? () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#4  0xb664b259 in __assert_fail () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#5  0xb3e8b701 in RTree<KIGFX::VIEW_ITEM*, int, 2, float, 8, 4>::Classify
(this=0x325e980, a_index=0, a_group=1, a_parVars=0xbfffdab0) at
./include/geometry/rtree.h:1422
        __PRETTY_FUNCTION__ = "void RTree<DATATYPE, ELEMTYPE, NUMDIMS,
ELEMTYPEREAL, TMAXNODES, TMINNODES>::Classify(int, int, RTree<DATATYPE,
ELEMTYPE, NUMDIMS, ELEMTYPEREAL, TMAXNODES, TMINNODES>::PartitionVars*) [with
DATATYPE ="...
#6  0xb3e8b8c1 in RTree<KIGFX::VIEW_ITEM*, int, 2, float, 8, 4>::PickSeeds
(this=0x325e980, a_parVars=0xbfffdab0) at ./include/geometry/rtree.h:1422
        seed0 = 0
        seed1 = 0
        worst = -7.24402021e+18
        waste = <optimized out>
        area = {7.24402021e+18, 7.24402021e+18, 7.24402021e+18, 7.24402021e+18,
7.24402021e+18, 7.24402021e+18, 7.24402021e+18, 7.24402021e+18, 7.24402021e+18}
#7  0xb3e8b972 in RTree<KIGFX::VIEW_ITEM*, int, 2, float, 8,
4>::ChoosePartition (this=0x325e980, a_parVars=0xbfffdab0, a_minFill=4) at
./include/geometry/rtree.h:1585
        __PRETTY_FUNCTION__ = "void RTree<DATATYPE, ELEMTYPE, NUMDIMS,
ELEMTYPEREAL, TMAXNODES, TMINNODES>::ChoosePartition(RTree<DATATYPE, ELEMTYPE,
NUMDIMS, ELEMTYPEREAL, TMAXNODES, TMINNODES>::PartitionVars*, int) [with
DATATYPE"...
        biggestDiff = <optimized out>
        group = <optimized out>
        chosen = 0
        betterGroup = 0
#8  0xb3e8bdb3 in RTree<KIGFX::VIEW_ITEM*, int, 2, float, 8, 4>::SplitNode
(this=0x325e980, a_node=0x325e990, a_branch=0xbfffdc98, a_newNode=0xbfffdd14)
at ./include/geometry/rtree.h:1087
        __PRETTY_FUNCTION__ = "void RTree<DATATYPE, ELEMTYPE, NUMDIMS,
ELEMTYPEREAL, TMAXNODES, TMINNODES>::SplitNode(RTree<DATATYPE, ELEMTYPE,
NUMDIMS, ELEMTYPEREAL, TMAXNODES, TMINNODES>::Node*, RTree<DATATYPE, ELEMTYPE,
NUMDIMS,"...
        localVars = {m_partition = {0, -1, -1, -1, -1, -1, -1, -1, -1}, m_total
= 9, m_minFill = 4, m_taken = {1, 0, 0, 0, 0, 0, 0, 0, 0}, m_count = {1, 0},
m_cover = {{m_min = {-1073741824, -1073741824}, m_max = {
                1073741823, 1073741823}}, {m_min = {-1244537303, -1243718596},
m_max = {56291992, 0}}}, m_area = {7.24402021e+18, 0}, m_branchBuf = {{m_rect =
{m_min = {-1073741824, -1073741824}, m_max = {1073741823, 
                  1073741823}}, {m_child = 0x1c22c64, m_data = 0x1c22c64}},
{m_rect = {m_min = {-1073741824, -1073741824}, m_max = {1073741823,
1073741823}}, {m_child = 0x35b0600, m_data = 0x35b0600}}, {m_rect = {m_min = {
                  -1073741824, -1073741824}, m_max = {1073741823, 1073741823}},
{m_child = 0x35b1cc0, m_data = 0x35b1cc0}}, {m_rect = {m_min = {-1073741823,
-1073741823}, m_max = {1073741822, 1073741822}}, {
                m_child = 0x357598c, m_data = 0x357598c}}, {m_rect = {m_min =
{-1073741823, -1073741823}, m_max = {1073741822, 1073741822}}, {m_child =
0x3575920, m_data = 0x3575920}}, {m_rect = {m_min = {-1073741824, 
                  -1073741824}, m_max = {1073741823, 1073741823}}, {m_child =
0x35b1c40, m_data = 0x35b1c40}}, {m_rect = {m_min = {-1073741824, -1073741824},
m_max = {1073741823, 1073741823}}, {m_child = 0x35b1c80, 
                m_data = 0x35b1c80}}, {m_rect = {m_min = {-1073741823,
-1073741823}, m_max = {1073741822, 1073741822}}, {m_child = 0x3557ebc, m_data =
0x3557ebc}}, {m_rect = {m_min = {-1073741823, -1073741823}, m_max = {
                  1073741822, 1073741822}}, {m_child = 0x3557e50, m_data =
0x3557e50}}}, m_branchCount = 9, m_coverSplit = {m_min = {-1073741824,
-1073741824}, m_max = {1073741823, 1073741823}}, 
          m_coverSplitArea = 7.24402021e+18}
        parVars = 0xbfffdab0
        level = 0
#9  0xb3e8bf7f in RTree<KIGFX::VIEW_ITEM*, int, 2, float, 8, 4>::AddBranch
(this=0x325e980, a_branch=0xbfffdc98, a_node=0x325e990, a_newNode=0xbfffdd14)
at ./include/geometry/rtree.h:1237
        a_node = 0x325e990
        a_branch = 0xbfffdc98
        this = 0x325e980
        __PRETTY_FUNCTION__ = "bool RTree<DATATYPE, ELEMTYPE, NUMDIMS,
ELEMTYPEREAL, TMAXNODES, TMINNODES>::AddBranch(RTree<DATATYPE, ELEMTYPE,
NUMDIMS, ELEMTYPEREAL, TMAXNODES, TMINNODES>::Branch*, RTree<DATATYPE,
ELEMTYPE, NUMDIM"...
        a_newNode = 0xbfffdd14
        __PRETTY_FUNCTION__ = "bool RTree<DATATYPE, ELEMTYPE, NUMDIMS,
ELEMTYPEREAL, TMAXNODES, TMINNODES>::AddBranch(RTree<DATATYPE, ELEMTYPE,
NUMDIMS, ELEMTYPEREAL, TMAXNODES, TMINNODES>::Branch*, RTree<DATATYPE,
ELEMTYPE, NUMDIM"...
#10 0xb3e8c0e9 in RTree<KIGFX::VIEW_ITEM*, int, 2, float, 8, 4>::InsertRectRec
(this=0x325e980, a_rect=0xbfffddbc, a_id=@0xbfffdda8: 0x3557e50,
a_node=0x325e990, a_newNode=0xbfffdd14, a_level=0)
    at ./include/geometry/rtree.h:1113
        __PRETTY_FUNCTION__ = "bool RTree<DATATYPE, ELEMTYPE, NUMDIMS,
ELEMTYPEREAL, TMAXNODES, TMINNODES>::InsertRectRec(RTree<DATATYPE, ELEMTYPE,
NUMDIMS, ELEMTYPEREAL, TMAXNODES, TMINNODES>::Rect*, const DATATYPE&,
RTree<DATATYP"...
        index = <optimized out>
        branch = {m_rect = {m_min = {-1073741823, -1073741823}, m_max =
{1073741822, 1073741822}}, {m_child = 0x3557e50, m_data = 0x3557e50}}
        otherNode = 0xbfffdd7c
#11 0xb3e8c408 in RTree<KIGFX::VIEW_ITEM*, int, 2, float, 8, 4>::InsertRect
(this=0x325e980, a_rect=0xbfffddbc, a_id=@0xbfffdda8: 0x3557e50,
a_root=0x325e984, a_level=0) at ./include/geometry/rtree.h:1170
        __PRETTY_FUNCTION__ = "bool RTree<DATATYPE, ELEMTYPE, NUMDIMS,
ELEMTYPEREAL, TMAXNODES, TMINNODES>::InsertRect(RTree<DATATYPE, ELEMTYPE,
NUMDIMS, ELEMTYPEREAL, TMAXNODES, TMINNODES>::Rect*, const DATATYPE&,
RTree<DATATYPE, "...
        newRoot = <optimized out>
        newNode = 0x1
        branch = {m_rect = {m_min = {-1269985280, 130}, m_max = {709,
-1269985280}}, {m_child = 0xbfffddcc, m_data = 0xbfffddcc}}
#12 0xb3e860a0 in RTree<KIGFX::VIEW_ITEM*, int, 2, float, 8, 4>::Insert
(a_dataId=@0xbfffdda8: 0x3557e50, a_max=<synthetic pointer>, a_min=<synthetic
pointer>, this=0x325e980) at ./include/geometry/rtree.h:644
        rect = {m_min = {-1073741823, -1073741823}, m_max = {1073741822,
1073741822}}
        rect = <optimized out>
        axis = <optimized out>
#13 KIGFX::VIEW_RTREE::Insert (aItem=<optimized out>, this=0x325e980) at
./include/view/view_rtree.h:55
        bbox = @0xbfffddac: {m_Pos = {static ECOORD_MAX = <optimized out>,
static ECOORD_MIN = <optimized out>, x = -1073741823, y = -1073741823}, m_Size
= {static ECOORD_MAX = <optimized out>, 
            static ECOORD_MIN = <optimized out>, x = 2147483645, y =
2147483645}}
        mmin = {-1073741823, -1073741823}
        mmax = {1073741822, 1073741822}
        bbox = <optimized out>
---Type <return> to continue, or q <return> to quit---
        mmin = <optimized out>
        mmax = <optimized out>
#14 KIGFX::VIEW::Add (this=0x1dc8ac0, aItem=<optimized out>,
aDrawPriority=<optimized out>) at ./common/view/view.cpp:355
        l = @0x325e948: {visible = true, displayOnly = true, items = 0x325e980,
renderingOrder = 0, id = 130, target = KIGFX::TARGET_OVERLAY, requiredLayers =
std::set with 0 elements}
        i = 0
        layers = {130, 31230656, 29502564, 16, -1286247982, 4, 56291992,
-1241402400, 31230656, 709, -1269985280, -1073750372, 838340608, 56216484,
56216484, -1276591191, 838340608, 52816256, 0, -1269985280, 31230656, 2, 1, 
          -1269985280, -1276616414, 31230656, 29502564, 16, -1273871646,
56298184, 56298176, 4, -1073750224, -1273871648, -1073750212, 0, -1073750228,
0, 0, -1275223619, 5610108, -1073750180, 1, -1073750372, -1073741824, 
          -1233145856, 2147483647, 2147483647, -1073741824, -1073741824,
1073741823, 1073741823, 0, 56298184, 56298176, 4, 838340608, -1273871648,
-1073750116, -1234942967, -1234942976, 5610048, -1073750212, -1273871646, 
          -1234382404, 5610048, -1073750212, -1073750224, -1273871646, 0,
-1073750228, 0, 1, -1234942976, 2, 1, 0, 0, -1244780682, -1073750228,
-1073750224, 56298176, -1073750212, -1073749812, -1233145856, 5610048, 
          -1073750116, -1273871646, -1234382404, -1273871646, 0, 0, 56298184,
56298184, 1, 1, 1, -1073749804, 2, -1241237511, 78, 0, -1241376378,
-1073750132, -1073750128, 56298176, -1073750116, -1073749716, -1233145856, 
          -1241064216, -1073750072, -1073750072, -1241282063, -1273871646, 0,
0, 56298184, 56298184, 1, 1, 1, -1073749708, 0, 0, 78, 0, 0, -1241064216,
-1241283422, -1241063040, 56291992, 0, -1244733613, 56288360, 0, 0, 0, 
          0, 0, 56288360, 2580, -1073750092, 4, -1244733655, -1241064216,
-1241394772, -1241064216, -1073749652, -1273966256, 56267792, 56267760, 4,
-1073749744, -1273966264, -1073749732, 0, -1073749748, 0, 0, 4, 5610108, 
          -1073749700, 56267760, -1073749892, -1073749696, -1233145856,
-1073749684, 0, -1073749700, 0, 0, -1073749860, 0, -1073749652, -1073749812,
-1073749844, 838340608, -1233145856, 0, -1234942967, -1234942976, 5610048, 
          -1073749732, -1273966256, -1234382404, 5610048, -1073749732,
-1073749744, -1273966256, 0, -1073749748, 0, 1, -1234942976, 8, -1273878270,
-1234382404, 5610048, -1073749684, -1073749748...}
        layers_count = 1
#15 0xb3cb8f2f in KIGFX::PCB_VIEW::Add(KIGFX::VIEW_ITEM*, int) () at
./pcbnew/pcb_view.cpp:60
        item = 0x3557e50
#16 0xb38f4f8a in GRID_HELPER::GRID_HELPER(PCB_BASE_FRAME*) () at
./pcbnew/tools/grid_helper.cpp:61
        view = 0x1dc8ac0
        view = <optimized out>
#17 0xb3cf088f in PNS::TOOL_BASE::Reset(TOOL_BASE::RESET_REASON) () at
./include/tool/tool_base.h:188
No locals.
#18 0xb3cffaae in LENGTH_TUNER_TOOL::Reset (this=0x3543730,
aReason=TOOL_BASE::RUN) at ./pcbnew/router/length_tuner_tool.cpp:125
No locals.
#19 0xb3ea208f in TOOL_MANAGER::ResetTools (this=0x32eb380,
aReason=TOOL_BASE::RUN) at ./common/tool/tool_manager.cpp:431
        tool = 0x3543730
        state = @0x3543870: {first = 0x3543730, second = 0x35438a0}
        __for_range = std::map with 16 elements = {[0x1c22c00] = 0x3542d30,
[0x1da4fb0] = 0x35431e0, [0x3542b90] = 0x1d97cb0, [0x3542f30] = 0x3542fe0,
[0x35433e0] = 0x3543530, [0x3543730] = 0x35438a0, 
          [0x3543aa0] = 0x3543b60, [0x3543d60] = 0x3543dd0, [0x35443b0] =
0x3544490, [0x3544a70] = 0x3544b60, [0x3545140] = 0x3545220, [0x354582c] =
0x3545a00, [0x3546000] = 0x35460b0, [0x3546690] = 0x3546760, 
          [0x3546d40] = 0x3546e50, [0x3547430] = 0x35474e0}
        __for_begin = <optimized out>
        __for_end = <optimized out>
#20 0xb3ea2723 in TOOL_MANAGER::InitTools() () at
./common/tool/tool_manager.cpp:465
No locals.
#21 0xb386478b in PCB_EDIT_FRAME::setupTools() () at
./pcbnew/pcb_edit_frame.cpp:616
No locals.
#22 0xb38660c7 in PCB_EDIT_FRAME::PCB_EDIT_FRAME(KIWAY*, wxWindow*) () at
./pcbnew/pcb_edit_frame.cpp:457
        mesg = {<wxAuiPaneInfo> = {name = {static npos = 4294967295, m_impl =
L"", m_convertedToChar = {m_str = 0x0, m_len = 3077361664}}, caption = {static
npos = 4294967295, m_impl = L"", m_convertedToChar = {m_str = 0x0, 
                m_len = 0}}, icon = <incomplete type>, window = 0x0, frame =
0x0, state = 131900, dock_direction = 4, dock_layer = 0, dock_row = 0, dock_pos
= 0, best_size = {x = -1, y = -1}, min_size = {x = -1, y = -1}, 
            max_size = {x = -1, y = -1}, floating_pos = {x = -1, y = -1},
floating_size = {x = -1, y = -1}, dock_proportion = 0, buttons =
{<wxArrayPtrVoid> = {<wxBaseArrayPtrVoid> = {m_nSize = 0, m_nCount = 0, 
                  m_pItems = 0x0}, <No data fields>}, <No data fields>}, rect =
{x = 0, y = 0, width = 0, height = 0}}, <No data fields>}
        lyrs = {<wxAuiPaneInfo> = {name = {static npos = 4294967295, m_impl =
L"m_LayersManagerToolBar", m_convertedToChar = {m_str = 0x0, m_len = 6}},
caption = {static npos = 4294967295, m_impl = L"Lagenverwaltung", 
              m_convertedToChar = {m_str = 0x0, m_len = 529}}, icon =
<incomplete type>, window = 0x0, frame = 0x0, state = 1996, dock_direction = 2,
dock_layer = 3, dock_row = 0, dock_pos = 0, best_size = {x = 240, y = 32}, 
            min_size = {x = 240, y = 32}, max_size = {x = -1, y = -1},
floating_pos = {x = -1, y = -1}, floating_size = {x = -1, y = -1},
dock_proportion = 0, buttons = {<wxArrayPtrVoid> = {<wxBaseArrayPtrVoid> = {
                  m_nSize = 0, m_nCount = 0, m_pItems = 0x0}, <No data
fields>}, <No data fields>}, rect = {x = 0, y = 0, width = 0, height = 0}}, <No
data fields>}
        canvasType = <optimized out>
        galCanvas = <optimized out>
        icon = <incomplete type>
        horiz = {<wxAuiPaneInfo> = {name = {static npos = 4294967295, m_impl =
L"", m_convertedToChar = {m_str = 0x0, m_len = 1668292724}}, caption = {static
npos = 4294967295, m_impl = L"", m_convertedToChar = {m_str = 0x0, 
                m_len = 1752379250}}, icon = <incomplete type>, window = 0x0,
frame = 0x0, state = 140144, dock_direction = 4, dock_layer = 10, dock_row = 0,
dock_pos = 0, best_size = {x = -1, y = -1}, min_size = {x = -1, 
              y = -1}, max_size = {x = -1, y = -1}, floating_pos = {x = -1, y =
-1}, floating_size = {x = -1, y = -1}, dock_proportion = 0, buttons =
{<wxArrayPtrVoid> = {<wxBaseArrayPtrVoid> = {m_nSize = 0, m_nCount = 0, 
                  m_pItems = 0x0}, <No data fields>}, <No data fields>}, rect =
{x = 0, y = 0, width = 0, height = 0}}, <No data fields>}
        vert = {<wxAuiPaneInfo> = {name = {static npos = 4294967295, m_impl =
L"", m_convertedToChar = {m_str = 0x0, m_len = 4947984}}, caption = {static
npos = 4294967295, m_impl = L"", m_convertedToChar = {m_str = 0x0, 
                m_len = 4947984}}, icon = <incomplete type>, window = 0x0,
frame = 0x0, state = 140108, dock_direction = 4, dock_layer = 10, dock_row = 0,
dock_pos = 0, best_size = {x = -1, y = -1}, min_size = {x = -1, 
              y = -1}, max_size = {x = -1, y = -1}, floating_pos = {x = -1, y =
-1}, floating_size = {x = -1, y = -1}, dock_proportion = 0, buttons =
{<wxArrayPtrVoid> = {<wxBaseArrayPtrVoid> = {m_nSize = 0, m_nCount = 0, 
                  m_pItems = 0x0}, <No data fields>}, <No data fields>}, rect =
{x = 0, y = 0, width = 0, height = 0}}, <No data fields>}
        strK2S = {static npos = 4294967295, Python Exception <class
'ValueError'> Invalid length.: 
m_impl = , m_convertedToChar = {m_str = 0xb2f2e078 "\004", m_len = 3024982016}}
        appK2S = {m_volume = {static npos = 4294967295, m_impl =
L"\000\000\000\001\000\000\001\001", m_convertedToChar = {m_str = 0x0, m_len =
3074928571}}, m_dirs = {m_nSize = 3221220744, m_nCount = 0, m_pItems = 0x0, 
            m_autoSort = 104}, m_name = {static npos = 4294967295, Python
Exception <class 'ValueError'> Invalid length.: 
m_impl = , m_convertedToChar = {m_str = 0x0, m_len = 0}}, m_ext = {static npos
= 4294967295, m_impl = <error: Cannot access memory at address 0x2033c>, 
            m_convertedToChar = {m_str = 0xffffffff <error: Cannot access
memory at address 0xffffffff>, m_len = 4294967295}}, m_relative = 255, m_hasExt
= 255, m_dontFollowLinks = 255}
        galCanvas = <optimized out>
        icon = <optimized out>
        horiz = <optimized out>
        vert = <optimized out>
        mesg = <optimized out>
        lyrs = <optimized out>
        canvasType = <optimized out>
        strK2S = <optimized out>
        appK2S = <optimized out>
        msg = <optimized out>
        dlg = <optimized out>
        evt = <optimized out>
        cairoEvt = <optimized out>
        evt = <optimized out>
---Type <return> to continue, or q <return> to quit---
#23 0xb3516e5b in PCB::IFACE::CreateWindow (this=0xb47f7520 <PCB::kiface>,
aParent=0x0, aClassId=5, aKiway=0x4b5060 <Kiway>, aCtlBits=1) at
./pcbnew/pcbnew.cpp:113
        frame = <optimized out>
#24 0x00436257 in KIWAY::Player(FRAME_T, bool, wxTopLevelWindow*) () at
./common/kiway.cpp:329
        face_type = KIWAY::FACE_PCB
        kiface = <optimized out>
        __FUNCTION__ = "Player"
        frame = <optimized out>
#25 0x00429882 in PGM_SINGLE_TOP::OnPgmInit() () at ./common/single_top.cpp:322
        argc = 1
        args_offset = 1
        appType = FRAME_PCB
        frameTypes = {{name = {static npos = 4294967295, m_impl = L"pcb",
m_convertedToChar = {m_str = 0x0, m_len = 3060387211}}, type = FRAME_PCB},
{name = {static npos = 4294967295, m_impl = L"fpedit", m_convertedToChar = {
                m_str = 0x0, m_len = 3077361664}}, type =
FRAME_PCB_MODULE_EDITOR}, {name = {static npos = 4294967295, m_impl = L"",
m_convertedToChar = {m_str = 0x0, m_len = 3086902521}}, type = FRAME_T_COUNT}}
        __FUNCTION__ = "OnPgmInit"
        frame = <optimized out>
#26 0x0042cb1e in APP_SINGLE_TOP::OnInit (this=0x4b9430) at
./common/single_top.cpp:128
        __FUNCTION__ = "OnInit"
#27 0xb7513186 in wxEntry(int&, wchar_t**) () from
/usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0
No symbol table info available.
#28 0xb7513f93 in wxEntry(int&, char**) () from
/usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0
No symbol table info available.
#29 0x00426be6 in main (argc=<optimized out>, argv=0xbffff584) at
./common/single_top.cpp:239
No locals.
(gdb) 

------------------------------------------------------------------------------------

Regards,
Werner

Am 05.08.2018 04:25:57 schrieb(en) Carsten Schoenert:
> Hello Werner,
> 
> On Wed, Aug 01, 2018 at 05:11:40PM +0200, Werner Frey wrote:
> ... 
> > pcbnew aborts immediately after invocation on my i386 Debian Buster
> > installation.
> > The kicad package was freshly installed for the first time.
> > There were no changes to the default configuration of the package.
> > When I started pcbnew the very first time a hint window pops up,
> > saying that I am
> > using pcbnew the first time using the new search method for
> > footprints. After I
> > confirmed the popup by clicking the OK button, the messages below
> > appeared and
> > pcbnew aborted. On later invocations the popup window doesn't appear
> > and pcbnew
> > aborts immediatly showing the messages below.
> > 
> > As this behaviour also kills eeschema without any warning  when
> > searching for footprints
> > from within eeschema the complete kicad package is unusable for me.
> 
> mhh, I don't use i386 based hardware normaly, on amd64 KiCad is
> working well so far.
> O.k., this is an upstream issue and need to be addressed there. Can
> you please make a GDB log of a segfault? You need to install
> kicad-dbgsym for this.
> 
> https://wiki.debian.org/HowToGetABacktrace
> 
> Once we have a GDB log we can open a issue within the upstream bug
> tracker.
> 
> Regards
> Carsten
> 






More information about the Pkg-electronics-devel mailing list