Bug 380870

Summary: Discover Crashes in QQuickItem::~QQuickItem() during update when package removal denied
Product: [Applications] Discover Reporter: 13hurdw
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: angelbravo, dennis.schridde, mwinthrop, nate
Priority: NOR    
Version First Reported In: 5.8.7   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Discover backtrace
Ambiguous Discover message box

Description 13hurdw 2017-06-05 21:24:46 UTC
Created attachment 105932 [details]
Discover backtrace

5.8.7 on neon LTS 5.8

Steps:
Check for Updates (10 updates available in my case)
Update All

An ambiguous message box appears with the title "Remove..." and the text "libkpmcore4 (3.0.3-0neon+16.04+build5)", presumably asking whether to remove this package?
When I click 'No' on the message box, Discover seg faulted and crashed (backtrace attached).

Trying to reproduce, but now when clicking no, it doesn't segfault but it shows "Loading..." and "Updating..." then kicks me back to the updates list without actually asking for admin authentication and updating.

There are two main issues here:
1. The message box isn't exactly clear what is being asked of the user. Presumably it is asking whether to remove the specified package.
2. Behaviour after clicking 'No' on the message box is unexpected; either crashing or showing "Updating..." when it is not actually updating the packages.
Comment 1 13hurdw 2017-06-05 21:27:21 UTC
Created attachment 105933 [details]
Ambiguous Discover message box
Comment 2 Aleix Pol 2017-06-07 21:47:13 UTC
*** Bug 380915 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2017-11-07 18:03:03 UTC
*** Bug 376548 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2017-11-07 18:03:09 UTC
*** Bug 382792 has been marked as a duplicate of this bug. ***
Comment 5 Aleix Pol 2018-01-17 15:33:27 UTC
Doesn't seem to be happening anymore with 5.8.8.
Closing, reopen if it's not the case.