Cog console messages starting Squeak4.2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Cog console messages starting Squeak4.2

Ken G. Brown
 
I'm noticing these console messages when starting up a fresh Squeak4.2-10548-alpha.image on Cog.app 4.0.0 from http://www.mirandabanda.org/files/Cog/VM/VM.r2316/ on MacOS X 10.6.5

10/12/11 2:08:32 PM [0x0-0x283283].com.teleplace.Teleplace[6349] mprotect(x,y,PROT_READ | PROT_WRITE): Invalid argument

>From Activity Monitor                                                                
Croquet

Threads 3
Real Memory 27.9 MB
Intel
Virtual Memory 50.1 MB
Private memory 2.4 MB
shared memory 28.4 MB
       
======
System
Total Memory 8 GB
Free memory 4.41 GB
Wired 657.2 MB
Active 1.27 GB
Inactive 1.68 GB
Used 3.59 GB
VM size 148.61 GB
page ins 5.58 GB
Page outs 668 GB
Swap used 0 MB

Are the messages anythig to worry about?
Ken G. Brown
Reply | Threaded
Open this post in threaded view
|

Re: Cog console messages starting Squeak4.2

johnmci

These require a change to the VM, something about calculating the start & length of the mprotect arguments correctly.

On 2010-12-11, at 1:13 PM, Ken G. Brown wrote:

>
> I'm noticing these console messages when starting up a fresh Squeak4.2-10548-alpha.image on Cog.app 4.0.0 from http://www.mirandabanda.org/files/Cog/VM/VM.r2316/ on MacOS X 10.6.5
>
> 10/12/11 2:08:32 PM [0x0-0x283283].com.teleplace.Teleplace[6349] mprotect(x,y,PROT_READ | PROT_WRITE): Invalid argument
>
>> From Activity Monitor                                                                
> Croquet
>
> Threads 3
> Real Memory 27.9 MB
> Intel
> Virtual Memory 50.1 MB
> Private memory 2.4 MB
> shared memory 28.4 MB
>
> ======
> System
> Total Memory 8 GB
> Free memory 4.41 GB
> Wired 657.2 MB
> Active 1.27 GB
> Inactive 1.68 GB
> Used 3.59 GB
> VM size 148.61 GB
> page ins 5.58 GB
> Page outs 668 GB
> Swap used 0 MB
>
> Are the messages anythig to worry about?
> Ken G. Brown

--
===========================================================================
John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================




Reply | Threaded
Open this post in threaded view
|

Re: Cog console messages starting Squeak4.2

Igor Stasenko

On 12 December 2010 00:00, John M McIntosh
<[hidden email]> wrote:
>
> These require a change to the VM, something about calculating the start & length of the mprotect arguments correctly.
>
yep.
i tried to play with these arguments by rounding them , but no positive change.

the one problem that when reading an image, vm requests to allocate
unaligned block of memory,
and even worse than that, it does not remembers the exact size of
allocated memory.
So, it is hard to pass exactly the same values to mprotect() , for
clean experiment, to see if it works at all,
or there just something weird with that function.

> On 2010-12-11, at 1:13 PM, Ken G. Brown wrote:
>
>>
>> I'm noticing these console messages when starting up a fresh Squeak4.2-10548-alpha.image on Cog.app 4.0.0 from http://www.mirandabanda.org/files/Cog/VM/VM.r2316/ on MacOS X 10.6.5
>>
>> 10/12/11 2:08:32 PM   [0x0-0x283283].com.teleplace.Teleplace[6349]    mprotect(x,y,PROT_READ | PROT_WRITE): Invalid argument
>>
>>> From Activity Monitor
>> Croquet
>>
>> Threads 3
>> Real Memory 27.9 MB
>> Intel
>> Virtual Memory 50.1 MB
>> Private memory 2.4 MB
>> shared memory 28.4 MB
>>
>> ======
>> System
>> Total Memory 8 GB
>> Free memory 4.41 GB
>> Wired 657.2 MB
>> Active 1.27 GB
>> Inactive 1.68 GB
>> Used 3.59 GB
>> VM size 148.61 GB
>> page ins 5.58 GB
>> Page outs 668 GB
>> Swap used 0 MB
>>
>> Are the messages anythig to worry about?
>> Ken G. Brown
>
> --
> ===========================================================================
> John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> ===========================================================================
>
>
>
>
>



--
Best regards,
Igor Stasenko AKA sig.