Message Queue problem

Joel Sherrill joel.sherrill at oarcorp.com
Mon Apr 30 13:37:03 UTC 2007


Eric Norum wrote:
> Do you have the message queue manager enabled?
> When you say, "crash" do you mean that the call never even returns a  
> status code for you to examine?
>
>   
It is also possible that if the queue create is failing then it is 
unable to allocate
memory for the message buffers.  You have to reserve some extra memory
in the RTEMS Workspace for them.

--joel
> On Apr 30, 2007, at 8:15 AM, Samuel Bitton wrote:
>
>   
>> Hi
>>
>> I am trying a get an application working on a custom made 386 based  
>> BSP.
>> All is fine until I try to create a message queue as follow:
>> status = rtems_message_queue_create(
>> rtems_build_name('T','S','T','m'),3,10,RTEMS_FIFO| 
>> RTEMS_LOCAL,&msgQId );
>>
>> As soon as this line is executed the application crashes.
>> I believe my application is properly configured with
>> CONFIGURE_MAXIMUM_MESSAGE_QUEUES and sufficient task stack.
>>
>> What could be wrong?
>>
>> Thanks
>> Regards
>> Sam
>>
>> This e-mail and any attachments may contain confidential and
>> privileged information. If you are not the intended recipient,
>> please notify the sender immediately by return e-mail, delete this
>> e-mail and destroy any copies. Any dissemination or use of this
>> information by a person other than the intended recipient is
>> unauthorised and may be illegal.
>>
>> Surrey Satellite Technology Limited
>> Registered Office: Senate House, University of Surrey, Guildford,
>> Surrey, GU2 7XH   Registered in England & Wales No. 1916260 . VAT
>> Registration No. GB 413 5711 79
>>
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.com
>> http://rtems.rtems.org/mailman/listinfo/rtems-users
>>     
>
>   




More information about the users mailing list