{"action":"reopened","issue":{"url":"https://api.github.com/repos/pydata/xarray/issues/2614","repository_url":"https://api.github.com/repos/pydata/xarray","labels_url":"https://api.github.com/repos/pydata/xarray/issues/2614/labels{/name}","comments_url":"https://api.github.com/repos/pydata/xarray/issues/2614/comments","events_url":"https://api.github.com/repos/pydata/xarray/issues/2614/events","html_url":"https://github.com/pydata/xarray/issues/2614","id":391717722,"node_id":"MDU6SXNzdWUzOTE3MTc3MjI=","number":2614,"title":"Depending upon how compute() is called, python seg faults","user":{"login":"mayanksuman","id":578944,"node_id":"MDQ6VXNlcjU3ODk0NA==","avatar_url":"https://avatars2.githubusercontent.com/u/578944?v=4","gravatar_id":"","url":"https://api.github.com/users/mayanksuman","html_url":"https://github.com/mayanksuman","followers_url":"https://api.github.com/users/mayanksuman/followers","following_url":"https://api.github.com/users/mayanksuman/following{/other_user}","gists_url":"https://api.github.com/users/mayanksuman/gists{/gist_id}","starred_url":"https://api.github.com/users/mayanksuman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayanksuman/subscriptions","organizations_url":"https://api.github.com/users/mayanksuman/orgs","repos_url":"https://api.github.com/users/mayanksuman/repos","events_url":"https://api.github.com/users/mayanksuman/events{/privacy}","received_events_url":"https://api.github.com/users/mayanksuman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-12-17T13:42:24Z","updated_at":"2018-12-18T17:22:56Z","closed_at":null,"author_association":"NONE","body":"I have two large dask arrays (`hist_data_ua850` and `hist_data_hus850`). If I want to calculate the product then `(hist_data_ua850 * hist_data_hus850).compute()` fails with either seg fault or bus error. However, `(hist_data_ua850.compute() * hist_data_hus850.compute())` works. (sample code attached\r\n)\r\n\r\nThe `gdb` produce following error message for seg fault.\r\n```\r\nThread 25 \"python3\" received signal SIGBUS, Bus error.\r\n[Switching to Thread 0x7fffbf5e3700 (LWP 31903)]\r\n0x00007fffec92a8de in H5FL_fac_malloc ()\r\n   from /home/user/.local/lib/python3.6/site-packages/netCDF4/.libs/libhdf5-d5cdc8a0.so.101.1.0                          \r\n```\r\nor \r\n```\r\nThread 25 \"python3\" received signal SIGSEGV, Segmentation fault.\r\n[Switching to Thread 0x7fffbf5e3700 (LWP 11553)]\r\n0x00007fffeca3cb57 in ?? () from /home/user/.local/lib/python3.6/site-packages/netCDF4/.libs/libhdf5-d5cdc8a0.so.101.1.0\r\n```\r\n\r\nDuring these seg fault <10% of RAM is being used.\r\n#### Output of ``xr.show_versions()``\r\n\r\n<details>\r\nINSTALLED VERSIONS                        \r\n------------------                          \r\ncommit: None                              \r\npython: 3.6.8.candidate.1                       \r\npython-bits: 64                                                 \r\nOS: Linux                                                          \r\nOS-release: 4.18.0-3-amd64                                                                                                \r\nmachine: x86_64                           \r\nprocessor:                                \r\nbyteorder: little                              \r\nLC_ALL: en_IN.UTF-8                       \r\nLANG: en_IN.UTF-8                         \r\nLOCALE: en_IN.UTF-8                               \r\n                                          \r\nxarray: 0.11.0                            \r\npandas: 0.23.4                            \r\nnumpy: 1.15.4                                                                         \r\nscipy: 1.1.0                              \r\nnetCDF4: 1.4.2      \r\nh5netcdf: None\r\nh5py: 2.8.0\r\nNio: None\r\nzarr: None\r\ncftime: 1.0.3.4\r\nPseudonetCDF: None\r\nrasterio: 1.0.2\r\niris: None\r\nbottleneck: 1.2.1\r\ncyordereddict: None\r\ndask: 1.0.0\r\ndistributed: 1.20.2\r\nmatplotlib: 3.0.2\r\ncartopy: 0.17.0\r\nseaborn: 0.9.0\r\nsetuptools: 40.2.0\r\npip: 18.0\r\nconda: None\r\npytest: 3.4.0\r\nIPython: 7.2.0\r\nsphinx: 1.8.2\r\n\r\n\r\n\r\n</details>\r\n"}}
{"actor":{"display_login":"shoyer"}}