Bug 406358

Summary: Kdevelop crashes after closing already closed program
Product: [Applications] kdevelop Reporter: Ian H <master.haber>
Component: UI: generalAssignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.3.2   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ian H 2019-04-09 13:45:24 UTC
SUMMARY

Sometimes after closing a program, kdevelop will still think it is running in the background (it isnt). If you then tell kdevelop to kill the program using the 'stop' functionality, kdevelop will crash.


STEPS TO REPRODUCE
1. close and reopen programs using execute until kdevelop thinks there is a program still open when it isnt
2. hit stop and kill the program
3. crash

OBSERVED RESULT

kdevelop crashes whenever this happens (happened to me twice now)

EXPECTED RESULT

Kdevelop shouldnt think programs are open when they aren't. It also shouldn't crash even if this scenario does occur (should either just give an error or correct the issue)


SOFTWARE/OS VERSIONS
Ubuntu 18.04 with 5.3.2 AppImage