trying to make tracebacks reproducible
Christian Ebert
blacktrash at gmx.net
Sat Jul 3 18:19:31 CDT 2010
* Christian Ebert on Sunday, July 04, 2010 at 01:03:50 +0200
> * 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.
And the winner is:
changeset: 11182:3c368a1c962d
branch: stable
parent: 11171:3b3261f6d9ba
user: Brodie Rao <brodie at bitheap.org>
date: Mon May 03 14:00:34 2010 -0500
summary: pager: fork and exec pager as parent process
Conditions:
[extensions]
pager=
[pager]
less -FX
and running a cpu intensive video conversion. Then, with every
second or third call -- obviously one that involves the pager --
I get the traceback ...
c
--
Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
free movies --->>> http://www.blacktrash.org/underdogma/
http://itunes.apple.com/podcast/underdogma-movies/id363423596
More information about the Mercurial-devel
mailing list