harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@pobox.com>
Subject Re: [jira] Created: (HARMONY-638) [classlib] Tests hang on in luni : tests.api.java.io.FileTest / test_setReadOnly on Ubunti 6.06
Date Thu, 22 Jun 2006 16:58:11 GMT
This is now resolved.  Waiting for squawks of protest before closing.

Things to think about/do :

1) We need richer return codes from procimpl.c execProgram() for windows.

2) I'll find out what config on Ubuntu allowed this behavior (had fork()
fail) and we should add a regression for it, and start doing more stress
testing, as I wonder what else we'll find....

geir


Geir Magnusson Jr wrote:
> And btw, thanks to Tim, Mark and Oliver for thinking about this problem...
> 
> Geir Magnusson Jr wrote:
>> thx - I've figured out what's going on...
>>
>> fork() is failing
>>
>> When I run eclipse w a big max heap, it fails.  When it's default heap,
>> it doesn't.  I'd love to claim that it's Eclipe's fault, but clearly
>> there's some ulimit thingy in Ubuntu.
>>
>> Anyway, I'm going to rework the natives so that fork failure results in
>> an exception since I can make it happen.
>>
>> Stay tuned.
>>
>> geir
>>
>>
>> Tim Ellison wrote:
>>> Magnusson, Geir wrote:
>>>> Could you send me the code for Process so I can see what's going on
>>>> here? :)
>>> Process is a boring abstract type, I suspect that you want to look at
>>> SystemProcess [1] and the associated natives [2].
>>>
>>>
>>> [1]
>>> http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/process/SystemProcess.java?view=markup
>>>
>>> [2]
>>> http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/native-src/shared/luni/process.c?view=markup
>>>
>>>
>>> Regards,
>>> Tim
>>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>
>>
>>
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> 
> 
> 

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message