Git commit d28afb6664459cf28d73d7617b74c49711ce7a86 by Kurt Hindenburg, on = behalf of Martin T. H. Sandsmark. Committed on 24/11/2016 at 14:42. Pushed by hindenburg into branch 'Applications/16.12'. Only use foreground process info if valid getProcessInfo() returned _foregroundProcessInfo without checking the return value of updateForegroundProcessInfo() indicating whether _foregroundProcessInfo was non-existent or invalid. I think this might be the solution to a bunch of recent crash bugs, but not closing them as I can't test. Also skipping RB because it is a simple patch and RB is down from here. CCBUG: 372401 CCBUG: 372620 CCBUG: 372619 CCBUG: 372593 (cherry picked from commit 40b1f0e851c115e1a2df79e7ec4bc4fe726d9e43) M +1 -2 src/Session.cpp https://commits.kde.org/konsole/d28afb6664459cf28d73d7617b74c49711ce7a86 diff --git a/src/Session.cpp b/src/Session.cpp index 3269550..d63c8a0 100644 --- a/src/Session.cpp +++ b/src/Session.cpp @@ -961,8 +961,7 @@ ProcessInfo* Session::getProcessInfo() { ProcessInfo* process =3D 0; = - if (isForegroundProcessActive()) { - updateForegroundProcessInfo(); + if (isForegroundProcessActive() && updateForegroundProcessInfo()) { process =3D _foregroundProcessInfo; } else { updateSessionProcessInfo();