Bug 559938 - xpaint dies during opening a pdf file
Summary: xpaint dies during opening a pdf file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: xpaint
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Paulo Roma Cavalcanti
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-29 12:00 UTC by Joachim Backes
Modified: 2010-02-03 08:32 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-03 08:32:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
The pdf file which can't be opened by xpaint (68.40 KB, application/x-gzip)
2010-01-29 12:00 UTC, Joachim Backes
no flags Details

Description Joachim Backes 2010-01-29 12:00:58 UTC
Created attachment 387551 [details]
The pdf file which can't be opened by xpaint

Description of problem:
Trying to open a pdf file with xpaint fails.



Version-Release number of selected component (if applicable):
xpaint-2.8.7.3-1.fc12.i686

How reproducible:
Each time

Steps to Reproduce:
1.xpaint eule.pdf
2.
3.
  
Actual results:

1. error popup: "Unable to open input file /tmp/eule.pdf
                Fatal libpng error (longjmp() called while reading)

2. Error Messages in the gnome-terminal console:

xpaint /tmp/eule.pdf
XPaint uses the native display format for storing image info while editing; 
the original image information is thrown away.  This means that, in general, 
color information is irretrievably lost when using any display depth less 
than 24 bits. 

More specifically, for depths less than 8 bits, both 24-bit (true-color) and 
8-bit (palette) images will be reduced to the display depth; for 8-bit 
displays, standard color-mapped images are safe but 12-bit color-mapped and 
24-bit true-color images will lose color information; for 15- and 16-bit 
displays (typically RGB 555 and 565, respectively), in general both 8-bit 
and 24-bit images will suffer data loss; and for 24- or 32-bit displays, 
only very deep images such as 16-bit grayscale or 48-bit true-color will 
lose data. 

Also note that any ancillary information associated with the original image 
(embedded comments, time stamp, copyright, etc.) will always be lost. 



Your canvas depth is 24 bits.

     Normal images (color-mapped, 8-bit grayscale, 24-bit true-color)
     will not lose any color info, but non-true-color images may be
     promoted to 24-bit mode.

Warning: Cannot convert string "*-helvetica-medium-r-normal--12-*" to type FontStruct
psselect: invalid page range
XPaint:  fatal libpng error: Read Error
Fatal libpng error (longjmp() called while reading)

Expected results:
the file is openend

Additional info:

Comment 1 Fedora Update System 2010-01-29 15:31:28 UTC
xpaint-2.8.13.1-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/xpaint-2.8.13.1-1.fc11

Comment 2 Fedora Update System 2010-01-29 15:31:42 UTC
xpaint-2.8.13.1-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/xpaint-2.8.13.1-1.fc12

Comment 3 Fedora Update System 2010-01-29 22:14:09 UTC
xpaint-2.8.13.1-3.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/xpaint-2.8.13.1-3.fc11

Comment 4 Fedora Update System 2010-01-29 22:14:23 UTC
xpaint-2.8.13.1-3.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/xpaint-2.8.13.1-3.fc12

Comment 5 Fedora Update System 2010-02-01 01:01:24 UTC
xpaint-2.8.13.1-3.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update xpaint'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-1233

Comment 6 Fedora Update System 2010-02-01 01:12:40 UTC
xpaint-2.8.13.1-3.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update xpaint'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1269

Comment 7 Joachim Backes 2010-02-01 06:25:10 UTC
Mon Feb  1 07:24:44 CET 2010
 sudo yum update --enablerepo=updates-testing xpaint
Loaded plugins: presto, refresh-packagekit
Setting up Update Process
No Packages marked for Update

Comment 8 Paulo Roma Cavalcanti 2010-02-01 09:22:49 UTC
It should be available by now.

However, this version will not fix your pdf problem yet.
I have a working version (the problem was how psselect was called)
and as soon as an official version is out I will update xpaint again.

Thanks for reporting this issue.

Comment 9 Fedora Update System 2010-02-02 13:40:14 UTC
xpaint-2.8.15-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/xpaint-2.8.15-1.fc11

Comment 10 Fedora Update System 2010-02-02 13:40:20 UTC
xpaint-2.8.15-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/xpaint-2.8.15-1.fc12

Comment 11 Joachim Backes 2010-02-02 15:13:04 UTC
Update not available at Tue Feb  2 16:11:49 CET 2010 :-(

Comment 12 Paulo Roma Cavalcanti 2010-02-02 16:37:33 UTC
Can you install directly from koji?

Version 2.8.15 should fix you pdf problem.

http://koji.fedoraproject.org/koji/packageinfo?packageID=9482

Thanks.

Comment 13 Joachim Backes 2010-02-02 16:46:56 UTC
Yes, I can directly install from koji. And the file eule.pdf can be opened.

Thank you very much.

JB


Note You need to log in before you can comment on or make changes to this bug.