fhorinek / BB

GNU General Public License v2.0
29 stars 15 forks source link

[D.292.0.0] crashs due to airspaceside widget #481

Open ukeconsulting opened 1 year ago

ukeconsulting commented 1 year ago

I could boot some times on D.292.0.0 to put the airspace side widget (great one, there was no way I couldn't test it).

But no more it systematically crashs on boot.

I changed the default page on power on from one to another. Then boot OK Then change of page : same crash, same error

IMG_20230512_145822_854.jpg

Or this

IMG_20230512_152405_939.jpg

Put out airspaceside from my page : no more crashes.

All change of config had to be done by USB with changing the config files.

vojtechBohman commented 1 year ago

I have also tested this widget. It is nicely done but probably unstable. I tested it while driving in car also with map widget. Map widget is pretty slow, it was not able to load map fast enough. In a few seconds the vario froze. I tried it several times. The device itself was pretty warm.

bubeck commented 1 year ago

I am the author of the sideview. I will try to reproduce. It may be helpful to get an IGC or at least the GPS position where you received the crash. However, if it always crashes, I will be able to reproduce. ;)

It crashes here https://github.com/fhorinek/BB/blob/958b392f690128b44fc96139e8eca36db1b805fa/BB3/App/lib/lvgl/src/lv_font/lv_font_fmt_txt.c#L118 which indicates a out-of-memory situation.

bubeck commented 1 year ago

I tried to reproduce the problem by driving in car. However, no crash occured in my region. Could you please send me the airspace file, you are using (or the URL to download it) together with your GPS location or an IGC track showing the problem? If there is a crashdump on the device, this could also help.

Thanks!

ukeconsulting commented 1 year ago

I was in France as the same location as usual (you certainly have it in the company database since I do a lot of reports, perhaps even my personal address in France, you can use it), with the french airspaces. No igc track since it crashed from seconds after the power on

I will try to give further more useful informations.

bubeck commented 1 year ago

I was in France as the same location as usual (you certainly have it in the company database since I do a lot of reports, perhaps even my personal address in France, you can use it), with the french airspaces. No igc track since it crashed from seconds after the power on

Sorry, I am not part of the skybean company, but a free time open source contributor. Could you please send me the position where you had the crash? tilmann -at- bubecks.de

BTW, ukeconsulting.fr seems to be down.

ukeconsulting commented 1 year ago

D.293.0.0

i tested in Maurach : no bug for now. So my initial location and the airspaces attached should be the reason.

Update: it crash systematicaly again after a crash (cf picture, it froze on creating RAM dump until I hard reset after 20min). Unable to boot it freeze with blank lighted screen. I am now unable to write on the memory card from USB. Reading and erasing is ok. IMG_20230523_222632_352.jpg

bubeck commented 1 year ago

I was in France as the same location as usual (you certainly have it in the company database since I do a lot of reports, perhaps even my personal address in France, you can use it), with the french airspaces. No igc track since it crashed from seconds after the power on

I received your airspace "airspaces_alpes.txt" and your location. However, I was unable to reproduce the crash. The above problems indicate an out-of-memory problem. The only thing I noticed is, that your airspace file is really big (4.4 MB) and it seems to be a compilation of many single airspace files. Maybe this size leads to the problem. Also I noticed, that you are using a large number of active widgets. Maybe this is also causing problems.

Proposal: use a smaller airspace file (e.g. france). Maybe this helps to prevent the bug.

Apart from this I must handover to @fhorinek for general out of memory problems.