-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation faults in python with v1.4.20240928 on JKBMS BLE #86
Comments
Ok, while the BLE setup has been running for a while and was mostly stable, it has always had some moments where it would just hang. I've been thinking about a watchdog process that would monitor that there are new values from the BMS within a certain time frame. Let me know if you think this is a good idea and I might find some time in the next weeks to implement that. Due to the instability, I'll switch back to serial connection. |
I had the same thing, gone back to 1.32 |
Unfortunately I troubleshooted this over 100 hours and found no real solution to all this Bluetooth problems. Therefore I decided to not put any other effort into the Bluetooth part. Another reason is, that the users apparently do not appreciate the work I do and they cannot immagine how much time consuming this all is. For that 1-2 donations, if at all, a month on over 9.000 dbus-serialbattery installations it is not worth it. If everyone would donate 1 €/year then the motivation would be another, but that is not the case. Feel free to open a PR :-) |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Just when i see in log : Then in battery.py |
See also Louisvdw#1092 (comment) |
Describe the bug
When running v1.4.20240928, I regularly get segfaults in the python binary using a JKBMS via BLE.
I've downgraded again to v1.3.20240705 and this one has run fine since a day now. I know this is hard to debug, but I'm happy to help. If you know how to enable core dumps on this, it would be helpful, otherwise I can research it.
How to reproduce
Install latest release, wait for a certain time (few hours), segfaults regularly occur.
Expected behavior
No segfaults
Driver version of the currently installed driver
v1.4.20240928
Driver version of the last known working driver
v1.3.20240705
Venus OS device type
Raspberry Pi 4
Venus OS version
v3.42
BMS type
JKBMS (Heltec BMS)
Cell count
16
Battery count
2
Connection type
Bluetooth
Config file
Relevant log output
Any other information that may be helpful
No response
The text was updated successfully, but these errors were encountered: