markus mohrhard 2016-01-30 · 3 handling crashes in libreoffice from last esc regression entry:...

12
1 Handling Crashes in LibreOffice Handling crashes in LibreOffice Markus Mohrhard 2016-01-30

Upload: others

Post on 12-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Markus Mohrhard 2016-01-30 · 3 Handling Crashes in LibreOffice From last ESC regression entry: Crashes - 60 (+3) Get crash information early Breakpad + Socorro (Mozilla) Abrt + retrace

1Handling Crashes in LibreOffice

Handling crashes in LibreOffice

Markus Mohrhard2016-01-30

Page 2: Markus Mohrhard 2016-01-30 · 3 Handling Crashes in LibreOffice From last ESC regression entry: Crashes - 60 (+3) Get crash information early Breakpad + Socorro (Mozilla) Abrt + retrace

2Handling Crashes in LibreOffice

What are you talking about?

Page 3: Markus Mohrhard 2016-01-30 · 3 Handling Crashes in LibreOffice From last ESC regression entry: Crashes - 60 (+3) Get crash information early Breakpad + Socorro (Mozilla) Abrt + retrace

3Handling Crashes in LibreOffice

From last ESC regression entry:Crashes - 60 (+3)

Get crash information early

Breakpad + Socorro (Mozilla)Abrt + retracewhoopsie

Page 4: Markus Mohrhard 2016-01-30 · 3 Handling Crashes in LibreOffice From last ESC regression entry: Crashes - 60 (+3) Get crash information early Breakpad + Socorro (Mozilla) Abrt + retrace

4Handling Crashes in LibreOffice

Page 5: Markus Mohrhard 2016-01-30 · 3 Handling Crashes in LibreOffice From last ESC regression entry: Crashes - 60 (+3) Get crash information early Breakpad + Socorro (Mozilla) Abrt + retrace

5Handling Crashes in LibreOffice

Page 6: Markus Mohrhard 2016-01-30 · 3 Handling Crashes in LibreOffice From last ESC regression entry: Crashes - 60 (+3) Get crash information early Breakpad + Socorro (Mozilla) Abrt + retrace

6Handling Crashes in LibreOffice

Architecture

Page 7: Markus Mohrhard 2016-01-30 · 3 Handling Crashes in LibreOffice From last ESC regression entry: Crashes - 60 (+3) Get crash information early Breakpad + Socorro (Mozilla) Abrt + retrace

7Handling Crashes in LibreOffice

Client side

Breakpad

Key-Value Store for metadataGPU (driver), OpenCL (driver), ...

ini-file during crash

Upload during recovery dialogGives user a choiceAllows to show informationAvoid running more than necessary in crash handler

Page 8: Markus Mohrhard 2016-01-30 · 3 Handling Crashes in LibreOffice From last ESC regression entry: Crashes - 60 (+3) Get crash information early Breakpad + Socorro (Mozilla) Abrt + retrace

8Handling Crashes in LibreOffice

Server side

Symbolize reports

Python + django

Independent django apps

submit processor

upload

stats

base

Page 9: Markus Mohrhard 2016-01-30 · 3 Handling Crashes in LibreOffice From last ESC regression entry: Crashes - 60 (+3) Get crash information early Breakpad + Socorro (Mozilla) Abrt + retrace

9Handling Crashes in LibreOffice

Server (2)

About 1.5k lines of python

Inspired by socorro

Some Javascript and CSS

Needs some improvement to become beautiful

Page 10: Markus Mohrhard 2016-01-30 · 3 Handling Crashes in LibreOffice From last ESC regression entry: Crashes - 60 (+3) Get crash information early Breakpad + Socorro (Mozilla) Abrt + retrace

10Handling Crashes in LibreOffice

Workflow

Crash

Restart

Recovery Dialog

Upload minidump

Uploaded crash

Cron Job

Processed crash

Cron Job

Statistics

Page 11: Markus Mohrhard 2016-01-30 · 3 Handling Crashes in LibreOffice From last ESC regression entry: Crashes - 60 (+3) Get crash information early Breakpad + Socorro (Mozilla) Abrt + retrace

11Handling Crashes in LibreOffice

Demo

Page 12: Markus Mohrhard 2016-01-30 · 3 Handling Crashes in LibreOffice From last ESC regression entry: Crashes - 60 (+3) Get crash information early Breakpad + Socorro (Mozilla) Abrt + retrace

12Handling Crashes in LibreOffice

All text and image content in this document is licensed under the Creative Commons Attribution-Share Alike 3.0 License (unless otherwise specified). "LibreOffice" and "The Document Foundation" are registered trademarks. Their respective logos and icons are subject to international copyright laws. The use of these therefore is subject to the trademark policy.

Thank you …

… for listening!