Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <c11ae87b0808261634h4b8de8f4i255a668cbc678ca6@mail.gmail.com>
Date: Tue, 26 Aug 2008 19:34:10 -0400
From: "Random Intentions" <randomintentions@...il.com>
To: john-users@...ts.openwall.com
Subject: HMAC-MD5 SSE2 fails under Cygwin

I think I've found an issue with a piece of the latest jumbo
patch that was posted, though I'm not sure how to fix it.  Basically,
I'm doing a compilation under win32/cygwin of 1.7.3.1 with the jumbo
patch applied.  Everything compiles clean, but if I use 'make
win32-cygwin-x86-sse2' to do the build, then run a 'john --test' it
fails here:

Benchmarking: HMAC MD5 SSE2 [hmac-md5 SSE2]...   18682 [main] john 2540 _cygtls:
:handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
 19197 [main] john 2540 open_stackdumpfile: Dumping stack trace to john.exe.sta
ckdump
 599385 [main] john 2540 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VI
OLATION
 620911 [main] john 2540 _cygtls::handle_exceptions: Error while dumping state (
probably corrupted stack)

...and the trace looks like this:

Exception: STATUS_ACCESS_VIOLATION at eip=0044CBE6
eax=0046A258 ebx=00451BA8 ecx=000002E0 edx=0049DBE0 esi=00451B20 edi=0046A208
ebp=0023CB08 esp=0023CAE4 program=C:\Download\run\john.exe, pid 2540, thread mai
n
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0023CB08  0044CBE6  (00000001, 00000000, 0000002F, 00000001)
0023CB4C  00425D83  (00451B20, 0023CB88, 610E5E05, 6110314C)
0023CBA8  0041E71A  (00451B20, 00000100, 0023CC40, 00457EE6)
0023CC6C  0041ED43  (0000003F, 00000002, 006F0160, 6BA40000)
0023CCC8  00428EC7  (00000002, 006F0160, 006F0090, 61010E8C)
0023CD98  610060D8  (00000000, 0023CDD0, 61005450, 0023CDD0)
61005450  61004416  (0000009C, A02404C7, E8611021, FFFFFF48)
 599385 [main] john 2540 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VI
OLATION
 620911 [main] john 2540 _cygtls::handle_exceptions: Error while dumping state (
probably corrupted stack)


Now, the same patched tree compiles and runs fine with SSE2 under
linux, and if I use the MMX make option under cygwin, it works fine as
well.  So, it seems like something isn't happy with the SSE2 options?

Just for reference, I'm using cygwin 1.5.25 and gcc 3.4.4

Any ideas?  It's non-critical, but thought it may be a bug.

-- 
To unsubscribe, e-mail john-users-unsubscribe@...ts.openwall.com and reply
to the automated confirmation request that will be sent to you.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.