mayhem-firmware icon indicating copy to clipboard operation
mayhem-firmware copied to clipboard

GURU fault when file path+name >64 characters in Notepad (LOW PRIORITY)

Open NotherNgineer opened this issue 1 year ago • 1 comments

To reproduce, open Notepad app, press Select to open File Manager, and click on a file with a 64+ character path to open in Notepad, and a GURU meditation fault occurs in set_focus_widget(). Examples of long file names that will cause this fault:

DEBUG/DEBUG_DUMP_0000_20230801_20230801_20230801rrrrxxyy001.TXT

LOGS/ADSB_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728_20230728.TXT

guru-fault

I realize that File Manager has a define for 64 character maximum file name, but I'd like to understand the reason for the fault. (Also, increasing the max file name length in File Manager does not prevent the fault.)

Affected firmware versions include v1.7.4

NotherNgineer avatar Aug 01 '23 20:08 NotherNgineer

GURU fault occurs in call to viewer.focus(). Attempting to display any nav modal in Notepad also results in a fault.

I believe this is a more general issue with NavigationView and push/pop.

NotherNgineer avatar Aug 05 '23 04:08 NotherNgineer