2017-08-28 22:51:07 |
Neil McPhail |
bug |
|
|
added bug |
2017-08-29 00:14:29 |
Robert Ancell |
attachment added |
|
A test deb (no contents) that reports the installed size matching the test case https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1713586/+attachment/4940487/+files/test-deb-1_all.deb |
|
2017-08-29 00:22:41 |
Robert Ancell |
gnome-software (Ubuntu): status |
New |
Confirmed |
|
2017-08-29 00:22:43 |
Robert Ancell |
gnome-software (Ubuntu): importance |
Undecided |
Medium |
|
2017-08-29 00:32:43 |
Robert Ancell |
nominated for series |
|
Ubuntu Xenial |
|
2017-08-29 00:32:43 |
Robert Ancell |
bug task added |
|
gnome-software (Ubuntu Xenial) |
|
2017-08-29 00:32:49 |
Robert Ancell |
gnome-software (Ubuntu Xenial): status |
New |
Fix Committed |
|
2017-08-29 00:32:50 |
Robert Ancell |
gnome-software (Ubuntu Xenial): importance |
Undecided |
Medium |
|
2017-08-29 00:32:52 |
Robert Ancell |
gnome-software (Ubuntu): status |
Confirmed |
Fix Released |
|
2017-08-29 00:33:29 |
Robert Ancell |
gnome-software (Ubuntu Xenial): assignee |
|
Robert Ancell (robert-ancell) |
|
2017-08-29 00:40:44 |
Robert Ancell |
description |
I have created a large deb file of game assets for Quake 4 using the game-data-packager tool in Ubuntu 16.04. If I double-click on this file in Nautilus, gnome-software opens to install the file. However, the file size is incorrectly listed as over 18 exabytes (!) as per the screenshot at https://ovh.themcphails.uk/index.php/s/0pcBDXU0zztzS6a . The output from dpkg-deb and gdebi is as per http://termbin.com/32q7 .
I would expect the package size in gnome-software to roughly match the package size listed (correctly) by dpkg-deb. 18 exabytes is a ludicrous estimate - has there been a signed/unsigned error?
The deb package installs correctly with dpkg -i. I cannot attach the file to this bug report as it is too large, and contains proprietary code. The Quake 4 game files were obtained from GOG, and the windows install file was unpacked by innoextract. The deb was created by game-data-packager version 44.
Distro: Ubuntu 16.04
gnome-software version: 3.20.5 |
[Impact]
For .debs with a large Installed-Size GNOME Software shows the incorrect value. This is due to an integer overflow.
[Test Case]
1. Launch the attached test-deb_1_all.deb file in GNOME Software
2. Check the Size field.
Expected result:
Size is set to 3.9GB
Observed result:
Size is set to 18.4EB
[Regression Potential]
Took upstream commit that fixed this by using a 64 bit number to calculate size. Unlikely to cause further issues. |
|
2017-08-29 00:51:25 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-desktop/gnome-software/ubuntu-xenial |
|
2017-12-07 19:49:35 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-12-07 19:49:37 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2017-12-07 19:49:41 |
Brian Murray |
tags |
|
verification-needed verification-needed-xenial |
|
2017-12-07 21:57:26 |
Neil McPhail |
tags |
verification-needed verification-needed-xenial |
verification-done-xenial verification-needed |
|
2017-12-12 09:35:44 |
Jean-Baptiste Lallement |
tags |
verification-done-xenial verification-needed |
verification-done verification-done-xenial |
|
2017-12-18 16:50:09 |
Ćukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2017-12-18 16:50:06 |
Launchpad Janitor |
gnome-software (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|