{"action":"created","issue":{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1437","labels_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1437/labels{/name}","comments_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1437/comments","events_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1437/events","html_url":"https://github.com/magnumripper/JohnTheRipper/issues/1437","id":88200591,"number":1437,"title":"some dynamic formats malfunction on MIC","user":{"login":"zzlei","id":5738276,"avatar_url":"https://avatars.githubusercontent.com/u/5738276?v=3","gravatar_id":"","url":"https://api.github.com/users/zzlei","html_url":"https://github.com/zzlei","followers_url":"https://api.github.com/users/zzlei/followers","following_url":"https://api.github.com/users/zzlei/following{/other_user}","gists_url":"https://api.github.com/users/zzlei/gists{/gist_id}","starred_url":"https://api.github.com/users/zzlei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzlei/subscriptions","organizations_url":"https://api.github.com/users/zzlei/orgs","repos_url":"https://api.github.com/users/zzlei/repos","events_url":"https://api.github.com/users/zzlei/events{/privacy}","received_events_url":"https://api.github.com/users/zzlei/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"zzlei","id":5738276,"avatar_url":"https://avatars.githubusercontent.com/u/5738276?v=3","gravatar_id":"","url":"https://api.github.com/users/zzlei","html_url":"https://github.com/zzlei","followers_url":"https://api.github.com/users/zzlei/followers","following_url":"https://api.github.com/users/zzlei/following{/other_user}","gists_url":"https://api.github.com/users/zzlei/gists{/gist_id}","starred_url":"https://api.github.com/users/zzlei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzlei/subscriptions","organizations_url":"https://api.github.com/users/zzlei/orgs","repos_url":"https://api.github.com/users/zzlei/repos","events_url":"https://api.github.com/users/zzlei/events{/privacy}","received_events_url":"https://api.github.com/users/zzlei/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/milestones/2","html_url":"https://github.com/magnumripper/JohnTheRipper/milestones/1.8.0-jumbo2","labels_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/milestones/2/labels","id":492145,"number":2,"title":"1.8.0-jumbo2","description":"","creator":{"login":"magnumripper","id":1268598,"avatar_url":"https://avatars.githubusercontent.com/u/1268598?v=3","gravatar_id":"","url":"https://api.github.com/users/magnumripper","html_url":"https://github.com/magnumripper","followers_url":"https://api.github.com/users/magnumripper/followers","following_url":"https://api.github.com/users/magnumripper/following{/other_user}","gists_url":"https://api.github.com/users/magnumripper/gists{/gist_id}","starred_url":"https://api.github.com/users/magnumripper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnumripper/subscriptions","organizations_url":"https://api.github.com/users/magnumripper/orgs","repos_url":"https://api.github.com/users/magnumripper/repos","events_url":"https://api.github.com/users/magnumripper/events{/privacy}","received_events_url":"https://api.github.com/users/magnumripper/received_events","type":"User","site_admin":false},"open_issues":53,"closed_issues":108,"state":"open","created_at":"2013-11-21T06:59:25Z","updated_at":"2015-07-16T13:33:06Z","due_on":null,"closed_at":null},"comments":26,"created_at":"2015-06-14T15:17:37Z","updated_at":"2015-07-16T14:50:21Z","closed_at":null,"body":"dynamic_30 core dumps on MIC, resulting from the following code:\r\n```c\r\nMEM_FREE(crypt_key2);\r\nMEM_FREE(crypt_key);\r\nMEM_FREE(input_buf2);\r\n...\r\n```\r\ncorresponding allocation code:\r\n```c\r\n...\r\ninput_buf2 = mem_calloc_align(1, MMX_INP_BUF2_SZ, MEM_ALIGN_SIMD);\r\ncrypt_key  = mem_calloc_align(1, MMX_CRYPT_KEY_SZ, MEM_ALIGN_SIMD);\r\ncrypt_key2 = mem_calloc_align(1, MMX_CRYPT_KEY2_SZ, MEM_ALIGN_SIMD);\r\n```\r\n\r\ndynamic_31, dynamic_32 and so on fail self-test on MIC."},"comment":{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/comments/121979239","html_url":"https://github.com/magnumripper/JohnTheRipper/issues/1437#issuecomment-121979239","issue_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1437","id":121979239,"user":{"login":"zzlei","id":5738276,"avatar_url":"https://avatars.githubusercontent.com/u/5738276?v=3","gravatar_id":"","url":"https://api.github.com/users/zzlei","html_url":"https://github.com/zzlei","followers_url":"https://api.github.com/users/zzlei/followers","following_url":"https://api.github.com/users/zzlei/following{/other_user}","gists_url":"https://api.github.com/users/zzlei/gists{/gist_id}","starred_url":"https://api.github.com/users/zzlei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzlei/subscriptions","organizations_url":"https://api.github.com/users/zzlei/orgs","repos_url":"https://api.github.com/users/zzlei/repos","events_url":"https://api.github.com/users/zzlei/events{/privacy}","received_events_url":"https://api.github.com/users/zzlei/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T14:50:21Z","updated_at":"2015-07-16T14:50:21Z","body":"According to the backtrace, the segfault happened in some OpenMP library function. I guess there's something wrong with the OpenMP library used. I rebuilt with a new version of icc and libiomp, and the problem was gone. At least for `SIMD_PARA_MD4 = 5` and `SIMD_PARA_MD5 = 4`, no dynamic format fails or segfaults anymore. I'll test against other combinations of paras."}}