[En-Nut-Discussion] PPP/memory problem

p3stk4 nut at krazniki.pl
Tue Oct 30 10:02:09 CET 2007


I've found next problem. When the device disconnects gprs session, make
or answer an incoming call and establishes a new gprs session again the
heap size is decreased exactly by 66 bytes;

Daniel


Dnia 23-10-2007, Wt o godzinie 16:07 +0200, p3stk4 pisze:
> Dnia 18-10-2007, Cz o godzinie 12:36 +0200, Harald Kipp pisze:
> > Ernst Stippl schrieb:
> > > I searched thru the archive and found this. I do not know if the fix made it
> > > into 4.4.0.0. Please have a look.
> > >   
> > It's included
> > http://ethernut.cvs.sourceforge.net/ethernut/nut/dev/ppp.c?view=diff&r1=text&tr1=1.10&r2=text&tr2=1.9&diff_format=h
> > 
> > I haven't had a chance to look to Daniel's problem more closely, but it 
> > may be a stack overflow problem.
> 
> It seems like stack overflow but I really don't know how to track it.
> I've rewritten the modem management module to use only a dynamic memory
> and I've made some cleanup. The ppp link is now established but
> sometimes device hang up at startup (before OPEN_GPRS state).
> 
> Daniel
> 
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion




More information about the En-Nut-Discussion mailing list