ASSERTION FAILED: !(ctx->getErrCode() == OUT_OF_RANGE_IF_ENDIF && ctx->getIFENDIFFix())
Submitted by Frank Dittrich
Assigned to Luo Xionghu
Description
This is with beignet's latest git commit, commit 228775e8, on a Fedora 22 system, but with a vanilla kernel: $ uname -a Linux f22b.localdomain 4.2.0-0.rc4.git4.1.vanilla.mainline.knurd.1.fc22.x86_64 #1 SMP Sat Aug 1 06:31:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
CPU is Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
When I build the latest John the Ripper version https://github.com/magnumripper/JohnTheRipper/commit/8ebe17a69745dd3f6735c7d1f65884a40c98162e or any other recent commit of the bleeding-jumbo branch
(bleeding-jumbo)src $ make -s distclean; ./configure && make -s clean && make -s -j 16
and then test the wpapsk-opencl format, I get
(bleeding-jumbo)src $ ../run/john --test=0 --format=wpapsk-opencl --verbosity=5 initUnicode(UNICODE, ASCII/ASCII) ASCII -> ASCII -> ASCII Failed to release test userptr object! (9) i915 kernel driver may not be sane! Failed to release test userptr object! (9) i915 kernel driver may not be sane! Failed to release test userptr object! (9) i915 kernel driver may not be sane! Failed to release test userptr object! (9) i915 kernel driver may not be sane! Device 0: Intel(R) HD Graphics Haswell GT2 Desktop Testing: wpapsk-opencl, WPA/WPA2 PSK [PBKDF2-SHA1 OpenCL 4x]... Options used: -I ../run/kernels -cl-mad-enable -D__GPU__ -DDEVICE_INFO=34 -DDEV_VER_MAJOR=1 -DDEV_VER_MINOR=2 -D_OPENCL_COMPILER -DHASH_LOOPS=105 -DITERATIONS=4095 -DPLAINTEXT_LENGTH=63 -DV_WIDTH=4 ASSERTION FAILED: !(ctx->getErrCode() == OUT_OF_RANGE_IF_ENDIF && ctx->getIFENDIFFix()) at file /home/fd/git/beignet/backend/src/backend/gen_program.cpp, function virtual gbe::Kernel* gbe::GenProgram::compileKernel(const gbe::ir::Unit&, const string&, bool), line 196 Trace/breakpoint trap
Last time I added some debug output (a week ago) I got this information:
Benchmarking: wpapsk-opencl, WPA/WPA2 PSK [PBKDF2-SHA1 OpenCL 4x]... ctx->getErrCode() 1, ctx->getIFENDIFFix() 0, OUT_OF_RANGE_IF_ENDIF 4 ctx->getErrCode() 1, ctx->getIFENDIFFix() 0, OUT_OF_RANGE_IF_ENDIF 4 ctx->getErrCode() 4, ctx->getIFENDIFFix() 1, OUT_OF_RANGE_IF_ENDIF 4 ASSERTION FAILED: !(ctx->getErrCode() == OUT_OF_RANGE_IF_ENDIF && ctx->getIFENDIFFix()) at file /home/fd/git/beignet/backend/src/backend/gen_program.cpp, function virtual gbe::Kernel* gbe::GenProgram::compileKernel(const gbe::ir::Unit&, const string&, bool), line 197
Is John the Ripper doing something wrong here, or does beignet need to be fixed?