Bug 26119 - gimp import of ps fails
Summary: gimp import of ps fails
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2020-01-22 09:07 CET by eric gerbier
Modified: 2020-01-28 08:54 CET (History)
3 users (show)

See Also:
Source RPM: gimp-2.10.10-1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description eric gerbier 2020-01-22 09:07:14 CET
Description of problem:
I need to use gimp on eps files. It was working on mageia 6, but on mageia 7
the import fails with the following error message :
/usr/lib64/gimp/2.0/plug-ins/file-ps/file-ps: fatal error: Segmentation fault

I have tried to replace the /usr/lib64/gimp/2.0/plug-ins/file-ps/file-ps by the same file from fedora31 rpm package (gimp-2.10.14-1.f31) , and with this file, the import works


Version-Release number of selected component (if applicable):
gimp-2.10.10-1.mga7

How reproducible:


Steps to Reproduce:
1. choose any postscript file, aka test.ps
2. gimp test.ps
3. in window "import from postscript", click on import button
4. gimp display some error message in X window, and on console
Comment 1 David GEIGER 2020-01-22 14:53:16 CET
Please test the upcoming gimp-2.10.10-1.1.mga7 in 7/Core/Updates_testing repo to see if it fixes the issue.

CC: (none) => geiger.david68210

Comment 2 eric gerbier 2020-01-22 16:35:54 CET
yes, gimp-2.10.10-1.1.mga7 works as expected !

thanks
Comment 3 David GEIGER 2020-01-22 17:00:24 CET
Assigning to QA,

Advisory:
=============================

This update fixes crashes in the postscript plugin.

  gsapi_new_instance() now expects a pointer to a NULL-initialized
  pointer. Initialize "void *instance" with NULL.

For reference:
https://gitlab.gnome.org/GNOME/gimp/issues/3630


Packages in 7/core/updates_testing:
========================
gimp-2.10.10-1.1.mga7.x86_64.rpm
lib64gimp2.0-devel-2.10.10-1.1.mga7.x86_64.rpm
lib64gimp2.0_0-2.10.10-1.1.mga7.x86_64.rpm
gimp-python-2.10.10-1.1.mga7.x86_64.rpm

gimp-2.10.10-1.1.mga7.i586.rpm
libgimp2.0-devel-2.10.10-1.1.mga7.i586.rpm
libgimp2.0_0-2.10.10-1.1.mga7.i586.rpm
gimp-python-2.10.10-1.1.mga7.i586.rpm


Source RPM:
gimp-2.10.10-1.1.mga7.src.rpm

Assignee: bugsquad => qa-bugs

Comment 4 Thomas Andrews 2020-01-22 19:43:31 CET
Created a .ps file from an image using the "Print to file" option from, ironically, Gimp. Attempted to import same into Gimp, which failed.

The following 3 packages are going to be installed:

- gimp-2.10.10-1.1.mga7.x86_64
- gimp-python-2.10.10-1.1.mga7.x86_64
- lib64gimp2.0_0-2.10.10-1.1.mga7.x86_64

Packages installed cleanly. Attempted to import the .ps file once more, and was greeted with a photo of me working as part of the crew for a hot air balloon.

OK for 64-bit. Validating. Advisory in Comment 3.

Whiteboard: (none) => MGA7-64-OK
CC: (none) => andrewsfarm, sysadmin-bugs
Keywords: (none) => validated_update

Lewis Smith 2020-01-27 21:10:05 CET

Keywords: (none) => advisory

Comment 5 Mageia Robot 2020-01-28 08:54:12 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2020-0034.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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