[Plugin] BetterCrash

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,945
Oberhesse wrote
Maintained crash with BetterCrash

BetterCrash.jpg

The package BetterCrash with CrashlogNotifier and Demangler offers the following possibilities:


Bettercrash / BetterCrash viewer (by Oberhesse):
- Automatic cleanup of crash logs (by age and number) at system startup.
- Display of new crash logs after system start.
- Additional generation of optimized crash log files from VTi crash logs:
- - Restricting new logs to image and crash information *.
- - Highlighting the error messages
- - Demangling the error codes (Demangler from rdamas)

* Note: Extracting the crash information from the logs provides better data protection, because the reduced log usually does not contain sensitive information (like access data). This makes it more suitable for posting in the forum.
Note (addendum): The crash log directory /media/hdd/ is not changeable for VTi. The path should only be changed if logs from archive/import directories are to be processed.

CrashlogNotifier (from MacDisein):
Included in the package is the CrashlogNotifier from MacDisein, which is loaded at system startup.
This allows to integrate crash notes into the skin.
It can be set to skip crash logs that have already been sighted in the Bettercrash viewer. If automatically displayed crash logs are closed again after the timeout (without user activity being detected), they will still be displayed by Notifier.

The CrashlogNotifier consists of a so-called component that can be integrated into any dialog via a widget.
But it makes most sense in the infobar, this is how it could look like:
crashlogNotifier.png

Source Code
<ePixmap alphatest="blend" pixmap="/usr/lib/enigma2/python/Components/Sources/icons/ico_bug_off.png" position="802,670" size="24,24" zPosition="1"/>
<widget alphatest="blend" pixmap="/usr/lib/enigma2/python/Components/Sources/icons/ico_bug_on.png" position="802,670" render="Pixmap" size="24,24" source="session.CrashlogNotifier" zPosition="2">
<convert type="ConditionalShowHide">Blink</convert>
</widget>

Demangler (from rdamas):
The integrated demangler prepares packaged C++ error messages.
Two SO compilations are installed for this purpose, of which the version required for the box (ARM/Mipsel) is loaded automatically.

v1.2 (10.3.2023)
- Improved error handling for log access problems
- Extended key assignment for Crashlogviewer (right/left, bouquet keys, back/forward, scroll direction configurable)
- Skin correction

v1.1 (28.02.2023):
Error when saving the evaluation state by the viewer fixed.

Thanks Oberhesse
 

Attachments

  • enigma2-plugin-extensions-bettercrash-1.2-all.ipk
    16.6 KB · Views: 5

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,945
v1.3 (as of 21.03.2023):
- Crashlog selection for the viewer (on start via blue button).
- Extended Viewer (optional) with line numbering and color highlighting of errors and warnings.
- - Direct jump to error positions possible (color keys)
- - Start position for calling the viewer adjustable (first error/last error)

Thanks Oberhesse
 

Attachments

  • enigma2-plugin-extensions-bettercrash-1.3-all.ipk
    23.8 KB · Views: 10
Top