Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120627193603.GA19469@openwall.com>
Date: Wed, 27 Jun 2012 23:36:03 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: RAR cmp_one(3) failures

On Wed, Jun 27, 2012 at 09:30:38PM +0200, magnum wrote:
> Do you still get the failures after the EVPDecryptFinal() fix? I now run
> this (linux-x86-64i OMP):
> 
> count=1; while true; do ../run/john -t -fo:rar || break; echo $count;
> count=$(($count + 1)); done
> 
> When I write this, it's 300 "DONE", and counting.

I haven't updated to your latest yet.  When I had commented that line
out, the errors persisted for me.  They went away when I realized that
CRC32_Init() is indeed not thread-safe the very first time it's called
in a program (it was not meant to be thread-safe when written!), and
added "#pragma omp critical" right before it.  I find it weird if/that
we were hitting this very thing.  Yet I am not getting any faults with
that change, running a command almost identical to yours. ;-)

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.