Re: [racket-dev] memory consumption (bug?) on Debian/kFreeBSD-i386

2011-05-11 Thread David Bremner
On Tue, 10 May 2011 23:58:07 -0300, David Bremner  wrote:

> I don't claim to understand all the implications yet, but the following
> patch seems to work, i.e. catching both SIGSEGV and SIGBUS with the same
> handler.

As a followup, I talked a bit more to the Debian/kFreeBSD developers and
my current understanding is that which signal (SIGBUS or SIGSEGV) is
received is determined by the version of libc the binary is run under.
So the most robust solution (from the narrow perspective of running on
different/upgraded kFreeBSD systems) is indeed to catch both signals. 
One could of course do that for FreeBSD systems in general, but don't
know what the tradeoffs are.

David
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


[racket-dev] contract-test.rktl

2011-05-11 Thread Robby Findler
Someone somewhere along the way seems to have disabled
contract-test.rktl (ie the main contract library test suite) in drdr.

Anyone know who/why? (Eli is marked as last editing that line in the
props file, but that doesn't mean he changed it, I don't think)

Thanks,
Robby
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] contract-test.rktl

2011-05-11 Thread Eli Barzilay
An hour ago, Robby Findler wrote:
> Someone somewhere along the way seems to have disabled
> contract-test.rktl (ie the main contract library test suite) in drdr.
> 
> Anyone know who/why? (Eli is marked as last editing that line in the
> props file, but that doesn't mean he changed it, I don't think)

It's running fine from the usual place: "all.rktl" loads
"scheme-tests.rktl" which loads that file.

But since you're referring to the props line for the file, I checked
it and it was never enabled.

Here's how to do the detective work:

1. $ git blame props
   and you'll see that I edited that line in 1f6159f0

2. $ git show 1f6159f0 -- props
   and you'll see that the change was "Change the
   drdr:command-line property", and the edit was indeed replacing ""
   (the old way to disable a test) with #f (the new one after my
   commit).

3. $ git blame 1f6159f0^ -- props
   does the annotated thing with the parent of that commit, which
   shows that Matthew edited it in e504acb7.

4. $ git show e504acb7 -- props
   That shows the commit as "use .rktl suffix for files meant to be
   'load'ed", and you'll see that the change was just in the suffix

5. $ git blame e504acb7^ -- props
   ... leads to Matthew in 882b7dce

6. $ git show 882b7dce -- props
   ... "move tests/mzscheme to tests/racket", and does just that with
   the file.

7. $ git blame 882b7dce^ -- props
   ... Matthew in 28b40430

8. $ git show 28b40430 -- props
   ... "rename all files .ss -> .rkt", and does that

9. $ git blame 28b40430^ -- props
   ... Eli in befa088b

10. $ git show befa088b -- props
... "separate drdr props to cmdline and timeout" and it was
disabled before that (it was just `drdr ""' then)

11. $ git blame befa088b^ -- props
... Eli in 6473b958

12. $ git show 6473b958 -- props
... "Add new props script+storage" -- that's the commit where I
created the props line from svn properties.

13. We're now moving to ancient svn history, and binary searching for
prop changes there...  Long story short:

- In r16379 I renamed the `drdr:command-line' property (which was
  empty => disabled) to `plt:drdr:command-line'

[...dramatic drumroll...]

- In r16340 the (`drdr:command-line') property changed from
  "mzscheme -f $path" to "", Jay is the committer, with a log
  message of "Trying to get DrDr to actually handle the mz tests"

So we get the conclusion that Jay is the murderer, he used a
candlestick, and it happened in the dining room at October 16th,
2009.
[...sad, yet dramatic music plays...]
[...Jay wears stripes, chained to a big metal ball, working in a
coal mine...]
[..."I'm innocent!" scream, fade out...]
[...fade in back to the console...]

- But it turns out that three months earlier, in r15493, Jay was
  the one that first created the property -- he's innocent.

[...fade out, credits...]
[...people leave the cinema, talking quietly; most are
unsatisified with yet another open-ended ending...]
["It's the journey that matters, and not the end."]

[Sorry, I woke up too early today.]

-- 
  ((lambda (x) (x x)) (lambda (x) (x x)))  Eli Barzilay:
http://barzilay.org/   Maze is Life!
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] contract-test.rktl

2011-05-11 Thread Robby Findler
Ha! :)

Thanks,
Robby

On Wed, May 11, 2011 at 9:00 PM, Eli Barzilay  wrote:
> An hour ago, Robby Findler wrote:
>> Someone somewhere along the way seems to have disabled
>> contract-test.rktl (ie the main contract library test suite) in drdr.
>>
>> Anyone know who/why? (Eli is marked as last editing that line in the
>> props file, but that doesn't mean he changed it, I don't think)
>
> It's running fine from the usual place: "all.rktl" loads
> "scheme-tests.rktl" which loads that file.
>
> But since you're referring to the props line for the file, I checked
> it and it was never enabled.
>
> Here's how to do the detective work:
>
> 1. $ git blame props
>   and you'll see that I edited that line in 1f6159f0
>
> 2. $ git show 1f6159f0 -- props
>   and you'll see that the change was "Change the
>   drdr:command-line property", and the edit was indeed replacing ""
>   (the old way to disable a test) with #f (the new one after my
>   commit).
>
> 3. $ git blame 1f6159f0^ -- props
>   does the annotated thing with the parent of that commit, which
>   shows that Matthew edited it in e504acb7.
>
> 4. $ git show e504acb7 -- props
>   That shows the commit as "use .rktl suffix for files meant to be
>   'load'ed", and you'll see that the change was just in the suffix
>
> 5. $ git blame e504acb7^ -- props
>   ... leads to Matthew in 882b7dce
>
> 6. $ git show 882b7dce -- props
>   ... "move tests/mzscheme to tests/racket", and does just that with
>   the file.
>
> 7. $ git blame 882b7dce^ -- props
>   ... Matthew in 28b40430
>
> 8. $ git show 28b40430 -- props
>   ... "rename all files .ss -> .rkt", and does that
>
> 9. $ git blame 28b40430^ -- props
>   ... Eli in befa088b
>
> 10. $ git show befa088b -- props
>    ... "separate drdr props to cmdline and timeout" and it was
>    disabled before that (it was just `drdr ""' then)
>
> 11. $ git blame befa088b^ -- props
>    ... Eli in 6473b958
>
> 12. $ git show 6473b958 -- props
>    ... "Add new props script+storage" -- that's the commit where I
>    created the props line from svn properties.
>
> 13. We're now moving to ancient svn history, and binary searching for
>    prop changes there...  Long story short:
>
>    - In r16379 I renamed the `drdr:command-line' property (which was
>      empty => disabled) to `plt:drdr:command-line'
>
>    [...dramatic drumroll...]
>
>    - In r16340 the (`drdr:command-line') property changed from
>      "mzscheme -f $path" to "", Jay is the committer, with a log
>      message of "Trying to get DrDr to actually handle the mz tests"
>
>    So we get the conclusion that Jay is the murderer, he used a
>    candlestick, and it happened in the dining room at October 16th,
>    2009.
>    [...sad, yet dramatic music plays...]
>    [...Jay wears stripes, chained to a big metal ball, working in a
>    coal mine...]
>    [..."I'm innocent!" scream, fade out...]
>    [...fade in back to the console...]
>
>    - But it turns out that three months earlier, in r15493, Jay was
>      the one that first created the property -- he's innocent.
>
>    [...fade out, credits...]
>    [...people leave the cinema, talking quietly; most are
>    unsatisified with yet another open-ended ending...]
>    ["It's the journey that matters, and not the end."]
>
> [Sorry, I woke up too early today.]
>
> --
>          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
>                    http://barzilay.org/                   Maze is Life!
>

_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev