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
Domain: github.com
{"@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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:df022c25-ff7b-be94-da48-ffd81bb9eb0d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A82C:14A013:A2878:D9783:6A52EA17 |
| html-safe-nonce | 61fd72abdfad676a7d9f944301bedc6f856b2e5901c999fbe14f32bf445d7aab |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODJDOjE0QTAxMzpBMjg3ODpEOTc4Mzo2QTUyRUExNyIsInZpc2l0b3JfaWQiOiIxNzc3NjIxNTY2MTMxMjAyNTgzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 21baa2139fa524dccedfa438f0dc5e3dac26e64ae7122ae5d035111f9f1fe9ab |
| hovercard-subject-tag | issue:46401265 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/3690/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4752fb3fc73206b7a0164a46d1c176f06cc9db49527a537a42489edc5e847d7e/matplotlib/matplotlib/issues/3690 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4752fb3fc73206b7a0164a46d1c176f06cc9db49527a537a42489edc5e847d7e/matplotlib/matplotlib/issues/3690 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MichaelClerx |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width