GNOME Bugzilla – Bug 682899
file-pdf-load crashes on application start
Last modified: 2013-12-08 13:58:21 UTC
After installing Gimp 2.8.2 for MacOSX on Mountain Lion 10.8.1 (from the downloads section of gimp.org [gimp-2.8.2-dmg-1.dmg]) the app every time I start it responds with an error message regarding "file-pdf-load". The app works fine then ... except for pdf import of course;) Here the crash log and system information: -------------- Process: file-pdf-load [10904] Path: /Applications/GIMP.app/Contents/Resources/lib/gimp/2.0/plug-ins/file-pdf-load Identifier: file-pdf-load Version: ??? Code Type: X86-64 (Native) Parent Process: GIMP-bin [10896] User ID: 501 Date/Time: 2012-08-28 22:29:45.125 +0200 OS Version: Mac OS X 10.8.1 (12B19) Report Version: 10 Interval Since Last Report: 139297 sec Crashes Since Last Report: 8 Per-App Crashes Since Last Report: 3 Anonymous UUID: ADDEFB3E-76D6-469F-A1E1-B728F2698905 Crashed Thread: 0 Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000002, 0x0000000000000000 Application Specific Information: dyld: launch, loading dependent libraries Dyld Error Message: Library not loaded: /Users/*/libpoppler-glib.8.dylib Referenced from: /Applications/GIMP.app/Contents/Resources/lib/gimp/2.0/plug-ins/file-pdf-load Reason: image not found Binary Images: 0x100000000 - 0x100011fff +file-pdf-load (???) <E5A110A3-1C59-3B89-8A21-D062CA6434DB> /Applications/GIMP.app/Contents/Resources/lib/gimp/2.0/plug-ins/file-pdf-load 0x100017000 - 0x10003afff +libgimpui-2.0.0.dylib (801.2) <B269FCF5-4B9A-3138-B8E0-FFB995BC81DD> /Applications/GIMP.app/Contents/Resources/lib/libgimpui-2.0.0.dylib 0x10004a000 - 0x100091ff7 +libgimp-2.0.0.dylib (801.2) <C11AC604-A8E9-34C6-9087-7D091D0A12CE> /Applications/GIMP.app/Contents/Resources/lib/libgimp-2.0.0.dylib 0x1000a8000 - 0x1001e4fe7 +libgimpwidgets-2.0.0.dylib (801.2) <7F1681A8-1A92-3058-A1D7-0271D0ECFCAB> /Applications/GIMP.app/Contents/Resources/lib/libgimpwidgets-2.0.0.dylib 0x100211000 - 0x100216ff7 +libgimpmodule-2.0.0.dylib (801.2) <DD176417-CED3-3EED-B788-9C8D58A691BD> /Applications/GIMP.app/Contents/Resources/lib/libgimpmodule-2.0.0.dylib 0x10021a000 - 0x10022afff +libgimpconfig-2.0.0.dylib (801.2) <C38BDA33-58B0-3147-B753-BDC638F113A8> /Applications/GIMP.app/Contents/Resources/lib/libgimpconfig-2.0.0.dylib 0x100231000 - 0x100237ff7 +libgimpmath-2.0.0.dylib (801.2) <0E352EB6-8115-3669-8259-CB3BB77B9E00> /Applications/GIMP.app/Contents/Resources/lib/libgimpmath-2.0.0.dylib 0x10023b000 - 0x100254fff +libgimpbase-2.0.0.dylib (801.2) <04E367EC-556A-3024-966D-89BEE5ED2DC1> /Applications/GIMP.app/Contents/Resources/lib/libgimpbase-2.0.0.dylib 0x100260000 - 0x10026efff +libgimpcolor-2.0.0.dylib (801.2) <57256A00-CF16-3645-BBE9-61D2B8F0B460> /Applications/GIMP.app/Contents/Resources/lib/libgimpcolor-2.0.0.dylib 0x100273000 - 0x1007b8fff +libgtk-quartz-2.0.0.dylib (2401.12) <BE912957-B327-3A68-B209-12472355F739> /Applications/GIMP.app/Contents/Resources/lib/libgtk-quartz-2.0.0.dylib 0x1008b2000 - 0x100964fef +libgdk-quartz-2.0.0.dylib (2401.12) <3967E0C3-C6D0-3FF9-BB20-F46C0AD338EF> /Applications/GIMP.app/Contents/Resources/lib/libgdk-quartz-2.0.0.dylib 0x100990000 - 0x1009b1fef +libatk-1.0.0.dylib (20514.1) <A1B580C1-1B33-3586-9866-A4F236D8F8C8> /Applications/GIMP.app/Contents/Resources/lib/libatk-1.0.0.dylib 0x1009c0000 - 0x1009dafff +libpangocairo-1.0.0.dylib (3001.1) <509B62D7-EB0C-3C28-BC2D-73E9BCDC6AFE> /Applications/GIMP.app/Contents/Resources/lib/libpangocairo-1.0.0.dylib 0x1009e7000 - 0x100a40fef +libpangoft2-1.0.0.dylib (3001.1) <C6AC5F0C-EEFA-3DE2-88ED-081AABDC8D14> /Applications/GIMP.app/Contents/Resources/lib/libpangoft2-1.0.0.dylib 0x100a5c000 - 0x100a84ff7 +libgdk_pixbuf-2.0.0.dylib (2601.1) <E4E8DF47-D88A-325A-B37C-6DEEC2812564> /Applications/GIMP.app/Contents/Resources/lib/libgdk_pixbuf-2.0.0.dylib 0x100a8e000 - 0x100c39fef +libgio-2.0.0.dylib (3307) <8C1458DA-2509-308A-A35C-A6F39A55114C> /Applications/GIMP.app/Contents/Resources/lib/libgio-2.0.0.dylib 0x100ca5000 - 0x100cffff7 +libpango-1.0.0.dylib (3001.1) <96F393BC-7D82-333E-803D-FF903129DD91> /Applications/GIMP.app/Contents/Resources/lib/libpango-1.0.0.dylib 0x100d16000 - 0x100d1afff +libgmodule-2.0.0.dylib (3307) <BE93A10B-007C-3C86-AE22-5D9529A4D342> /Applications/GIMP.app/Contents/Resources/lib/libgmodule-2.0.0.dylib 0x7fff61b34000 - 0x7fff61b6893f dyld (210.2.3) <A40597AA-5529-3337-8C09-D8A014EB1578> /usr/lib/dyld 0x7fff96fcd000 - 0x7fff96fecff7 libresolv.9.dylib (51) <0882DC2D-A892-31FF-AD8C-0BB518C48B23> /usr/lib/libresolv.9.dylib Model: iMac12,2, BootROM IM121.0047.B1F, 4 processors, Intel Core i7, 3.4 GHz, 12 GB, SMC 1.72f2 Graphics: AMD Radeon HD 6970M, AMD Radeon HD 6970M, PCIe, 1024 MB Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x02FE, 0x45424A3230554638424353302D444A2D4620 Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x02FE, 0x45424A3230554638424353302D444A2D4620 Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1333 MHz, 0x029E, 0x434D534F344758334D314131333333433920 Memory Module: BANK 1/DIMM1, 4 GB, DDR3, 1333 MHz, 0x029E, 0x434D534F344758334D314131333333433920 AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.70.23-P2P Bluetooth: Version 4.0.9f8 10405, 2 service, 18 devices, 1 incoming serial ports Network Service: Ethernet, Ethernet, en0 Serial ATA Device: ST31000528AS, 1 TB Serial ATA Device: HL-DT-STDVDRW GA32N USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x850b, 0xfa200000 / 3 USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfa100000 / 2 USB Device: USB2.0 Hub, 0x05e3 (Genesys Logic, Inc.), 0x0606, 0xfa130000 / 5 USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4 USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 7 USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfd100000 / 2 USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfd110000 / 4 USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 3 FireWire Device: Hard Drive Quattro 3, Freecom, 800mbit_speed
It looks like the plugins directory didn't get processed with install_name_tool: $ otool -L file-pdf-load file-pdf-load: /Users/blender3dartist/gimp/10.6/inst/lib/libgimpui-2.0.0.dylib (compatibility version 801.0.0, current version 801.2.0) /Users/blender3dartist/gimp/10.6/inst/lib/libgimp-2.0.0.dylib (compatibility version 801.0.0, current version 801.2.0) /Users/blender3dartist/gimp/10.6/inst/lib/libgimpwidgets-2.0.0.dylib (compatibility version 801.0.0, current version 801.2.0) ... All the executables in Contents/Resources/lib/gimp/2.0/plug-ins have library references pointed at /Users/blender3dartist/.
I see the same on MacOS 10.6.8 - gdb backtrace below: $ GTK_DEBUG_GDB=1 /Applications/GIMP.app/Contents/MacOS/GIMP ... (GIMP-bin:50069): LibGimpBase-WARNING **: GIMP-bin: gimp_wire_read(): error dyld: Library not loaded: /Users/blender3dartist/gimp/10.6/inst/lib/libpoppler-glib.8.dylib Referenced from: /Applications/GIMP.app/Contents/Resources/lib/gimp/2.0/plug-ins/file-pdf-load Reason: image not found (GIMP-bin:50069): LibGimpBase-WARNING **: GIMP-bin: gimp_wire_read(): error Program received signal EXC_SOFTWARE, Software generated exception. 0x00000001011b4054 in gimp_wire_clear_error () (gdb) bt
+ Trace 230757
Can confirm that. => New binary with the right prefix flagged in configure? (In reply to comment #1) > It looks like the plugins directory didn't get processed with > install_name_tool: > > $ otool -L file-pdf-load > file-pdf-load: > /Users/blender3dartist/gimp/10.6/inst/lib/libgimpui-2.0.0.dylib > (compatibility version 801.0.0, current version 801.2.0) > /Users/blender3dartist/gimp/10.6/inst/lib/libgimp-2.0.0.dylib > (compatibility version 801.0.0, current version 801.2.0) > /Users/blender3dartist/gimp/10.6/inst/lib/libgimpwidgets-2.0.0.dylib > (compatibility version 801.0.0, current version 801.2.0) > ... > > > All the executables in Contents/Resources/lib/gimp/2.0/plug-ins have library > references pointed at /Users/blender3dartist/.
> All the executables in Contents/Resources/lib/gimp/2.0/plug-ins have library > references pointed at /Users/blender3dartist/. True, but that doesn't stop them loading. The problem with file-pdf-load is that it links to libpoppler-glib.8.dylib which is missing. It also links to libpoppler.25.dylib which is also missing.
There also started a discussion on this topic on the GIMP-User mailing list in August 2012. There I found another crash report (see attachment).
Created attachment 223125 [details] Crash dump
Sorry about that. Terribly sorry. Apparently I forgot to rewrite plugin paths as the plugins were being copied into the bundle, meaning they still refer to my build directory. Please use this version of gimp instead. NOTE: This link will remain active until the gimp ftp website updates, after that I will take it down. https://dl.dropbox.com/u/942685/gimp/gimp-2.8.2-dmg-2.dmg
Fixed. Please download the update gimp bundle from the gimp downloads website. http://www.gimp.org/downloads/
Cool, thanks a lot for the new binary! (In reply to comment #8) > Fixed. Please download the update gimp bundle from the gimp downloads website. > http://www.gimp.org/downloads/ (In reply to comment #7) > Sorry about that. Terribly sorry. Apparently I forgot to rewrite plugin paths > as the plugins were being copied into the bundle, meaning they still refer to > my build directory. Please use this version of gimp instead. > NOTE: This link will remain active until the gimp ftp website updates, after > that I will take it down. > https://dl.dropbox.com/u/942685/gimp/gimp-2.8.2-dmg-2.dmg