View Issue Details

IDProjectCategoryView StatusLast Update
0005712Kali LinuxKali Package Bugpublic2020-12-01 10:42
ReporterMister_X Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionopen 
Product Version2019.3 
Summary0005712: John the ripper calc_stat fails with Illegal instruction on AVX2 CPU
Description

calc_stat is failing with "Illegal instruction" when running it against a simple file

Steps To Reproduce

echo test > test
calc_stat test test2

Additional Information

The CPU supports AVX2, so this is weird; recompiling JTR from source (latest git with no option with ./configure) confirms AVX2 was used to build it as well, and calc_stat shows the following output with the same test:
zero -10log proba2[101256+115] (1) / 1, converted to 1 to prevent infinite length candidates
zero -10log proba2[115256+116] (1) / 1, converted to 1 to prevent infinite length candidates
zero -10log proba1[116] (1) / 1 converted to 1
zero -10
log proba2[116*256+101] (1) / 1, converted to 1 to prevent infinite length candidates

Notes:

  • Some tools don't really need such as calc_stat most likely don't need AVX2, so it may be worth compiling a part of John with AVX2 and take some of the binaries not needing AVX2 by compiling it with --disable-simd
  • It may be possible other JTR tools are failing as well, only calc_stat was tested.

Activities

g0tmi1k

g0tmi1k

2020-12-01 10:42

administrator   ~0013913

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.
Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/downloads/)?
If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://kali.training/topic/filing-a-good-bug-report/

Issue History

Date Modified Username Field Change
2019-09-22 00:14 Mister_X New Issue
2020-12-01 10:42 g0tmi1k Note Added: 0013913
2020-12-01 10:42 g0tmi1k Status new => closed