qt5 program with "-platform linuxfb" does not reset framebuffer when crashing
0
votes
0
answers
321
views
We have a qt5 program running under Alpine Linux v3.14 which uses a fragile legacy library which may cause the entire program to crash. Alpine Linux switches to framebuffer mode during start up. We compile the library from source but do not have the time to harden the code.
Our program runs in a Linux framebuffer device using
qtprogram -platform linuxfb
which works well, except that when the program crashes and returns to the shell, the framebuffer is not reset properly giving the incorrect impression that the program is still running but is non-responsive.
I would like to at least blank out the framebuffer and preferably switch back to the Linux console mode so we can see output from the invoking shell script.
How should I approach this?
Asked by Thorbjørn Ravn Andersen
(1064 rep)
Oct 6, 2021, 03:35 PM