Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 21 Sep 2011 16:29:29 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: 1.7.8-jumbo-6-RC* on Mac OS X

Jim, magnum, all -

I am testing the current code on Mac OS X 10.5.  macosx-x86-64 builds
and passes tests fine, but -sse2 fails at initialization:

(gdb) r
Starting program: /Users/user/john/john-1.7.8-jumbo-6-RC6/run/john 
Reading symbols for shared libraries +++++. done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x0001e1b1 in md5_gen_SETUP ()
(gdb) disass 0x0001e1a0 0x0001e1c0
Dump of assembler code from 0x1e1a0 to 0x1e1c0:
0x0001e1a0 <md5_gen_SETUP+528>: stos   %eax,%es:(%edi)
0x0001e1a1 <md5_gen_SETUP+529>: mov    %esi,%ecx
0x0001e1a3 <md5_gen_SETUP+531>: mov    0x70(%esp),%esi
0x0001e1a7 <md5_gen_SETUP+535>: lea    0x64(%ebp),%edi
0x0001e1aa <md5_gen_SETUP+538>: rep stos %eax,%es:(%edi)
0x0001e1ac <md5_gen_SETUP+540>: mov    0xc(%esi),%eax
0x0001e1af <md5_gen_SETUP+543>: xor    %esi,%esi
0x0001e1b1 <md5_gen_SETUP+545>: mov    (%eax),%eax
0x0001e1b3 <md5_gen_SETUP+547>: test   %eax,%eax
0x0001e1b5 <md5_gen_SETUP+549>: je     0x1e202 <md5_gen_SETUP+626>
0x0001e1b7 <md5_gen_SETUP+551>: nopw   0x0(%eax,%eax,1)
End of assembler dump.
(gdb) p $eax
$1 = 0

I'll investigate this.

Also, there's this warning:

md5-mmx.S:36:Alignment too large: 15. assumed.

I think we should define/use DO_ALIGN(), like we do in other files.  But
I might not bother fixing this now.

Alexander

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.