DarkFlippers / unleashed-firmware

Flipper Zero Unleashed Firmware
https://t.me/flipperzero_unofficial
GNU General Public License v3.0
15.72k stars 1.33k forks source link

Crash after bluetooth connection used with [BMI160]Air Mouse application #674

Open Z0rinSerg opened 6 months ago

Z0rinSerg commented 6 months ago

Describe the bug.

Flipper crashed after Bluetooth connection used with [BMI160]Air Mouse application Sometime flipper has crashed after Bluetooth disconnecting on PC Host. Sometime crash happened after another trying to connect by Bluetooth at the same application, when after disconnecting on PC host I try to connect to Flipper. Crashes never happened after Bluetooth connect/disconnect with another application for example – BT Remote for Kodi.

Flipper Zero Model: FZ.1 FW: unlshd-066e GPIO module : BMI160

Reproduction

On Flipper 0: Settings→Bluetooth→ON Apps→GPIO→[BMI160]Air Mouse→Bluetooth On PC Host – Bluetooth On – Control FlipperName – Connect. All works properly, no problems.

On PC Host – Bluetooth On – Control FlipperName – Disconnect. After that – on Flipper 0: “Flipper crashed and was rebooted MPU fault, possibly stack overflow” message appeared.

Target

No response

Logs

No response

Anything else?

No response

InageMantra commented 4 months ago

I'm getting this too and it's pretty annoying.

Oddly enough it usually doesn't crash during the app itself, only after exiting Air Mouse and trying to use another app does it crash, and usually with a random error like "bus fault" or "null pointer dereferenced".

I also get the "MPU fault possible stack overflow" sometimes as OP mentioned.

xMasterX commented 2 weeks ago

Please test again on latest dev build, app was updated recently