gallery-app crashes when trying to delete multiple photos

Bug #1334807 reported by Omer Akram
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gallery-app
Fix Released
Critical
Arthur Mello
gallery-app (Ubuntu)
Fix Released
Critical
Arthur Mello
gallery-app (Ubuntu RTM)
Fix Released
Undecided
Unassigned

Bug Description

Mako #162
OOPS: https://errors.ubuntu.com/oops/00ec1658-1892-11e4-9140-fa163e5bb1a2

On the main Events page when I try to delete multiple images from different days the app crashes.

TEST CASE:
1. Open the camera and take several photos (half a dozen)
2. Open the gallery
3. Long press the shape with the date of the day to select all the photos that have just been taken.
2. Tap 'Delete' in the toolbar

ACTUAL RESULT
the app crashes. see the attached .crash file.

EXPECTED RESULT
It doesn't crash

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: gallery-app (not installed)
Uname: Linux 3.4.0-5-mako armv7l
ApportVersion: 2.14.3-0ubuntu2
Architecture: armhf
Date: Thu Jun 26 23:50:19 2014
InstallationDate: Installed on 2014-06-26 (0 days ago)
InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140626-020204)
SourcePackage: gallery-app
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Omer Akram (om26er) wrote :
Changed in gallery-app (Ubuntu):
importance: Undecided → Critical
Omer Akram (om26er)
Changed in gallery-app:
importance: Undecided → Critical
Arthur Mello (artmello)
Changed in gallery-app (Ubuntu):
assignee: nobody → Arthur Mello (artmello)
Changed in gallery-app:
assignee: nobody → Arthur Mello (artmello)
status: New → In Progress
Changed in gallery-app (Ubuntu):
status: New → In Progress
Revision history for this message
Arthur Mello (artmello) wrote :

I just tested gallery-app from last image (rev 100) on nexus 4 and I was not able to reproduce the problem. I added a couple of images with different dates, selected some of them and removed. I repeated the process a couple of times and was not able to crash the application.

I was taking a look on the crash log and it does not point to any specific call from gallery. The stack log mentions some core functions but I was not able to find the exact reason of the problem.

Am I missing something during tests?

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Reproduced on mako with build #162

tags: added: qa-daily-testing rtm14
description: updated
description: updated
Bill Filler (bfiller)
Changed in gallery-app:
importance: Critical → High
Changed in gallery-app (Ubuntu):
importance: Critical → High
tags: added: pat
Bill Filler (bfiller)
Changed in gallery-app (Ubuntu):
importance: High → Medium
Changed in gallery-app:
importance: High → Medium
Changed in gallery-app (Ubuntu):
importance: Medium → Critical
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

This works properly on mako
On krillin the confirmation dialog hangs and nothing happens. Eventually by repeated pressing on the dialog the app exits. I did not see a crash file. The photos are not deleted

tags: added: touch-09-25
Bill Filler (bfiller)
tags: added: touch-2014-10-9
removed: touch-09-25
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

I can get this to occur pretty reliably with the following steps (like 3 out of 4 times)

Make sure the apps are closed
open camera
take 5 photos
open gallery
press on the current dates event to select all photos
delete
the prompt comes up, press delete and the app crashes or hangs

If gallery is already running it seems to not happen
Not sure it matters but I have a single event

Also note that on krillin, the event is layed out wrong toward the center of the panel and the icons in the header are black boxes

Bill Filler (bfiller)
Changed in gallery-app:
importance: Medium → Critical
Bill Filler (bfiller)
tags: added: touch-2014-10-09
removed: touch-2014-10-9
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Not reproducible on the latest RTM image (#75). There is another bug with the tabulation of the number of images (it counts the event as an image), but this bug I can't reproduce.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

I just had this on mako with the latest image

I also noticed the incorrect count always being one more than the actual number in the event per the last comment.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gallery-app - 0.0.67+14.10.20141008-0ubuntu1

---------------
gallery-app (0.0.67+14.10.20141008-0ubuntu1) 14.09; urgency=low

  [ Bill Filler ]
  * use header in splash screen (LP: #1378379)

  [ Arthur Mello ]
  * Fix the gallery-app crash when removing files (LP: #1334807)
  * Fix header label not being updated correctly (LP: #1377765)

  [ Ugo Riboni ]
  * Do not upscale the thumbnail when viewing the unzoomed picture but
    load a downscaled version of the picture instead (LP: #1376767)

  [ Niklas Wenzel ]
  * Correct the title for delete dialog based on video or photo.

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Wed, 08 Oct 2014 02:34:53 +0000

Changed in gallery-app (Ubuntu RTM):
status: New → Fix Released
Arthur Mello (artmello)
Changed in gallery-app (Ubuntu):
status: In Progress → Fix Released
Changed in gallery-app:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.