chromium-browser file upload widget needs better memory checking crashes on file upload selector
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The file upload browser widget in cromium-browser needs to check for LARGE image files
and not create thumbnails for them. Instead it crashes with running out of memory error
at least on some large tif files.
I have written a webpage. It has
<form method="POST" action=
...
<File: <input type="file" name="upload">
...
</form>
I have a directory of files called GeoRefTest containing
olympic park tennis & hockey_
Raw Image 85m.JPG
Raw Image 45m.JPG
Raw image 95m.JPG
When I try to upload one of these files, I get a file browser to select a file.
When I try and select the GeoRefTest directory by double clicking on it, the browser dies.
The window just vanishes.
In the shell window where I ran cromium-browser I see
david:server$ chromium-browser &
[3] 15472
david:server$ Using PPAPI flash.
[15472:
[15472:
[15472:
I have disabled recently-used.xbel which explains that message. But why the out of memory? Is it trying to read all the image files
in the directory to make to make thumbnail images? the olympic park tif file is BIG 24632, x 16768 pixels and 314M.
I suspect that this is the problem, as I am ok if I move the tif file elsewhere.
So the file upload browser needs to catch these memory errors and gracefully give up on making thumbnails for huge image files.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: chromium-browser 37.0.2062.
ProcVersionSign
Uname: Linux 3.13.0-63-generic i686
ApportVersion: 2.0.1-0ubuntu17.9
Architecture: i386
Date: Mon Sep 21 17:13:39 2015
InstallationMedia: Ubuntu 12.04.5 LTS "Precise Pangolin" - Release i386 (20140807.1)
MarkForUpload: True
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: chromium-browser
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
We are sorry that we do not always have the capacity to review all reported bugs in a timely manner. You reported this bug some time ago and there have been many changes in Ubuntu and Chromium since that time.
Do you still see a problem related to the one that you reported using currently supported versions of Ubuntu and Chromium? Please let us know if you do otherwise this report can be left to expire in approximately 60 days time.
Thank you for helping make Ubuntu better.
Paul White
[Ubuntu Bug Squad]