Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABtNtWGmtOy1sAsBYANiVfgOuq1W5s3o3xckfxDP0hvzeoc1uA@mail.gmail.com>
Date: Fri, 14 Aug 2015 20:10:27 +0800
From: Kai Zhao <loverszhao@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: --test-full=0 crashes the Bitcoin format

Hi Alexander,

On Fri, Aug 14, 2015 at 6:54 PM, Solar Designer <solar@...nwall.com> wrote:
> Kai,
>
> On Fri, Aug 14, 2015 at 10:06:26AM +0800, Kai Zhao wrote:
>> I keep it running for a day because Agnieszka wanted me to keep running
>> a job and he needs that to debug. Sorry for the inconvenience. Agnieszka
>> still need me to run my before I went to bed, so I kept it running.
>
> Agnieszka has now pointed out that you misunderstood her.  So I've just
> killed the process, finally.
>
>> I did reproduce the crash by "--test-full=0 --format=bitcoin". And the crash
>> information seems the same with yours.
>
> This is unexpected, but it's great!  So, do you now have sufficient
> information to pinpoint the issue?

Sorry, I have not found the reason now.

>> I can not explain why the process tends to consume exactly 1700%.
>> I did this:
>>
>> $ ./configure --enable-asan
>> $ make -sj8
>> $ ./loop.sh
>>
>> The content of loop.sh is below:
>>
>> #!/bin/bash
>>
>> c=1
>> i=0
>>
>> while [ $c -le 100000 ]
>> do
>>
>>     echo ""
>>     echo $c
>>     echo ""
>>     ./john --test-full=0 --format=bitcoin
>>     echo ""
>>     echo $?
>>     echo ""
>>
>>     if [ $? -ne 0 ];then
>> ((i++))
>>     fi
>>
>>     ((c++))
>> done
>>
>> echo "There are $i crashes."
>
> The process that I saw had consumed so much CPU time that it's clear
> it corresponded to just one iteration of your script above.  Maybe
> there's another bug, causing the Bitcoin format to enter an infinite(?)
> loop like that?
>
> Did you expect this script to actually reach 100000 iterations before
> we'd have to kill it?

No, I don't want it reach 100000 iterations. I just want it to keep running
for Agnieszka after I went to bed. The value was "100" which is enough
for me to reproduce the crash one or more times.


Thanks,

Kai

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.