[Ovmsdev] Branch for-v3.3 network issues

Michael Balzer dexter at expeedo.de
Sun Sep 26 19:08:57 HKT 2021


Craig,

Am 25.09.21 um 23:23 schrieb Craig Leres:
> First crash on the production module, looks like it only ran for two 
> minutes? Does appear to be event related.
>
> Restarted. Meanwhile, the sim7600 guy has run for me than 30 minutes.
>
> components/mongoose/mongoose/mongoose.c:1701
> components/mongoose/mongoose/mongoose.c:1701
> components/ovms_server_v3/src/ovms_server_v3.cpp:900
> /usr/local/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.tcc:405 
>
> /usr/local/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/functional:2271 
>
> main/ovms_events.cpp:268 (discriminator 2)
> main/ovms_events.cpp:222
> main/ovms_events.cpp:80

That's the V3 MQTT code subscribing to the topics after connection has 
been established. The crash seems to have then been in the mongoose 
strdup() implementation, which again may point to some memory issue, but 
not of the type I observed (i.e. no heap corruption involved directly).

If that repeats, I suggest trying with v3 server disabled.

Regards,
Michael

-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20210926/848c235c/attachment.sig>


More information about the OvmsDev mailing list