[kdevelop] [Bug 399511] Kdevelop crashed when closing

2020-09-23 Thread Igor Kushnir
https://bugs.kde.org/show_bug.cgi?id=399511

Igor Kushnir  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
   Version Fixed In||5.6.1
  Latest Commit||https://invent.kde.org/kdev
   ||elop/kdevelop/commit/147add
   ||2ed8b3eac24b6bbd1af818f4685
   ||ab2aced
 Resolution|--- |FIXED

--- Comment #3 from Igor Kushnir  ---
Git commit 147add2ed8b3eac24b6bbd1af818f4685ab2aced by Igor Kushnir.
Committed on 22/09/2020 at 11:55.
Pushed by igorkushnir into branch '5.6'.

Don't crash after Cancel in Job Already Running dialog

When a user Execute-Launches an application a second time while the
previously launched instance of this application is still running, the
"Job Already Running" dialog appears with 3 buttons. If a user clicks
the Cancel button, a NativeAppJob kills itself Quietly. This
NativeAppJob belongs to an ExecuteCompositeJob, which is not notified
when a subjob is killed Quietly. So the ExecuteCompositeJob keeps
waiting for it to finish. When this waiting ExecuteCompositeJob is
killed (e.g. via "Stop All" button or on KDevelop exit), it attempts to
kill the subjob it believes is still running, but which in fact is long
since destroyed. This usually causes a segmentation fault.

Aleix Pol fixed a similar crash when the "Kill All Instances" button in
the "Job Already Running" dialog is clicked in
8430d3058f92725b4e6b7d85d8d68550ce12ee79.
Related: bug 416874
FIXED-IN: 5.6.1

M  +1-1plugins/execute/nativeappjob.cpp

https://invent.kde.org/kdevelop/kdevelop/commit/147add2ed8b3eac24b6bbd1af818f4685ab2aced

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 399511] Kdevelop crashed when closing

2020-09-22 Thread Igor Kushnir
https://bugs.kde.org/show_bug.cgi?id=399511

Igor Kushnir  changed:

   What|Removed |Added

 CC||igor...@gmail.com

--- Comment #2 from Igor Kushnir  ---
This crash can be reproduced reliably with the following steps:
1. Execute-Launch an application from KDevelop.
2. Repeat the 1st step with the same application while the previous instance is
still running.
3. In the "Job Already Running" dialog that appears after the 2nd step click
the Cancel button.
4. (optional) Exit the still running first application instance.
5. Exit KDevelop.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 399511] Kdevelop crashed when closing

2020-09-22 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=399511

Bug Janitor Service  changed:

   What|Removed |Added

 Status|REPORTED|ASSIGNED
 Ever confirmed|0   |1

--- Comment #1 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/167

-- 
You are receiving this mail because:
You are watching all bug changes.