unbelievable! thank You Sylvain.
it works... but I can not eplain why... Why?


Sylvain Rochet wrote:
> 
> Hi Alex,
> 
> 
> On Wed, Jun 06, 2012 at 10:52:11PM -0700, Alex2051 wrote:
>> 
>> static void sys_thread_wrapper(void * arg)
>> {
>>   ....
>>   sys_thread_timeouts_mark_empty();
>> 
>>   vTaskDelete(0);// after this operator program goes to hard fault
>> exeption
>> }
>> 
>> But if I setup low ptimisation for best debug support I have no fail! 
> 
> What happens if you add a while(1) after vTaskDelete() ?
> 
> 
>> It means that some memory regions used by another process in good 
>> optimisation are freed by PPP, but must not be freed.. I cant find 
>> what I do wrong.
> 
> Don't think so.
> 
> 
> Sylvain
> 
>  
> _______________________________________________
> lwip-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/lwip-users
> 

-- 
View this message in context: 
http://old.nabble.com/Hard-Fault-on-PPP-thread-delete-tp33973941p33974639.html
Sent from the lwip-users mailing list archive at Nabble.com.


_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to