← Back to team overview

kicad-developers team mailing list archive

Re: Have anyone used the footprint wizards on windows?

 

Hi all,

I have attached a backtrace here generated on linux 6271 (I know this
is an old rev... but the symptoms are the as on latest)

But it seems that I need to close that "console/status"-like window
and then edit values and it will crash.

Could it be the #6  0x00007ffff6e3d2db in
wxTextEntryBase::DoSetValue(wxString const&, int) () from
/usr/lib/libwx_gtk2u_core-3.0.so.0 that is actually not allowed when
that window is not active?

Also, I wonder why it is really there in the first place, it was not
there originally.

I would be quite greatful if anyone could try to reproduce this.

@easyw, could you retest that procedure?

2015-10-23 11:24 GMT+02:00 Nick Østergaard <oe.nick@xxxxxxxxx>:
> Yes, i just need to build a debug build with scripting on linux when I get
> home.
>
> Den 23/10/2015 10.24 skrev "Miguel Angel Ajo" <mangelajo@xxxxxxxxxx>:
>>
>> Is there any way to get a backtrace on it?
>>
>> Nick Østergaard wrote:
>>>
>>> 64 bit on both windows and linux.  I tried varoius wizards, and it
>>> crashen
>>> when I modify for example a pad width.
>>> Den 23/10/2015 10.07 skrev "easyw"<easyw@xxxxxxxxxxxx>:
>>>
>>>> Hi Nick,
>>>> could you please post which version of windows os, 32 or 64b, and which
>>>> footprint/operation is crashing the sw?
>>>> I tried the wiz with QFP footprint using the nightlies in win 8 64b
>>>> without any crash
>>>>
>>>> Maurice
>>>>
>>>> On 23/10/2015 00.40, Nick Østergaard wrote:
>>>>
>>>>> Ok, I got home and I can reproduce this on linux with 6264, but not on
>>>>> my debug build. I will post a backtrace later if no one else can
>>>>> reproduce before me.
>>>>>
>>>>> I am told that it works fine on OSX 6267.
>>>>>
>>>>> 2015-10-22 14:52 GMT+02:00 Nick Østergaard<oe.nick@xxxxxxxxx>:
>>>>>
>>>>>> Hi Wayne et al.
>>>>>>
>>>>>> Have you tried to run the python defined footprint wizards on windows?
>>>>>>
>>>>>> I have just included them in the windows nightlies (still waiting for
>>>>>> it to be ready, and available on the downloads site).
>>>>>>
>>>>>> Can you try to test it on windows? When I run it and try to change a
>>>>>> value it crashes. Unfortunately I am not able to get proper backtraces
>>>>>> on windows.
>>>>>>
>>>>>> Nick
>>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~kicad-developers
>>>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
┌─[joe ~/kicad_new/build-python-debug]
└─ $ gdb pcbnew/pcbnew 
GNU gdb (GDB) 7.10
Copyright (C) 2015 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-unknown-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/pcbnew...done.
(gdb) r
Starting program: /home/joe/kicad_new/build-python-debug/pcbnew/pcbnew 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
19:32:36: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1008,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8).
LIB_ENV_VAR:'/home/joe/kicad_new/build-python-debug/pcbnew:/opt/ros/indigo/lib/x86_64-linux-gnu:/home/joe/aauship-formation/code/hli/ros/devel/lib/x86_64-linux-gnu:/opt/ros/hydro/lib/x86_64-linux-gnu:/opt/ros/indigo/lib:/home/joe/aauship-formation/code/hli/ros/devel/lib:/opt/ros/hydro/lib:/opt/opencascade/lib:/usr/lib/gazebo-5.0/plugins'
19:32:36: Debug: Adding locale lookup path: /usr/share/kicad/internat
19:32:40: Debug: kiface SEARCH_STACK:
19:32:40: Debug:   [ 0]:/home/joe/kicad_new/build-python-debug/template
19:32:40: Debug:   [ 1]:/usr/share/kicad/modules
19:32:40: Debug:   [ 2]:/usr/share/kicad/modules/packages3d
19:32:40: Debug:   [ 3]:/usr/share/kicad/template
19:32:40: Debug:   [ 4]:/usr/local/share
19:32:40: Debug: Adding duplicate image handler for 'PNG file'
19:32:40: Debug: Adding duplicate image handler for 'JPEG file'
19:32:40: Debug: Adding duplicate image handler for 'TIFF file'
19:32:40: Debug: Adding duplicate image handler for 'GIF file'
19:32:40: Debug: Adding duplicate image handler for 'PNM file'
19:32:40: Debug: Adding duplicate image handler for 'PCX file'
19:32:40: Debug: Adding duplicate image handler for 'IFF file'
19:32:40: Debug: Adding duplicate image handler for 'Windows icon file'
19:32:40: Debug: Adding duplicate image handler for 'Windows cursor file'
19:32:40: Debug: Adding duplicate image handler for 'Windows animated cursor file'
19:32:40: Debug: Adding duplicate image handler for 'TGA file'
19:32:40: Debug: Adding duplicate image handler for 'XPM file'
[New Thread 0x7fffd8a84700 (LWP 14377)]
[New Thread 0x7fffcfdc1700 (LWP 14378)]
[New Thread 0x7fffcf5c0700 (LWP 14379)]

(pcbnew:14373): Gdk-CRITICAL **: IA__gdk_window_process_updates: assertion 'GDK_IS_WINDOW (window)' failed
wxFrame 14PCB_EDIT_FRAME            : disabled
wxFrame 20FOOTPRINT_EDIT_FRAME      : disabled
Building new QFP footprint with the following parameters:
  Pads:
    pad width: 0.25mm
    oval: True
    package height: 14.0mm
    n: 100
    pad pitch: 0.5mm
    horizontal pitch: 15.0mm
    package width: 14.0mm
    vertical pitch: 15.0mm
    pad length: 1.5mm
Building new QFP footprint with the following parameters:
  Pads:
    pad width: 0.3mm
    oval: True
    package height: 14.0mm
    n: 100
    pad pitch: 0.5mm
    horizontal pitch: 15.0mm
    package width: 14.0mm
    vertical pitch: 15.0mm
    pad length: 1.5mm
Building new QFP footprint with the following parameters:
  Pads:
    pad width: 0.4mm
    oval: True
    package height: 14.0mm
    n: 100
    pad pitch: 0.5mm
    horizontal pitch: 15.0mm
    package width: 14.0mm
    vertical pitch: 15.0mm
    pad length: 1.5mm
pure virtual method called
terminate called without an active exception

Program received signal SIGABRT, Aborted.
0x00007ffff37165f8 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff37165f8 in raise () from /usr/lib/libc.so.6
#1  0x00007ffff3717a7a in abort () from /usr/lib/libc.so.6
#2  0x00007ffff4469b3d in __gnu_cxx::__verbose_terminate_handler () at /build/gcc/src/gcc-5.2.0/libstdc++-v3/libsupc++/vterminate.cc:95
#3  0x00007ffff4467996 in __cxxabiv1::__terminate (handler=<optimized out>) at /build/gcc/src/gcc-5.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:47
#4  0x00007ffff44679e1 in std::terminate () at /build/gcc/src/gcc-5.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:57
#5  0x00007ffff446851f in __cxxabiv1::__cxa_pure_virtual () at /build/gcc/src/gcc-5.2.0/libstdc++-v3/libsupc++/pure.cc:50
#6  0x00007ffff6e3d2db in wxTextEntryBase::DoSetValue(wxString const&, int) () from /usr/lib/libwx_gtk2u_core-3.0.so.0
#7  0x00007ffff6cf6b90 in ?? () from /usr/lib/libwx_gtk2u_core-3.0.so.0

#9  0x00007fffe346aa8e in FOOTPRINT_WIZARD_FRAME::DisplayBuildMessage (this=0x4374050, aMessage=...) at /home/joe/kicad_new/pcbnew/footprint_wizard.cpp:132
#10 0x00007fffe346a917 in FOOTPRINT_WIZARD_FRAME::ReloadFootprint (this=0x4374050) at /home/joe/kicad_new/pcbnew/footprint_wizard.cpp:106
#11 0x00007fffe346b3eb in FOOTPRINT_WIZARD_FRAME::ParametersUpdated (this=0x4374050, event=...) at /home/joe/kicad_new/pcbnew/footprint_wizard.cpp:274
#12 0x00007ffff631893e in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const () from /usr/lib/libwx_baseu-3.0.so.0
#13 0x00007ffff64b02e8 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#14 0x00007ffff64b03eb in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-3.0.so.0
#15 0x00007ffff64b07a8 in wxEvtHandler::TryHereOnly(wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#16 0x00007fffe3ad3bbb in EDA_BASE_FRAME::ProcessEvent (this=0x4374050, aEvent=...) at /home/joe/kicad_new/common/basicframe.cpp:167
#17 0x00007ffff64b05a3 in wxEvtHandler::DoTryChain(wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#18 0x00007ffff64b0895 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#19 0x00007ffff6e517a8 in wxWindowBase::TryAfter(wxEvent&) () from /usr/lib/libwx_gtk2u_core-3.0.so.0
#20 0x00007ffff6ec06fb in wxScrollHelperEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_gtk2u_core-3.0.so.0
#21 0x00007ffff7629b2d in wxGrid::SendEvent(int, int, int, wxString const&) () from /usr/lib/libwx_gtk2u_adv-3.0.so.0
#22 0x00007ffff7632c6e in wxGrid::SaveEditControlValue() () from /usr/lib/libwx_gtk2u_adv-3.0.so.0
#23 0x00007ffff7633796 in wxGrid::EnableCellEditControl(bool) () from /usr/lib/libwx_gtk2u_adv-3.0.so.0
#24 0x00007ffff763d9e3 in wxGrid::SetCurrentCell(wxGridCellCoords const&) () from /usr/lib/libwx_gtk2u_adv-3.0.so.0
#25 0x00007ffff763ff91 in wxGrid::DoMoveCursor(bool, wxGridDirectionOperations const&) () from /usr/lib/libwx_gtk2u_adv-3.0.so.0
#26 0x00007ffff76400ed in wxGrid::MoveCursorDown(bool) () from /usr/lib/libwx_gtk2u_adv-3.0.so.0
#27 0x00007ffff76414fe in wxGrid::OnKeyDown(wxKeyEvent&) () from /usr/lib/libwx_gtk2u_adv-3.0.so.0
#28 0x00007ffff631893e in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const () from /usr/lib/libwx_baseu-3.0.so.0
#29 0x00007ffff64b02e8 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#30 0x00007ffff64b03eb in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-3.0.so.0
#31 0x00007ffff64b07a8 in wxEvtHandler::TryHereOnly(wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#32 0x00007ffff64b0833 in wxEvtHandler::ProcessEventLocally(wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#33 0x00007ffff64b0895 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#34 0x00007ffff6ec06fb in wxScrollHelperEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_gtk2u_core-3.0.so.0
#35 0x00007ffff76502db in ?? () from /usr/lib/libwx_gtk2u_adv-3.0.so.0
#36 0x00007ffff631893e in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const () from /usr/lib/libwx_baseu-3.0.so.0
#37 0x00007ffff64b02e8 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#38 0x00007ffff64b03eb in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-3.0.so.0
#39 0x00007ffff64b07a8 in wxEvtHandler::TryHereOnly(wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#40 0x00007ffff64b0833 in wxEvtHandler::ProcessEventLocally(wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#41 0x00007ffff64b0895 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#42 0x00007ffff64b05f7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#43 0x00007ffff6c5f343 in ?? () from /usr/lib/libwx_gtk2u_core-3.0.so.0
#44 0x00007ffff31d290f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#45 0x00007ffff2ba9035 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#46 0x00007ffff2bbb081 in ?? () from /usr/lib/libgobject-2.0.so.0
#47 0x00007ffff2bc38b9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#48 0x00007ffff2bc414f in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#49 0x00007ffff32e9bac in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#50 0x00007ffff32fd6bb in gtk_window_propagate_key_event () from /usr/lib/libgtk-x11-2.0.so.0
#51 0x00007ffff6c4bf88 in ?? () from /usr/lib/libwx_gtk2u_core-3.0.so.0
#52 0x00007ffff31d290f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#53 0x00007ffff2ba9035 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#54 0x00007ffff2bbb081 in ?? () from /usr/lib/libgobject-2.0.so.0
#55 0x00007ffff2bc38b9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#56 0x00007ffff2bc414f in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#57 0x00007ffff32e9bac in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#58 0x00007ffff31d112f in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#59 0x00007ffff31d14eb in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#60 0x00007ffff2e462cc in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#61 0x00007ffff1dd5dc7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#62 0x00007ffff1dd6020 in ?? () from /usr/lib/libglib-2.0.so.0
#63 0x00007ffff1dd6342 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#64 0x00007ffff31d0467 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#65 0x00007ffff6c2c485 in wxGUIEventLoop::DoRun() () from /usr/lib/libwx_gtk2u_core-3.0.so.0
#66 0x00007ffff635dc53 in wxEventLoopBase::Run() () from /usr/lib/libwx_baseu-3.0.so.0
#67 0x00007fffe3b25a60 in KIWAY_PLAYER::ShowModal (this=0x4374050, aResult=0x0, aResultantFocusWindow=0x29e7e00)
    at /home/joe/kicad_new/common/kiway_player.cpp:132
#68 0x00007fffe35017ca in FOOTPRINT_EDIT_FRAME::Process_Special_Functions (this=0x29e7e00, event=...) at /home/joe/kicad_new/pcbnew/modedit.cpp:347
#69 0x00007ffff631893e in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const () from /usr/lib/libwx_baseu-3.0.so.0
#70 0x00007ffff64b02e8 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#71 0x00007ffff64b03eb in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-3.0.so.0
#72 0x00007ffff64b07a8 in wxEvtHandler::TryHereOnly(wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#73 0x00007fffe3ad3bbb in EDA_BASE_FRAME::ProcessEvent (this=0x29e7e00, aEvent=...) at /home/joe/kicad_new/common/basicframe.cpp:167
#74 0x00007ffff64b05a3 in wxEvtHandler::DoTryChain(wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#75 0x00007ffff64b0895 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#76 0x00007ffff6e517a8 in wxWindowBase::TryAfter(wxEvent&) () from /usr/lib/libwx_gtk2u_core-3.0.so.0
#77 0x00007ffff798f4d8 in wxAuiToolBar::OnLeftUp(wxMouseEvent&) () from /usr/lib/libwx_gtk2u_aui-3.0.so.0
#78 0x00007ffff631893e in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const () from /usr/lib/libwx_baseu-3.0.so.0
#79 0x00007ffff64b02e8 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#80 0x00007ffff64b03eb in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-3.0.so.0
#81 0x00007ffff64b07a8 in wxEvtHandler::TryHereOnly(wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#82 0x00007ffff64b0833 in wxEvtHandler::ProcessEventLocally(wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#83 0x00007ffff64b0895 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#84 0x00007ffff64b05f7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-3.0.so.0
#85 0x00007ffff6c5ab3b in ?? () from /usr/lib/libwx_gtk2u_core-3.0.so.0
#86 0x00007ffff31d290f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#87 0x00007ffff2ba9035 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#88 0x00007ffff2bbb081 in ?? () from /usr/lib/libgobject-2.0.so.0
#89 0x00007ffff2bc38b9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#90 0x00007ffff2bc414f in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#91 0x00007ffff32e9bac in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#92 0x00007ffff31d1054 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#93 0x00007ffff31d14eb in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#94 0x00007ffff2e462cc in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#95 0x00007ffff1dd5dc7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#96 0x00007ffff1dd6020 in ?? () from /usr/lib/libglib-2.0.so.0
#97 0x00007ffff1dd6342 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#98 0x00007ffff31d0467 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#99 0x00007ffff6c2c485 in wxGUIEventLoop::DoRun() () from /usr/lib/libwx_gtk2u_core-3.0.so.0
#100 0x00007ffff635dc53 in wxEventLoopBase::Run() () from /usr/lib/libwx_baseu-3.0.so.0
#101 0x00007ffff631cb46 in wxAppConsoleBase::MainLoop() () from /usr/lib/libwx_baseu-3.0.so.0
#102 0x000000000041f74b in APP_SINGLE_TOP::OnRun (this=0x754b70) at /home/joe/kicad_new/common/single_top.cpp:173
#103 0x00007ffff63b38f0 in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-3.0.so.0
#104 0x000000000041bc18 in main (argc=1, argv=0x7fffffffd8c8) at /home/joe/kicad_new/common/single_top.cpp:210


Follow ups

References