[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Hard Fault on PPP thread delete
From: |
Sylvain Rochet |
Subject: |
Re: [lwip-users] Hard Fault on PPP thread delete |
Date: |
Thu, 7 Jun 2012 10:40:47 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
signature.asc
Description: Digital signature