Bug 55643 - viewing large images crashes X-Server / complete system
Summary: viewing large images crashes X-Server / complete system
Status: RESOLVED DUPLICATE of bug 39693
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-07 15:06 UTC by Ernst Bachmann
Modified: 2003-11-03 20:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
large png file (98.75 KB, image/png)
2003-03-07 15:22 UTC, Ernst Bachmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ernst Bachmann 2003-03-07 15:06:55 UTC
Version:            (using KDE KDE 3.1)
Installed from:    Gentoo Packages
OS:          Linux

when clicking on a large (5000x6000 pixels) png file in konqueror (file browser mode), it attempts to view it in it's embedded image viewer.
Now that viewer tries to allocate a XPixmap of that size (I think). The X-Server now tries to allocate ridiculous ammounts of memory, causing the kernel to kill it (If i got luck) or bringing the complete system to a halt.

Opening that file with kuickshow produces the same effect, so the bug is probably not located in konqueror, but in the kde libs or QT.

Possible solution: add a configuration option to limit the maximum size of an XPixmap the kde libs (or QT) will try to allocate.
Comment 1 Ernst Bachmann 2003-03-07 15:22:50 UTC
Created attachment 1127 [details]
large png file

this png file causes my 256MB box to crash. (5000x6000 pixels, all white)
The file I first noticed the bug with was created by xpertmud (a KDE MUD
client), which needed about 1GB of Ram to save it (using KImageIO, I think),
but it was >2MB, so I couldn't upload it here.
Comment 2 Tommi Tervo 2003-11-03 20:43:08 UTC

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