RSS/Atom feed Twitter
Site is read-only, email is disabled

2.6.4 crashes on PDF import

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

2.6.4 crashes on PDF import Johan Vromans 03 Jan 15:04
  2.6.4 crashes on PDF import Sven Neumann 03 Jan 15:10
   2.6.4 crashes on PDF import Johan Vromans 03 Jan 17:03
Johan Vromans
2009-01-03 15:04:57 UTC (about 16 years ago)

2.6.4 crashes on PDF import

Hi,

I get crashes with 2.6.4 when trying to import a page from a PDF document. This happens on Fedora 10 and 8. It doesn't happen with 2.6.3.

As a start, I noticed a different PDF import dialog[1]. 2.6.3 shows thumbnails of all PDF pages, 2.6.4 shows a simple dialog where to enter the resolution and the page number. When I do this, I get the following error:

Calling error for procedure 'gimp-image-undo-enable': Procedure 'gimp-image-undo-enable' has been called with an invalid ID for argument 'image'. Most likely a plug-in is trying to work on an image that doesn't exist any longer.

Opening '/home/jv/tmp/week01.pdf' failed: PDF document plug-In could not open image

Any hints where to start looking?

-- Johan

[1] Note that this could be caused by a change in build spec. For 2.6.3 I used the Fedora 8 build spec, for 2.6.4 I used the Fedora 10 build spec.

Sven Neumann
2009-01-03 15:10:27 UTC (about 16 years ago)

2.6.4 crashes on PDF import

Hi,

On Sat, 2009-01-03 at 15:04 +0100, Johan Vromans wrote:

I get crashes with 2.6.4 when trying to import a page from a PDF document. This happens on Fedora 10 and 8. It doesn't happen with 2.6.3.

As a start, I noticed a different PDF import dialog[1]. 2.6.3 shows thumbnails of all PDF pages, 2.6.4 shows a simple dialog where to enter the resolution and the page number. When I do this, I get the following error:

Calling error for procedure 'gimp-image-undo-enable': Procedure 'gimp-image-undo-enable' has been called with an invalid ID for argument 'image'. Most likely a plug-in is trying to work on an image that doesn't exist any longer.

Opening '/home/jv/tmp/week01.pdf' failed: PDF document plug-In could not open image

Any hints where to start looking?

Since there have been no changes in the GIMP code that could explain this, you should have a look at the build process. Looks like you did not build the poppler plug-in.

Sven

Johan Vromans
2009-01-03 17:03:01 UTC (about 16 years ago)

2.6.4 crashes on PDF import

Sven Neumann writes:

Since there have been no changes in the GIMP code that could explain this, you should have a look at the build process. Looks like you did not build the poppler plug-in.

I verified the crashes with the Fedora 10 version of Gimp 2.6.3.

The Fedora version does not use the poppler plugin for PDF import, although it mentions poppler-devel with the build requirements. It uses a ghostscipt plugin instead. This plugin crashes on specific imports.

It turns out to be a missing requirement. The build needs poppler-devel AND poppler-glib-devel. The latter is not listed with the build requirements.

I'll file a bug report with Fedora, and rebuild my kits.

Thanks for pointing me into the right direction.

-- Johan