Bug 380488

Summary: Discover locks up after a keyword search and then going back.
Product: [Applications] Discover Reporter: Gopal <oldwo>
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.9.4   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Backtrace, which was not submitted by the crash reporter as useless.
valgrind log, crash comes when exiting Discover

Description Gopal 2017-06-03 01:19:10 UTC
Created attachment 105857 [details]
Backtrace, which was not submitted by the crash reporter as useless.

Software Center (plasma-discover) usually locks up within a minute, if searching for a package by a keyword. Also, searching is bad UX, the focus should be on the text entry field by default.

There is no plasma-discover-dbg package for Kubuntu and the crash reporter cannot produce a usefull backtrace, working at 100% CPU for many hours. I had to kill the (locked-up) plasma-discover process, which was consuming 100% CPU during backtrace generation (and probably since the lockup, but not before lockup).

Also, plasma-discover consumes 500MB resident memory after the lockup, compared to 100MB immediately after launch.

This is easy to reproduce.
Comment 1 Gopal 2017-06-03 06:11:31 UTC
Created attachment 105859 [details]
valgrind log, crash comes when exiting Discover

Discover was run as root, with valgrind prefix.

Middle part of the log file is absent (nothing new there).

A few applications were successfully installed, crash comes when exiting Discover (this is typical).
Comment 2 Gopal 2017-06-03 06:18:17 UTC
Maybe related to problem is that my display DPI is set to 66 to reduce all font sizes. Discover alone is unique in rendering unreadable "greek" text before the first window change (update).
Comment 3 Aleix Pol 2017-06-07 12:56:58 UTC

*** This bug has been marked as a duplicate of bug 378339 ***