Next-Flip / Momentum-Firmware

🐬 Feature-rich, stable and customizable Flipper Firmware
https://momentum-fw.dev
GNU General Public License v3.0
4.99k stars 206 forks source link

repetaed bus fault & out of ram crashes #234

Closed GameLord2011 closed 2 months ago

GameLord2011 commented 2 months ago

Describe the bug.

I randomly get "Bus Fault" and "Out of Ram" crashes. How do I fix this?

Reproduction

I can't rember.

Target

Hardware? (idk)

Logs

No response

Anything else?

No response

Willy-JL commented 2 months ago

Flipper hardware is very limited and we are pushing it to its limits. Simply, it's running out of ram. What you can try is changing what asset pack your using, since asset packs containing icons and fonts will consume some ram in background. Also some third party apps are coded a bit poorly and will leak memory, so after a while of using a flipper, a out of memory crash is normal. If you can reproduce a crash consistently, and disabled asset packs, then you might have a bug on your hands by we can try to fix.

GameLord2011 commented 2 months ago

k it usually happens when using the nfc app

AztecCodes commented 2 months ago

Yes the issue with the NFC App is known. It was already reported.

Check the issue here in the Unleashed Repo: https://github.com/DarkFlippers/unleashed-firmware/issues/778 The issue was also reported in Momentum Repo here: https://github.com/Next-Flip/Momentum-Firmware/issues/144

Using the Flipper Zero and then starting the NFC App can lead to Bus Fault or Out of RAM Errors.

Helios343 commented 2 months ago

Ohhh I see if your using one of those modules just be aware that that they can short out on the antenna connection there onto the board

On Wed, 25 Sept 2024, 8:20 am AztecCodes, @.***> wrote:

Yes the issue with the NFC App is known. It was already reported.

Check the issue here: DarkFlippers/unleashed-firmware#778 https://github.com/DarkFlippers/unleashed-firmware/issues/778

Using the Flipper Zero and then starting the NFC App can lead to Bus Fault or Out of RAM Errors.

— Reply to this email directly, view it on GitHub https://github.com/Next-Flip/Momentum-Firmware/issues/234#issuecomment-2372489396, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4TCYWXOORMHTQF6BGNHOELZYHQRXAVCNFSM6AAAAABOWS6LHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZSGQ4DSMZZGY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

FalsePhilosopher commented 2 months ago

Hold your back arrow for the quick power off function, does it display the crying dolphin or just turn off power? Yesterday I upgraded from 75e to 78e and the issue persisted. I noticed the different power off menu and went about fixing it. Rebooted into DFU mode, repaired to 1.0.1 from qflipper, once it booted after install I formatted the sd card. I then installed 78e from qflipper and I got my crying dolphin back an it doesn't crash launching files from explorer. I have not done extensive testing, just launched a file from browser and micro python which crashed with a bus error the first time but launched the second time. I came to the UL issue to report my findings and figured I would mirror them here as well. Edit: After a crash using the change name function and rebooting I don't have the crying dolphin anymore, maybe it's just because I switched from bt screen sharing to an android qflipper instance to usb linux qflipper it's a different screen idk. My screen is broken, so I need to use some form of display forwarding to use my fz.

GameLord2011 commented 2 months ago

r u using dev? im using release.

On Tue, Sep 24, 2024 at 7:45 PM FalsePhilosopher @.***> wrote:

Hold your back arrow for the quick power off function, does it display the crying dolphin or just turn off power? Yesterday I upgraded from 75e to 78e and the issue persisted. I noticed the different power off menu and went about fixing it. Rebooted into DFU mode, repaired to 1.0.1 from qflipper, once it booted after install I formatted the sd card. I then installed 78e from qflipper and I got my crying dolphin back an it doesn't crash launching files from explorer. I have not done extensive testing, just launched a file from browser and micro python which crashed with a bus error the first time but launched the second time. I came to the UL issue to report my findings and figured I would mirror them here as well.

— Reply to this email directly, view it on GitHub https://github.com/Next-Flip/Momentum-Firmware/issues/234#issuecomment-2372581603, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4SFQUPHYMLIIYHMCD6B6ITZYH2RPAVCNFSM6AAAAABOWS6LHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZSGU4DCNRQGM . You are receiving this because you authored the thread.Message ID: @.***>

GameLord2011 commented 2 months ago

wait that is ofw

On Wed, Sep 25, 2024 at 2:07 PM Reid Burton @.***> wrote:

r u using dev? im using release.

On Tue, Sep 24, 2024 at 7:45 PM FalsePhilosopher @.***> wrote:

Hold your back arrow for the quick power off function, does it display the crying dolphin or just turn off power? Yesterday I upgraded from 75e to 78e and the issue persisted. I noticed the different power off menu and went about fixing it. Rebooted into DFU mode, repaired to 1.0.1 from qflipper, once it booted after install I formatted the sd card. I then installed 78e from qflipper and I got my crying dolphin back an it doesn't crash launching files from explorer. I have not done extensive testing, just launched a file from browser and micro python which crashed with a bus error the first time but launched the second time. I came to the UL issue to report my findings and figured I would mirror them here as well.

— Reply to this email directly, view it on GitHub https://github.com/Next-Flip/Momentum-Firmware/issues/234#issuecomment-2372581603, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4SFQUPHYMLIIYHMCD6B6ITZYH2RPAVCNFSM6AAAAABOWS6LHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZSGU4DCNRQGM . You are receiving this because you authored the thread.Message ID: @.***>

GameLord2011 commented 2 months ago

that's an ofw release @FalsePhilosopher

On Wed, Sep 25, 2024 at 2:08 PM Reid Burton @.***> wrote:

wait that is ofw

On Wed, Sep 25, 2024 at 2:07 PM Reid Burton @.***> wrote:

r u using dev? im using release.

On Tue, Sep 24, 2024 at 7:45 PM FalsePhilosopher < @.***> wrote:

Hold your back arrow for the quick power off function, does it display the crying dolphin or just turn off power? Yesterday I upgraded from 75e to 78e and the issue persisted. I noticed the different power off menu and went about fixing it. Rebooted into DFU mode, repaired to 1.0.1 from qflipper, once it booted after install I formatted the sd card. I then installed 78e from qflipper and I got my crying dolphin back an it doesn't crash launching files from explorer. I have not done extensive testing, just launched a file from browser and micro python which crashed with a bus error the first time but launched the second time. I came to the UL issue to report my findings and figured I would mirror them here as well.

— Reply to this email directly, view it on GitHub https://github.com/Next-Flip/Momentum-Firmware/issues/234#issuecomment-2372581603, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4SFQUPHYMLIIYHMCD6B6ITZYH2RPAVCNFSM6AAAAABOWS6LHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZSGU4DCNRQGM . You are receiving this because you authored the thread.Message ID: @.***>

GameLord2011 commented 2 months ago

1.0.1

On Wed, Sep 25, 2024 at 2:10 PM Reid Burton @.***> wrote:

that's an ofw release @FalsePhilosopher

On Wed, Sep 25, 2024 at 2:08 PM Reid Burton @.***> wrote:

wait that is ofw

On Wed, Sep 25, 2024 at 2:07 PM Reid Burton @.***> wrote:

r u using dev? im using release.

On Tue, Sep 24, 2024 at 7:45 PM FalsePhilosopher < @.***> wrote:

Hold your back arrow for the quick power off function, does it display the crying dolphin or just turn off power? Yesterday I upgraded from 75e to 78e and the issue persisted. I noticed the different power off menu and went about fixing it. Rebooted into DFU mode, repaired to 1.0.1 from qflipper, once it booted after install I formatted the sd card. I then installed 78e from qflipper and I got my crying dolphin back an it doesn't crash launching files from explorer. I have not done extensive testing, just launched a file from browser and micro python which crashed with a bus error the first time but launched the second time. I came to the UL issue to report my findings and figured I would mirror them here as well.

— Reply to this email directly, view it on GitHub https://github.com/Next-Flip/Momentum-Firmware/issues/234#issuecomment-2372581603, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4SFQUPHYMLIIYHMCD6B6ITZYH2RPAVCNFSM6AAAAABOWS6LHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZSGU4DCNRQGM . You are receiving this because you authored the thread.Message ID: @.***>

GameLord2011 commented 2 months ago

also, @Helios343 im using internal modules

On Wed, Sep 25, 2024 at 2:10 PM Reid Burton @.***> wrote:

1.0.1

On Wed, Sep 25, 2024 at 2:10 PM Reid Burton @.***> wrote:

that's an ofw release @FalsePhilosopher

On Wed, Sep 25, 2024 at 2:08 PM Reid Burton @.***> wrote:

wait that is ofw

On Wed, Sep 25, 2024 at 2:07 PM Reid Burton @.***> wrote:

r u using dev? im using release.

On Tue, Sep 24, 2024 at 7:45 PM FalsePhilosopher < @.***> wrote:

Hold your back arrow for the quick power off function, does it display the crying dolphin or just turn off power? Yesterday I upgraded from 75e to 78e and the issue persisted. I noticed the different power off menu and went about fixing it. Rebooted into DFU mode, repaired to 1.0.1 from qflipper, once it booted after install I formatted the sd card. I then installed 78e from qflipper and I got my crying dolphin back an it doesn't crash launching files from explorer. I have not done extensive testing, just launched a file from browser and micro python which crashed with a bus error the first time but launched the second time. I came to the UL issue to report my findings and figured I would mirror them here as well.

— Reply to this email directly, view it on GitHub https://github.com/Next-Flip/Momentum-Firmware/issues/234#issuecomment-2372581603, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4SFQUPHYMLIIYHMCD6B6ITZYH2RPAVCNFSM6AAAAABOWS6LHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZSGU4DCNRQGM . You are receiving this because you authored the thread.Message ID: @.***>

Helios343 commented 2 months ago

Sorry there was a error on my end that message wasn't ment to be in this thread

On Thu, 26 Sept 2024, 4:12 am GameLord2011, @.***> wrote:

also, @Helios343 im using internal modules

On Wed, Sep 25, 2024 at 2:10 PM Reid Burton @.***> wrote:

1.0.1

On Wed, Sep 25, 2024 at 2:10 PM Reid Burton @.***> wrote:

that's an ofw release @FalsePhilosopher

On Wed, Sep 25, 2024 at 2:08 PM Reid Burton @.***> wrote:

wait that is ofw

On Wed, Sep 25, 2024 at 2:07 PM Reid Burton @.***> wrote:

r u using dev? im using release.

On Tue, Sep 24, 2024 at 7:45 PM FalsePhilosopher < @.***> wrote:

Hold your back arrow for the quick power off function, does it display the crying dolphin or just turn off power? Yesterday I upgraded from 75e to 78e and the issue persisted. I noticed the different power off menu and went about fixing it. Rebooted into DFU mode, repaired to 1.0.1 from qflipper, once it booted after install I formatted the sd card. I then installed 78e from qflipper and I got my crying dolphin back an it doesn't crash launching files from explorer. I have not done extensive testing, just launched a file from browser and micro python which crashed with a bus error the first time but launched the second time. I came to the UL issue to report my findings and figured I would mirror them here as well.

— Reply to this email directly, view it on GitHub < https://github.com/Next-Flip/Momentum-Firmware/issues/234#issuecomment-2372581603>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/A4SFQUPHYMLIIYHMCD6B6ITZYH2RPAVCNFSM6AAAAABOWS6LHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZSGU4DCNRQGM>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/Next-Flip/Momentum-Firmware/issues/234#issuecomment-2374832370, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4TCYWRB3P5NNAMPEHXBEDTZYL4HRAVCNFSM6AAAAABOWS6LHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZUHAZTEMZXGA . You are receiving this because you were mentioned.Message ID: @.***>

GameLord2011 commented 1 month ago

💡 you could unload anything that isn't currently being used

On Fri, Sep 27, 2024 at 12:12 AM WillyJL @.***> wrote:

Closed #234 https://github.com/Next-Flip/Momentum-Firmware/issues/234 as completed.

— Reply to this email directly, view it on GitHub https://github.com/Next-Flip/Momentum-Firmware/issues/234#event-14425149343, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4SFQUKU73MW3Z774BWJB7DZYTLJHAVCNFSM6AAAAABOWS6LHSVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGQZDKMJUHEZTIMY . You are receiving this because you authored the thread.Message ID: @.***>

Willy-JL commented 1 month ago

Which is what happens?

GameLord2011 commented 1 month ago

Forehead slap

On Tue, Oct 1, 2024 at 11:20 AM WillyJL @.***> wrote:

Which is what happens?

— Reply to this email directly, view it on GitHub https://github.com/Next-Flip/Momentum-Firmware/issues/234#issuecomment-2386297845, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4SFQUPXZ63O7XL2Z2EC2TLZZK4SJAVCNFSM6AAAAABOWS6LHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBWGI4TOOBUGU . You are receiving this because you authored the thread.Message ID: @.***>