WangDaYeeeeee / GeometricWeather

A Material Design Weather Application
GNU Lesser General Public License v3.0
2.44k stars 186 forks source link

App often crashes when used with multiple locations #282

Open wusselp opened 2 years ago

wusselp commented 2 years ago

The app often crashes after some seconds after starting it when I use it with multiple locations. Sometimes it works though.

Device: Samsung Galaxy S5 Android 11 (LineageOS 18.1) App installed via f-droid.

papjul commented 2 years ago

How many locations do you have?

wusselp commented 2 years ago

Five ones currently. Crashes quite frequently. No error messages are displayed, the app just closes itself.

papjul commented 2 years ago

This doesn't seem like a lot. I would suspect an issue from an unsupported version of your device (should be Android 4.4 to 6.0 from stock) or limitation from device characteristics (RAM, CPU, etc). I remember a similar issue with another old device where there was an issue in the GPS driver from LineageOS. Do you have any log? Do you have the same issue with other apps? As a last resort, you can try with stock 6.0 to see if you can reproduce the issue.

wusselp commented 2 years ago

I do not have any such issues with other apps. GPS does a cold start very often which is somewhat annoying, but it works (and I am not using it with Geometric Weather). Where can I find Geometric Weather logs?

papjul commented 2 years ago

Use adb logcat from a computer, or Logcat Reader app from F-Droid. It will contain logs for all apps (crash may be due to something else and not the Geometric Weather app itself).

wusselp commented 2 years ago

OK thanks, nice tool.. :) In the attachment you can find the log file. Looks like it is some memory issue indeed. What are the memory requirements of Geometric Weather? As said, all other apps I use are just running fine..

logcat_12-27-2021_11-43-00.txt

papjul commented 2 years ago

Yee, it seems so. I have no idea but 2GB RAM seems very low to me for LineageOS 18.1. It must be very slow to use with other apps. How is web browsing going? Is there enough memory?

wusselp commented 2 years ago

To be honest, it works quite well (at least for what I am used to). LineageOS 18.1 works like a charm, very fluent. Web browsing also works well, although I mainly do lightweight stuff like reading newspapers or searching google on my phone, so no idea how it works with heavy-weight applications (crypto DEX or so). The Samsung Galaxy S5 still is among the most used LineageOS-phones (it has an exchangeable battery).