[Ovmsdev] sprintf / crashes
Michael Balzer
dexter at expeedo.de
Mon Dec 31 05:08:31 HKT 2012
Mark,
just checked in the sprintf removal work for the last remaining places.
I had a stack crash from "GPRS?" just after my last mail, so I decided
to do this now.
Code size went down 3%. Not that much, but nice to have.
Regards,
Michael
Am 30.12.2012 15:42, schrieb Michael Balzer:
> Mark,
>
> could you please audit & test this?
>
> https://github.com/markwj/Open-Vehicle-Monitoring-System/commit/ad17c2662942536bc391cee282debbfcdd2ae2f5
>
>
> I've reworked most of the complex sprintf() calls in the net and
> net_msg modules now. I also added a simple crash debug & checkpoint
> utility to be able to measure the effect and possibly narrow down
> remaining occurrences. It seems I've gained a lot of stability, had
> only two watchdog timeouts during the last week, no stack problems at
> all.
>
> I hesitate to merge into the master because I currently have link /
> connectivity problems, especially during driving. I introduced a GPS
> logging to optimize my antenna positions and managed to get some
> really nice tracks three days ago, so I don't think this is related to
> my changes... but I'm not 100% sure. I tried different antenna
> positions and another GSM network, but the connection keeps dropping
> when moving the car, and GPS position updates need minutes. Could be
> weather conditions ...or some tricky race condition bug?
>
> Thanks,
> Michael
>
>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
--
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20121230/fb7ab9e8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dexter.vcf
Type: text/x-vcard
Size: 206 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20121230/fb7ab9e8/attachment-0002.vcf>
More information about the OvmsDev
mailing list