trying to make tracebacks reproducible

Christian Ebert blacktrash at gmx.net
Sat Jul 3 18:03:50 CDT 2010


* Christian Ebert on Friday, July 02, 2010 at 02:12:44 +0200
> * Martin Geisler on Thursday, July 01, 2010 at 23:33:24 +0200
>> Christian Ebert <blacktrash at gmx.net> writes:
>>> Since a few days -- sorry for being vague, but this is actually
>>> part of the problem, I _sometimes_ get tracebacks with
>>> crew-stable (basically 1.6 I'd say). I cannot reproduce them
>>> "reliably", i.e. in the following example, I reissued the command
>>> and got the diff as expected. I can reduce the loaded extensions
>>> etc. but I'd like to reproduce this reliably first. It seems to
>>> happen at random - well, in the true sense of the word, if you
>>> look at the final lines of the traceback.
>> 
>> Heh, nice one :-)
>> 
>>> I'd be grateful for any ideas.
>> 
>>>   mod = _origimport(name, globals, locals)
>>> File "/sw/lib/python2.6/random.py", line 59, in <module>
>>>   LOG4 = _log(4.0)
>>> ValueError: math domain error
>> 
>> Can you make it fail if you do something like
>> 
>>  while python -c 'import random; print random.LOG4'; do done
> 
> That's evil!
> 
> Yes, I can/could. After rebooting the problem has gone away.
> Probably I overtortured my machine with multithreaded video
> conversion. Well, let's hope this is not a sign of senility - of
> the machine I mean.

And now for the strangest thing: it does NOT happen with
Mercurial 1.5! But reliably with 1.6. Will bisect.

c
-- 
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org/
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions


More information about the Mercurial-devel mailing list