Bug 380870 - Discover Crashes in QQuickItem::~QQuickItem() during update when package removal denied
Summary: Discover Crashes in QQuickItem::~QQuickItem() during update when package remo...
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: 5.8.7
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
: 376548 380915 382792 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-06-05 21:24 UTC by 13hurdw
Modified: 2018-01-17 15:33 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Discover backtrace (9.33 KB, text/plain)
2017-06-05 21:24 UTC, 13hurdw
Details
Ambiguous Discover message box (10.92 KB, image/png)
2017-06-05 21:27 UTC, 13hurdw
Details

Note You need to log in before you can comment on or make changes to this bug.
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.