← Back to team overview

kicad-developers team mailing list archive

Re: Quick GTK test

 

Hi Jeff-

Turns out, there is still no triggering of that line.  However, setting a
break on the gtk_combo_box_popdown() that it calls does get triggered.  I'm
attaching the backtrace.

-S

Am Fr., 28. Sep. 2018 um 12:50 Uhr schrieb Seth Hillbrand <
seth@xxxxxxxxxxxxx>:

> Oh, wait, nevermind.  Sorry, that was without wx debug info.  Pls
> disregard.
>
> Am Fr., 28. Sep. 2018 um 12:47 Uhr schrieb Seth Hillbrand <
> seth@xxxxxxxxxxxxx>:
>
>> Hi Jeff-
>>
>> Does not trigger for me using XFCE/Debian.
>>
>> -Seth
>>
>> Am Fr., 28. Sep. 2018 um 12:07 Uhr schrieb Jeff Young <jeff@xxxxxxxxx>:
>>
>>> Could I get someone to perform a quick GTK test for me?
>>>
>>> Put a breakpoint in wxComboBox::Popup() (line 403 of wxWidgets/src/gtk/combobox.cpp
>>> in my wxWidgets), and then activate a layer-box popup (such as in Track &
>>> Via Properties) via the keyboard (spacebar, for instance).
>>>
>>> I’d like to know if the breakpoint is triggered, and if it is, a stack
>>> trace would be nice.
>>>
>>> Thanks,
>>> Jeff.
>>> _______________________________________________
>>> 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
>>>
>>
Continuing.

Thread 1 "kicad" hit Breakpoint 1, 0x00007fa0de6f7310 in gtk_combo_box_popdown ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#0  0x00007fa0de6f7310 in gtk_combo_box_popdown ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#1  0x00007fa0de14ff75 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#2  0x00007fa0de161f82 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3  0x00007fa0de16abdc in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4  0x00007fa0de16afbf in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007fa0de83c4b2 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#6  0x00007fa0de14ff75 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7  0x00007fa0de16195c in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x00007fa0de16abdc in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007fa0de16afbf in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007fa0de14ff75 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007fa0de161f82 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007fa0de16abdc in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007fa0de16afbf in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007fa0de89748e in gtk_widget_hide () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#15 0x00007fa0de7830fa in gtk_menu_popdown () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#16 0x00007fa0de783239 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#17 0x00007fa0de14ff75 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007fa0de16195c in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007fa0de16abdc in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007fa0de16afbf in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007fa0de78b714 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#22 0x00007fa0de7797bc in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#23 0x00007fa0de14ff75 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007fa0de16237d in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#25 0x00007fa0de16a67f in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#26 0x00007fa0de16afbf in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007fa0de8918ac in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#28 0x00007fa0de777f84 in gtk_propagate_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#29 0x00007fa0de77833b in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#30 0x00007fa0de3edcbc in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#31 0x00007fa0dd6c67f7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fa0dd6c6a60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fa0dd6c6d82 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fa0de7773b7 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#35 0x00007fa0e2187e65 in wxGUIEventLoop::DoRun (this=0x55c3d7e4f000) at ../src/gtk/evtloop.cpp:65
#36 0x00007fa0e18cc27b in wxEventLoopBase::Run (this=0x55c3d7e4f000)
    at ../src/common/evtloopcmn.cpp:78
#37 0x00007fa0ce2490bb in DIALOG_SHIM::ShowQuasiModal (this=0x55c3d7e4f080)
    at /home/seth/code/kicad/kicad-launchpad/common/dialog_shim.cpp:373
#38 0x00007fa0cdc22db3 in PCB_BASE_FRAME::InstallPadOptionsFrame (this=0x55c3d20ac740, 
    aPad=0x55c3d3cdb310)
    at /home/seth/code/kicad/kicad-launchpad/pcbnew/dialogs/dialog_pad_properties.cpp:99
#39 0x00007fa0cde148d0 in PCB_EDIT_FRAME::OnEditItemRequest (this=0x55c3d20ac740, aDC=0x0, 
    aItem=0x55c3d3cdb310) at /home/seth/code/kicad/kicad-launchpad/pcbnew/onleftclick.cpp:590
#40 0x00007fa0cdec1344 in EDIT_TOOL::Properties (this=0x55c3d46487d0, aEvent=...)
    at /home/seth/code/kicad/kicad-launchpad/pcbnew/tools/edit_tool.cpp:631
#41 0x00007fa0cdecc6f9 in std::__invoke_impl<int, int (EDIT_TOOL::* const&)(TOOL_EVENT const&), EDIT_TOOL*&, TOOL_EVENT const&> (__f=
    @0x55c3d1013cc0: (int (EDIT_TOOL::*)(EDIT_TOOL * const, const TOOL_EVENT &)) 0x7fa0cdec11f8 <EDIT_TOOL::Properties(TOOL_EVENT const&)>, __t=@0x55c3d1013cd0: 0x55c3d46487d0, __args#0=...)
    at /usr/include/c++/6/functional:227
#42 0x00007fa0cdecc66b in std::__invoke<int (EDIT_TOOL::* const&)(TOOL_EVENT const&), EDIT_TOOL*&, TOOL_EVENT const&> (__fn=
    @0x55c3d1013cc0: (int (EDIT_TOOL::*)(EDIT_TOOL * const, const TOOL_EVENT &)) 0x7fa0cdec11f8 <EDIT_TOOL::Properties(TOOL_EVENT const&)>, __args#0=@0x55c3d1013cd0: 0x55c3d46487d0, __args#1=...)
    at /usr/include/c++/6/functional:251
#43 0x00007fa0cdecc5ff in std::_Mem_fn_base<int (EDIT_TOOL::*)(TOOL_EVENT const&), true>::operator()<EDIT_TOOL*&, TOOL_EVENT const&> (this=0x55c3d1013cc0, __args#0=@0x55c3d1013cd0: 0x55c3d46487d0, 
    __args#1=...) at /usr/include/c++/6/functional:604
#44 0x00007fa0cdecc417 in std::_Bind<std::_Mem_fn<int (EDIT_TOOL::*)(TOOL_EVENT const&)> (EDIT_TOOL*, std::_Placeholder<1>)>::__call<int, TOOL_EVENT const&, 0ul, 1ul>(std::tuple<TOOL_EVENT const&>&&, std::_Index_tuple<0ul, 1ul>) (this=0x55c3d1013cc0, 
    __args=<unknown type in /usr/local/bin/_pcbnew.kiface, CU 0x34c39d2, DIE 0x353e782>)
    at /usr/include/c++/6/functional:934
#45 0x00007fa0cdecbf51 in std::_Bind<std::_Mem_fn<int (EDIT_TOOL::*)(TOOL_EVENT const&)> (EDIT_TOOL*, std::_Placeholder<1>)>::operator()<TOOL_EVENT const&, int>(TOOL_EVENT const&) (
    this=0x55c3d1013cc0, __args#0=...) at /usr/include/c++/6/functional:993
#46 0x00007fa0cdecb9b4 in std::_Function_handler<int (TOOL_EVENT const&), std::_Bind<std::_Mem_fn<int (EDIT_TOOL::*)(TOOL_EVENT const&)> (EDIT_TOOL*, std::_Placeholder<1>)> >::_M_invoke(std::_Any_data const&, TOOL_EVENT const&) (__functor=..., __args#0=...) at /usr/include/c++/6/functional:1717
#47 0x00007fa0ce309689 in std::function<int (TOOL_EVENT const&)>::operator()(TOOL_EVENT const&) const (this=0x55c3d477e2a8, __args#0=...) at /usr/include/c++/6/functional:2127
#48 0x00007fa0ce3067bb in COROUTINE<int, TOOL_EVENT const&>::callerStub (aData=140726391098544)
    at /home/seth/code/kicad/kicad-launchpad/include/tool/coroutine.h:329
#49 0x00007fa0ce368ea1 in make_fcontext () from /usr/local/bin/_pcbnew.kiface
#50 0x000055c3d7e51ef0 in ?? ()
#51 0x000055c3d464a080 in ?? ()
#52 0x0000000000000000 in ?? ()
Continuing.

Thread 1 "kicad" hit Breakpoint 2, 0x00007fa0de6f7120 in gtk_combo_box_popup ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#0  0x00007fa0de6f7120 in gtk_combo_box_popup () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#1  0x00007fa0de14ff75 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#2  0x00007fa0de161f82 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3  0x00007fa0de16abdc in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4  0x00007fa0de16afbf in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007fa0de83c4b2 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#6  0x00007fa0de14ff75 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7  0x00007fa0de16195c in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x00007fa0de16abdc in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007fa0de16afbf in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007fa0de6d501e in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#11 0x00007fa0de7797bc in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007fa0de14ff75 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007fa0de16237d in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007fa0de16a67f in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007fa0de16afbf in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007fa0de8918ac in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#17 0x00007fa0de77803f in gtk_propagate_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#18 0x00007fa0de77833b in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#19 0x00007fa0de3edcbc in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#20 0x00007fa0dd6c67f7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fa0dd6c6a60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fa0dd6c6d82 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fa0de7773b7 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#24 0x00007fa0e2187e65 in wxGUIEventLoop::DoRun (this=0x55c3d7e4f000) at ../src/gtk/evtloop.cpp:65
#25 0x00007fa0e18cc27b in wxEventLoopBase::Run (this=0x55c3d7e4f000)
    at ../src/common/evtloopcmn.cpp:78
#26 0x00007fa0ce2490bb in DIALOG_SHIM::ShowQuasiModal (this=0x55c3d7e4f080)
    at /home/seth/code/kicad/kicad-launchpad/common/dialog_shim.cpp:373
#27 0x00007fa0cdc22db3 in PCB_BASE_FRAME::InstallPadOptionsFrame (this=0x55c3d20ac740, 
    aPad=0x55c3d3cdb310)
    at /home/seth/code/kicad/kicad-launchpad/pcbnew/dialogs/dialog_pad_properties.cpp:99
#28 0x00007fa0cde148d0 in PCB_EDIT_FRAME::OnEditItemRequest (this=0x55c3d20ac740, aDC=0x0, 
    aItem=0x55c3d3cdb310) at /home/seth/code/kicad/kicad-launchpad/pcbnew/onleftclick.cpp:590
#29 0x00007fa0cdec1344 in EDIT_TOOL::Properties (this=0x55c3d46487d0, aEvent=...)
    at /home/seth/code/kicad/kicad-launchpad/pcbnew/tools/edit_tool.cpp:631
#30 0x00007fa0cdecc6f9 in std::__invoke_impl<int, int (EDIT_TOOL::* const&)(TOOL_EVENT const&), EDIT_TOOL*&, TOOL_EVENT const&> (__f=
    @0x55c3d1013cc0: (int (EDIT_TOOL::*)(EDIT_TOOL * const, const TOOL_EVENT &)) 0x7fa0cdec11f8 <EDIT_TOOL::Properties(TOOL_EVENT const&)>, __t=@0x55c3d1013cd0: 0x55c3d46487d0, __args#0=...)
    at /usr/include/c++/6/functional:227
#31 0x00007fa0cdecc66b in std::__invoke<int (EDIT_TOOL::* const&)(TOOL_EVENT const&), EDIT_TOOL*&, TOOL_EVENT const&> (__fn=
    @0x55c3d1013cc0: (int (EDIT_TOOL::*)(EDIT_TOOL * const, const TOOL_EVENT &)) 0x7fa0cdec11f8 <EDIT_TOOL::Properties(TOOL_EVENT const&)>, __args#0=@0x55c3d1013cd0: 0x55c3d46487d0, __args#1=...)
    at /usr/include/c++/6/functional:251
#32 0x00007fa0cdecc5ff in std::_Mem_fn_base<int (EDIT_TOOL::*)(TOOL_EVENT const&), true>::operator()<EDIT_TOOL*&, TOOL_EVENT const&> (this=0x55c3d1013cc0, __args#0=@0x55c3d1013cd0: 0x55c3d46487d0, 
    __args#1=...) at /usr/include/c++/6/functional:604
#33 0x00007fa0cdecc417 in std::_Bind<std::_Mem_fn<int (EDIT_TOOL::*)(TOOL_EVENT const&)> (EDIT_TOOL*, std::_Placeholder<1>)>::__call<int, TOOL_EVENT const&, 0ul, 1ul>(std::tuple<TOOL_EVENT const&>&&, std::_Index_tuple<0ul, 1ul>) (this=0x55c3d1013cc0, 
    __args=<unknown type in /usr/local/bin/_pcbnew.kiface, CU 0x34c39d2, DIE 0x353e782>)
    at /usr/include/c++/6/functional:934
#34 0x00007fa0cdecbf51 in std::_Bind<std::_Mem_fn<int (EDIT_TOOL::*)(TOOL_EVENT const&)> (EDIT_TOOL*, std::_Placeholder<1>)>::operator()<TOOL_EVENT const&, int>(TOOL_EVENT const&) (
    this=0x55c3d1013cc0, __args#0=...) at /usr/include/c++/6/functional:993
#35 0x00007fa0cdecb9b4 in std::_Function_handler<int (TOOL_EVENT const&), std::_Bind<std::_Mem_fn<int (EDIT_TOOL::*)(TOOL_EVENT const&)> (EDIT_TOOL*, std::_Placeholder<1>)> >::_M_invoke(std::_Any_data const&, TOOL_EVENT const&) (__functor=..., __args#0=...) at /usr/include/c++/6/functional:1717
#36 0x00007fa0ce309689 in std::function<int (TOOL_EVENT const&)>::operator()(TOOL_EVENT const&) const (this=0x55c3d477e2a8, __args#0=...) at /usr/include/c++/6/functional:2127
#37 0x00007fa0ce3067bb in COROUTINE<int, TOOL_EVENT const&>::callerStub (aData=140726391098544)
    at /home/seth/code/kicad/kicad-launchpad/include/tool/coroutine.h:329
#38 0x00007fa0ce368ea1 in make_fcontext () from /usr/local/bin/_pcbnew.kiface
#39 0x000055c3d7e51ef0 in ?? ()
#40 0x000055c3d464a080 in ?? ()
#41 0x0000000000000000 in ?? ()

Follow ups

References