Title: pyplot hangs at plot() · Issue #10648 · matplotlib/matplotlib · GitHub
Open Graph Title: pyplot hangs at plot() · Issue #10648 · matplotlib/matplotlib
X Title: pyplot hangs at plot() · Issue #10648 · matplotlib/matplotlib
Description: Bug report pyplot hangs for simple example. This issue is there for a while now (~1 year). I was expecting this would get solved eventually. I've tried reinstalling ubuntu 16.04, but that didn't solve the issue. Code for reproduction imp...
Open Graph Description: Bug report pyplot hangs for simple example. This issue is there for a while now (~1 year). I was expecting this would get solved eventually. I've tried reinstalling ubuntu 16.04, but that didn't so...
X Description: Bug report pyplot hangs for simple example. This issue is there for a while now (~1 year). I was expecting this would get solved eventually. I've tried reinstalling ubuntu 16.04, but that didn&...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/10648
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pyplot hangs at plot()","articleBody":"### Bug report\r\n\r\npyplot hangs for simple example.\r\nThis issue is there for a while now (~1 year). I was expecting this would get solved eventually.\r\nI've tried reinstalling ubuntu 16.04, but that didn't solve the issue.\r\n\r\n**Code for reproduction**\r\n\r\n```python\r\nimport matplotlib.pyplot as plt\r\nplt.plot([1, 2, 3, 4])\r\nplt.ylabel('some numbers')\r\nplt.show()\r\n```\r\n\r\n**Actual outcome**\r\nConsole gets stuck. I've even left it overnight but console was still stuck. \r\n'top' shows python at 100%. \r\n\r\nif I run commands 1 line at a time then IDLE gets stuck at 'plt.plot([1, 2, 3, 4])'.\r\n\r\ngdb backtrace when script gets hung:\r\n```\r\nusername@username-ubuntu:~/Desktop$ gdb --args python3 plot.py\r\nGNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1\r\nCopyright (C) 2016 Free Software Foundation, Inc.\r\nLicense GPLv3+: GNU GPL version 3 or later \u003chttp://gnu.org/licenses/gpl.html\u003e\r\nThis is free software: you are free to change and redistribute it.\r\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\r\nand \"show warranty\" for details.\r\nThis GDB was configured as \"x86_64-linux-gnu\".\r\nType \"show configuration\" for configuration details.\r\nFor bug reporting instructions, please see:\r\n\u003chttp://www.gnu.org/software/gdb/bugs/\u003e.\r\nFind the GDB manual and other documentation resources online at:\r\n\u003chttp://www.gnu.org/software/gdb/documentation/\u003e.\r\nFor help, type \"help\".\r\nType \"apropos word\" to search for commands related to \"word\"...\r\nReading symbols from python3...Reading symbols from /usr/lib/debug/.build-id/59/a8ef36ca241df24686952480966d7bc0d7c6ea.debug...done.\r\ndone.\r\n(gdb) r\r\nStarting program: /usr/bin/python3 plot.py\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\r\n[New Thread 0x7ffff27d5700 (LWP 5997)]\r\n[New Thread 0x7ffff1fd4700 (LWP 5998)]\r\n[New Thread 0x7fffed7d3700 (LWP 5999)]\r\n^C\r\nThread 1 \"python3\" received signal SIGINT, Interrupt.\r\n0x00007ffff44fb34b in dgemm_itcopy_EXCAVATOR () from /usr/lib/libopenblas.so.0\r\n(gdb) bt\r\n#0 0x00007ffff44fb34b in dgemm_itcopy_EXCAVATOR () from /usr/lib/libopenblas.so.0\r\n#1 0x00007ffff311de89 in dgemm_nn () from /usr/lib/libopenblas.so.0\r\n#2 0x00007ffff501c49d in cblas_dgemm () from /usr/lib/libblas.so.3\r\n#3 0x00007ffff534a8e9 in ?? () from /usr/lib/python3/dist-packages/numpy/core/multiarray.cpython-35m-x86_64-linux-gnu.so\r\n#4 0x00007ffff531f7f4 in ?? () from /usr/lib/python3/dist-packages/numpy/core/multiarray.cpython-35m-x86_64-linux-gnu.so\r\n#5 0x00007ffff53202f9 in ?? () from /usr/lib/python3/dist-packages/numpy/core/multiarray.cpython-35m-x86_64-linux-gnu.so\r\n#6 0x00000000004e9ba7 in PyCFunction_Call () at ../Objects/methodobject.c:98\r\n#7 0x00000000005372f4 in call_function (oparg=\u003coptimized out\u003e, pp_stack=0x7fffffffcb80) at ../Python/ceval.c:4705\r\n#8 PyEval_EvalFrameEx () at ../Python/ceval.c:3236\r\n#9 0x0000000000540199 in _PyEval_EvalCodeWithName () at ../Python/ceval.c:4018\r\n#10 0x000000000053bd92 in fast_function (nk=\u003coptimized out\u003e, na=\u003coptimized out\u003e, n=\u003coptimized out\u003e, pp_stack=0x7fffffffcd90, func=\u003coptimized out\u003e)\r\n at ../Python/ceval.c:4813\r\n#11 call_function (oparg=\u003coptimized out\u003e, pp_stack=0x7fffffffcd90) at ../Python/ceval.c:4730\r\n#12 PyEval_EvalFrameEx () at ../Python/ceval.c:3236\r\n#13 0x0000000000540f9b in _PyEval_EvalCodeWithName (qualname=0x0, name=0x0, closure=0x0, kwdefs=0x0, defcount=8, defs=0x7fffe5ccc920, kwcount=5, kws=\u003coptimized out\u003e, \r\n argcount=\u003coptimized out\u003e, args=\u003coptimized out\u003e, locals=\u003coptimized out\u003e, globals=\u003coptimized out\u003e, _co=\u003ccode at remote 0x7fffea8e5c00\u003e) at ../Python/ceval.c:4018\r\n#14 PyEval_EvalCodeEx () at ../Python/ceval.c:4039\r\n#15 0x00000000004ebe37 in function_call.lto_priv () at ../Objects/funcobject.c:627\r\n#16 0x00000000005c1797 in PyObject_Call () at ../Objects/abstract.c:2165\r\n#17 0x00000000004fb9ce in method_call.lto_priv () at ../Objects/classobject.c:330\r\n#18 0x00000000005c1797 in PyObject_Call () at ../Objects/abstract.c:2165\r\n#19 0x0000000000574999 in slot_tp_init () at ../Objects/typeobject.c:6268\r\n#20 0x000000000057f03c in type_call.lto_priv () at ../Objects/typeobject.c:905\r\n#21 0x00000000005c1797 in PyObject_Call () at ../Objects/abstract.c:2165\r\n#22 0x000000000053920b in ext_do_call (nk=\u003coptimized out\u003e, na=0, flags=\u003coptimized out\u003e, pp_stack=0x7fffffffd168, func=\u003ctype at remote 0x155fdd8\u003e)\r\n at ../Python/ceval.c:5034\r\n#23 PyEval_EvalFrameEx () at ../Python/ceval.c:3275\r\n#24 0x0000000000540f9b in _PyEval_EvalCodeWithName (qualname=0x0, name=0x0, closure=0x0, kwdefs=0x0, defcount=0, defs=0x0, kwcount=6, kws=\u003coptimized out\u003e, \r\n argcount=\u003coptimized out\u003e, args=\u003coptimized out\u003e, locals=\u003coptimized out\u003e, globals=\u003coptimized out\u003e, _co=\u003ccode at remote 0x7fffea973930\u003e) at ../Python/ceval.c:4018\r\n#25 PyEval_EvalCodeEx () at ../Python/ceval.c:4039\r\n#26 0x00000000004ebe37 in function_call.lto_priv () at ../Objects/funcobject.c:627\r\n#27 0x00000000005c1797 in PyObject_Call () at ../Objects/abstract.c:2165\r\n#28 0x000000000053920b in ext_do_call (nk=\u003coptimized out\u003e, na=2, flags=\u003coptimized out\u003e, pp_stack=0x7fffffffd418, func=\u003cfunction at remote 0x7fffe64fc6a8\u003e)\r\n at ../Python/ceval.c:5034\r\n#29 PyEval_EvalFrameEx () at ../Python/ceval.c:3275\r\n#30 0x00000000005406df in _PyEval_EvalCodeWithName () at ../Python/ceval.c:4018\r\n#31 0x000000000053bd92 in fast_function (nk=\u003coptimized out\u003e, na=\u003coptimized out\u003e, n=\u003coptimized out\u003e, pp_stack=0x7fffffffd620, func=\u003coptimized out\u003e)\r\n at ../Python/ceval.c:4813\r\n#32 call_function (oparg=\u003coptimized out\u003e, pp_stack=0x7fffffffd620) at ../Python/ceval.c:4730\r\n#33 PyEval_EvalFrameEx () at ../Python/ceval.c:3236\r\n#34 0x000000000053b7e4 in fast_function (nk=\u003coptimized out\u003e, na=\u003coptimized out\u003e, n=\u003coptimized out\u003e, pp_stack=0x7fffffffd750, func=\u003coptimized out\u003e)\r\n---Type \u003creturn\u003e to continue, or q \u003creturn\u003e to quit---\r\n at ../Python/ceval.c:4803\r\n#35 call_function (oparg=\u003coptimized out\u003e, pp_stack=0x7fffffffd750) at ../Python/ceval.c:4730\r\n#36 PyEval_EvalFrameEx () at ../Python/ceval.c:3236\r\n#37 0x0000000000540199 in _PyEval_EvalCodeWithName () at ../Python/ceval.c:4018\r\n#38 0x000000000053c1d0 in fast_function (nk=\u003coptimized out\u003e, na=\u003coptimized out\u003e, n=\u003coptimized out\u003e, pp_stack=0x7fffffffd960, func=\u003coptimized out\u003e)\r\n at ../Python/ceval.c:4813\r\n#39 call_function (oparg=\u003coptimized out\u003e, pp_stack=0x7fffffffd960) at ../Python/ceval.c:4730\r\n#40 PyEval_EvalFrameEx () at ../Python/ceval.c:3236\r\n#41 0x0000000000540199 in _PyEval_EvalCodeWithName () at ../Python/ceval.c:4018\r\n#42 0x000000000053c1d0 in fast_function (nk=\u003coptimized out\u003e, na=\u003coptimized out\u003e, n=\u003coptimized out\u003e, pp_stack=0x7fffffffdb70, func=\u003coptimized out\u003e)\r\n at ../Python/ceval.c:4813\r\n#43 call_function (oparg=\u003coptimized out\u003e, pp_stack=0x7fffffffdb70) at ../Python/ceval.c:4730\r\n#44 PyEval_EvalFrameEx () at ../Python/ceval.c:3236\r\n#45 0x0000000000540199 in _PyEval_EvalCodeWithName () at ../Python/ceval.c:4018\r\n#46 0x0000000000540e4f in PyEval_EvalCodeEx () at ../Python/ceval.c:4039\r\n#47 PyEval_EvalCode (co=\u003coptimized out\u003e, globals=\u003coptimized out\u003e, locals=\u003coptimized out\u003e) at ../Python/ceval.c:777\r\n#48 0x000000000060c272 in run_mod () at ../Python/pythonrun.c:976\r\n#49 0x000000000060e71a in PyRun_FileExFlags () at ../Python/pythonrun.c:929\r\n#50 0x000000000060ef0c in PyRun_SimpleFileExFlags () at ../Python/pythonrun.c:396\r\n#51 0x000000000063fb26 in run_file (p_cf=0x7fffffffdde0, filename=0xa74280 L\"plot.py\", fp=0xb7d610) at ../Modules/main.c:318\r\n#52 Py_Main () at ../Modules/main.c:768\r\n#53 0x00000000004cfeb1 in main () at ../Programs/python.c:65\r\n#54 0x00007ffff7810830 in __libc_start_main (main=0x4cfdd0 \u003cmain\u003e, argc=2, argv=0x7fffffffdff8, init=\u003coptimized out\u003e, fini=\u003coptimized out\u003e, rtld_fini=\u003coptimized out\u003e, \r\n stack_end=0x7fffffffdfe8) at ../csu/libc-start.c:291\r\n#55 0x00000000005d6049 in _start ()\r\n(gdb) q\r\nA debugging session is active.\r\n\r\n\tInferior 1 [process 5993] will be killed.\r\n\r\nQuit anyway? (y or n) y\r\n```\r\n\r\n * Operating system: Ubuntu 16.04\r\n * Matplotlib version: 2.1.2\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): TkAgg\r\n * Python version: 3.5.2\r\n * Jupyter version (if applicable):\r\n * Other libraries: \r\n\r\nInstall source:\r\npip3 install matplotlib","author":{"url":"https://github.com/rajasrijan","@type":"Person","name":"rajasrijan"},"datePublished":"2018-03-02T14:01:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/10648/matplotlib/issues/10648"}
| 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:51d36434-e7a8-6801-5407-3a97351310e6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A5D2:2521B5:67BB2C:8C2EDC:6A51F009 |
| html-safe-nonce | 6c13668b36feabc33c627b7c2f102d79c753fbcef0f38108e179eaad76e4b39d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUQyOjI1MjFCNTo2N0JCMkM6OEMyRURDOjZBNTFGMDA5IiwidmlzaXRvcl9pZCI6IjM2NTYzNjg2NjM3NDM4MTk3ODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c4105f7ae07d0b889e7fbc3ee65ff82d381ed3ffb5a4d7f15055c863213cc526 |
| hovercard-subject-tag | issue:301775217 |
| 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/10648/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6b56eb6516b41c9b7b8cf4344e23b471104ea6459d891a3f0a882f61a92df310/matplotlib/matplotlib/issues/10648 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6b56eb6516b41c9b7b8cf4344e23b471104ea6459d891a3f0a882f61a92df310/matplotlib/matplotlib/issues/10648 |
| og:image:alt | Bug report pyplot hangs for simple example. This issue is there for a while now (~1 year). I was expecting this would get solved eventually. I've tried reinstalling ubuntu 16.04, but that didn't so... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rajasrijan |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width