{"action":"closed","issue":{"url":"https://api.github.com/repos/EugeneNdiaye/GAPSAFE_SGL/issues/1","repository_url":"https://api.github.com/repos/EugeneNdiaye/GAPSAFE_SGL","labels_url":"https://api.github.com/repos/EugeneNdiaye/GAPSAFE_SGL/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/EugeneNdiaye/GAPSAFE_SGL/issues/1/comments","events_url":"https://api.github.com/repos/EugeneNdiaye/GAPSAFE_SGL/issues/1/events","html_url":"https://github.com/EugeneNdiaye/GAPSAFE_SGL/issues/1","id":330321359,"node_id":"MDU6SXNzdWUzMzAzMjEzNTk=","number":1,"title":"incorrect checksum for freed object - object was probably modified after being freed","user":{"login":"xxxzhi","id":3821599,"node_id":"MDQ6VXNlcjM4MjE1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/3821599?v=4","gravatar_id":"","url":"https://api.github.com/users/xxxzhi","html_url":"https://github.com/xxxzhi","followers_url":"https://api.github.com/users/xxxzhi/followers","following_url":"https://api.github.com/users/xxxzhi/following{/other_user}","gists_url":"https://api.github.com/users/xxxzhi/gists{/gist_id}","starred_url":"https://api.github.com/users/xxxzhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xxxzhi/subscriptions","organizations_url":"https://api.github.com/users/xxxzhi/orgs","repos_url":"https://api.github.com/users/xxxzhi/repos","events_url":"https://api.github.com/users/xxxzhi/events{/privacy}","received_events_url":"https://api.github.com/users/xxxzhi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-07T15:20:52Z","updated_at":"2018-06-08T03:03:03Z","closed_at":"2018-06-08T03:03:03Z","author_association":"NONE","body":"Hello. It crash when I test the sgl_path method like this:\r\n\r\n```\r\nimport numpy as np\r\nfrom sgl_tools import generate_data\r\nfrom sgl import sgl_path\r\nimport time\r\nimport matplotlib.pyplot as plt\r\nfrom matplotlib import rc\r\nimport pandas as pd\r\n\r\nn_samples = 100\r\n# size_group = 50  # all groups have size = size_group\r\n\r\nsize_groups = 285 * np.ones(4, order='F',\r\n                                   dtype=np.intc)\r\nsize_groups = np.asarray([244, 312, 230, 352])  // comment this line will success.\r\nn_features = size_groups.sum()\r\nprint(size_groups)\r\nX, y = generate_data(n_samples, n_features, size_groups, rho=0.4)\r\nomega = np.sqrt(size_groups)\r\nsgl_path(X, y, size_groups, omega, screen=5, lambdas=[22,30], tau=0.5, eps=1e-6);exit();\r\n\r\n```\r\n\r\nhere is the crash log:\r\n\r\n[244 312 230 352]\r\nWarning did not converge ... t = 0 gap = 142727.599036                    eps = 1e-06 n_iter = 29999.0\r\nWarning did not converge ... t = 1 gap = 189961.959137                    eps = 1e-06 n_iter = 29999.0\r\nPython(21947,0x7fff73a27000) malloc: *** error for object 0x7fc98a323a08: incorrect checksum for freed object - object was probably modified after being freed.\r\n*** set a breakpoint in malloc_error_break to debug\r\n[1]    21947 abort      /usr/local/bin/python example.py\r\n\r\nCould you help me to fix the problem ? Thanks in advance.\r\n\r\n When I use `$size_groups = 285 * np.ones(4, order='F', dtype=np.intc)$`, it is no error."}}
{"actor":{"display_login":"xxxzhi"}}