{"action":"created","issue":{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1776","labels_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1776/labels{/name}","comments_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1776/comments","events_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1776/events","html_url":"https://github.com/magnumripper/JohnTheRipper/issues/1776","id":107762920,"number":1776,"title":"Floating point exception (core dumped) in common-opencl.c:1213","user":{"login":"frank-dittrich","id":2026819,"avatar_url":"https://avatars.githubusercontent.com/u/2026819?v=3","gravatar_id":"","url":"https://api.github.com/users/frank-dittrich","html_url":"https://github.com/frank-dittrich","followers_url":"https://api.github.com/users/frank-dittrich/followers","following_url":"https://api.github.com/users/frank-dittrich/following{/other_user}","gists_url":"https://api.github.com/users/frank-dittrich/gists{/gist_id}","starred_url":"https://api.github.com/users/frank-dittrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frank-dittrich/subscriptions","organizations_url":"https://api.github.com/users/frank-dittrich/orgs","repos_url":"https://api.github.com/users/frank-dittrich/repos","events_url":"https://api.github.com/users/frank-dittrich/events{/privacy}","received_events_url":"https://api.github.com/users/frank-dittrich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/labels/bug","name":"bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-22T17:37:12Z","updated_at":"2015-09-22T20:50:24Z","closed_at":"2015-09-22T18:42:53Z","body":"Testinf the latest beignet commit with my Haswell CPU:\r\n\r\n```\r\n(gdb) run --test --format=sha256crypt-opencl\r\n[...]\r\nProgram received signal SIGFPE, Arithmetic exception.\r\n0x000000000070f136 in gws_test (gws=gws@entry=1024, rounds=rounds@entry=5000, sequential_id=<optimized out>) at common-opencl.c:1213\r\n1213\t\t\truntime += (looptime * rounds) / (hash_loops * total);\r\nMissing separate debuginfos, use: dnf debuginfo-install expat-2.1.0-10.fc22.x86_64 gmp-6.0.0-9.fc22.x86_64 keyutils-libs-1.5.9-4.fc22.x86_64 krb5-libs-1.13.2-5.fc22.x86_64 libcom_err-1.42.12-4.fc22.x86_64 libdrm-2.4.61-3.fc22.x86_64 libedit-3.1-12.20150325cvs.fc22.x86_64 libffi-3.1-7.fc22.x86_64 libgcc-5.1.1-4.fc22.x86_64 libgomp-5.1.1-4.fc22.x86_64 libicu-54.1-1.fc22.x86_64 libpciaccess-0.13.3-0.3.fc22.x86_64 libselinux-2.3-10.fc22.x86_64 libstdc++-5.1.1-4.fc22.x86_64 libX11-1.6.3-1.fc22.x86_64 libXau-1.0.8-4.fc22.x86_64 libxcb-1.11-8.fc22.x86_64 libXdamage-1.1.4-6.fc22.x86_64 libXext-1.3.3-2.fc22.x86_64 libXfixes-5.0.1-4.fc22.x86_64 libxshmfence-1.2-1.fc22.x86_64 libXxf86vm-1.1.4-1.fc22.x86_64 mesa-libGL-10.6.3-1.20150729.fc22.x86_64 mesa-libglapi-10.6.3-1.20150729.fc22.x86_64 ncurses-libs-5.9-18.20150214.fc22.x86_64 nss-softokn-freebl-3.20.0-1.0.fc22.x86_64 ocl-icd-2.2.3-1.git20141005.7cd0c2f.fc22.x86_64 openssl-libs-1.0.1k-12.fc22.x86_64 pcre-8.37-4.fc22.x86_64 zlib-1.2.8-7.fc22.x86_64\r\n(gdb) bt\r\n#0  0x000000000070f136 in gws_test (gws=gws@entry=1024, rounds=rounds@entry=5000, sequential_id=<optimized out>) at common-opencl.c:1213\r\n#1  0x0000000000710c14 in opencl_find_best_gws (step=0, max_run_time=<optimized out>, sequential_id=0, rounds=rounds@entry=5000, have_lws=<optimized out>) at common-opencl.c:1528\r\n#2  0x00000000007173fa in autotune_find_best_gws (sequential_id=<optimized out>, rounds=rounds@entry=5000, step=<optimized out>, step@entry=0, max_run_time=<optimized out>, \r\n    have_lws=<optimized out>) at opencl_autotune.c:96\r\n#3  0x00000000005bc568 in find_best_gws (have_lws=<optimized out>, max_run_time=<optimized out>, rounds=5000, sequential_id=<optimized out>, self=0xb0f620 <fmt_opencl_cryptsha256>)\r\n    at opencl-autotune.h:84\r\n#4  autotune_run_extra (rounds=5000, gws_limit=0, lws_is_power_of_two=0, max_run_time=<optimized out>, self=0xb0f620 <fmt_opencl_cryptsha256>) at opencl-autotune.h:187\r\n#5  autotune_run (max_run_time=<optimized out>, gws_limit=0, rounds=5000, self=0xb0f620 <fmt_opencl_cryptsha256>) at opencl-autotune.h:226\r\n#6  reset (db=<optimized out>) at opencl_cryptsha256_fmt_plug.c:320\r\n#7  0x00000000006c500b in fmt_self_test_body (db=0x0, salt_copy=0x109b804, binary_copy=0x109b7d4, format=0xb0f620 <fmt_opencl_cryptsha256>) at formats.c:398\r\n#8  fmt_self_test (format=format@entry=0xb0f620 <fmt_opencl_cryptsha256>, db=db@entry=0x0) at formats.c:1483\r\n#9  0x00000000006b9359 in benchmark_format (format=0xb0f620 <fmt_opencl_cryptsha256>, salts=256, results=0x7fffffffd520) at bench.c:239\r\n#10 0x00000000006ba1d2 in benchmark_all () at bench.c:653\r\n#11 0x00000000006ce21a in john_run () at john.c:1491\r\n#12 0x00000000006ced85 in main (argc=3, argv=0x7fffffffdfd8) at john.c:1880\r\n```\r\n\r\nValues of involved variables:\r\ntotal:0\r\nhash_loops:168\r\nrounds:5000\r\nlooptime:0"},"comment":{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/comments/142416959","html_url":"https://github.com/magnumripper/JohnTheRipper/issues/1776#issuecomment-142416959","issue_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1776","id":142416959,"user":{"login":"frank-dittrich","id":2026819,"avatar_url":"https://avatars.githubusercontent.com/u/2026819?v=3","gravatar_id":"","url":"https://api.github.com/users/frank-dittrich","html_url":"https://github.com/frank-dittrich","followers_url":"https://api.github.com/users/frank-dittrich/followers","following_url":"https://api.github.com/users/frank-dittrich/following{/other_user}","gists_url":"https://api.github.com/users/frank-dittrich/gists{/gist_id}","starred_url":"https://api.github.com/users/frank-dittrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frank-dittrich/subscriptions","organizations_url":"https://api.github.com/users/frank-dittrich/orgs","repos_url":"https://api.github.com/users/frank-dittrich/repos","events_url":"https://api.github.com/users/frank-dittrich/events{/privacy}","received_events_url":"https://api.github.com/users/frank-dittrich/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T20:50:24Z","updated_at":"2015-09-22T20:50:24Z","body":"I though you wanted to find out how this strange case could happen."}}