openwall / openwall/john

Some formats fail '-internal mode internal mask' test

Open
#4,632 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
13.6k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

It is hard to reproduce. So far I've seen it only using AMD CPU driver (but it is NOT a driver bug). To reproduce:

rm -f ../run/opencl/*.bin *.pot; make -sj8 && 
../run/john -lws=2 -gws=2 tst-.in  --skip --mask=0?d -form=xsha512-opencl -dev=7

A patch follows ("my formats" only), but I'm not closing the bug. I also saw a failure (SIGSEGV) in: [edited]

  • mysql-sha1-opencl.
  • raw-sha1-opencl
  • raw-md4-opencl (return code: 135)
  • raw-md5-opencl

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the supplied build and ../run/john reproduction command, using the xsha512-opencl format and AMD CPU driver details. Compare the behavior across the listed OpenCL formats, including the reported SIGSEGV and return code 135. Done means the intermittent failure is reproduced and the affected formats no longer fail in this test.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
hpc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.