SEGFAULT on variable name deselect!!!

Issue #8 invalid
Павел Бельтюков created an issue

Hi, Andrey!

I've got a very annoying bug in Beremiz/wxPython/wxWidgets...

If I enter variable name with Enter/Return button, everything works OK, but when I deselect a variable name by clicking som other variable or field, I get segfault...

Watch the video.

My system is Debian wheezy.

Comments (10)

  1. Павел Бельтюков reporter

    Here is som more info on this issue: I'd got a core dump, and I'd passed it to gdb. Here is the output:

    gdb python core
    GNU gdb (GDB) 7.4.1-debian
    Copyright (C) 2012 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 "i486-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /usr/bin/python...Reading symbols from /usr/lib/debug/usr/bin/python2.7...done.
    done.
    [New LWP 10938]
    
    warning: Can't read pathname for load map: Ошибка ввода/вывода.
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
    Core was generated by `python ./yaplcide.py'.
    Program terminated with signal 11, Segmentation fault.
    #0  0xb68f57ae in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
    

    Also, I can't reproduce this bug with gdb attach and variants. Looks like there is some race condition.

  2. Павел Бельтюков reporter

    Here is backtrace:

    GNU gdb (GDB) 7.4.1-debian
    Copyright (C) 2012 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 "i486-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /usr/bin/python...Reading symbols from /usr/lib/debug/usr/bin/python2.7...done.
    done.
    [New LWP 11136]
    
    warning: Can't read pathname for load map: Ошибка ввода/вывода.
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
    Core was generated by `python ./yaplcide.py'.
    Program terminated with signal 11, Segmentation fault.
    #0  0xb699b7ae in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
    (gdb) bt
    #0  0xb699b7ae in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
    #1  0xb6ba118a in wxWindow::GTKProcessEvent(wxEvent&) const () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #2  0xb6c0c01e in wxTextCtrl::GTKProcessEvent(wxEvent&) const () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #3  0xb6ba7a1e in ?? () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #4  0xb649b8a2 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #5  0xb5f71e76 in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #6  0xb5f83c96 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #7  0xb5f8b891 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #8  0xb5f8bcd3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #9  0xb65d2dab in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #10 0xb65e13e2 in gtk_widget_send_focus_change () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #11 0xb65e15db in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #12 0xb65e2081 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #13 0xb5f74f5c in g_cclosure_marshal_VOID__OBJECTv () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #14 0xb5f707a7 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #15 0xb5f72121 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #16 0xb5f8b279 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #17 0xb5f8bcd3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #18 0xb65e633b in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #19 0xb65d5e30 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #20 0xb5f73c3a in g_cclosure_marshal_VOID__VOIDv () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #21 0xb5f707a7 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #22 0xb5f72121 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #23 0xb5f8b279 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #24 0xb5f8bcd3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #25 0xb65d44ce in gtk_widget_grab_focus () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #26 0xb6ba1c36 in wxWindow::SetFocus() () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #27 0xb6e0fecc in wxGridWindow::OnMouseEvent(wxMouseEvent&) () from /usr/lib/i386-linux-gnu/libwx_gtk2u_adv-2.8.so.0
    #28 0xb690cb96 in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
    #29 0xb699b30a in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
    #30 0xb699b485 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
    #31 0xb699b820 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
    #32 0xb6ba118a in wxWindow::GTKProcessEvent(wxEvent&) const () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #33 0xb6ba6dfb in ?? () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #34 0xb649b8a2 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #35 0xb5f71e76 in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #36 0xb5f83945 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #37 0xb5f8b891 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #38 0xb5f8bcd3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #39 0xb65d2dab in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #40 0xb64999a4 in gtk_propagate_event () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #41 0xb649a000 in gtk_main_do_event () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #42 0xb6302ae8 in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
    #43 0xb5ea36d3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
    #44 0xb5ea3a70 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
    #45 0xb5ea3ecb in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
    ---Type <return> to continue, or q <return> to quit---
    #46 0xb6498ad0 in gtk_main () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #47 0xb6b9281a in wxEventLoop::Run() () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #48 0xb6c1652f in wxAppBase::MainLoop() () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #49 0xb70f2343 in wxPyApp::MainLoop() () from /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core_.so
    #50 0xb711ced6 in ?? () from /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core_.so
    #51 0x080eaa95 in ext_do_call (nk=-1254365428, na=<optimized out>, flags=<optimized out>, pp_stack=0xbfe87d3c, func=<built-in function PyApp_MainLoop>) at ../Python/ceval.c:4331
    #52 PyEval_EvalFrameEx (f=f@entry=
        Frame 0xaf764f4, for file /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py, line 7306, in MainLoop (args=(<PySimpleApp(this=<PySwigObject at remote 0xb73687b8>, stdioWin=None, _CallAfterId=10322, saveStdio=(<file at remote 0xb758b078>, <file at remote 0xb758b0d0>)) at remote 0xb7364fec>,), kwargs={}), throwflag=throwflag@entry=0) at ../Python/ceval.c:2705
    #53 0x080edd6e in PyEval_EvalCodeEx (co=0xb731bec0, globals=
        {'EVT_COMMAND_SCROLL': <PyEventBinder(evtType=[10055, 10056, 10057, 10058, 10059, 10060, 10061, 10062, 10063], expectedIDs=1) at remote 0xb5916e6c>, 'CLOSE_BOX': 4096, 'EVT_CALCULATE_LAYOUT': <PyEventBinder(evtType=[10228], expectedIDs=0) at remote 0xb56e924c>, 'ST_NO_AUTORESIZE': 1, 'AND_REVERSE': 4, 'MutexGuiLeave': <function at remote 0xb53cda04>, 'GREY_PEN': <Pen(this=<PySwigObject at remote 0xb528a470>) at remote 0xb585960c>, 'EVT_POWER_SUSPENDING': <PyEventBinder(evtType=[0], expectedIDs=1) at remote 0xb529052c>, 'FRAME_DRAWER': 32, 'STATIC_BORDER': 16777216, 'SYS_VSCROLL_X': 28, 'SW_3D': 192, 'PNG_TYPE_COLOUR': 0, 'ACCEL_ALT': 1, 'TreeItemIcon_Normal': 0, 'CURSOR_MIDDLE_BUTTON': 10, 'LANGUAGE_VIETNAMESE': 221, 'DateSpan_Years': <function at remote 0xb528b614>, 'LIST_HITTEST_BELOW': 2, 'GridBagSizer': <type at remote 0x914ae4c>, 'WXK_MENU': 309, 'TextAttr_Merge': <function at remote 0xb541f3e4>, 'ChildFocusEvent': <type at remote 0x912b7ec>, 'C2S_CSS_SYNTAX': 2, 'ICON_EXCLAMATION': 256, 'WXK_NUMPAD_TAB'...(truncated), locals=locals@entry=0x0, args=args@entry=0xb53be658, argcount=1, kws=kws@entry=0x0, 
        kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0) at ../Python/ceval.c:3253
    #54 0x081029ee in function_call (func=<function at remote 0xb59240d4>, arg=
        (<PySimpleApp(this=<PySwigObject at remote 0xb73687b8>, stdioWin=None, _CallAfterId=10322, saveStdio=(<file at remote 0xb758b078>, <file at remote 0xb758b0d0>)) at remote 0xb7364fec>,), 
        kw=0x0) at ../Objects/funcobject.c:526
    #55 0x080b5cd5 in PyObject_Call (kw=0x0, arg=
        (<PySimpleApp(this=<PySwigObject at remote 0xb73687b8>, stdioWin=None, _CallAfterId=10322, saveStdio=(<file at remote 0xb758b078>, <file at remote 0xb758b0d0>)) at remote 0xb7364fec>,), 
        func=<function at remote 0xb59240d4>) at ../Objects/abstract.c:2529
    #56 instancemethod_call.8713 (func=<function at remote 0xb59240d4>, arg=
        (<PySimpleApp(this=<PySwigObject at remote 0xb73687b8>, stdioWin=None, _CallAfterId=10322, saveStdio=(<file at remote 0xb758b078>, <file at remote 0xb758b0d0>)) at remote 0xb7364fec>,), 
        kw=0x0) at ../Objects/classobject.c:2602
    #57 0x080e7700 in PyObject_Call (kw=0x0, arg=
        (<PySimpleApp(this=<PySwigObject at remote 0xb73687b8>, stdioWin=None, _CallAfterId=10322, saveStdio=(<file at remote 0xb758b078>, <file at remote 0xb758b0d0>)) at remote 0xb7364fec>,), 
        func=<instancemethod at remote 0xab41d4c>) at ../Objects/abstract.c:2529
    #58 do_call (nk=0, na=<optimized out>, pp_stack=0xbfe8818c, func=<instancemethod at remote 0xab41d4c>) at ../Python/ceval.c:4239
    #59 call_function (oparg=<optimized out>, pp_stack=0xbfe8818c) at ../Python/ceval.c:4044
    #60 PyEval_EvalFrameEx (f=f@entry=
        Frame 0xaf7639c, for file /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py, line 8010, in MainLoop (self=<PySimpleApp(this=<PySwigObject at remote 0xb73687b8>, stdioWin=None, _CallAfterId=10322, saveStdio=(<file at remote 0xb758b078>, <file at remote 0xb758b0d0>)) at remote 0xb7364fec>), throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
    #61 0x080e7419 in fast_function (nk=<optimized out>, na=<optimized out>, n=1, pp_stack=0xbfe8827c, func=<function at remote 0xb5925144>) at ../Python/ceval.c:4107
    #62 call_function (oparg=<optimized out>, pp_stack=0xbfe8827c) at ../Python/ceval.c:4042
    #63 PyEval_EvalFrameEx (f=f@entry=Frame 0x903eb84, for file ./yaplcide.py, line 199, in <module> (), throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
    #64 0x080edd6e in PyEval_EvalCodeEx (co=co@entry=0xb74fa530, globals=globals@entry=
        {'random': <module at remote 0xb529b6ec>, 'GetBitmap': <function at remote 0xb7221e2c>, 'Semaphore': <function at remote 0x9ad472c>, 'tempfile': <module at remote 0xb529b3bc>, 'LOCATION_CONFNODE': 0, 'platform': <module at remote 0xb4c37cec>, 'AddExceptHook': <function at remote 0xac8764c>, '_nucmanager_path': '.', 'usage': <function at remote 0xb733da3c>, 'InstallLocalRessources': <function at remote 0xb7221cdc>, 'Thread': <type at remote 0x9b59554>, 'EDITORTOOLBAR': 1, '__file__': './yaplcide.py', 'LOCATION_VAR_INPUT': 3, 'os': <module at remote 0xb7569c8c>, 'ListType': <type at remote 0x82c6040>, 'ITEM_RESOURCE': 6, 'LOCATION_GROUP': 2, 'EditorPanel': <type at remote 0x98ffb4c>, 'FILEMENU': 2, 'threading': <module at remote 0x9acf254>, 'havecanfestival': True, 'ShowSplashScreen': <function at remote 0xb4cae17c>, 'eval_res': None, 'LIBRARYTREE': 7, 'splash': <_wxPyDeadObject(_name='AdvancedSplash') at remote 0xb529d0cc>, 'frame': <Beremiz(DisplayMenu=<Menu(this=<PySwigObject at remote 0xad4eef0>) at remote ...(truncated), locals=locals@entry=
        {'random': <module at remote 0xb529b6ec>, 'GetBitmap': <function at remote 0xb7221e2c>, 'Semaphore': <function at remote 0x9ad472c>, 'tempfile': <module at remote 0xb529b3bc>, 'LOCATION_CONFNODE': 0, 'platform': <module at remote 0xb4c37cec>, 'AddExceptHook': <function at remote 0xac8764c>, '_nucmanager_path': '.', 'usage': <function at remote 0xb733da3c>, 'InstallLocalRessourc---Type <return> to continue, or q <return> to quit---
    es': <function at remote 0xb7221cdc>, 'Thread': <type at remote 0x9b59554>, 'EDITORTOOLBAR': 1, '__file__': './yaplcide.py', 'LOCATION_VAR_INPUT': 3, 'os': <module at remote 0xb7569c8c>, 'ListType': <type at remote 0x82c6040>, 'ITEM_RESOURCE': 6, 'LOCATION_GROUP': 2, 'EditorPanel': <type at remote 0x98ffb4c>, 'FILEMENU': 2, 'threading': <module at remote 0x9acf254>, 'havecanfestival': True, 'ShowSplashScreen': <function at remote 0xb4cae17c>, 'eval_res': None, 'LIBRARYTREE': 7, 'splash': <_wxPyDeadObject(_name='AdvancedSplash') at remote 0xb529d0cc>, 'frame': <Beremiz(DisplayMenu=<Menu(this=<PySwigObject at remote 0xad4eef0>) at remote ...(truncated), args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=kwcount@entry=0, 
        defs=defs@entry=0x0, defcount=defcount@entry=0, closure=closure@entry=0x0) at ../Python/ceval.c:3253
    #65 0x08195295 in PyEval_EvalCode (locals=
        {'random': <module at remote 0xb529b6ec>, 'GetBitmap': <function at remote 0xb7221e2c>, 'Semaphore': <function at remote 0x9ad472c>, 'tempfile': <module at remote 0xb529b3bc>, 'LOCATION_CONFNODE': 0, 'platform': <module at remote 0xb4c37cec>, 'AddExceptHook': <function at remote 0xac8764c>, '_nucmanager_path': '.', 'usage': <function at remote 0xb733da3c>, 'InstallLocalRessources': <function at remote 0xb7221cdc>, 'Thread': <type at remote 0x9b59554>, 'EDITORTOOLBAR': 1, '__file__': './yaplcide.py', 'LOCATION_VAR_INPUT': 3, 'os': <module at remote 0xb7569c8c>, 'ListType': <type at remote 0x82c6040>, 'ITEM_RESOURCE': 6, 'LOCATION_GROUP': 2, 'EditorPanel': <type at remote 0x98ffb4c>, 'FILEMENU': 2, 'threading': <module at remote 0x9acf254>, 'havecanfestival': True, 'ShowSplashScreen': <function at remote 0xb4cae17c>, 'eval_res': None, 'LIBRARYTREE': 7, 'splash': <_wxPyDeadObject(_name='AdvancedSplash') at remote 0xb529d0cc>, 'frame': <Beremiz(DisplayMenu=<Menu(this=<PySwigObject at remote 0xad4eef0>) at remote ...(truncated), globals=
        {'random': <module at remote 0xb529b6ec>, 'GetBitmap': <function at remote 0xb7221e2c>, 'Semaphore': <function at remote 0x9ad472c>, 'tempfile': <module at remote 0xb529b3bc>, 'LOCATION_CONFNODE': 0, 'platform': <module at remote 0xb4c37cec>, 'AddExceptHook': <function at remote 0xac8764c>, '_nucmanager_path': '.', 'usage': <function at remote 0xb733da3c>, 'InstallLocalRessources': <function at remote 0xb7221cdc>, 'Thread': <type at remote 0x9b59554>, 'EDITORTOOLBAR': 1, '__file__': './yaplcide.py', 'LOCATION_VAR_INPUT': 3, 'os': <module at remote 0xb7569c8c>, 'ListType': <type at remote 0x82c6040>, 'ITEM_RESOURCE': 6, 'LOCATION_GROUP': 2, 'EditorPanel': <type at remote 0x98ffb4c>, 'FILEMENU': 2, 'threading': <module at remote 0x9acf254>, 'havecanfestival': True, 'ShowSplashScreen': <function at remote 0xb4cae17c>, 'eval_res': None, 'LIBRARYTREE': 7, 'splash': <_wxPyDeadObject(_name='AdvancedSplash') at remote 0xb529d0cc>, 'frame': <Beremiz(DisplayMenu=<Menu(this=<PySwigObject at remote 0xad4eef0>) at remote ...(truncated), co=0xb74fa530) at ../Python/ceval.c:667
    #66 run_mod (mod=<optimized out>, filename=<optimized out>, globals=
        {'random': <module at remote 0xb529b6ec>, 'GetBitmap': <function at remote 0xb7221e2c>, 'Semaphore': <function at remote 0x9ad472c>, 'tempfile': <module at remote 0xb529b3bc>, 'LOCATION_CONFNODE': 0, 'platform': <module at remote 0xb4c37cec>, 'AddExceptHook': <function at remote 0xac8764c>, '_nucmanager_path': '.', 'usage': <function at remote 0xb733da3c>, 'InstallLocalRessources': <function at remote 0xb7221cdc>, 'Thread': <type at remote 0x9b59554>, 'EDITORTOOLBAR': 1, '__file__': './yaplcide.py', 'LOCATION_VAR_INPUT': 3, 'os': <module at remote 0xb7569c8c>, 'ListType': <type at remote 0x82c6040>, 'ITEM_RESOURCE': 6, 'LOCATION_GROUP': 2, 'EditorPanel': <type at remote 0x98ffb4c>, 'FILEMENU': 2, 'threading': <module at remote 0x9acf254>, 'havecanfestival': True, 'ShowSplashScreen': <function at remote 0xb4cae17c>, 'eval_res': None, 'LIBRARYTREE': 7, 'splash': <_wxPyDeadObject(_name='AdvancedSplash') at remote 0xb529d0cc>, 'frame': <Beremiz(DisplayMenu=<Menu(this=<PySwigObject at remote 0xad4eef0>) at remote ...(truncated), locals=
        {'random': <module at remote 0xb529b6ec>, 'GetBitmap': <function at remote 0xb7221e2c>, 'Semaphore': <function at remote 0x9ad472c>, 'tempfile': <module at remote 0xb529b3bc>, 'LOCATION_CONFNODE': 0, 'platform': <module at remote 0xb4c37cec>, 'AddExceptHook': <function at remote 0xac8764c>, '_nucmanager_path': '.', 'usage': <function at remote 0xb733da3c>, 'InstallLocalRessources': <function at remote 0xb7221cdc>, 'Thread': <type at remote 0x9b59554>, 'EDITORTOOLBAR': 1, '__file__': './yaplcide.py', 'LOCATION_VAR_INPUT': 3, 'os': <module at remote 0xb7569c8c>, 'ListType': <type at remote 0x82c6040>, 'ITEM_RESOURCE': 6, 'LOCATION_GROUP': 2, 'EditorPanel': <type at remote 0x98ffb4c>, 'FILEMENU': 2, 'threading': <module at remote 0x9acf254>, 'havecanfestival': True, 'ShowSplashScreen': <function at remote 0xb4cae17c>, 'eval_res': None, 'LIBRARYTREE': 7, 'splash': <_wxPyDeadObject(_name='AdvancedSplash') at remote 0xb529d0cc>, 'frame': <Beremiz(DisplayMenu=<Menu(this=<PySwigObject at remote 0xad4eef0>) at remote ...(truncated), flags=0xbfe8845c, arena=0x9005fd8) at ../Python/pythonrun.c:1365
    #67 0x0809e9f9 in PyRun_FileExFlags (fp=fp@entry=0x903eb78, filename=filename@entry=0xbfe895cf "./yaplcide.py", start=start@entry=257, globals=globals@entry=
        {'random': <module at remote 0xb529b6ec>, 'GetBitmap': <function at remote 0xb7221e2c>, 'Semaphore': <function at remote 0x9ad472c>, 'tempfile': <module at remote 0xb529b3bc>, 'LOCATION_CONFNODE': 0, 'platform': <module at remote 0xb4c37cec>, 'AddExceptHook': <function at remote 0xac8764c>, '_nucmanager_path': '.', 'usage': <function at remote 0xb733da3c>, 'InstallLocalRessources': <function at remote 0xb7221cdc>, 'Thread': <type at remote 0x9b59554>, 'EDITORTOOLBAR': 1, '__file__': './yaplcide.py', 'LOCATION_VAR_INPUT': 3, 'os': <module at remote 0xb7569c8c>, 'ListType': <type at remote 0x82c6040>, 'ITEM_RESOURCE': 6, 'LOCATION_GROUP': 2, 'EditorPanel': <type at remote 0x98ffb4c>, 'FILEMENU': 2, 'threading': <module at remote 0x9acf254>, 'havecanfestival': True, 'ShowSplashScreen': <function at remote 0xb4cae17c>, 'eval_res': None, 'LIBRARYTREE': 7, 'splash': <_wxPyDeadObject(_name='AdvancedSplash') at remote 0xb529d0cc>, 'frame': <Beremiz(DisplayMenu=<Menu(this=<PySwigObject at remote 0xad4eef0>) at remote ...(truncated), locals=locals@entry=
        {'random': <module at remote 0xb529b6ec>, 'GetBitmap': <function at remote 0xb7221e2c>, 'Semaphore': <function at remote 0x9ad472c>, 'tempfile': <module at remote 0xb529b3bc>, 'LOCATION_CONFNODE': 0, 'platform': <module at remote 0xb4c37cec>, 'AddExceptHook': <function at remote 0xac8764c>, '_nucmanager_path': '.', 'usage': <function at remote 0xb733da3c>, 'InstallLocalRessources': <function at remote 0xb7221cdc>, 'Thread': <type at remote 0x9b59554>, 'EDITORTOOLBAR': 1, '__file__': './yaplcide.py', 'LOCATION_VAR_INPUT': 3, 'os': <module at remote 0xb7569c8c>, 'ListType': <type at remote 0x82c6040>, 'ITEM_RESOURCE': 6, 'LOCATION_GROUP': 2, 'EditorPanel': <type at remote 0x98ffb4c>, 'FILEMENU': 2, 'threading': <module at remote 0x9acf254>, 'havecanfestival': True, 'ShowSplashScreen': <function at remote 0xb4cae17c>, 'eval_res': None, 'LIBRARYTREE': 7, 'splash': <_wxPyDeadObject(_name='AdvancedSplash') at remote 0xb529d0cc>, 'frame': <Beremiz(DisplayMenu=<Menu(this=<PySwigObject at remote 0xad4eef0>) at remote ...(truncated), closeit=closeit@entry=1, flags=flags@entry=0xbfe8845c) at ../Python/pythonrun.c:1351
    #68 0x0809ed89 in PyRun_SimpleFileExFlags (fp=0x903eb78, filename=<optimized out>, closeit=1, flags=0xbfe8845c) at ../Python/pythonrun.c:943
    #69 0x0809f170 in PyRun_AnyFileExFlags (fp=fp@entry=0x903eb78, filename=<optimized out>, closeit=closeit@entry=1, flags=flags@entry=0xbfe8845c) at ../Python/pythonrun.c:747
    ---Type <return> to continue, or q <return> to quit---
    #70 0x0809fdb2 in Py_Main (argc=argc@entry=2, argv=argv@entry=0xbfe885a4) at ../Modules/main.c:639
    #71 0x0809fe86 in main (argc=2, argv=0xbfe885a4) at ../Modules/python.c:23
    
  3. Павел Бельтюков reporter

    And yes, here is the same error backtrace fo vanilla Beremiz:

    #0  0xb67897ae in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
    #1  0xb698518a in wxWindow::GTKProcessEvent(wxEvent&) const () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #2  0xb69f001e in wxTextCtrl::GTKProcessEvent(wxEvent&) const () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #3  0xb698ba1e in ?? () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #4  0xb62898a2 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #5  0xb5d5fe76 in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #6  0xb5d71c96 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #7  0xb5d79891 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #8  0xb5d79cd3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #9  0xb63c0dab in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #10 0xb63cf3e2 in gtk_widget_send_focus_change () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0                                                                                              
    #11 0xb63cf5db in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0                                                                                                                        
    #12 0xb63d0081 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0                                                                                                                        
    #13 0xb5d62f5c in g_cclosure_marshal_VOID__OBJECTv () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0                                                                                          
    #14 0xb5d5e7a7 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0                                                                                                                        
    #15 0xb5d60121 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0                                                                                                                        
    #16 0xb5d79279 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0                                                                                                      
    #17 0xb5d79cd3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #18 0xb63d433b in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #19 0xb63c3e30 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #20 0xb5d61c3a in g_cclosure_marshal_VOID__VOIDv () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #21 0xb5d5e7a7 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #22 0xb5d60121 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #23 0xb5d79279 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #24 0xb5d79cd3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #25 0xb63c24ce in gtk_widget_grab_focus () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #26 0xb6985c36 in wxWindow::SetFocus() () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #27 0xb6bf3ecc in wxGridWindow::OnMouseEvent(wxMouseEvent&) () from /usr/lib/i386-linux-gnu/libwx_gtk2u_adv-2.8.so.0
    #28 0xb66fab96 in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
    #29 0xb678930a in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
    #30 0xb6789485 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
    #31 0xb6789820 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
    #32 0xb698518a in wxWindow::GTKProcessEvent(wxEvent&) const () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #33 0xb698adfb in ?? () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #34 0xb62898a2 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #35 0xb5d5fe76 in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #36 0xb5d71945 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #37 0xb5d79891 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #38 0xb5d79cd3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #39 0xb63c0dab in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #40 0xb62879a4 in gtk_propagate_event () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #41 0xb6288000 in gtk_main_do_event () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #42 0xb60f0ae8 in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
    #43 0xb5c9d6d3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
    #44 0xb5c9da70 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
    #45 0xb5c9decb in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
    ---Type <return> to continue, or q <return> to quit---q
    Quit
    (gdb) bt 100
    #0  0xb67897ae in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
    #1  0xb698518a in wxWindow::GTKProcessEvent(wxEvent&) const () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #2  0xb69f001e in wxTextCtrl::GTKProcessEvent(wxEvent&) const () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #3  0xb698ba1e in ?? () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #4  0xb62898a2 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #5  0xb5d5fe76 in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #6  0xb5d71c96 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #7  0xb5d79891 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #8  0xb5d79cd3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #9  0xb63c0dab in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #10 0xb63cf3e2 in gtk_widget_send_focus_change () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #11 0xb63cf5db in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #12 0xb63d0081 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #13 0xb5d62f5c in g_cclosure_marshal_VOID__OBJECTv () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #14 0xb5d5e7a7 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #15 0xb5d60121 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #16 0xb5d79279 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #17 0xb5d79cd3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #18 0xb63d433b in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #19 0xb63c3e30 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #20 0xb5d61c3a in g_cclosure_marshal_VOID__VOIDv () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #21 0xb5d5e7a7 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #22 0xb5d60121 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #23 0xb5d79279 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #24 0xb5d79cd3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #25 0xb63c24ce in gtk_widget_grab_focus () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #26 0xb6985c36 in wxWindow::SetFocus() () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #27 0xb6bf3ecc in wxGridWindow::OnMouseEvent(wxMouseEvent&) () from /usr/lib/i386-linux-gnu/libwx_gtk2u_adv-2.8.so.0
    #28 0xb66fab96 in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
    #29 0xb678930a in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
    #30 0xb6789485 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
    #31 0xb6789820 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
    #32 0xb698518a in wxWindow::GTKProcessEvent(wxEvent&) const () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #33 0xb698adfb in ?? () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #34 0xb62898a2 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #35 0xb5d5fe76 in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #36 0xb5d71945 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #37 0xb5d79891 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #38 0xb5d79cd3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #39 0xb63c0dab in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #40 0xb62879a4 in gtk_propagate_event () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #41 0xb6288000 in gtk_main_do_event () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #42 0xb60f0ae8 in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
    #43 0xb5c9d6d3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
    #44 0xb5c9da70 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
    #45 0xb5c9decb in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
    ---Type <return> to continue, or q <return> to quit---
    #46 0xb6286ad0 in gtk_main () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #47 0xb697681a in wxEventLoop::Run() () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #48 0xb69fa52f in wxAppBase::MainLoop() () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
    #49 0xb6eb9343 in wxPyApp::MainLoop() () from /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core_.so
    #50 0xb6ee3ed6 in ?? () from /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core_.so
    #51 0x080eaa95 in ext_do_call (nk=182790860, na=<optimized out>, flags=<optimized out>, pp_stack=0xbf9285dc, func=<built-in function PyApp_MainLoop>) at ../Python/ceval.c:4331
    #52 PyEval_EvalFrameEx (f=f@entry=
        Frame 0xb14ce44, for file /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py, line 7306, in MainLoop (args=(<PySimpleApp(this=<PySwigObject at remote 0x947d518>, stdioWin=None, _CallAfterId=10322, saveStdio=(<file at remote 0xb7535078>, <file at remote 0xb75350d0>)) at remote 0x948362c>,), kwargs={}), throwflag=throwflag@entry=0) at ../Python/ceval.c:2705
    #53 0x080edd6e in PyEval_EvalCodeEx (co=0x8f58da0, globals=
        {'EVT_COMMAND_SCROLL': <PyEventBinder(evtType=[10055, 10056, 10057, 10058, 10059, 10060, 10061, 10062, 10063], expectedIDs=1) at remote 0x900a94c>, 'CLOSE_BOX': 4096, 'EVT_CALCULATE_LAYOUT': <PyEventBinder(evtType=[10228], expectedIDs=0) at remote 0x929928c>, 'ST_NO_AUTORESIZE': 1, 'AND_REVERSE': 4, 'MutexGuiLeave': <function at remote 0x946a534>, 'GREY_PEN': <Pen(this=<PySwigObject at remote 0x947d608>) at remote 0x91e870c>, 'EVT_POWER_SUSPENDING': <PyEventBinder(evtType=[0], expectedIDs=1) at remote 0x94832cc>, 'FRAME_DRAWER': 32, 'STATIC_BORDER': 16777216, 'SYS_VSCROLL_X': 28, 'SW_3D': 192, 'PNG_TYPE_COLOUR': 0, 'ACCEL_ALT': 1, 'TreeItemIcon_Normal': 0, 'CURSOR_MIDDLE_BUTTON': 10, 'LANGUAGE_VIETNAMESE': 221, 'DateSpan_Years': <function at remote 0x947e144>, 'LIST_HITTEST_BELOW': 2, 'GridBagSizer': <type at remote 0x90f2184>, 'WXK_MENU': 309, 'TextAttr_Merge': <function at remote 0x9368ed4>, 'ChildFocusEvent': <type at remote 0x9092a94>, 'C2S_CSS_SYNTAX': 2, 'ICON_EXCLAMATION': 256, 'WXK_NUMPAD_TAB': 369, '...(truncated), locals=locals@entry=0x0, args=args@entry=0xae52ab8, argcount=1, kws=kws@entry=0x0, 
        kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0) at ../Python/ceval.c:3253
    #54 0x081029ee in function_call (func=<function at remote 0x90168b4>, arg=
        (<PySimpleApp(this=<PySwigObject at remote 0x947d518>, stdioWin=None, _CallAfterId=10322, saveStdio=(<file at remote 0xb7535078>, <file at remote 0xb75350d0>)) at remote 0x948362c>,), kw=
        0x0) at ../Objects/funcobject.c:526
    #55 0x080b5cd5 in PyObject_Call (kw=0x0, arg=
        (<PySimpleApp(this=<PySwigObject at remote 0x947d518>, stdioWin=None, _CallAfterId=10322, saveStdio=(<file at remote 0xb7535078>, <file at remote 0xb75350d0>)) at remote 0x948362c>,), 
        func=<function at remote 0x90168b4>) at ../Objects/abstract.c:2529
    #56 instancemethod_call.8713 (func=<function at remote 0x90168b4>, arg=
        (<PySimpleApp(this=<PySwigObject at remote 0x947d518>, stdioWin=None, _CallAfterId=10322, saveStdio=(<file at remote 0xb7535078>, <file at remote 0xb75350d0>)) at remote 0x948362c>,), kw=
        0x0) at ../Objects/classobject.c:2602
    #57 0x080e7700 in PyObject_Call (kw=0x0, arg=
        (<PySimpleApp(this=<PySwigObject at remote 0x947d518>, stdioWin=None, _CallAfterId=10322, saveStdio=(<file at remote 0xb7535078>, <file at remote 0xb75350d0>)) at remote 0x948362c>,), 
        func=<instancemethod at remote 0xade2a04>) at ../Objects/abstract.c:2529
    #58 do_call (nk=0, na=<optimized out>, pp_stack=0xbf928a2c, func=<instancemethod at remote 0xade2a04>) at ../Python/ceval.c:4239
    #59 call_function (oparg=<optimized out>, pp_stack=0xbf928a2c) at ../Python/ceval.c:4044
    #60 PyEval_EvalFrameEx (f=f@entry=
        Frame 0xb14ccec, for file /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py, line 8010, in MainLoop (self=<PySimpleApp(this=<PySwigObject at remote 0x947d518>, stdioWin=None, _CallAfterId=10322, saveStdio=(<file at remote 0xb7535078>, <file at remote 0xb75350d0>)) at remote 0x948362c>), throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
    #61 0x080e7419 in fast_function (nk=<optimized out>, na=<optimized out>, n=1, pp_stack=0xbf928b1c, func=<function at remote 0x9018924>) at ../Python/ceval.c:4107
    #62 call_function (oparg=<optimized out>, pp_stack=0xbf928b1c) at ../Python/ceval.c:4042
    #63 PyEval_EvalFrameEx (f=f@entry=Frame 0x8e6d19c, for file beremiz/Beremiz.py, line 1256, in <module> (), throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
    #64 0x080edd6e in PyEval_EvalCodeEx (co=co@entry=0xb74bde78, globals=globals@entry=
        {'random': <module at remote 0xb719711c>, 'GetBitmap': <function at remote 0x94855dc>, 'tempfile': <module at remote 0xb749fe0c>, 'LOCATION_CONFNODE': 0, 'platform': <module at remote 0x96c7adc>, 'AddExceptHook': <function at remote 0xaf2d25c>, 'usage': <function at remote 0x9485454>, 'wxversion': <module at remote 0xb71a23d4>, 'InstallLocalRessources': <function at remote 0x9485534>, 'EDITORTOOLBAR': 1, '__file__': 'beremiz/Beremiz.py', 'LOCATION_VAR_INPUT': 3, 'ListType': <type at remote 0x82c6040>, 'ITEM_RESOURCE': 6, 'LOCATION_GROUP': 2, 'EditorPanel': <type at remote 0xadcf884>, 'FILEMENU': 2, 'threading': <module at remote 0x9d76044>, 'LIBRARYTREE': 7, 'frame': <Beremiz(DisplayMenu=<Menu(this=<PySwigObject at remote 0xaf2fb90>) at remote 0xaf337ac>, Log=<LogPseudoFile(black_white=32, risecall=<instancemethod at remote 0xade29b4>, TimerAccessLock=<thread.lock at remote 0xb71f5350>, lock=<thread.lock at remote 0xb71f5330>, rising_timer=<float at remote 0xad65d1c>, LastRefreshTimer=None, YieldLock=<thread....(truncated), locals=locals@entry=
        {'random': <module at remote 0xb719711c>, 'GetBitmap': <function at remote 0x94855dc>, 'tempfile': <module at remote 0xb749fe0c>, 'LOCATION_CONFNODE': 0, 'platform': <module at remote 0x96c7adc>, 'AddExceptHook': <function at remote 0xaf2d25c>, 'usage': <function at remote 0x9485454>, 'wxversion': <module at remote 0xb71a23d4>, 'InstallLocalRessources': <function at remote 0x94---Type <return> to continue, or q <return> to quit---
    85534>, 'EDITORTOOLBAR': 1, '__file__': 'beremiz/Beremiz.py', 'LOCATION_VAR_INPUT': 3, 'ListType': <type at remote 0x82c6040>, 'ITEM_RESOURCE': 6, 'LOCATION_GROUP': 2, 'EditorPanel': <type at remote 0xadcf884>, 'FILEMENU': 2, 'threading': <module at remote 0x9d76044>, 'LIBRARYTREE': 7, 'frame': <Beremiz(DisplayMenu=<Menu(this=<PySwigObject at remote 0xaf2fb90>) at remote 0xaf337ac>, Log=<LogPseudoFile(black_white=32, risecall=<instancemethod at remote 0xade29b4>, TimerAccessLock=<thread.lock at remote 0xb71f5350>, lock=<thread.lock at remote 0xb71f5330>, rising_timer=<float at remote 0xad65d1c>, LastRefreshTimer=None, YieldLock=<thread....(truncated), args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=kwcount@entry=0, 
        defs=defs@entry=0x0, defcount=defcount@entry=0, closure=closure@entry=0x0) at ../Python/ceval.c:3253
    #65 0x08195295 in PyEval_EvalCode (locals=
        {'random': <module at remote 0xb719711c>, 'GetBitmap': <function at remote 0x94855dc>, 'tempfile': <module at remote 0xb749fe0c>, 'LOCATION_CONFNODE': 0, 'platform': <module at remote 0x96c7adc>, 'AddExceptHook': <function at remote 0xaf2d25c>, 'usage': <function at remote 0x9485454>, 'wxversion': <module at remote 0xb71a23d4>, 'InstallLocalRessources': <function at remote 0x9485534>, 'EDITORTOOLBAR': 1, '__file__': 'beremiz/Beremiz.py', 'LOCATION_VAR_INPUT': 3, 'ListType': <type at remote 0x82c6040>, 'ITEM_RESOURCE': 6, 'LOCATION_GROUP': 2, 'EditorPanel': <type at remote 0xadcf884>, 'FILEMENU': 2, 'threading': <module at remote 0x9d76044>, 'LIBRARYTREE': 7, 'frame': <Beremiz(DisplayMenu=<Menu(this=<PySwigObject at remote 0xaf2fb90>) at remote 0xaf337ac>, Log=<LogPseudoFile(black_white=32, risecall=<instancemethod at remote 0xade29b4>, TimerAccessLock=<thread.lock at remote 0xb71f5350>, lock=<thread.lock at remote 0xb71f5330>, rising_timer=<float at remote 0xad65d1c>, LastRefreshTimer=None, YieldLock=<thread....(truncated), globals=
        {'random': <module at remote 0xb719711c>, 'GetBitmap': <function at remote 0x94855dc>, 'tempfile': <module at remote 0xb749fe0c>, 'LOCATION_CONFNODE': 0, 'platform': <module at remote 0x96c7adc>, 'AddExceptHook': <function at remote 0xaf2d25c>, 'usage': <function at remote 0x9485454>, 'wxversion': <module at remote 0xb71a23d4>, 'InstallLocalRessources': <function at remote 0x9485534>, 'EDITORTOOLBAR': 1, '__file__': 'beremiz/Beremiz.py', 'LOCATION_VAR_INPUT': 3, 'ListType': <type at remote 0x82c6040>, 'ITEM_RESOURCE': 6, 'LOCATION_GROUP': 2, 'EditorPanel': <type at remote 0xadcf884>, 'FILEMENU': 2, 'threading': <module at remote 0x9d76044>, 'LIBRARYTREE': 7, 'frame': <Beremiz(DisplayMenu=<Menu(this=<PySwigObject at remote 0xaf2fb90>) at remote 0xaf337ac>, Log=<LogPseudoFile(black_white=32, risecall=<instancemethod at remote 0xade29b4>, TimerAccessLock=<thread.lock at remote 0xb71f5350>, lock=<thread.lock at remote 0xb71f5330>, rising_timer=<float at remote 0xad65d1c>, LastRefreshTimer=None, YieldLock=<thread....(truncated), co=0xb74bde78) at ../Python/ceval.c:667
    #66 run_mod (mod=<optimized out>, filename=<optimized out>, globals=
        {'random': <module at remote 0xb719711c>, 'GetBitmap': <function at remote 0x94855dc>, 'tempfile': <module at remote 0xb749fe0c>, 'LOCATION_CONFNODE': 0, 'platform': <module at remote 0x96c7adc>, 'AddExceptHook': <function at remote 0xaf2d25c>, 'usage': <function at remote 0x9485454>, 'wxversion': <module at remote 0xb71a23d4>, 'InstallLocalRessources': <function at remote 0x9485534>, 'EDITORTOOLBAR': 1, '__file__': 'beremiz/Beremiz.py', 'LOCATION_VAR_INPUT': 3, 'ListType': <type at remote 0x82c6040>, 'ITEM_RESOURCE': 6, 'LOCATION_GROUP': 2, 'EditorPanel': <type at remote 0xadcf884>, 'FILEMENU': 2, 'threading': <module at remote 0x9d76044>, 'LIBRARYTREE': 7, 'frame': <Beremiz(DisplayMenu=<Menu(this=<PySwigObject at remote 0xaf2fb90>) at remote 0xaf337ac>, Log=<LogPseudoFile(black_white=32, risecall=<instancemethod at remote 0xade29b4>, TimerAccessLock=<thread.lock at remote 0xb71f5350>, lock=<thread.lock at remote 0xb71f5330>, rising_timer=<float at remote 0xad65d1c>, LastRefreshTimer=None, YieldLock=<thread....(truncated), locals=
        {'random': <module at remote 0xb719711c>, 'GetBitmap': <function at remote 0x94855dc>, 'tempfile': <module at remote 0xb749fe0c>, 'LOCATION_CONFNODE': 0, 'platform': <module at remote 0x96c7adc>, 'AddExceptHook': <function at remote 0xaf2d25c>, 'usage': <function at remote 0x9485454>, 'wxversion': <module at remote 0xb71a23d4>, 'InstallLocalRessources': <function at remote 0x9485534>, 'EDITORTOOLBAR': 1, '__file__': 'beremiz/Beremiz.py', 'LOCATION_VAR_INPUT': 3, 'ListType': <type at remote 0x82c6040>, 'ITEM_RESOURCE': 6, 'LOCATION_GROUP': 2, 'EditorPanel': <type at remote 0xadcf884>, 'FILEMENU': 2, 'threading': <module at remote 0x9d76044>, 'LIBRARYTREE': 7, 'frame': <Beremiz(DisplayMenu=<Menu(this=<PySwigObject at remote 0xaf2fb90>) at remote 0xaf337ac>, Log=<LogPseudoFile(black_white=32, risecall=<instancemethod at remote 0xade29b4>, TimerAccessLock=<thread.lock at remote 0xb71f5350>, lock=<thread.lock at remote 0xb71f5330>, rising_timer=<float at remote 0xad65d1c>, LastRefreshTimer=None, YieldLock=<thread....(truncated), flags=0xbf928cfc, arena=0x8e73fd8) at ../Python/pythonrun.c:1365
    #67 0x0809e9f9 in PyRun_FileExFlags (fp=fp@entry=0x8eacb78, filename=filename@entry=0xbf9295d7 "beremiz/Beremiz.py", start=start@entry=257, globals=globals@entry=
        {'random': <module at remote 0xb719711c>, 'GetBitmap': <function at remote 0x94855dc>, 'tempfile': <module at remote 0xb749fe0c>, 'LOCATION_CONFNODE': 0, 'platform': <module at remote 0x96c7adc>, 'AddExceptHook': <function at remote 0xaf2d25c>, 'usage': <function at remote 0x9485454>, 'wxversion': <module at remote 0xb71a23d4>, 'InstallLocalRessources': <function at remote 0x9485534>, 'EDITORTOOLBAR': 1, '__file__': 'beremiz/Beremiz.py', 'LOCATION_VAR_INPUT': 3, 'ListType': <type at remote 0x82c6040>, 'ITEM_RESOURCE': 6, 'LOCATION_GROUP': 2, 'EditorPanel': <type at remote 0xadcf884>, 'FILEMENU': 2, 'threading': <module at remote 0x9d76044>, 'LIBRARYTREE': 7, 'frame': <Beremiz(DisplayMenu=<Menu(this=<PySwigObject at remote 0xaf2fb90>) at remote 0xaf337ac>, Log=<LogPseudoFile(black_white=32, risecall=<instancemethod at remote 0xade29b4>, TimerAccessLock=<thread.lock at remote 0xb71f5350>, lock=<thread.lock at remote 0xb71f5330>, rising_timer=<float at remote 0xad65d1c>, LastRefreshTimer=None, YieldLock=<thread....(truncated), locals=locals@entry=
        {'random': <module at remote 0xb719711c>, 'GetBitmap': <function at remote 0x94855dc>, 'tempfile': <module at remote 0xb749fe0c>, 'LOCATION_CONFNODE': 0, 'platform': <module at remote 0x96c7adc>, 'AddExceptHook': <function at remote 0xaf2d25c>, 'usage': <function at remote 0x9485454>, 'wxversion': <module at remote 0xb71a23d4>, 'InstallLocalRessources': <function at remote 0x9485534>, 'EDITORTOOLBAR': 1, '__file__': 'beremiz/Beremiz.py', 'LOCATION_VAR_INPUT': 3, 'ListType': <type at remote 0x82c6040>, 'ITEM_RESOURCE': 6, 'LOCATION_GROUP': 2, 'EditorPanel': <type at remote 0xadcf884>, 'FILEMENU': 2, 'threading': <module at remote 0x9d76044>, 'LIBRARYTREE': 7, 'frame': <Beremiz(DisplayMenu=<Menu(this=<PySwigObject at remote 0xaf2fb90>) at remote 0xaf337ac>, Log=<LogPseudoFile(black_white=32, risecall=<instancemethod at remote 0xade29b4>, TimerAccessLock=<thread.lock at remote 0xb71f5350>, lock=<thread.lock at remote 0xb71f5330>, rising_timer=<float at remote 0xad65d1c>, LastRefreshTimer=None, YieldLock=<thread....(truncated), closeit=closeit@entry=1, flags=flags@entry=0xbf928cfc) at ../Python/pythonrun.c:1351
    #68 0x0809ed89 in PyRun_SimpleFileExFlags (fp=0x8eacb78, filename=<optimized out>, closeit=1, flags=0xbf928cfc) at ../Python/pythonrun.c:943
    #69 0x0809f170 in PyRun_AnyFileExFlags (fp=fp@entry=0x8eacb78, filename=<optimized out>, closeit=closeit@entry=1, flags=flags@entry=0xbf928cfc) at ../Python/pythonrun.c:747
    ---Type <return> to continue, or q <return> to quit---
    #70 0x0809fdb2 in Py_Main (argc=argc@entry=2, argv=argv@entry=0xbf928e44) at ../Modules/main.c:639
    #71 0x0809fe86 in main (argc=2, argv=0xbf928e44) at ../Modules/python.c:23
    
  4. Andrey Skvortsov

    Hi, I couldn't reproduce this issue on Debian Testing (Stretch). Maybe problem is in wxWidgets version in Wheezy.

  5. Сурков Сергей

    Hi Paul! I couldn't reproduce that bug on Windows with wxgtk 2.8, and Debian with wxgtk 3.0 .

  6. Павел Бельтюков reporter

    Hi, I think it may be wxWidgets/gtk bug in wheezy... I'll contact with my collegue, may be he will try to reproduce it on windows

  7. Павел Бельтюков reporter

    OK. My collegue says that he can't reproduce this on windows, so this is probably Wheezy related bug.

  8. Andrey Skvortsov

    Ok. Then I close the issue. If you'll have any new information about it, feel free to reopen it.

  9. Log in to comment