René's URL Explorer Experiment


Title: Using Ctrl-W to close a matplotlib window opened by exec-ing a script in wxpython causes a segfault under linux · Issue #3690 · matplotlib/matplotlib · GitHub

Open Graph Title: Using Ctrl-W to close a matplotlib window opened by exec-ing a script in wxpython causes a segfault under linux · Issue #3690 · matplotlib/matplotlib

X Title: Using Ctrl-W to close a matplotlib window opened by exec-ing a script in wxpython causes a segfault under linux · Issue #3690 · matplotlib/matplotlib

Description: How to reproduce: import wx script = """ import matplotlib.pyplot as pl import numpy as np x = np.linspace(0, 1, 100) y = x ** 1.4 pl.figure() pl.plot(x, y) pl.show() """ class Main(wx.Frame): def __init__(self): super(Main, self).__init...

Open Graph Description: How to reproduce: import wx script = """ import matplotlib.pyplot as pl import numpy as np x = np.linspace(0, 1, 100) y = x ** 1.4 pl.figure() pl.plot(x, y) pl.show() """ class Main(wx.Frame): def ...

X Description: How to reproduce: import wx script = """ import matplotlib.pyplot as pl import numpy as np x = np.linspace(0, 1, 100) y = x ** 1.4 pl.figure() pl.plot(x, y) pl.show() ""&qu...

Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3690

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Using Ctrl-W to close a matplotlib window opened by exec-ing a script in wxpython causes a segfault under linux","articleBody":"How to reproduce:\n\n``` python\nimport wx\nscript = \"\"\"\nimport matplotlib.pyplot as pl\nimport numpy as np\n\nx = np.linspace(0, 1, 100)\ny = x ** 1.4\npl.figure()\npl.plot(x, y)\npl.show()\n\"\"\"\nclass Main(wx.Frame):\n    def __init__(self):\n        super(Main, self).__init__(None)\n        button = wx.Button(self, wx.ID_ANY, 'Run')\n        button.Bind(wx.EVT_BUTTON, self.action_run)\n        self.Show()\n    def action_run(self, e=None):\n        exec(script)\nif __name__ == '__main__':\n    app = wx.App(False)\n    frame = Main()\n    app.MainLoop()\n```\n\nRun the application, hit the run button and close the generated graph using Ctrl-W (closing the window in other ways does not crash the application).\n\nIt works fine on windows 7 (matplotlib 1.3.1 and wxpython 2.8.12.1 (msw-unicode)) but crashes under linux (matplotlib 1.3.1 and wxpython wx.2.8.12.0 (gtk2-unicode), Fedora 20, Gnome 3.10.2).\n\nNot sure if this is a wx, wxpython or matplotlib bug.\n\nSee also:\n1. http://trac.wxwidgets.org/ticket/16622\n2. http://stackoverflow.com/questions/26363208/\n\nDebug output from gdb:\n\n```\n[michael@localhost play]$ gdb --args python segfault-gui.py\nGNU gdb (GDB) Fedora 7.7.1-19.fc20\nCopyright (C) 2014 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later \u003chttp://gnu.org/licenses/gpl.html\u003e\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\nand \"show warranty\" for details.\nThis GDB was configured as \"x86_64-redhat-linux-gnu\".\nType \"show configuration\" for configuration details.\nFor bug reporting instructions, please see:\n\u003chttp://www.gnu.org/software/gdb/bugs/\u003e.\nFind the GDB manual and other documentation resources online at:\n\u003chttp://www.gnu.org/software/gdb/documentation/\u003e.\nFor help, type \"help\".\nType \"apropos word\" to search for commands related to \"word\"...\nReading symbols from python...Reading symbols from /usr/lib/debug/usr/bin/python2.7.debug...done.\ndone.\n(gdb) r\nStarting program: /usr/bin/python segfault-gui.py\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library \"/lib64/libthread_db.so.1\".\nTraceback (most recent call last):\n  File \"/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.3800.2-gdb.py\", line 9, in \u003cmodule\u003e\n    from gobject import register\n  File \"/usr/share/glib-2.0/gdb/gobject.py\", line 3, in \u003cmodule\u003e\n    import gdb.backtrace\nImportError: No module named backtrace\nMissing separate debuginfo for /lib64/libgraphite2.so.3\nTry: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/90/82e46860379c3dff9004eb8c9834e50afbb528.debug\n[New Thread 0x7fffee6b1700 (LWP 3733)]\n[New Thread 0x7fffedeb0700 (LWP 3734)]\n[New Thread 0x7fffed6af700 (LWP 3735)]\n[New Thread 0x7fffeceae700 (LWP 3736)]\n[Thread 0x7fffeceae700 (LWP 3736) exited]\n\nProgram received signal SIGSEGV, Segmentation fault.\nwxEvtHandler::SearchDynamicEventTable (this=this@entry=0x23e08d0, event=...)\n    at src/common/event.cpp:1412\n1412            if ((event.GetEventType() == entry-\u003em_eventType) \u0026\u0026 (entry-\u003em_fn != 0))\n(gdb) bt\n#0  wxEvtHandler::SearchDynamicEventTable (this=this@entry=0x23e08d0, \n    event=...) at src/common/event.cpp:1412\n#1  0x0000003a91ef09f2 in wxEvtHandler::ProcessEvent (this=0x23e08d0, \n    event=...) at src/common/event.cpp:1297\n#2  0x0000003a924079f7 in gtk_window_key_press_callback (\n    widget=widget@entry=0x10f4170, gdk_event=0x23e66b0, \n    win=win@entry=0x23e08d0) at src/gtk/window.cpp:1034\n#3  0x0000003a94b484ec in _gtk_marshal_BOOLEAN__BOXED (closure=0x1fdd550, \n    return_value=0x7fffffffc970, n_param_values=\u003coptimized out\u003e, \n    param_values=0x7fffffffca20, invocation_hint=\u003coptimized out\u003e, \n    marshal_data=\u003coptimized out\u003e) at gtkmarshalers.c:86\n#4  0x0000003a81e10298 in g_closure_invoke (closure=0x1fdd550, \n    return_value=return_value@entry=0x7fffffffc970, n_param_values=2, \n    param_values=param_values@entry=0x7fffffffca20, \n    invocation_hint=invocation_hint@entry=0x7fffffffc9c0) at gclosure.c:777\n#5  0x0000003a81e2235d in signal_emit_unlocked_R (node=node@entry=0x102b7b0, \n    detail=detail@entry=0, instance=instance@entry=0x10f4170, \n    emission_return=emission_return@entry=0x7fffffffcad0, \n    instance_and_params=instance_and_params@entry=0x7fffffffca20)\n    at gsignal.c:3586\n#6  0x0000003a81e29ddd in g_signal_emit_valist (instance=\u003coptimized out\u003e, \n    signal_id=\u003coptimized out\u003e, detail=\u003coptimized out\u003e, \n    var_args=var_args@entry=0x7fffffffcbb0) at gsignal.c:3340\n#7  0x0000003a81e2a3af in g_signal_emit (instance=instance@entry=0x10f4170, \n    signal_id=\u003coptimized out\u003e, detail=detail@entry=0) at gsignal.c:3386\n#8  0x0000003a94c777a4 in gtk_widget_event_internal (\n    widget=widget@entry=0x10f4170, event=event@entry=0x23e66b0)\n    at gtkwidget.c:5017\n#9  0x0000003a94c77a79 in IA__gtk_widget_event (\n    widget=widget@entry=0x10f4170, event=event@entry=0x23e66b0)\n    at gtkwidget.c:4814\n#10 0x0000003a94c8d2bb in IA__gtk_window_propagate_key_event (\n    window=window@entry=0x10645b0, event=event@entry=0x23e66b0)\n    at gtkwindow.c:5199\n#11 0x0000003a94c8fe13 in gtk_window_key_press_event (widget=0x10645b0, \n    event=0x23e66b0) at gtkwindow.c:5229\n#12 0x0000003a94b484ec in _gtk_marshal_BOOLEAN__BOXED (closure=0x102b760, \n    return_value=0x7fffffffce40, n_param_values=\u003coptimized out\u003e, \n    param_values=0x7fffffffcef0, invocation_hint=\u003coptimized out\u003e, \n    marshal_data=\u003coptimized out\u003e) at gtkmarshalers.c:86\n#13 0x0000003a81e10298 in g_closure_invoke (closure=closure@entry=0x102b760, \n    return_value=return_value@entry=0x7fffffffce40, n_param_values=2, \n    param_values=param_values@entry=0x7fffffffcef0, \n    invocation_hint=invocation_hint@entry=0x7fffffffce90) at gclosure.c:777\n#14 0x0000003a81e2211b in signal_emit_unlocked_R (node=node@entry=0x102b7b0, \n    detail=detail@entry=0, instance=instance@entry=0x10645b0, \n    emission_return=emission_return@entry=0x7fffffffcfa0, \n    instance_and_params=instance_and_params@entry=0x7fffffffcef0)\n    at gsignal.c:3624\n---Type \u003creturn\u003e to continue, or q \u003creturn\u003e to quit---\n#15 0x0000003a81e29ddd in g_signal_emit_valist (instance=\u003coptimized out\u003e, \n    signal_id=\u003coptimized out\u003e, detail=\u003coptimized out\u003e, \n    var_args=var_args@entry=0x7fffffffd080) at gsignal.c:3340\n#16 0x0000003a81e2a3af in g_signal_emit (instance=instance@entry=0x10645b0, \n    signal_id=\u003coptimized out\u003e, detail=detail@entry=0) at gsignal.c:3386\n#17 0x0000003a94c777a4 in gtk_widget_event_internal (\n    widget=widget@entry=0x10645b0, event=event@entry=0x23e66b0)\n    at gtkwidget.c:5017\n#18 0x0000003a94c77a79 in IA__gtk_widget_event (\n    widget=widget@entry=0x10645b0, event=event@entry=0x23e66b0)\n    at gtkwidget.c:4814\n#19 0x0000003a94b467e7 in IA__gtk_propagate_event (widget=0x10645b0, \n    event=0x23e66b0) at gtkmain.c:2464\n#20 0x0000003a94b46b0b in IA__gtk_main_do_event (event=0x23e66b0)\n    at gtkmain.c:1685\n#21 0x0000003a9526040c in gdk_event_dispatch (source=source@entry=0x867810, \n    callback=\u003coptimized out\u003e, user_data=\u003coptimized out\u003e)\n    at gdkevents-x11.c:2403\n#22 0x0000003a80a492a6 in g_main_dispatch (context=0xc1f0b0) at gmain.c:3066\n#23 g_main_context_dispatch (context=context@entry=0xc1f0b0) at gmain.c:3642\n#24 0x0000003a80a49628 in g_main_context_iterate (context=0xc1f0b0, \n    block=block@entry=1, dispatch=dispatch@entry=1, self=\u003coptimized out\u003e)\n    at gmain.c:3713\n#25 0x0000003a80a49a3a in g_main_loop_run (loop=0x10e9ae0) at gmain.c:3907\n#26 0x0000003a94b45b57 in IA__gtk_main () at gtkmain.c:1257\n#27 0x0000003a923f718a in wxEventLoop::Run (this=0x10f6310)\n    at src/gtk/evtloop.cpp:76\n#28 0x0000003a92476a3b in wxAppBase::MainLoop (this=this@entry=0xa93950)\n    at src/common/appcmn.cpp:312\n#29 0x00007ffff14293af in wxPyApp::MainLoop (this=0xa93950)\n    at src/helpers.cpp:215\n#30 0x00007ffff146a81c in _wrap_PyApp_MainLoop (args=\u003coptimized out\u003e)\n    at src/gtk/_core_wrap.cpp:31691\n#31 0x00000039a7ce16f2 in ext_do_call (nk=\u003coptimized out\u003e, \n    na=\u003coptimized out\u003e, flags=\u003coptimized out\u003e, pp_stack=0x7fffffffd5a0, \n    func=\u003cbuilt-in function PyApp_MainLoop\u003e)\n    at /usr/src/debug/Python-2.7.5/Python/ceval.c:4408\n#32 PyEval_EvalFrameEx (\n    f=f@entry=Frame 0x10f8670, for file /usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py, line 7306, in MainLoop (args=(\u003cApp(this=\u003cPySwigObject at remote 0x7ffff7ef0360\u003e, stdioWin=None, saveStdio=(\u003cfile at remote 0x7ffff7f99150\u003e, \u003cfile at remote 0x7ffff7f991e0\u003e)) at remote 0x7ffff1977490\u003e,), kwargs={}), throwflag=throwflag@entry=0)\n    at /usr/src/debug/Python-2.7.5/Python/ceval.c:2779\n#33 0x00000039a7ce21dd in PyEval_EvalCodeEx (co=\u003coptimized out\u003e, \n    globals=\u003coptimized out\u003e, locals=locals@entry=0x0, \n    args=args@entry=0x7ffff1751728, argcount=1, kws=kws@entry=0x0, \n    kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, \n    closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n---Type \u003creturn\u003e to continue, or q \u003creturn\u003e to quit---\n#34 0x00000039a7c6f0d8 in function_call (func=\u003cfunction at remote 0x827500\u003e, \n    arg=(\u003cApp(this=\u003cPySwigObject at remote 0x7ffff7ef0360\u003e, stdioWin=None, saveStdio=(\u003cfile at remote 0x7ffff7f99150\u003e, \u003cfile at remote 0x7ffff7f991e0\u003e)) at remote 0x7ffff1977490\u003e,), kw=0x0)\n    at /usr/src/debug/Python-2.7.5/Objects/funcobject.c:526\n#35 0x00000039a7c4a0d3 in PyObject_Call (\n    func=func@entry=\u003cfunction at remote 0x827500\u003e, \n    arg=arg@entry=(\u003cApp(this=\u003cPySwigObject at remote 0x7ffff7ef0360\u003e, stdioWin=None, saveStdio=(\u003cfile at remote 0x7ffff7f99150\u003e, \u003cfile at remote 0x7ffff7f991e0\u003e)) at remote 0x7ffff1977490\u003e,), kw=kw@entry=0x0)\n    at /usr/src/debug/Python-2.7.5/Objects/abstract.c:2529\n#36 0x00000039a7c590c5 in instancemethod_call (\n    func=\u003cfunction at remote 0x827500\u003e, \n    arg=(\u003cApp(this=\u003cPySwigObject at remote 0x7ffff7ef0360\u003e, stdioWin=None, saveStdio=(\u003cfile at remote 0x7ffff7f99150\u003e, \u003cfile at remote 0x7ffff7f991e0\u003e)) at remote 0x7ffff1977490\u003e,), kw=0x0)\n    at /usr/src/debug/Python-2.7.5/Objects/classobject.c:2602\n#37 0x00000039a7c4a0d3 in PyObject_Call (\n    func=func@entry=\u003cinstancemethod at remote 0x8b6280\u003e, \n    arg=arg@entry=(\u003cApp(this=\u003cPySwigObject at remote 0x7ffff7ef0360\u003e, stdioWin=None, saveStdio=(\u003cfile at remote 0x7ffff7f99150\u003e, \u003cfile at remote 0x7ffff7f991e0\u003e)) at remote 0x7ffff1977490\u003e,), kw=kw@entry=0x0)\n    at /usr/src/debug/Python-2.7.5/Objects/abstract.c:2529\n#38 0x00000039a7cde37c in do_call (nk=\u003coptimized out\u003e, na=1, \n    pp_stack=0x7fffffffdaf0, func=\u003cinstancemethod at remote 0x8b6280\u003e)\n    at /usr/src/debug/Python-2.7.5/Python/ceval.c:4316\n#39 call_function (oparg=\u003coptimized out\u003e, pp_stack=0x7fffffffdaf0)\n    at /usr/src/debug/Python-2.7.5/Python/ceval.c:4121\n#40 PyEval_EvalFrameEx (\n    f=f@entry=Frame 0x10f84b0, for file /usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py, line 8010, in MainLoop (self=\u003cApp(this=\u003cPySwigObject at remote 0x7ffff7ef0360\u003e, stdioWin=None, saveStdio=(\u003cfile at remote 0x7ffff7f99150\u003e, \u003cfile at remote 0x7ffff7f991e0\u003e)) at remote 0x7ffff1977490\u003e), \n    throwflag=throwflag@entry=0)\n    at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740\n#41 0x00000039a7ce0980 in fast_function (nk=\u003coptimized out\u003e, na=1, n=1, \n    pp_stack=0x7fffffffdc50, func=\u003cfunction at remote 0x8298c0\u003e)\n    at /usr/src/debug/Python-2.7.5/Python/ceval.c:4184\n#42 call_function (oparg=\u003coptimized out\u003e, pp_stack=0x7fffffffdc50)\n    at /usr/src/debug/Python-2.7.5/Python/ceval.c:4119\n#43 PyEval_EvalFrameEx (\n    f=f@entry=Frame 0x6cc750, for file segfault-gui.py, line 23, in \u003cmodule\u003e (), throwflag=throwflag@entry=0)\n    at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740\n#44 0x00000039a7ce21dd in PyEval_EvalCodeEx (co=co@entry=0x7ffff7ed79b0, \n    globals=globals@entry={'script': '\\nimport matplotlib.pyplot as pl\\nimport numpy as np\\n\\nx = np.linspace(0, 1, 100)\\ny = x ** 1.4\\npl.figure()\\npl.plot(x, y)\\npl.show()\\n', '__builtins__': \u003cmodule at remote 0x7ffff7f7eb08\u003e, '__file__': 'segfault-gui.py', '__package__': None, 'frame': \u003cMain(this=\u003cPySwigObject a---Type \u003creturn\u003e to continue, or q \u003creturn\u003e to quit---\nt remote 0xe86cf0\u003e) at remote 0x7ffff1928d50\u003e, '__name__': '__main__', 'app': \u003cApp(this=\u003cPySwigObject at remote 0x7ffff7ef0360\u003e, stdioWin=None, saveStdio=(\u003cfile at remote 0x7ffff7f99150\u003e, \u003cfile at remote 0x7ffff7f991e0\u003e)) at remote 0x7ffff1977490\u003e, 'Main': \u003ctype at remote 0xc86090\u003e, '__doc__': None, 'wx': \u003cmodule at remote 0x7ffff7ee8910\u003e}, \n    locals=locals@entry={'script': '\\nimport matplotlib.pyplot as pl\\nimport numpy as np\\n\\nx = np.linspace(0, 1, 100)\\ny = x ** 1.4\\npl.figure()\\npl.plot(x, y)\\npl.show()\\n', '__builtins__': \u003cmodule at remote 0x7ffff7f7eb08\u003e, '__file__': 'segfault-gui.py', '__package__': None, 'frame': \u003cMain(this=\u003cPySwigObject at remote 0xe86cf0\u003e) at remote 0x7ffff1928d50\u003e, '__name__': '__main__', 'app': \u003cApp(this=\u003cPySwigObject at remote 0x7ffff7ef0360\u003e, stdioWin=None, saveStdio=(\u003cfile at remote 0x7ffff7f99150\u003e, \u003cfile at remote 0x7ffff7f991e0\u003e)) at remote 0x7ffff1977490\u003e, 'Main': \u003ctype at remote 0xc86090\u003e, '__doc__': None, 'wx': \u003cmodule at remote 0x7ffff7ee8910\u003e}, args=args@entry=0x0, argcount=argcount@entry=0, \n    kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, \n    defcount=defcount@entry=0, closure=closure@entry=0x0)\n    at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330\n#45 0x00000039a7ce22e2 in PyEval_EvalCode (co=co@entry=0x7ffff7ed79b0, \n    globals=globals@entry={'script': '\\nimport matplotlib.pyplot as pl\\nimport numpy as np\\n\\nx = np.linspace(0, 1, 100)\\ny = x ** 1.4\\npl.figure()\\npl.plot(x, y)\\npl.show()\\n', '__builtins__': \u003cmodule at remote 0x7ffff7f7eb08\u003e, '__file__': 'segfault-gui.py', '__package__': None, 'frame': \u003cMain(this=\u003cPySwigObject at remote 0xe86cf0\u003e) at remote 0x7ffff1928d50\u003e, '__name__': '__main__', 'app': \u003cApp(this=\u003cPySwigObject at remote 0x7ffff7ef0360\u003e, stdioWin=None, saveStdio=(\u003cfile at remote 0x7ffff7f99150\u003e, \u003cfile at remote 0x7ffff7f991e0\u003e)) at remote 0x7ffff1977490\u003e, 'Main': \u003ctype at remote 0xc86090\u003e, '__doc__': None, 'wx': \u003cmodule at remote 0x7ffff7ee8910\u003e}, \n    locals=locals@entry={'script': '\\nimport matplotlib.pyplot as pl\\nimport numpy as np\\n\\nx = np.linspace(0, 1, 100)\\ny = x ** 1.4\\npl.figure()\\npl.plot(x, y)\\npl.show()\\n', '__builtins__': \u003cmodule at remote 0x7ffff7f7eb08\u003e, '__file__': 'segfault-gui.py', '__package__': None, 'frame': \u003cMain(this=\u003cPySwigObject at remote 0xe86cf0\u003e) at remote 0x7ffff1928d50\u003e, '__name__': '__main__', 'app': \u003cApp(this=\u003cPySwigObject at remote 0x7ffff7ef0360\u003e, stdioWin=None, saveStdio=(\u003cfile at remote 0x7ffff7f99150\u003e, \u003cfile at remote 0x7ffff7f991e0\u003e)) at remote 0x7ffff1977490\u003e, 'Main': \u003ctype at remote 0xc86090\u003e, '__doc__': None, 'wx': \u003cmodule at remote 0x7ffff7ee8910\u003e}) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689\n#46 0x00000039a7cfb71f in run_mod (mod=\u003coptimized out\u003e, \n    filename=filename@entry=0x7fffffffe3aa \"segfault-gui.py\", \n    globals=globals@entry={'script': '\\nimport matplotlib.pyplot as pl\\nimport numpy as np\\n\\nx = np.linspace(0, 1, 100)\\ny = x ** 1.4\\npl.figure()\\npl.plot(x, y)\\npl.show()\\n', '__builtins__': \u003cmodule at remote 0x7ffff7f7eb08\u003e, '__file__': 'segfault-gui.py', '__package__': None, 'frame': \u003cMain(this=\u003cPySwigObject at remote 0xe86cf0\u003e) at remote 0x7ffff1928d50\u003e, '__name__': '__main__', 'app': \u003cApp(this=\u003cPySwigObject at remote 0x7ffff7ef0360\u003e, stdioWin=None, saveStdio=(\u003cfile at remote 0x7ffff7f99150\u003e, \u003cfile at remote 0x7ffff7f991e0\u003e)) at remote 0x7ffff1977490\u003e, 'Main': \u003ctype at remote 0xc86090\u003e, '__doc__': None, 'wx': \u003cmodule at remote 0x7ffff7ee8910\u003e}, \n    locals=locals@entry={'script': '\\nimport matplotlib.pyplot as pl\\nimport numpy as np\\n\\nx = np.linspace(0, 1, 100)\\ny = x ** 1.4\\npl.figure()\\npl.plot(x, ---Type \u003creturn\u003e to continue, or q \u003creturn\u003e to quit---\ny)\\npl.show()\\n', '__builtins__': \u003cmodule at remote 0x7ffff7f7eb08\u003e, '__file__': 'segfault-gui.py', '__package__': None, 'frame': \u003cMain(this=\u003cPySwigObject at remote 0xe86cf0\u003e) at remote 0x7ffff1928d50\u003e, '__name__': '__main__', 'app': \u003cApp(this=\u003cPySwigObject at remote 0x7ffff7ef0360\u003e, stdioWin=None, saveStdio=(\u003cfile at remote 0x7ffff7f99150\u003e, \u003cfile at remote 0x7ffff7f991e0\u003e)) at remote 0x7ffff1977490\u003e, 'Main': \u003ctype at remote 0xc86090\u003e, '__doc__': None, 'wx': \u003cmodule at remote 0x7ffff7ee8910\u003e}, flags=flags@entry=0x7fffffffdeb0, \n    arena=arena@entry=0x6b9570)\n    at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1373\n#47 0x00000039a7cfc8de in PyRun_FileExFlags (fp=fp@entry=0x6b7bc0, \n    filename=filename@entry=0x7fffffffe3aa \"segfault-gui.py\", \n    start=start@entry=257, \n    globals=globals@entry={'script': '\\nimport matplotlib.pyplot as pl\\nimport numpy as np\\n\\nx = np.linspace(0, 1, 100)\\ny = x ** 1.4\\npl.figure()\\npl.plot(x, y)\\npl.show()\\n', '__builtins__': \u003cmodule at remote 0x7ffff7f7eb08\u003e, '__file__': 'segfault-gui.py', '__package__': None, 'frame': \u003cMain(this=\u003cPySwigObject at remote 0xe86cf0\u003e) at remote 0x7ffff1928d50\u003e, '__name__': '__main__', 'app': \u003cApp(this=\u003cPySwigObject at remote 0x7ffff7ef0360\u003e, stdioWin=None, saveStdio=(\u003cfile at remote 0x7ffff7f99150\u003e, \u003cfile at remote 0x7ffff7f991e0\u003e)) at remote 0x7ffff1977490\u003e, 'Main': \u003ctype at remote 0xc86090\u003e, '__doc__': None, 'wx': \u003cmodule at remote 0x7ffff7ee8910\u003e}, \n    locals=locals@entry={'script': '\\nimport matplotlib.pyplot as pl\\nimport numpy as np\\n\\nx = np.linspace(0, 1, 100)\\ny = x ** 1.4\\npl.figure()\\npl.plot(x, y)\\npl.show()\\n', '__builtins__': \u003cmodule at remote 0x7ffff7f7eb08\u003e, '__file__': 'segfault-gui.py', '__package__': None, 'frame': \u003cMain(this=\u003cPySwigObject at remote 0xe86cf0\u003e) at remote 0x7ffff1928d50\u003e, '__name__': '__main__', 'app': \u003cApp(this=\u003cPySwigObject at remote 0x7ffff7ef0360\u003e, stdioWin=None, saveStdio=(\u003cfile at remote 0x7ffff7f99150\u003e, \u003cfile at remote 0x7ffff7f991e0\u003e)) at remote 0x7ffff1977490\u003e, 'Main': \u003ctype at remote 0xc86090\u003e, '__doc__': None, 'wx': \u003cmodule at remote 0x7ffff7ee8910\u003e}, closeit=closeit@entry=1, \n    flags=flags@entry=0x7fffffffdeb0)\n    at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:1359\n#48 0x00000039a7cfdb69 in PyRun_SimpleFileExFlags (fp=fp@entry=0x6b7bc0, \n    filename=filename@entry=0x7fffffffe3aa \"segfault-gui.py\", \n    closeit=closeit@entry=1, flags=flags@entry=0x7fffffffdeb0)\n    at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:951\n#49 0x00000039a7cfe093 in PyRun_AnyFileExFlags (fp=fp@entry=0x6b7bc0, \n    filename=filename@entry=0x7fffffffe3aa \"segfault-gui.py\", \n    closeit=closeit@entry=1, flags=flags@entry=0x7fffffffdeb0)\n    at /usr/src/debug/Python-2.7.5/Python/pythonrun.c:755\n#50 0x00000039a7d0eb7f in Py_Main (argc=\u003coptimized out\u003e, argv=\u003coptimized out\u003e)\n    at /usr/src/debug/Python-2.7.5/Modules/main.c:640\n#51 0x0000003a7ee21d65 in __libc_start_main (main=0x4006f0 \u003cmain\u003e, argc=2, \n    argv=0x7fffffffe078, init=\u003coptimized out\u003e, fini=\u003coptimized out\u003e, \n    rtld_fini=\u003coptimized out\u003e, stack_end=0x7fffffffe068) at libc-start.c:285\n#52 0x0000000000400721 in _start ()\n```\n","author":{"url":"https://github.com/MichaelClerx","@type":"Person","name":"MichaelClerx"},"datePublished":"2014-10-21T14:40:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/3690/matplotlib/issues/3690"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:df022c25-ff7b-be94-da48-ffd81bb9eb0d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA82C:14A013:A2878:D9783:6A52EA17
html-safe-nonce61fd72abdfad676a7d9f944301bedc6f856b2e5901c999fbe14f32bf445d7aab
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODJDOjE0QTAxMzpBMjg3ODpEOTc4Mzo2QTUyRUExNyIsInZpc2l0b3JfaWQiOiIxNzc3NjIxNTY2MTMxMjAyNTgzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac21baa2139fa524dccedfa438f0dc5e3dac26e64ae7122ae5d035111f9f1fe9ab
hovercard-subject-tagissue:46401265
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/3690/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4752fb3fc73206b7a0164a46d1c176f06cc9db49527a537a42489edc5e847d7e/matplotlib/matplotlib/issues/3690
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4752fb3fc73206b7a0164a46d1c176f06cc9db49527a537a42489edc5e847d7e/matplotlib/matplotlib/issues/3690
og:image:altHow to reproduce: import wx script = """ import matplotlib.pyplot as pl import numpy as np x = np.linspace(0, 1, 100) y = x ** 1.4 pl.figure() pl.plot(x, y) pl.show() """ class Main(wx.Frame): def ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMichaelClerx
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/issues/3690#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F3690
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F3690
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/issues/3690
Reloadhttps://github.com/matplotlib/matplotlib/issues/3690
Reloadhttps://github.com/matplotlib/matplotlib/issues/3690
Please reload this pagehttps://github.com/matplotlib/matplotlib/issues/3690
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/issues/3690
Notifications https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Fork 8.4k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Star 23k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Code https://github.com/matplotlib/matplotlib
Issues 1.1k https://github.com/matplotlib/matplotlib/issues
Pull requests 408 https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality 0 https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Code https://github.com/matplotlib/matplotlib
Issues https://github.com/matplotlib/matplotlib/issues
Pull requests https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Using Ctrl-W to close a matplotlib window opened by exec-ing a script in wxpython causes a segfault under linuxhttps://github.com/matplotlib/matplotlib/issues/3690#top
https://github.com/DietmarSchwertberger
GUI: wxhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22GUI%3A%20wx%22
status: confirmed bughttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20confirmed%20bug%22
topic: widgets/UIhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20widgets%2FUI%22
v2.2.0https://github.com/matplotlib/matplotlib/milestone/31
https://github.com/MichaelClerx
MichaelClerxhttps://github.com/MichaelClerx
on Oct 21, 2014https://github.com/matplotlib/matplotlib/issues/3690#issue-46401265
http://trac.wxwidgets.org/ticket/16622http://trac.wxwidgets.org/ticket/16622
http://stackoverflow.com/questions/26363208/http://stackoverflow.com/questions/26363208/
DietmarSchwertbergerhttps://github.com/DietmarSchwertberger
GUI: wxhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22GUI%3A%20wx%22
status: confirmed bughttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20confirmed%20bug%22
topic: widgets/UIhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20widgets%2FUI%22
v2.2.0https://github.com/matplotlib/matplotlib/milestone/31
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.