Andy Dougherty wrote:
On Thu, 19 Apr 2007, chromatic via RT wrote:
On Thursday 19 April 2007 11:35, Andy Dougherty wrote:
While trying to run 'make test' today, t/stm/llqueue_2.pir hung and had
to be killed manually. Trying it again, I got an out-of-memory error
The hanging behavior appears to be intermittent. I haven't been able
to identify conditions under which it reliably occurs. I realize this
is a TODO test, but it shouldn't hang. Perhaps it should just be skipped.
Probably so. I have an idea what it is, but I haven't quite fixed it yet.
Does the attached patch make the test pass, or at least not take up so much
memory?
[ turning on gc]
Alas, no. Today I couldn't get stm/llqueue_2.pir to hang. It just exited
with a "PANIC: Out of mem" error with or without your suggested patch.
I have no idea what that means. And if I can't pin it down any better
than that, I don't exepct there's much you can do, unless it's failing for
you too.
It fails for me too (MacOSX 10.4.9, Intel Core 2 Duo), but it was marked
as TODO for the release.
t/stm/llqueue............................ok 1/2
# Failed (TODO) test (t/stm/llqueue.t at line 59)#
got: ''# expected: 'sum is 4950# '# './parrot -D40 --gc-debug
"/Users/allison/projects/svn/parrot/t/stm/llqueue_2.pir"' failed with
exit code [SIGNAL 11]
chromatic, your patch does seem to fix the problem for me, but then so
does running 'make realclean'. (I've been getting intermittent test
hangs with STM on various different tests for a few weeks now, and they
always go away when I run 'realclean'. And, when I set out to track them
down, they disappear.)
Allison