After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 141226 - crash with given pdf -- thumbnail problem
crash with given pdf -- thumbnail problem
Status: RESOLVED FIXED
Product: gpdf
Classification: Deprecated
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: Martin Kretzschmar
Martin Kretzschmar
Depends on: 139211
Blocks:
 
 
Reported: 2004-04-27 19:30 UTC by Michael Meeks
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Michael Meeks 2004-04-27 19:49:30 UTC
Distribution: SuSE Linux 9.0 (i586)
Package: gpdf
Severity: blocker
Version: GNOME2.6. unspecified
Gnome-Distributor: GNOME.Org
Synopsis: crash with given pdf
Bugzilla-Product: gpdf
Bugzilla-Component: general
Bugzilla-Version: unspecified
BugBuddy-GnomeVersion: 2.0 (2.6.0)
Description:

Loaded:
http://sco.tuxrocks.com/Docs/AZ/AZ-1.pdf

bang :-)




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-04-27 15:49 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "gpdf".
   Setting to default milestone for this product, '---'
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Martin Kretzschmar 2004-05-06 09:36:54 UTC
Confirmed. I cannot even get a useful backtrace :(

Xpdf 3.00 thinks this file has some errors, but they seem to be unrelated to the
crash.

Suggested workaround: html version
http://www.groklaw.net/article.php?story=20040303193037634
Comment 2 Martin Kretzschmar 2004-05-06 19:14:11 UTC
Doesn't crash after disabling the thumbnail extraction code.
Comment 3 Martin Kretzschmar 2004-05-08 13:57:03 UTC
Together with the fix for bug #139211, this should fix the crash.

The errors Xpdf finds result in thumbnails containing only garbage. But that's
really a problem with the file.

2004-05-08  Martin Kretzschmar  <m_kretzschmar@gmx.net>

	* xpdf/gpdf-thumbnails-view.cc
	(gpdf_thumbnails_view_render_thumbnail_image): gdk-pixbuf requires
	always 8 bits per component. And Thumb::getPixbufData always
	provides 8 bits per component. Fixes bug #141226.