mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #1078] raw-sha1-ng: self test fail (only seen with ASan + -DDEBUG) #673
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#673
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @frank-dittrich on GitHub (Mar 7, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1078
Originally assigned to: @frank-dittrich on GitHub.
64bit Linux debug build:
@jfoug commented on GitHub (Mar 9, 2015):
@magnumripper do you have any idea how make debug build would do this for a format like this? I see no DEBUG defines at all in this format.
@magnumripper commented on GitHub (Mar 9, 2015):
The only reason I can think of is a bug hiding in there that is revealed because of the different mem_alloc_tiny or something like that. But that usually would result in segfault or ASAN crash.
@magnumripper commented on GitHub (Mar 9, 2015):
Two observations: First, I can't reproduce. Another thing, when I run this with a debug build I get a text mentioning that:
@magnumripper commented on GitHub (Mar 9, 2015):
OK, that debug message is not shown with
-test=0, that's why.@magnumripper commented on GitHub (Mar 9, 2015):
OK, I've seen it once now, using ASAN + debug. No ASAN crash.
@magnumripper commented on GitHub (Mar 9, 2015):
Using only "debug" I can't see the problem. Using only ASAN, I can't see the problem. Using both, I can.
I decreased OMP_SCALE to 1 and did this
I still get the problem, but only after hundreds of --stress-test=0 iterations (the patch above is needed to avoid a memory leak with --stress-test).
I have yet to see it with OMP_NUM_THREADS=1
@magnumripper commented on GitHub (Mar 9, 2015):
I'm using gcc 4.9.2. @frank-dittrich what compiler did you use? Are you sure ASAN wasn't active?
@frank-dittrich commented on GitHub (Mar 9, 2015):
All this is on a 64bit fedora 20 system
Just now I can only reproduce this way:
I try to find other combinations.
@magnumripper commented on GitHub (Mar 10, 2015):
Until we can trigger any problem without Asan + -DDEBUG I downgraded this to an "external issue"